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
This commit is contained in:
71
OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
Normal file
71
OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
Normal file
@@ -0,0 +1,71 @@
|
||||
#/** @file
|
||||
# This driver is a sample implementation of the Graphics Output Protocol for
|
||||
# the QEMU (Cirrus Logic 5446) video controller.
|
||||
#
|
||||
# Copyright (c) 2006 - 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.
|
||||
#
|
||||
#**/
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = QemuVideoDxe
|
||||
FILE_GUID = e3752948-b9a1-4770-90c4-df41c38986be
|
||||
MODULE_TYPE = UEFI_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
|
||||
ENTRY_POINT = InitializeQemuVideo
|
||||
|
||||
PCI_VENDOR_ID = 0x1013
|
||||
PCI_DEVICE_ID = 0x00A8
|
||||
PCI_CLASS_CODE = 0x030000
|
||||
PCI_REVISION = 0x00
|
||||
COMPRESS = TRUE
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||
#
|
||||
# DRIVER_BINDING = gQemuVideoDriverBinding
|
||||
# COMPONENT_NAME = gQemuVideoComponentName
|
||||
#
|
||||
|
||||
[Sources.common]
|
||||
ComponentName.c
|
||||
Driver.c
|
||||
DriverSupportedEfiVersion.c
|
||||
Gop.c
|
||||
Initialize.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
OptionRomPkg/OptionRomPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
BaseMemoryLib
|
||||
BltLib
|
||||
DebugLib
|
||||
DevicePathLib
|
||||
MemoryAllocationLib
|
||||
TimerLib
|
||||
UefiBootServicesTableLib
|
||||
UefiDriverEntryPoint
|
||||
UefiLib
|
||||
|
||||
[Protocols]
|
||||
gEfiDriverSupportedEfiVersionProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiGraphicsOutputProtocolGuid # PROTOCOL BY_START
|
||||
gEfiDevicePathProtocolGuid # PROTOCOL BY_START
|
||||
gEfiPciIoProtocolGuid # PROTOCOL TO_START
|
||||
|
||||
[Pcd]
|
||||
gOptionRomPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion
|
||||
|
Reference in New Issue
Block a user