summaryrefslogtreecommitdiff
path: root/OvmfPkg/QemuVideoDxe/DriverSupportedEfiVersion.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-12 15:08:51 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-12 15:08:51 +0000
commiteaf4f336ea42dc32e1a5b31d6b7822c125a15d34 (patch)
treed148c5648797daa1e4d522af74ae5c01a3659178 /OvmfPkg/QemuVideoDxe/DriverSupportedEfiVersion.c
parenta12199e66fb7acf284c96091ce90fa666f87ce02 (diff)
downloadedk2-eaf4f336ea42dc32e1a5b31d6b7822c125a15d34.zip
edk2-eaf4f336ea42dc32e1a5b31d6b7822c125a15d34.tar.gz
edk2-eaf4f336ea42dc32e1a5b31d6b7822c125a15d34.tar.bz2
OvmfPkg: Add QemuVideoDxe driver
This driver provides a UEFI Graphics Output Protocol (GOP) driver for the QEMU Cirrus VGA hardware. It enables 24-bit color, and uses the standard 32-bit GOP pixel format whenever possible. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11524 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/QemuVideoDxe/DriverSupportedEfiVersion.c')
-rw-r--r--OvmfPkg/QemuVideoDxe/DriverSupportedEfiVersion.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/OvmfPkg/QemuVideoDxe/DriverSupportedEfiVersion.c b/OvmfPkg/QemuVideoDxe/DriverSupportedEfiVersion.c
new file mode 100644
index 0000000..5691e41
--- /dev/null
+++ b/OvmfPkg/QemuVideoDxe/DriverSupportedEfiVersion.c
@@ -0,0 +1,21 @@
+/** @file
+ Driver supported version protocol for the QEMU video driver.
+
+ Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+#include "Qemu.h"
+
+EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL gQemuVideoDriverSupportedEfiVersion = {
+ sizeof (EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL), // Size of Protocol structure.
+ 0 // Version number to be filled at start up.
+};
+