]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
arm/acpi: define a enum for reserved tables
authorShannon Zhao <shannon.zhao@linaro.org>
Mon, 29 Feb 2016 15:04:41 +0000 (16:04 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 15 Mar 2016 16:32:31 +0000 (16:32 +0000)
It needs to copy and change the contents of some ACPI and EFI tables for
Dom0. Here define a enum for those tables.

Signed-off-by: Parth Dixit <parth.dixit@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/include/asm-arm/acpi.h

index 10e02bd79041c0cb57036018830a4ec9d19dbb50..9849edf290f95e17ad3551ef90fff27e76df72f0 100644 (file)
 #define COMPILER_DEPENDENT_UINT64  unsigned long long
 #define ACPI_MAP_MEM_ATTR          PAGE_HYPERVISOR
 
+/* Tables marked as reserved in efi table */
+typedef enum {
+    TBL_FADT,
+    TBL_MADT,
+    TBL_STAO,
+    TBL_XSDT,
+    TBL_RSDP,
+    TBL_EFIT,
+    TBL_MMAP,
+    TBL_MMAX,
+} EFI_MEM_RES;
+
 #ifdef CONFIG_ACPI
 extern bool_t acpi_disabled;
 /* Basic configuration for ACPI */