aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/aclocal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/aclocal.h')
-rw-r--r--include/acpi/aclocal.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/include/acpi/aclocal.h b/include/acpi/aclocal.h
index 0f12fecba637..a870484eaa03 100644
--- a/include/acpi/aclocal.h
+++ b/include/acpi/aclocal.h
@@ -227,6 +227,16 @@ struct acpi_table_desc {
227 u8 flags; 227 u8 flags;
228}; 228};
229 229
230/* Flags for above */
231
232#define ACPI_TABLE_ORIGIN_UNKNOWN (0)
233#define ACPI_TABLE_ORIGIN_MAPPED (1)
234#define ACPI_TABLE_ORIGIN_ALLOCATED (2)
235#define ACPI_TABLE_ORIGIN_MASK (3)
236#define ACPI_TABLE_IS_LOADED (4)
237
238/* One internal RSDT for table management */
239
230struct acpi_internal_rsdt { 240struct acpi_internal_rsdt {
231 struct acpi_table_desc *tables; 241 struct acpi_table_desc *tables;
232 u32 count; 242 u32 count;
@@ -234,14 +244,11 @@ struct acpi_internal_rsdt {
234 u8 flags; 244 u8 flags;
235}; 245};
236 246
237/* Flags for both structs above */ 247/* Flags for above */
238 248
239#define ACPI_TABLE_ORIGIN_UNKNOWN (0) 249#define ACPI_ROOT_ORIGIN_UNKNOWN (0) /* ~ORIGIN_ALLOCATED */
240#define ACPI_TABLE_ORIGIN_MAPPED (1) 250#define ACPI_ROOT_ORIGIN_ALLOCATED (1)
241#define ACPI_TABLE_ORIGIN_ALLOCATED (2) 251#define ACPI_ROOT_ALLOW_RESIZE (2)
242#define ACPI_TABLE_ORIGIN_MASK (3)
243#define ACPI_TABLE_FLAGS_LOADED (4)
244#define ACPI_TABLE_FLAGS_ALLOW_RESIZE (8)
245 252
246/* Predefined (fixed) table indexes */ 253/* Predefined (fixed) table indexes */
247 254