diff options
Diffstat (limited to 'include/acpi/acglobal.h')
-rw-r--r-- | include/acpi/acglobal.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/include/acpi/acglobal.h b/include/acpi/acglobal.h index 4946696088c..8d5a397abd6 100644 --- a/include/acpi/acglobal.h +++ b/include/acpi/acglobal.h | |||
@@ -151,6 +151,13 @@ ACPI_EXTERN struct acpi_common_facs acpi_gbl_common_fACS; | |||
151 | */ | 151 | */ |
152 | 152 | ||
153 | 153 | ||
154 | /* The root table can be either an RSDT or an XSDT */ | ||
155 | |||
156 | ACPI_EXTERN u8 acpi_gbl_root_table_type; | ||
157 | #define ACPI_TABLE_TYPE_RSDT 'R' | ||
158 | #define ACPI_TABLE_TYPE_XSDT 'X' | ||
159 | |||
160 | |||
154 | /* | 161 | /* |
155 | * Handle both ACPI 1.0 and ACPI 2.0 Integer widths: | 162 | * Handle both ACPI 1.0 and ACPI 2.0 Integer widths: |
156 | * If we are executing a method that exists in a 32-bit ACPI table, | 163 | * If we are executing a method that exists in a 32-bit ACPI table, |
@@ -180,8 +187,23 @@ ACPI_EXTERN struct acpi_mutex_info acpi_gbl_mutex_info[NUM_MUTEX]; | |||
180 | * | 187 | * |
181 | ****************************************************************************/ | 188 | ****************************************************************************/ |
182 | 189 | ||
190 | #ifdef ACPI_DBG_TRACK_ALLOCATIONS | ||
191 | |||
192 | /* Lists for tracking memory allocations */ | ||
193 | |||
194 | ACPI_EXTERN struct acpi_memory_list *acpi_gbl_global_list; | ||
195 | ACPI_EXTERN struct acpi_memory_list *acpi_gbl_ns_node_list; | ||
196 | #endif | ||
197 | |||
198 | /* Object caches */ | ||
199 | |||
200 | ACPI_EXTERN acpi_cache_t *acpi_gbl_state_cache; | ||
201 | ACPI_EXTERN acpi_cache_t *acpi_gbl_ps_node_cache; | ||
202 | ACPI_EXTERN acpi_cache_t *acpi_gbl_ps_node_ext_cache; | ||
203 | ACPI_EXTERN acpi_cache_t *acpi_gbl_operand_cache; | ||
204 | |||
205 | /* Global handlers */ | ||
183 | 206 | ||
184 | ACPI_EXTERN struct acpi_memory_list acpi_gbl_memory_lists[ACPI_NUM_MEM_LISTS]; | ||
185 | ACPI_EXTERN struct acpi_object_notify_handler acpi_gbl_device_notify; | 207 | ACPI_EXTERN struct acpi_object_notify_handler acpi_gbl_device_notify; |
186 | ACPI_EXTERN struct acpi_object_notify_handler acpi_gbl_system_notify; | 208 | ACPI_EXTERN struct acpi_object_notify_handler acpi_gbl_system_notify; |
187 | ACPI_EXTERN acpi_exception_handler acpi_gbl_exception_handler; | 209 | ACPI_EXTERN acpi_exception_handler acpi_gbl_exception_handler; |
@@ -189,6 +211,8 @@ ACPI_EXTERN acpi_init_handler acpi_gbl_init_handler; | |||
189 | ACPI_EXTERN struct acpi_walk_state *acpi_gbl_breakpoint_walk; | 211 | ACPI_EXTERN struct acpi_walk_state *acpi_gbl_breakpoint_walk; |
190 | ACPI_EXTERN acpi_handle acpi_gbl_global_lock_semaphore; | 212 | ACPI_EXTERN acpi_handle acpi_gbl_global_lock_semaphore; |
191 | 213 | ||
214 | /* Misc */ | ||
215 | |||
192 | ACPI_EXTERN u32 acpi_gbl_global_lock_thread_count; | 216 | ACPI_EXTERN u32 acpi_gbl_global_lock_thread_count; |
193 | ACPI_EXTERN u32 acpi_gbl_original_mode; | 217 | ACPI_EXTERN u32 acpi_gbl_original_mode; |
194 | ACPI_EXTERN u32 acpi_gbl_rsdp_original_location; | 218 | ACPI_EXTERN u32 acpi_gbl_rsdp_original_location; |