-#/** @file\r
+## @file\r
# This driver is a sample implementation of the Graphics Output Protocol for\r
# the QEMU (Cirrus Logic 5446) video controller.\r
#\r
-# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
#\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
\r
ENTRY_POINT = InitializeQemuVideo\r
\r
- PCI_VENDOR_ID = 0x1013\r
- PCI_DEVICE_ID = 0x00A8\r
- PCI_CLASS_CODE = 0x030000\r
- PCI_REVISION = 0x00\r
- COMPRESS = TRUE\r
- PCI_COMPRESS = TRUE\r
-\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
#\r
# DRIVER_BINDING = gQemuVideoDriverBinding\r
# COMPONENT_NAME = gQemuVideoComponentName\r
[Sources.common]\r
ComponentName.c\r
Driver.c\r
- DriverSupportedEfiVersion.c\r
Gop.c\r
Initialize.c\r
+ Qemu.h\r
+\r
+[Sources.Ia32, Sources.X64]\r
+ VbeShim.c\r
+ VbeShim.h\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
- OptionRomPkg/OptionRomPkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+ OvmfPkg/OvmfPkg.dec\r
\r
[LibraryClasses]\r
BaseMemoryLib\r
- BltLib\r
+ FrameBufferBltLib\r
DebugLib\r
DevicePathLib\r
MemoryAllocationLib\r
+ PcdLib\r
+ PciLib\r
+ PrintLib\r
TimerLib\r
UefiBootServicesTableLib\r
UefiDriverEntryPoint\r
UefiLib\r
\r
[Protocols]\r
- gEfiDriverSupportedEfiVersionProtocolGuid # PROTOCOL ALWAYS_PRODUCED\r
gEfiGraphicsOutputProtocolGuid # PROTOCOL BY_START\r
gEfiDevicePathProtocolGuid # PROTOCOL BY_START\r
gEfiPciIoProtocolGuid # PROTOCOL TO_START\r
\r
[Pcd]\r
- gOptionRomPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion\r
-\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask\r