hc
2024-03-26 e0728245c89800c2038c23308f2d88969d5b41c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
## @file
# A simple DXE_DRIVER that causes the PCI Bus UEFI_DRIVER to allocate 64-bit
# MMIO BARs above 4 GB, regardless of option ROM availability (as long as a CSM
# is not present), conserving 32-bit MMIO aperture for 32-bit BARs.
#
# Copyright (C) 2016, Red Hat, Inc.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
 
[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = IncompatiblePciDeviceSupportDxe
  FILE_GUID                      = F6697AC4-A776-4EE1-B643-1FEFF2B615BB
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
  ENTRY_POINT                    = DriverInitialize
 
[Sources]
  IncompatiblePciDeviceSupport.c
 
[Packages]
  MdePkg/MdePkg.dec
  OvmfPkg/OvmfPkg.dec
 
[LibraryClasses]
  DebugLib
  MemoryAllocationLib
  PcdLib
  UefiBootServicesTableLib
  UefiDriverEntryPoint
 
[Protocols]
  gEfiIncompatiblePciDeviceSupportProtocolGuid ## SOMETIMES_PRODUCES
  gEfiLegacyBiosProtocolGuid                   ## NOTIFY
 
[Pcd]
  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size                ## CONSUMES
 
[Depex]
  TRUE