VirtualBox

Ignore:
Timestamp:
Mar 12, 2019 12:40:12 PM (6 years ago)
Author:
vboxsync
Message:

EFI: First step in UDK2018 merge. Does not build yet.

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/OvmfPkgIa32X64.dsc

    r58466 r77662  
    22#  EFI/Framework Open Virtual Machine Firmware (OVMF) platform
    33#
    4 #  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
     4#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
     5#  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
    56#
    67#  This program and the accompanying materials
     
    2627  OUTPUT_DIRECTORY               = Build/Ovmf3264
    2728  SUPPORTED_ARCHITECTURES        = IA32|X64
    28   BUILD_TARGETS                  = DEBUG|RELEASE
     29  BUILD_TARGETS                  = NOOPT|DEBUG|RELEASE
    2930  SKUID_IDENTIFIER               = DEFAULT
    3031  FLASH_DEFINITION               = OvmfPkg/OvmfPkgIa32X64.fdf
     
    3536  #
    3637  DEFINE SECURE_BOOT_ENABLE      = FALSE
     38  DEFINE NETWORK_IP6_ENABLE      = FALSE
     39  DEFINE HTTP_BOOT_ENABLE        = FALSE
     40  DEFINE SMM_REQUIRE             = FALSE
     41  DEFINE TLS_ENABLE              = FALSE
     42
     43  #
     44  # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
     45  # one of the supported values, in place of any of the convenience macros, is
     46  # permitted.
     47  #
     48!ifdef $(FD_SIZE_1MB)
     49  DEFINE FD_SIZE_IN_KB           = 1024
     50!else
     51!ifdef $(FD_SIZE_2MB)
     52  DEFINE FD_SIZE_IN_KB           = 2048
     53!else
     54!ifdef $(FD_SIZE_4MB)
     55  DEFINE FD_SIZE_IN_KB           = 4096
     56!else
     57  DEFINE FD_SIZE_IN_KB           = 4096
     58!endif
     59!endif
     60!endif
    3761
    3862[BuildOptions]
     
    4165  INTEL:RELEASE_*_*_CC_FLAGS           = /D MDEPKG_NDEBUG
    4266  MSFT:RELEASE_*_*_CC_FLAGS            = /D MDEPKG_NDEBUG
     67!if $(TOOL_CHAIN_TAG) != "XCODE5"
    4368  GCC:*_*_*_CC_FLAGS                   = -mno-mmx -mno-sse
     69!endif
    4470!ifdef $(SOURCE_DEBUG_ENABLE)
    4571  MSFT:*_*_X64_GENFW_FLAGS  = --keepexceptiontable
     
    4874!endif
    4975
     76  #
     77  # Disable deprecated APIs.
     78  #
     79  MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
     80  INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
     81  GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
     82
     83[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
     84  GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
     85  XCODE:*_*_*_DLINK_FLAGS =
     86
     87# Force PE/COFF sections to be aligned at 4KB boundaries to support page level
     88# protection of DXE_SMM_DRIVER/SMM_CORE modules
     89[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
     90  GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
     91  XCODE:*_*_*_DLINK_FLAGS =
     92
    5093################################################################################
    5194#
     
    63106[LibraryClasses]
    64107  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    65   TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
     108  TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
    66109  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
    67110  BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
    68111  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
     112  SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
     113  BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
    69114  SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
    70115  CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
     
    75120  UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
    76121  HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
    77   GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
     122  SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
     123  UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
     124  BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
     125  FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
    78126  CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
    79127  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
     
    81129  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
    82130  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
     131  PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
    83132  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
    84   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
     133  PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
     134  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
    85135  OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
    86136  SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
     
    93143  DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
    94144  NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
    95   FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
     145  FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
    96146  UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
    97147  SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
     
    102152  UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
    103153  SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
    104   QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
     154  QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
    105155  VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
    106156  LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
     157  MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
     158!if $(SMM_REQUIRE) == FALSE
    107159  LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
     160!endif
    108161  CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
     162  FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
    109163
    110164!ifdef $(SOURCE_DEBUG_ENABLE)
     
    117171
    118172  ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
    119   LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
     173  LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
    120174  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
     175
     176  IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
     177!if $(TLS_ENABLE) == TRUE
     178  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
     179!else
     180  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
     181!endif
    121182
    122183!if $(SECURE_BOOT_ENABLE) == TRUE
    123184  PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
    124   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
    125   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
    126185  TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
    127 !endif
    128 
     186  AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
     187!else
     188  TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
     189  AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
     190!endif
     191  VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
     192
     193!if $(NETWORK_IP6_ENABLE) == TRUE
     194  TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
     195!endif
     196
     197!if $(HTTP_BOOT_ENABLE) == TRUE
     198  HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
     199!endif
     200
     201!if $(TLS_ENABLE) == TRUE
     202  TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
     203!endif
     204
     205  ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
    129206  S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
    130207  SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
     208  OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
     209  XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
    131210
    132211[LibraryClasses.common]
    133 !if $(SECURE_BOOT_ENABLE) == TRUE
    134212  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    135 !endif
    136213
    137214[LibraryClasses.common.SEC]
     215  TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
    138216  QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
    139217!ifdef $(DEBUG_ON_SERIAL_PORT)
    140218  DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    141219!else
    142   DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
     220  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
    143221!endif
    144222  ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
     
    189267  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
    190268!endif
     269  CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
     270  MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
     271  QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
     272  PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
     273  QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
    191274
    192275[LibraryClasses.common.DXE_CORE]
     
    200283  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
    201284!endif
    202   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    203285  ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
    204286!ifdef $(SOURCE_DEBUG_ENABLE)
     
    206288!endif
    207289  CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
     290  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    208291
    209292[LibraryClasses.common.DXE_RUNTIME_DRIVER]
     293  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
     294  TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
    210295  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
    211296  DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
     
    217302  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
    218303!endif
     304  UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
     305  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
     306  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
     307  QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
     308
     309[LibraryClasses.common.UEFI_DRIVER]
    219310  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    220   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
    221 !if $(SECURE_BOOT_ENABLE) == TRUE
    222   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
    223 !endif
    224 
    225 [LibraryClasses.common.UEFI_DRIVER]
     311  TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
    226312  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
    227313  DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
     
    233319  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
    234320!endif
    235   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    236321  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
     322  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
    237323
    238324[LibraryClasses.common.DXE_DRIVER]
     325  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
     326  TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
    239327  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
    240   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    241328  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
    242329  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
     
    251338  UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
    252339  DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
    253   PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
     340  PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
     341  QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
    254342  CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
     343!if $(SMM_REQUIRE) == TRUE
     344  LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
     345!else
    255346  LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
     347!endif
    256348!ifdef $(SOURCE_DEBUG_ENABLE)
    257349  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
    258350!endif
     351  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
     352  MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
     353  QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
    259354
    260355[LibraryClasses.common.UEFI_APPLICATION]
     356  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
     357  TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
    261358  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
    262359  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
     360  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
    263361!ifdef $(DEBUG_ON_SERIAL_PORT)
    264362  DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
     
    266364  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
    267365!endif
     366  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
     367
     368[LibraryClasses.common.DXE_SMM_DRIVER]
     369  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
     370  TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
     371  MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
     372  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
     373  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
     374  SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
     375  SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
     376!ifdef $(DEBUG_ON_SERIAL_PORT)
     377  DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
     378!else
     379  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
     380!endif
     381  CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
     382!ifdef $(SOURCE_DEBUG_ENABLE)
     383  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
     384!endif
     385  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
     386  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
     387
     388[LibraryClasses.common.SMM_CORE]
     389  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
     390  TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
     391  SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
     392  MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
     393  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
     394  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
     395  SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
     396  SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
     397!ifdef $(DEBUG_ON_SERIAL_PORT)
     398  DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
     399!else
     400  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
     401!endif
     402  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
    268403
    269404################################################################################
     
    273408################################################################################
    274409[PcdsFeatureFlag]
     410  gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
    275411  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
    276412  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
     
    279415  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
    280416  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
    281 !if $(SECURE_BOOT_ENABLE) == TRUE
    282   gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
     417  gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
     418!if $(SMM_REQUIRE) == TRUE
     419  gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
     420  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
    283421!endif
    284422
     
    289427  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
    290428  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
     429!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
    291430  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
    292   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
     431  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
    293432  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
     433!endif
     434!if $(FD_SIZE_IN_KB) == 4096
     435  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
     436  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
     437  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
     438!endif
    294439
    295440  gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
    296441
    297442  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
     443
     444  # DEBUG_INIT      0x00000001  // Initialization
     445  # DEBUG_WARN      0x00000002  // Warnings
     446  # DEBUG_LOAD      0x00000004  // Load events
     447  # DEBUG_FS        0x00000008  // EFI File system
     448  # DEBUG_POOL      0x00000010  // Alloc & Free (pool)
     449  # DEBUG_PAGE      0x00000020  // Alloc & Free (page)
     450  # DEBUG_INFO      0x00000040  // Informational debug messages
     451  # DEBUG_DISPATCH  0x00000080  // PEI/DXE/SMM Dispatchers
     452  # DEBUG_VARIABLE  0x00000100  // Variable
     453  # DEBUG_BM        0x00000400  // Boot Manager
     454  # DEBUG_BLKIO     0x00001000  // BlkIo Driver
     455  # DEBUG_NET       0x00004000  // SNP Driver
     456  # DEBUG_UNDI      0x00010000  // UNDI Driver
     457  # DEBUG_LOADFILE  0x00020000  // LoadFile
     458  # DEBUG_EVENT     0x00080000  // Event messages
     459  # DEBUG_GCD       0x00100000  // Global Coherency Database changes
     460  # DEBUG_CACHE     0x00200000  // Memory range cachability changes
     461  # DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
     462  #                             // significantly impact boot performance
     463  # DEBUG_ERROR     0x80000000  // Error
    298464  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
     465
    299466!ifdef $(SOURCE_DEBUG_ENABLE)
    300467  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
     
    303470!endif
    304471
     472  # This PCD is used to set the base address of the PCI express hierarchy. It
     473  # is only consulted when OVMF runs on Q35. In that case it is programmed into
     474  # the PCIEXBAR register.
     475  #
     476  # On Q35 machine types that QEMU intends to support in the long term, QEMU
     477  # never lets the RAM below 4 GB exceed 2 GB.
     478  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
     479
    305480!ifdef $(SOURCE_DEBUG_ENABLE)
    306481  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
    307482!endif
    308483
     484[PcdsFixedAtBuild.X64]
     485!if $(HTTP_BOOT_ENABLE) == TRUE
     486  gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
     487!endif
     488
    309489!ifndef $(USE_OLD_SHELL)
    310490  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
    311491!endif
    312492
    313 [PcdsFixedAtBuild.X64]
    314 !if $(SECURE_BOOT_ENABLE) == TRUE
    315   # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
    316   gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
    317   gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
    318   gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
     493!if $(SMM_REQUIRE) == TRUE
     494  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
    319495!endif
    320496
     
    322498  gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
    323499
     500  # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
     501  gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
     502
    324503################################################################################
    325504#
     
    329508
    330509[PcdsDynamicDefault]
     510  # only set when
     511  #   ($(SMM_REQUIRE) == FALSE)
    331512  gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
     513
    332514  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
    333515  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
     
    336518  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
    337519  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
    338 
     520  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
     521  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
     522  gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
     523  gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
     524  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
     525  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
     526  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
     527  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
     528
     529  gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
     530
     531  # Set video resolution for text setup.
     532  gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
     533  gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
     534
     535  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
     536  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
     537  gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
     538
     539  # Noexec settings for DXE.
     540  gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
     541  gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
     542
     543  # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
     544  gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
     545  gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000
     546
     547  # Set memory encryption mask
     548  gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
     549
     550!if $(SMM_REQUIRE) == TRUE
     551  gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
     552  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
     553  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
     554!endif
     555
     556  gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
    339557
    340558################################################################################
     
    351569  OvmfPkg/Sec/SecMain.inf {
    352570    <LibraryClasses>
    353       NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
     571      NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
    354572  }
    355573
     
    362580      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    363581  }
    364   IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
     582  MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
     583    <LibraryClasses>
     584      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
     585  }
     586  MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
     587    <LibraryClasses>
     588      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
     589  }
    365590  MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
    366591
    367   OvmfPkg/PlatformPei/PlatformPei.inf {
    368     <LibraryClasses>
    369       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
    370   }
     592  OvmfPkg/PlatformPei/PlatformPei.inf
    371593  UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
    372594    <LibraryClasses>
    373       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
    374   }
     595!if $(SMM_REQUIRE) == TRUE
     596      LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
     597!endif
     598  }
     599!if $(SMM_REQUIRE) == TRUE
     600  OvmfPkg/SmmAccess/SmmAccessPei.inf
     601!endif
     602  UefiCpuPkg/CpuMpPei/CpuMpPei.inf
    375603
    376604[Components.X64]
     
    380608  MdeModulePkg/Core/Dxe/DxeMain.inf {
    381609    <LibraryClasses>
    382       NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
     610      NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
    383611      DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
    384612  }
    385613
    386   IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
     614  MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
     615  MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
    387616  MdeModulePkg/Universal/PCD/Dxe/Pcd.inf  {
    388617   <LibraryClasses>
     
    406635  UefiCpuPkg/CpuDxe/CpuDxe.inf
    407636  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
    408   PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
     637  OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
     638  OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
     639  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
     640    <LibraryClasses>
     641      PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
     642      NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
     643  }
    409644  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
    410645    <LibraryClasses>
    411646      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    412647  }
    413   PcAtChipsetPkg/KbcResetDxe/Reset.inf
    414   MdeModulePkg/Universal/Metronome/Metronome.inf {
    415     <LibraryClasses>
    416       TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
    417   }
    418 
    419   PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
    420     <LibraryClasses>
    421       TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
    422   }
    423 
    424   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
    425     <LibraryClasses>
    426       TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
     648  MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
     649  MdeModulePkg/Universal/Metronome/Metronome.inf
     650  PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
     651  MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
     652  MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
     653    <LibraryClasses>
    427654!ifdef $(CSM_ENABLE)
    428655      NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
    429 !endif
    430   }
    431 
     656      NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
     657!endif
     658  }
     659  MdeModulePkg/Logo/LogoDxe.inf
     660  MdeModulePkg/Application/UiApp/UiApp.inf {
     661    <LibraryClasses>
     662      NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
     663      NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
     664      NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
     665!ifdef $(CSM_ENABLE)
     666      NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
     667      NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
     668!endif
     669  }
    432670  OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
    433671  OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
     672  OvmfPkg/Virtio10Dxe/Virtio10.inf
    434673  OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
    435674  OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
    436   OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
    437   OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
    438     <LibraryClasses>
    439       PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
    440   }
    441   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
    442   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
     675  OvmfPkg/VirtioRngDxe/VirtioRng.inf
     676  OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
     677  OvmfPkg/XenBusDxe/XenBusDxe.inf
     678  OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
    443679  MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
    444680  MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
     
    459695  MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
    460696  MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
     697  MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
    461698  MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
     699  FatPkg/EnhancedFatDxe/Fat.inf
    462700  MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
    463701  MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
    464   IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
    465   PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
     702  OvmfPkg/SataControllerDxe/SataControllerDxe.inf
     703  MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
     704  MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
     705  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
    466706  MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
    467707  MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
     
    469709  MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
    470710
    471   OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
    472     <LibraryClasses>
    473       BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
    474   }
     711  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
     712  OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
    475713
    476714  #
     
    486724  # SMBIOS Support
    487725  #
    488   MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
     726  MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
     727    <LibraryClasses>
     728      NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
     729  }
    489730  OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
    490731
     
    495736  OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
    496737  OvmfPkg/AcpiTables/AcpiTables.inf
    497   OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
    498738  MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
    499739  MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
     740  MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
    500741
    501742  #
     
    508749  MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
    509750  MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
    510   MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
    511751  MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
    512752  MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
     753  MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
     754!if $(NETWORK_IP6_ENABLE) == TRUE
     755  NetworkPkg/Ip6Dxe/Ip6Dxe.inf
     756  NetworkPkg/TcpDxe/TcpDxe.inf
     757  NetworkPkg/Udp6Dxe/Udp6Dxe.inf
     758  NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
     759  NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
     760  NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
     761  NetworkPkg/IScsiDxe/IScsiDxe.inf
     762!else
    513763  MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
    514   MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
    515764  MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
    516765  MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
     766!endif
     767!if $(HTTP_BOOT_ENABLE) == TRUE
     768  NetworkPkg/DnsDxe/DnsDxe.inf
     769  NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
     770  NetworkPkg/HttpDxe/HttpDxe.inf
     771  NetworkPkg/HttpBootDxe/HttpBootDxe.inf
     772!endif
     773!if $(TLS_ENABLE) == TRUE
     774  NetworkPkg/TlsDxe/TlsDxe.inf
     775  NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
     776!endif
    517777  OvmfPkg/VirtioNetDxe/VirtioNet.inf
    518778
     
    522782  MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
    523783  MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
     784  MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
    524785  MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
    525786  MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
     
    536797
    537798!ifndef $(USE_OLD_SHELL)
     799  ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
     800    <PcdsFixedAtBuild>
     801      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
     802  }
    538803  ShellPkg/Application/Shell/Shell.inf {
    539804    <LibraryClasses>
     
    546811      NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
    547812      NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
     813!if $(NETWORK_IP6_ENABLE) == TRUE
     814      NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
     815!endif
    548816      HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
    549       FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
    550       ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
    551       SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
    552817      PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
    553       PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
    554818#      SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
    555819#      SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
     
    564828
    565829!if $(SECURE_BOOT_ENABLE) == TRUE
    566   SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
    567     <LibraryClasses>
    568       BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
    569       OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
    570   }
    571   OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
     830  SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
    572831!endif
    573832
    574833  OvmfPkg/PlatformDxe/Platform.inf
     834  OvmfPkg/AmdSevDxe/AmdSevDxe.inf
     835  OvmfPkg/IoMmuDxe/IoMmuDxe.inf
     836
     837!if $(SMM_REQUIRE) == TRUE
     838  OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
     839  OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
     840  UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
     841
     842  #
     843  # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
     844  #
     845  MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
     846
     847  #
     848  # SMM_CORE
     849  #
     850  MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
     851
     852  #
     853  # Privileged drivers (DXE_SMM_DRIVER modules)
     854  #
     855  UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
     856  MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
     857    <LibraryClasses>
     858      LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
     859  }
     860  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
     861    <LibraryClasses>
     862      SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
     863      SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
     864  }
     865
     866  #
     867  # Variable driver stack (SMM)
     868  #
     869  OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
     870  MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
     871  MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
     872    <LibraryClasses>
     873      NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
     874  }
     875  MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
     876
     877!else
     878
     879  #
     880  # Variable driver stack (non-SMM)
     881  #
     882  OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
     883  OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
     884    <LibraryClasses>
     885      PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
     886  }
     887  MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
     888  MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
     889    <LibraryClasses>
     890      NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
     891  }
     892!endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette