mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 04:50:07 +00:00
HV: refine cmdline code, move parts into dbg_cmd
move the debug related command handle into debug/dbg_cmd.c; so release build will not include that. 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:
@@ -24,7 +24,7 @@ void console_setup_timer(void) {}
|
||||
void suspend_console(void) {}
|
||||
void resume_console(void) {}
|
||||
|
||||
void uart16550_set_property(__unused bool enabled, __unused bool port_mapped, __unused uint64_t base_addr) {}
|
||||
bool handle_dbg_cmd(__unused const char *cmd, __unused int32_t len) { return false; }
|
||||
bool is_pci_dbg_uart(__unused union pci_bdf bdf_value) { return false; }
|
||||
bool is_dbg_uart_enabled(void) { return false; }
|
||||
|
||||
|
@@ -20,5 +20,3 @@ bool hv_used_dbg_intx(__unused uint8_t intx_pin)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void vuart_set_property(__unused const char *vuart_info) {}
|
||||
|
Reference in New Issue
Block a user