## @file\r
-# Sample ACPI Platform Driver\r
+# OVMF ACPI Platform Driver\r
+#\r
+# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
-# Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>\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
-# \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
[Defines]\r
INF_VERSION = 0x00010005\r
- BASE_NAME = AcpiPlatform\r
- FILE_GUID = cb933912-df8f-4305-b1f9-7b44fa11395c\r
+ BASE_NAME = QemuFwCfgAcpiPlatform\r
+ FILE_GUID = 17985e6f-e778-4d94-aefa-c5dd2b77e186\r
MODULE_TYPE = DXE_DRIVER\r
VERSION_STRING = 1.0\r
ENTRY_POINT = AcpiPlatformEntryPoint\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 ARM AARCH64\r
#\r
\r
[Sources]\r
AcpiPlatform.c\r
+ AcpiPlatform.h\r
+ BootScript.c\r
+ CloudHvAcpi.c\r
+ EntryPoint.c\r
+ PciDecoding.c\r
+ QemuFwCfgAcpi.c\r
\r
[Packages]\r
- MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
+ MdePkg/MdePkg.dec\r
+ OvmfPkg/OvmfPkg.dec\r
\r
[LibraryClasses]\r
- UefiLib\r
- DxeServicesLib\r
- PcdLib\r
+ BaseLib\r
BaseMemoryLib\r
DebugLib\r
+ MemoryAllocationLib\r
+ OrderedCollectionLib\r
+ PcdLib\r
+ QemuFwCfgLib\r
+ QemuFwCfgS3Lib\r
UefiBootServicesTableLib\r
UefiDriverEntryPoint\r
\r
[Protocols]\r
gEfiAcpiTableProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
+ gEfiPciIoProtocolGuid # PROTOCOL SOMETIMES_CONSUMED\r
+\r
+[Guids]\r
+ gRootBridgesConnectedEventGroupGuid\r
\r
[Pcd]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdXenPvhStartOfDayStructPtr\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdXenPvhStartOfDayStructPtrSize\r
\r
[Depex]\r
gEfiAcpiTableProtocolGuid\r
-\r