mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv:cleanup console.h
--move several uart API declarations from console.h to uart16550.h --move several shell API declarations from console.h to shell.h --add dbg_cmd.h, move 'handle_dbg_cmd' declaration from console.h to dbg_cmd.h --move debug/uart16550.h to include/debug/uart16550.h since some uart APIs will be called by external files Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> modified: arch/x86/guest/vm.c modified: arch/x86/init.c modified: bsp/uefi/cmdline.c modified: debug/console.c modified: debug/dbg_cmd.c modified: debug/uart16550.c modified: debug/vuart.c modified: hw/pci.c modified: include/arch/x86/multiboot.h modified: include/debug/console.h new file: include/debug/dbg_cmd.h new file: include/debug/shell.h renamed: debug/uart16550.h -> include/debug/uart16550.h
This commit is contained in:
@@ -38,15 +38,8 @@ void console_putc(const char *ch);
|
||||
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);
|
||||
|
||||
void suspend_console(void);
|
||||
void resume_console(void);
|
||||
|
||||
bool handle_dbg_cmd(const char *cmd, int32_t len);
|
||||
#endif /* CONSOLE_H */
|
||||
|
||||
Reference in New Issue
Block a user