Re: [PATCH v4 44/53] semihosting: Cleanup chardev init

2022-06-24 Thread Luc Michel
On 13:45 Tue 07 Jun , Richard Henderson wrote: > Rename qemu_semihosting_connect_chardevs to > qemu_semihosting_chardev_init; pass the result > directly to qemu_semihosting_console_init. > > Store the chardev in SemihostingConsole instead > of SemihostingConfig, which lets us drop > semihostin

[PATCH v4 44/53] semihosting: Cleanup chardev init

2022-06-07 Thread Richard Henderson
Rename qemu_semihosting_connect_chardevs to qemu_semihosting_chardev_init; pass the result directly to qemu_semihosting_console_init. Store the chardev in SemihostingConsole instead of SemihostingConfig, which lets us drop semihosting_get_chardev. Signed-off-by: Richard Henderson --- include/se