target/alpha: Split out gen_pc_disp
[qemu/armbru.git] / ui / console-priv.h
blob43ceb8122f1388e7c0e9b96450914e70650f34d6
1 /*
2 * SPDX-License-Identifier: GPL-2.0-or-later
3 * QEMU UI Console
4 */
5 #ifndef CONSOLE_PRIV_H
6 #define CONSOLE_PRIV_H
8 #include "ui/console.h"
9 #include "qemu/coroutine.h"
10 #include "qemu/timer.h"
12 #include "vgafont.h"
14 #define FONT_HEIGHT 16
15 #define FONT_WIDTH 8
17 struct QemuConsole {
18 Object parent;
20 int index;
21 DisplayState *ds;
22 DisplaySurface *surface;
23 DisplayScanout scanout;
24 int dcls;
25 DisplayGLCtx *gl;
26 int gl_block;
27 QEMUTimer *gl_unblock_timer;
28 int window_id;
29 QemuUIInfo ui_info;
30 QEMUTimer *ui_timer;
31 const GraphicHwOps *hw_ops;
32 void *hw;
33 CoQueue dump_queue;
35 QTAILQ_ENTRY(QemuConsole) next;
38 void qemu_text_console_update_size(QemuTextConsole *c);
39 const char * qemu_text_console_get_label(QemuTextConsole *c);
40 void qemu_text_console_update_cursor(void);
41 void qemu_text_console_handle_keysym(QemuTextConsole *s, int keysym);
43 #endif