]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/AcpiTable.h
MdePkg: Add UEFI2.5 EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL definitions
[mirror_edk2.git] / MdePkg / Include / Protocol / AcpiTable.h
index 01583365c007ee282a7629d881502b6b4a0d2934..6149b7e4533584b7ee259001582db5eafe9b4169 100644 (file)
@@ -2,8 +2,8 @@
   The file provides the protocol to install or remove an ACPI\r
   table from a platform. \r
   \r
-  Copyright (c) 2006 - 2008, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2006 - 2014, 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
@@ -31,7 +31,12 @@ typedef struct _EFI_ACPI_TABLE_PROTOCOL EFI_ACPI_TABLE_PROTOCOL;
   copy into the RSDT/XSDT. InstallAcpiTable() must insert the new   \r
   table at the end of the RSDT/XSDT. To prevent namespace   \r
   collision, ACPI tables may be created using UEFI ACPI table   \r
-  format. See Appendix O. On successful output, TableKey is   \r
+  format. If this protocol is used to install a table with a\r
+  signature already present in the system, the new table will not\r
+  replace the existing table. It is a platform implementation\r
+  decision to add a new table with a signature matching an\r
+  existing table or disallow duplicate table signatures and\r
+  return EFI_ACCESS_DENIED. On successful output, TableKey is   \r
   initialized with a unique key. Its value may be used in a   \r
   subsequent call to UninstallAcpiTable to remove an ACPI table.   \r
   If an EFI application is running at the time of this call, the   \r
@@ -61,13 +66,16 @@ typedef struct _EFI_ACPI_TABLE_PROTOCOL EFI_ACPI_TABLE_PROTOCOL;
   \r
   @retval EFI_OUT_OF_RESOURCES  Insufficient resources exist to\r
                                 complete the request.\r
-  \r
+  @retval EFI_ACCESS_DENIED     The table signature matches a table already\r
+                                present in the system and platform policy\r
+                                does not allow duplicate tables of this type.\r
+\r
 **/\r
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_ACPI_TABLE_INSTALL_ACPI_TABLE)(\r
-  IN   CONST EFI_ACPI_TABLE_PROTOCOL *This,\r
-  IN   CONST VOID                    *AcpiTableBuffer,\r
+  IN   EFI_ACPI_TABLE_PROTOCOL       *This,\r
+  IN   VOID                          *AcpiTableBuffer,\r
   IN   UINTN                         AcpiTableBufferSize,\r
   OUT  UINTN                         *TableKey\r
 );\r
@@ -100,8 +108,8 @@ EFI_STATUS
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_ACPI_TABLE_UNINSTALL_ACPI_TABLE)(\r
-  IN CONST EFI_ACPI_TABLE_PROTOCOL *This,\r
-  IN UINTN                         TableKey\r
+  IN  EFI_ACPI_TABLE_PROTOCOL       *This,\r
+  IN  UINTN                         TableKey\r
 );\r
 \r
 ///\r