diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-11-27 19:11:45 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-11-27 19:11:45 +0000 |
commit | cdb4f5dcb1d4778da71c82cc15cab6e3cf218417 (patch) | |
tree | 3c2fb1d6a751c60f919652eebcf6eb0c124dd787 /OvmfPkg/QemuVideoDxe/Qemu.h | |
parent | 54f9b9accbcb6dc7f965342fc75b478464de21a3 (diff) | |
download | edk2-cdb4f5dcb1d4778da71c82cc15cab6e3cf218417.tar.gz edk2-cdb4f5dcb1d4778da71c82cc15cab6e3cf218417.tar.bz2 edk2-cdb4f5dcb1d4778da71c82cc15cab6e3cf218417.zip |
QemuVideo: stdvga mmio bar support
The qemu standard vga has a MMIO bar in qemu 1.3+.
Use it if available.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13969 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/QemuVideoDxe/Qemu.h')
-rw-r--r-- | OvmfPkg/QemuVideoDxe/Qemu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OvmfPkg/QemuVideoDxe/Qemu.h b/OvmfPkg/QemuVideoDxe/Qemu.h index 343fd347b6..38d68729a0 100644 --- a/OvmfPkg/QemuVideoDxe/Qemu.h +++ b/OvmfPkg/QemuVideoDxe/Qemu.h @@ -90,6 +90,7 @@ typedef enum { QEMU_VIDEO_CIRRUS_5430 = 1,
QEMU_VIDEO_CIRRUS_5446,
QEMU_VIDEO_BOCHS,
+ QEMU_VIDEO_BOCHS_MMIO,
} QEMU_VIDEO_VARIANT;
typedef struct {
@@ -478,6 +479,13 @@ BochsRead ( UINT16 Reg
);
+VOID
+VgaOutb (
+ QEMU_VIDEO_PRIVATE_DATA *Private,
+ UINTN Reg,
+ UINT8 Data
+ );
+
EFI_STATUS
QemuVideoCirrusModeSetup (
QEMU_VIDEO_PRIVATE_DATA *Private
|