mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +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:
12
hypervisor/include/debug/dbg_cmd.h
Normal file
12
hypervisor/include/debug/dbg_cmd.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef DBG_CMD_H
|
||||
#define DBG_CMD_H
|
||||
|
||||
bool handle_dbg_cmd(const char *cmd, int32_t len);
|
||||
|
||||
#endif /* DBG_CMD_H */
|
||||
Reference in New Issue
Block a user