]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTable.h
MdeModulePkg/AcpiTableDxe: use pool allocations when possible
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / AcpiTableDxe / AcpiTable.h
index 425a462fd92bf1b6e96ab2b4b3cef3e57e25eac0..9d7cf7ccfc76537f4c2b1ddaf2f856d11fb23a84 100644 (file)
 //  Link is the linked list data.\r
 //  Version is the versions of the ACPI tables that this table belongs in.\r
 //  Table is a pointer to the table.\r
-//  PageAddress is the address of the pages allocated for the table.\r
-//  NumberOfPages is the number of pages allocated at PageAddress.\r
+//  TableSize is the size of the table\r
 //  Handle is used to identify a particular table.\r
+//  PoolAllocation carries the allocation type:\r
+//    FALSE: Table points to EFI_SIZE_TO_PAGES(TableSize) pages allocated using\r
+//           gBS->AllocatePages ()\r
+//    TRUE:  Table points to TableSize bytes allocated using gBS->AllocatePool ()\r
 //\r
 typedef struct {\r
   UINT32                  Signature;\r
   LIST_ENTRY              Link;\r
   EFI_ACPI_TABLE_VERSION  Version;\r
   EFI_ACPI_COMMON_HEADER  *Table;\r
-  EFI_PHYSICAL_ADDRESS    PageAddress;\r
-  UINTN                   NumberOfPages;\r
+  UINTN                   TableSize;\r
   UINTN                   Handle;\r
+  BOOLEAN                 PoolAllocation;\r
 } EFI_ACPI_TABLE_LIST;\r
 \r
 //\r