char: rename CharBackend->CharFrontend
The actual backend is "Chardev", CharBackend is the frontend side of it (whatever talks to the backend), let's rename it for readability. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Link: https://lore.kernel.org/r/20251022074612.1258413-1-marcandre.lureau@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
dc72ba5dc4
commit
1b21518f73
89 changed files with 428 additions and 429 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
/* Access to this structure is protected by the BQL */
|
||||
typedef struct SemihostingConsole {
|
||||
CharBackend backend;
|
||||
CharFrontend frontend;
|
||||
Chardev *chr;
|
||||
GSList *sleeping_cpus;
|
||||
bool got;
|
||||
|
|
@ -122,8 +122,8 @@ void qemu_semihosting_console_init(Chardev *chr)
|
|||
console.chr = chr;
|
||||
if (chr) {
|
||||
fifo8_create(&console.fifo, FIFO_SIZE);
|
||||
qemu_chr_fe_init(&console.backend, chr, &error_abort);
|
||||
qemu_chr_fe_set_handlers(&console.backend,
|
||||
qemu_chr_fe_init(&console.frontend, chr, &error_abort);
|
||||
qemu_chr_fe_set_handlers(&console.frontend,
|
||||
console_can_read,
|
||||
console_read,
|
||||
NULL, NULL, &console,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue