mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
HV: remove 'vuart' from debug command list
Remove debug command 'vuart' which is used to change VM's console's base and irq before bringing up with uefi. But after vuart's resuffle, the gloable variables vuart_com_irq and vuart_com_base is not used anymore, vuart gets the base and irq from its configuration. So the command can not work. 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
a4b5e39fab
commit
4efc9e3ef9
@@ -8,7 +8,6 @@
|
||||
#include <rtl.h>
|
||||
#include <pci.h>
|
||||
#include <uart16550.h>
|
||||
#include <vuart.h>
|
||||
|
||||
#define MAX_PORT 0x10000 /* port 0 - 64K */
|
||||
#define DEFAULT_UART_PORT 0x3F8
|
||||
@@ -19,19 +18,12 @@ static const char * const cmd_list[] = {
|
||||
"uart=disabled", /* to disable uart */
|
||||
"uart=port@", /* like uart=port@0x3F8 */
|
||||
"uart=bdf@", /*like: uart=bdf@0:18.2, it is for ttyS2 */
|
||||
|
||||
/* format: vuart=ttySx@irqN, like vuart=ttyS1@irq6; better to unify
|
||||
* uart & vuart & SOS console the same one, and irq same with the native.
|
||||
* ttySx range (0-3), irqN (0-255)
|
||||
*/
|
||||
"vuart=ttyS",
|
||||
};
|
||||
|
||||
enum IDX_CMD_DBG {
|
||||
IDX_DISABLE_UART,
|
||||
IDX_PORT_UART,
|
||||
IDX_PCI_UART,
|
||||
IDX_SET_VUART,
|
||||
|
||||
IDX_MAX_CMD,
|
||||
};
|
||||
@@ -65,8 +57,6 @@ bool handle_dbg_cmd(const char *cmd, int32_t len)
|
||||
|
||||
} else if (i == IDX_PCI_UART) {
|
||||
uart16550_set_property(true, false, (uint64_t)(cmd+tmp));
|
||||
} else if (i == IDX_SET_VUART) {
|
||||
vuart_set_property(cmd+tmp);
|
||||
} else {
|
||||
/* No other state currently, do nothing */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user