mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 04:09:11 +00:00
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:
committed by
ACRN System Integration
parent
513c9f8744
commit
c61db6ffa0
@@ -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 */
|
||||
|
@@ -81,12 +81,12 @@ struct acrn_vuart {
|
||||
spinlock_t lock; /* protects all softc elements */
|
||||
};
|
||||
|
||||
struct acrn_vuart *vm_console_vuart(struct acrn_vm *vm);
|
||||
void vuart_init(struct acrn_vm *vm, struct vuart_config *vu_config);
|
||||
void vuart_deinit(struct acrn_vm *vm);
|
||||
struct acrn_vuart *vuart_console_active(void);
|
||||
void vuart_console_tx_chars(struct acrn_vuart *vu);
|
||||
void vuart_console_rx_chars(struct acrn_vuart *vu);
|
||||
|
||||
void vuart_putchar(struct acrn_vuart *vu, char ch);
|
||||
char vuart_getchar(struct acrn_vuart *vu);
|
||||
void vuart_toggle_intr(const struct acrn_vuart *vu);
|
||||
|
||||
bool is_vuart_intx(struct acrn_vm *vm, uint32_t intx_pin);
|
||||
void vuart_set_property(const char *vuart_info);
|
||||
|
Reference in New Issue
Block a user