HV: vuart: remove console related code from vuart

Move the console related code from dm/vuart.c to debug/console.c as
console is not supported in release version.

Tracked-On: #2987
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Conghui Chen
2019-04-29 14:37:58 +08:00
committed by ACRN System Integration
parent 513c9f8744
commit c61db6ffa0
4 changed files with 90 additions and 73 deletions

View File

@@ -7,8 +7,7 @@
#ifndef CONSOLE_H
#define CONSOLE_H
/* Switching key combinations for shell and uart console */
#define GUEST_CONSOLE_TO_HV_SWITCH_KEY 0 /* CTRL + SPACE */
#include <vuart.h>
/** Initializes the console module.
*
@@ -39,5 +38,6 @@ void console_setup_timer(void);
void suspend_console(void);
void resume_console(void);
struct acrn_vuart *vm_console_vuart(struct acrn_vm *vm);
#endif /* CONSOLE_H */