acrn-hypervisor/hypervisor/debug
Wu Zhou a052cda8e4 hv: console reads all input chars in one poll
For uart console, some control keys are defined as byte sequences,
such as:
 * up arrow - 0x1b/0x5b/0x41
 * F8 - 0x1b/0x5b/0x31/0x39/0x7e

Currently hv console only read one char per poll.
When guest vuart console is active, those byte sequences may not be sent
to guest vuart in good timing due to the poll interval. Thus control keys
such as up/down can not be used in shell or vim.

The solution is to read all input chars in one poll, so that control keys
can be received by guest OS properly.

Tracked-On: #8564
Signed-off-by: Wu Zhou <wu.zhou@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2024-03-12 15:26:58 +08:00
..
console.c hv: console reads all input chars in one poll 2024-03-12 15:26:58 +08:00
dbg_cmd.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
dump.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
hypercall.c hv: extend sbuf hypercall 2022-09-27 10:26:42 +08:00
logmsg.c hv: add max_len for sbuf_put param 2024-02-20 11:52:02 +08:00
Makefile HV: makefile: to avoid duplicated build libs 2020-05-21 15:12:21 +08:00
npk_log.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
printf.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
profiling.c hv: add max_len for sbuf_put param 2024-02-20 11:52:02 +08:00
sbuf.c hv: support asyncio request 2022-09-27 10:26:42 +08:00
shell_priv.h hv: shell: improve console to modify input easier 2022-07-28 23:31:43 +08:00
shell.c hv: change the version format 2022-11-21 09:45:26 +08:00
string.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
trace.c hv: add max_len for sbuf_put param 2024-02-20 11:52:02 +08:00
uart16550.c hv: support for pci uart with high mmio 2022-11-21 16:50:05 +08:00