From 057d5310e935286d96496e79deae98118593725a Mon Sep 17 00:00:00 2001 From: Shannon Zhao Date: Mon, 29 Feb 2016 16:04:41 +0100 Subject: [PATCH] arm/acpi: define a enum for reserved tables 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 Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- xen/include/asm-arm/acpi.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xen/include/asm-arm/acpi.h b/xen/include/asm-arm/acpi.h index 10e02bd790..9849edf290 100644 --- a/xen/include/asm-arm/acpi.h +++ b/xen/include/asm-arm/acpi.h @@ -30,6 +30,18 @@ #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 */ -- 2.39.5