diff --git a/misc/acrn-config/target/misc.py b/misc/acrn-config/target/misc.py index 8bc6b7422..8977f2ee7 100644 --- a/misc/acrn-config/target/misc.py +++ b/misc/acrn-config/target/misc.py @@ -11,9 +11,12 @@ TTY_PATH = '/sys/class/tty/' SYS_IRQ_PATH = '/proc/interrupts' CPU_INFO_PATH = '/sys/devices/system/cpu/possible' +# Please refer kernel_src/include/linux/serial_core.h ttys_type = { - '0': 'PORT', - '3': 'MMIO', + '0': 'PORT', # 8b I/O port access + '2': 'MMIO', # driver-specific + '3': 'MMIO', # 32b little endian + '6': 'MMIO', # 32b big endian }