summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Acpi
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-29 23:39:48 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-29 23:39:48 +0000
commit188e4e8444bdc69e2f6c65e90c35956eb01cd4b3 (patch)
tree1dedd2987f85bec8857920f890b70726bae68bba /MdeModulePkg/Universal/Acpi
parentc37f052fe912998d88abd58c5446a03b546f4831 (diff)
downloadedk2-platforms-188e4e8444bdc69e2f6c65e90c35956eb01cd4b3.tar.xz
Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
Do some minor clean ups to INF files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9868 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Acpi')
-rwxr-xr-xMdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c6
-rwxr-xr-xMdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf8
2 files changed, 6 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c b/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c
index f6ad7c8eb6..81ecc2a4dc 100755
--- a/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c
+++ b/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c
@@ -1,7 +1,7 @@
/** @file
Sample ACPI Platform Driver
- Copyright (c) 2008 - 2009, Intel Corporation<BR>
+ Copyright (c) 2008 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -93,7 +93,7 @@ LocateFvInstanceWithTables (
//
Status = FvInstance->ReadFile (
FvInstance,
- (EFI_GUID*)FixedPcdGetPtr (PcdAcpiTableStorageFile),
+ (EFI_GUID*)PcdGetPtr (PcdAcpiTableStorageFile),
NULL,
&Size,
&FileType,
@@ -207,7 +207,7 @@ AcpiPlatformEntryPoint (
Status = FwVol->ReadSection (
FwVol,
- (EFI_GUID*)FixedPcdGetPtr (PcdAcpiTableStorageFile),
+ (EFI_GUID*)PcdGetPtr (PcdAcpiTableStorageFile),
EFI_SECTION_RAW,
Instance,
(VOID**) &CurrentTable,
diff --git a/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf b/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
index 14b9e10091..a92ec5ba6a 100755
--- a/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
+++ b/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
@@ -1,7 +1,7 @@
#/** @file
# Sample ACPI Platform Driver
#
-# Copyright (c) 2008 - 2009, Intel Corporation. <BR>
+# Copyright (c) 2008 - 2010, Intel Corporation. <BR>
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -18,8 +18,6 @@
FILE_GUID = cb933912-df8f-4305-b1f9-7b44fa11395c
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
- EDK_RELEASE_VERSION = 0x00020000
- EFI_SPECIFICATION_VERSION = 0x00020000
ENTRY_POINT = AcpiPlatformEntryPoint
#
@@ -28,7 +26,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
-[Sources.common]
+[Sources]
AcpiPlatform.c
[Packages]
@@ -47,7 +45,7 @@
[Protocols]
gEfiAcpiTableProtocolGuid # PROTOCOL ALWAYS_CONSUMED
-[FixedPcd.common]
+[Pcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile
[Depex]