diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-11-15 14:43:10 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-22 07:44:07 +0200 |
commit | d9a8b867a3af8090290b69b8f94b24e7fba9e504 (patch) | |
tree | f4a76519479a380c7b8551f9260842971727f457 /vgasrc/vgautil.h | |
parent | e1a9579acd66fb9c393c014ed26f569f20a1a4f1 (diff) | |
download | seabios-d9a8b867a3af8090290b69b8f94b24e7fba9e504.tar.gz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vgasrc/vgautil.h b/vgasrc/vgautil.h index 0f2dba4c..4f37bf94 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); |