mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
HV:Remove i/o session sw interface from hypervisor shell
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>
This commit is contained in:
@@ -12,12 +12,10 @@
|
||||
|
||||
#ifdef HV_DEBUG
|
||||
void shell_init(void);
|
||||
void shell_kick_session(void);
|
||||
int shell_switch_console(void);
|
||||
void shell_kick(void);
|
||||
#else
|
||||
static inline void shell_init(void) {}
|
||||
static inline void shell_kick_session(void) {}
|
||||
static inline int shell_switch_console(void) { return 0; }
|
||||
static inline void shell_kick(void) {}
|
||||
#endif
|
||||
|
||||
#endif /* SHELL_H */
|
||||
|
||||
Reference in New Issue
Block a user