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/Kconfig | |
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/Kconfig')
-rw-r--r-- | vgasrc/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vgasrc/Kconfig b/vgasrc/Kconfig index 4443c0b3..f6d843e0 100644 --- a/vgasrc/Kconfig +++ b/vgasrc/Kconfig @@ -70,6 +70,13 @@ menu "VGA ROM" v3.0+. The vgabios works with the qemu stdvga too (use "qemu -device VGA,romfile=/path/to/vgabios.bin")". + config VGA_RAMFB + depends on QEMU + bool "qemu ramfb" + select VGA_EMULATE_TEXT + help + qemu ram framebuffer support (-device ramfb). + endchoice choice |