Correct the conflict EFI_ACPI_GET_ACPI_TABLE to EFI_ACPI_GET_ACPI_TABLE2
[efi/edk2/.git] / edk2 / MdePkg / Include / Protocol / AcpiSystemDescriptionTable.h
index ab90b34..fce45c0 100644 (file)
@@ -81,7 +81,7 @@ EFI_STATUS
 **/  \r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_ACPI_GET_ACPI_TABLE)(\r
+(EFIAPI *EFI_ACPI_GET_ACPI_TABLE2)(\r
   IN    UINTN                   Index,\r
   OUT   EFI_ACPI_SDT_HEADER     **Table,\r
   OUT   EFI_ACPI_TABLE_VERSION  *Version,\r
@@ -246,7 +246,10 @@ typedef struct _EFI_ACPI_SDT_PROTOCOL {
   /// Specifies the ACPI version supported by this protocol.\r
   ///\r
   EFI_ACPI_TABLE_VERSION    AcpiVersion;\r
-  EFI_ACPI_GET_ACPI_TABLE   GetAcpiTable;\r
+  //\r
+  // EFI_ACPI_GET_ACPI_TABLE2 not in public UEFI specification.\r
+  //\r
+  EFI_ACPI_GET_ACPI_TABLE2  GetAcpiTable;\r
   EFI_ACPI_REGISTER_NOTIFY  RegisterNotify;\r
   EFI_ACPI_OPEN             Open;\r
   EFI_ACPI_OPEN_SDT         OpenSdt;\r