mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-03 14:06:54 +00:00
Replace the BSD-3-Clause boiler plate license text with an SPDX tag. Fixes: #189 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
24 lines
570 B
C
24 lines
570 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef SHELL_H
|
|
#define SHELL_H
|
|
|
|
/* Switching key combinations for shell and uart console */
|
|
#define GUEST_CONSOLE_TO_HV_SWITCH_KEY 0 /* CTRL + SPACE */
|
|
|
|
#ifdef HV_DEBUG
|
|
int shell_init(void);
|
|
void shell_kick_session(void);
|
|
int shell_switch_console(void);
|
|
#else
|
|
static inline int shell_init(void) { return 0; }
|
|
static inline void shell_kick_session(void) {}
|
|
static inline int shell_switch_console(void) { return 0; }
|
|
#endif
|
|
|
|
#endif /* SHELL_H */
|