Move the VT100 terminal emulation code into dedicated ui/vt100.c and ui/vt100.h files, completing the extraction from console-vc.c started in the previous patches. This makes the VT100 layer a self-contained module that can be reused independently of the chardev/console infrastructure. The code is moved as-is, with minor coding style fixes (adding missing braces, fixing whitespace) applied during the move. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
29 lines
458 B
C
29 lines
458 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* QEMU VC stubs
|
|
*/
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "qapi/error.h"
|
|
#include "qemu/error-report.h"
|
|
#include "qemu/option.h"
|
|
#include "chardev/char.h"
|
|
#include "ui/console-priv.h"
|
|
#include "vt100.h"
|
|
|
|
void qemu_text_console_update_size(QemuTextConsole *c)
|
|
{
|
|
}
|
|
|
|
void vt100_update_cursor(void)
|
|
{
|
|
}
|
|
|
|
void qemu_text_console_handle_keysym(QemuTextConsole *s, int keysym)
|
|
{
|
|
}
|
|
|
|
void qemu_console_early_init(void)
|
|
{
|
|
}
|