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
commitd9a8b867a3af8090290b69b8f94b24e7fba9e504 (patch)
treef4a76519479a380c7b8551f9260842971727f457 /vgasrc/vgautil.h
parente1a9579acd66fb9c393c014ed26f569f20a1a4f1 (diff)
downloadseabios-hppa-d9a8b867a3af8090290b69b8f94b24e7fba9e504.zip
seabios-hppa-d9a8b867a3af8090290b69b8f94b24e7fba9e504.tar.gz
seabios-hppa-d9a8b867a3af8090290b69b8f94b24e7fba9e504.tar.bz2
qemu: add qemu ramfb support
Add support for qemu ramfb. This is a simple boot framebuffer device, with normal ram being used to back the framebuffer and fw_cfg being used to configure the device. Use case (on x86): boot display for vgpu devices (which neither emulate vga nor have a vgabios). Sharing fw_cfg code with seabios turned out to be difficuilt due to various dependencies the code has on infrastructure which only seabios has. So include a copy of the code here, with those dependencies removed and also stripped down because we don't need a non-dma fallback here. 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 0f2dba4..4f37bf9 100644
--- a/vgasrc/vgautil.h
+++ b/vgasrc/vgautil.h
@@ -24,6 +24,9 @@ int cbvga_setup(void);
// bochsdisplay.c
int bochs_display_setup(void);
+// ramfb.c
+int ramfb_setup(void);
+
// clext.c
struct vgamode_s *clext_find_mode(int mode);
void clext_list_modes(u16 seg, u16 *dest, u16 *last);