mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-08 13:19:03 +00:00
to remove it as no requirement of bounding i/o handlers
dynamically in hypervisor shell
- update source code related with i/o session
- move shell command definitions from shell_pulic.c
to shell_internal.c
- remove shell_public.c
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
22 lines
454 B
C
22 lines
454 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
|
|
void shell_init(void);
|
|
void shell_kick(void);
|
|
#else
|
|
static inline void shell_init(void) {}
|
|
static inline void shell_kick(void) {}
|
|
#endif
|
|
|
|
#endif /* SHELL_H */
|