HV: disable vuart when dbg uart is disabled

vuart it used for SOS to output log to HV console,
so if dbg uart is disabled, it need be disabled too:
just unregister its PIO.

Tracked-On: 2170
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Minggui Cao
2018-12-24 21:27:04 +08:00
committed by wenlingz
parent 860c444c55
commit fde0bcc1ce
4 changed files with 13 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ char console_getc(void);
void console_setup_timer(void);
void uart16550_set_property(bool enabled, bool port_mapped, uint64_t base_addr);
bool is_pci_dbg_uart(union pci_bdf bdf_value);
bool is_dbg_uart_enabled(void);
void shell_init(void);
void shell_kick(void);