]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c
Remove svn:executable on *.c, *.h, *.asm, *.S, *.inf and *.asl*
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / AcpiPlatformDxe / AcpiPlatform.c
old mode 100755 (executable)
new mode 100644 (file)
index f7d7485..81ecc2a
@@ -1,7 +1,7 @@
 /** @file\r
   Sample ACPI Platform Driver\r
 \r
-  Copyright (c) 2008 - 2009, Intel Corporation<BR>\r
+  Copyright (c) 2008 - 2010, Intel Corporation<BR>\r
   All rights reserved. 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
@@ -29,7 +29,6 @@
   FV protocol, then it will return the first FV that contains the ACPI table\r
   storage file.\r
 \r
-  @param  Protocol      The protocol to find.\r
   @param  Instance      Return pointer to the first instance of the protocol\r
 \r
   @return EFI_SUCCESS           The function completed successfully.\r
@@ -94,7 +93,7 @@ LocateFvInstanceWithTables (
     //\r
     Status = FvInstance->ReadFile (\r
                            FvInstance,\r
-                           FixedPcdGetPtr (PcdAcpiTableStorageFile),\r
+                           (EFI_GUID*)PcdGetPtr (PcdAcpiTableStorageFile),\r
                            NULL,\r
                            &Size,\r
                            &FileType,\r
@@ -166,6 +165,7 @@ AcpiPlatformChecksum (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 AcpiPlatformEntryPoint (\r
   IN EFI_HANDLE         ImageHandle,\r
   IN EFI_SYSTEM_TABLE   *SystemTable\r
@@ -207,7 +207,7 @@ AcpiPlatformEntryPoint (
 \r
     Status = FwVol->ReadSection (\r
                       FwVol,\r
-                      FixedPcdGetPtr (PcdAcpiTableStorageFile),\r
+                      (EFI_GUID*)PcdGetPtr (PcdAcpiTableStorageFile),\r
                       EFI_SECTION_RAW,\r
                       Instance,\r
                       (VOID**) &CurrentTable,\r