aboutsummaryrefslogtreecommitdiff
path: root/vgasrc/vgautil.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-11-15 14:43:10 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-06-22 07:44:07 +0200
commit77404b450d30a1d7860e717e98762b8a4745341d (patch)
tree1baf51c0af23cf05f75813323b171c6a670fe1a9 /vgasrc/vgautil.h
parent4d70b24b86012e382cf551ce72c2dd6c92a6d1fa (diff)
downloadseabios-hppa-77404b450d30a1d7860e717e98762b8a4745341d.zip
seabios-hppa-77404b450d30a1d7860e717e98762b8a4745341d.tar.gz
seabios-hppa-77404b450d30a1d7860e717e98762b8a4745341d.tar.bz2
qemu: add bochs-display support
Use coreboot text mode emulation to also support the qemu bochs-display device. This is a new display device supporting simple linear framebuffers, using the bochs register interface. No support for legacy vga (text modes, planar modes, cga modes, 8bpp palette modes all dropped). The bochs interface is compatible with the qemu stdvga. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'vgasrc/vgautil.h')
-rw-r--r--vgasrc/vgautil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vgasrc/vgautil.h b/vgasrc/vgautil.h
index e02ad3e..d93da76 100644
--- a/vgasrc/vgautil.h
+++ b/vgasrc/vgautil.h
@@ -21,6 +21,9 @@ int cbvga_get_linesize(struct vgamode_s *vmode_g);
void cbvga_setup_modes(u64 addr, u8 bpp, u32 xlines, u32 ylines, u32 linelength);
int cbvga_setup(void);
+// bochsdisplay.c
+int bochs_display_setup(void);
+
// clext.c
struct vgamode_s *clext_find_mode(int mode);
void clext_list_modes(u16 seg, u16 *dest, u16 *last);