## @file\r
-# Sample ACPI Platform Driver\r
+# OVMF ACPI Platform Driver\r
#\r
-# Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2008 - 2012, 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
+#\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
BASE_NAME = AcpiPlatform\r
- FILE_GUID = cb933912-df8f-4305-b1f9-7b44fa11395c\r
+ FILE_GUID = 49970331-E3FA-4637-9ABC-3B7868676970\r
MODULE_TYPE = DXE_DRIVER\r
VERSION_STRING = 1.0\r
ENTRY_POINT = AcpiPlatformEntryPoint\r
\r
[Sources]\r
AcpiPlatform.c\r
+ Qemu.c\r
+ QemuFwCfgAcpi.c\r
+ Xen.c\r
+ EntryPoint.c\r
+ PciDecoding.c\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
+ OvmfPkg/OvmfPkg.dec\r
+ UefiCpuPkg/UefiCpuPkg.dec\r
+ PcAtChipsetPkg/PcAtChipsetPkg.dec\r
\r
[LibraryClasses]\r
UefiLib\r
DebugLib\r
UefiBootServicesTableLib\r
UefiDriverEntryPoint\r
+ HobLib\r
+ QemuFwCfgLib\r
+ MemoryAllocationLib\r
+ BaseLib\r
+ DxeServicesTableLib\r
+ OrderedCollectionLib\r
\r
[Protocols]\r
gEfiAcpiTableProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
+ gEfiPciIoProtocolGuid # PROTOCOL SOMETIMES_CONSUMED\r
+\r
+[Guids]\r
+ gEfiXenInfoGuid\r
+ gRootBridgesConnectedEventGroupGuid\r
\r
[Pcd]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration\r
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress\r
+ gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress\r
\r
[Depex]\r
gEfiAcpiTableProtocolGuid\r
-\r