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 <parth.dixit@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
Shannon Zhao authored and Jan Beulich committed 2016-02-29 16:04:41 +01:00
1 parent f2c9f13eae
commit 5ed0a0e2e2
1 file changed
+12
+12
View File
@@ -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 */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.