Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) /******************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4)  * Name: acglobal.h - Declarations for global variables
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6)  * Copyright (C) 2000 - 2020, Intel Corp.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8)  *****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) #ifndef __ACGLOBAL_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) #define __ACGLOBAL_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15)  * Globals related to the incoming ACPI tables
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) /* Master list of all ACPI tables that were found in the RSDT/XSDT */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) ACPI_GLOBAL(struct acpi_table_list, acpi_gbl_root_table_list);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) /* DSDT information. Used to check for DSDT corruption */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) ACPI_GLOBAL(struct acpi_table_header *, acpi_gbl_DSDT);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) ACPI_GLOBAL(struct acpi_table_header, acpi_gbl_original_dsdt_header);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) ACPI_INIT_GLOBAL(u32, acpi_gbl_dsdt_index, ACPI_INVALID_TABLE_INDEX);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) ACPI_INIT_GLOBAL(u32, acpi_gbl_facs_index, ACPI_INVALID_TABLE_INDEX);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) ACPI_INIT_GLOBAL(u32, acpi_gbl_xfacs_index, ACPI_INVALID_TABLE_INDEX);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) ACPI_INIT_GLOBAL(u32, acpi_gbl_fadt_index, ACPI_INVALID_TABLE_INDEX);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) #if (!ACPI_REDUCED_HARDWARE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) ACPI_GLOBAL(struct acpi_table_facs *, acpi_gbl_FACS);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) #endif				/* !ACPI_REDUCED_HARDWARE */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) /* These addresses are calculated from the FADT Event Block addresses */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) ACPI_GLOBAL(struct acpi_generic_address, acpi_gbl_xpm1a_status);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) ACPI_GLOBAL(struct acpi_generic_address, acpi_gbl_xpm1a_enable);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) ACPI_GLOBAL(struct acpi_generic_address, acpi_gbl_xpm1b_status);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) ACPI_GLOBAL(struct acpi_generic_address, acpi_gbl_xpm1b_enable);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) #ifdef ACPI_GPE_USE_LOGICAL_ADDRESSES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) ACPI_GLOBAL(unsigned long, acpi_gbl_xgpe0_block_logical_address);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) ACPI_GLOBAL(unsigned long, acpi_gbl_xgpe1_block_logical_address);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) #endif				/* ACPI_GPE_USE_LOGICAL_ADDRESSES */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52)  * Handle both ACPI 1.0 and ACPI 2.0+ Integer widths. The integer width is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53)  * determined by the revision of the DSDT: If the DSDT revision is less than
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54)  * 2, use only the lower 32 bits of the internal 64-bit Integer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) ACPI_GLOBAL(u8, acpi_gbl_integer_bit_width);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) ACPI_GLOBAL(u8, acpi_gbl_integer_byte_width);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) ACPI_GLOBAL(u8, acpi_gbl_integer_nybble_width);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62)  * Mutual exclusion within the ACPICA subsystem
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67)  * Predefined mutex objects. This array contains the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68)  * actual OS mutex handles, indexed by the local ACPI_MUTEX_HANDLEs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69)  * (The table maps local handles to the real OS handles)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) ACPI_GLOBAL(struct acpi_mutex_info, acpi_gbl_mutex_info[ACPI_NUM_MUTEX]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74)  * Global lock mutex is an actual AML mutex object
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75)  * Global lock semaphore works in conjunction with the actual global lock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76)  * Global lock spinlock is used for "pending" handshake
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) ACPI_GLOBAL(union acpi_operand_object *, acpi_gbl_global_lock_mutex);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) ACPI_GLOBAL(acpi_semaphore, acpi_gbl_global_lock_semaphore);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) ACPI_GLOBAL(acpi_spinlock, acpi_gbl_global_lock_pending_lock);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) ACPI_GLOBAL(u16, acpi_gbl_global_lock_handle);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) ACPI_GLOBAL(u8, acpi_gbl_global_lock_acquired);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) ACPI_GLOBAL(u8, acpi_gbl_global_lock_present);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) ACPI_GLOBAL(u8, acpi_gbl_global_lock_pending);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87)  * Spinlocks are used for interfaces that can be possibly called at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88)  * interrupt level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) ACPI_GLOBAL(acpi_spinlock, acpi_gbl_gpe_lock);	/* For GPE data structs and registers */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) ACPI_GLOBAL(acpi_raw_spinlock, acpi_gbl_hardware_lock);	/* For ACPI H/W except GPE registers */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) ACPI_GLOBAL(acpi_spinlock, acpi_gbl_reference_count_lock);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) /* Mutex for _OSI support */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) ACPI_GLOBAL(acpi_mutex, acpi_gbl_osi_mutex);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) /* Reader/Writer lock is used for namespace walk and dynamic table unload */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) ACPI_GLOBAL(struct acpi_rw_lock, acpi_gbl_namespace_rw_lock);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)  * Miscellaneous globals
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) /* Object caches */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) ACPI_GLOBAL(acpi_cache_t *, acpi_gbl_namespace_cache);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) ACPI_GLOBAL(acpi_cache_t *, acpi_gbl_state_cache);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) ACPI_GLOBAL(acpi_cache_t *, acpi_gbl_ps_node_cache);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) ACPI_GLOBAL(acpi_cache_t *, acpi_gbl_ps_node_ext_cache);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) ACPI_GLOBAL(acpi_cache_t *, acpi_gbl_operand_cache);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) /* System */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) ACPI_INIT_GLOBAL(u32, acpi_gbl_startup_flags, 0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) ACPI_INIT_GLOBAL(u8, acpi_gbl_shutdown, TRUE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) ACPI_INIT_GLOBAL(u8, acpi_gbl_early_initialization, TRUE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) /* Global handlers */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) ACPI_GLOBAL(struct acpi_global_notify_handler, acpi_gbl_global_notify[2]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) ACPI_GLOBAL(acpi_exception_handler, acpi_gbl_exception_handler);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) ACPI_GLOBAL(acpi_init_handler, acpi_gbl_init_handler);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) ACPI_GLOBAL(acpi_table_handler, acpi_gbl_table_handler);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) ACPI_GLOBAL(void *, acpi_gbl_table_handler_context);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) ACPI_GLOBAL(acpi_interface_handler, acpi_gbl_interface_handler);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) ACPI_GLOBAL(struct acpi_sci_handler_info *, acpi_gbl_sci_handler_list);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) /* Owner ID support */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) ACPI_GLOBAL(u32, acpi_gbl_owner_id_mask[ACPI_NUM_OWNERID_MASKS]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) ACPI_GLOBAL(u8, acpi_gbl_last_owner_id_index);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) ACPI_GLOBAL(u8, acpi_gbl_next_owner_id_offset);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) /* Initialization sequencing */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) ACPI_INIT_GLOBAL(u8, acpi_gbl_namespace_initialized, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) /* Miscellaneous */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) ACPI_GLOBAL(u32, acpi_gbl_original_mode);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) ACPI_GLOBAL(u32, acpi_gbl_ns_lookup_count);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) ACPI_GLOBAL(u32, acpi_gbl_ps_find_count);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) ACPI_GLOBAL(u16, acpi_gbl_pm1_enable_register_save);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) ACPI_GLOBAL(u8, acpi_gbl_debugger_configuration);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) ACPI_GLOBAL(u8, acpi_gbl_step_to_next_call);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) ACPI_GLOBAL(u8, acpi_gbl_acpi_hardware_present);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) ACPI_GLOBAL(u8, acpi_gbl_events_initialized);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) ACPI_GLOBAL(struct acpi_interface_info *, acpi_gbl_supported_interfaces);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) ACPI_GLOBAL(struct acpi_address_range *,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 	    acpi_gbl_address_range_list[ACPI_ADDRESS_RANGE_MAX]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) /* Other miscellaneous, declared and initialized in utglobal */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) extern const char *acpi_gbl_sleep_state_names[ACPI_S_STATE_COUNT];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) extern const char *acpi_gbl_lowest_dstate_names[ACPI_NUM_sx_w_METHODS];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) extern const char *acpi_gbl_highest_dstate_names[ACPI_NUM_sx_d_METHODS];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) extern const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) extern const char acpi_gbl_lower_hex_digits[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) extern const char acpi_gbl_upper_hex_digits[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) extern const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) /* Lists for tracking memory allocations (debug only) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) #ifdef ACPI_DBG_TRACK_ALLOCATIONS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) ACPI_GLOBAL(struct acpi_memory_list *, acpi_gbl_global_list);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) ACPI_GLOBAL(struct acpi_memory_list *, acpi_gbl_ns_node_list);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) ACPI_GLOBAL(u8, acpi_gbl_display_final_mem_stats);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) ACPI_GLOBAL(u8, acpi_gbl_disable_mem_tracking);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) ACPI_GLOBAL(u8, acpi_gbl_verbose_leak_dump);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)  * ACPI Namespace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) #define NUM_PREDEFINED_NAMES            10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) ACPI_GLOBAL(struct acpi_namespace_node, acpi_gbl_root_node_struct);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) ACPI_GLOBAL(struct acpi_namespace_node *, acpi_gbl_root_node);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) ACPI_GLOBAL(struct acpi_namespace_node *, acpi_gbl_fadt_gpe_device);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) extern const u8 acpi_gbl_ns_properties[ACPI_NUM_NS_TYPES];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) extern const struct acpi_predefined_names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190)     acpi_gbl_pre_defined_names[NUM_PREDEFINED_NAMES];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) #ifdef ACPI_DEBUG_OUTPUT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) ACPI_GLOBAL(u32, acpi_gbl_current_node_count);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) ACPI_GLOBAL(u32, acpi_gbl_current_node_size);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) ACPI_GLOBAL(u32, acpi_gbl_max_concurrent_node_count);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) ACPI_GLOBAL(acpi_size *, acpi_gbl_entry_stack_pointer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) ACPI_GLOBAL(acpi_size *, acpi_gbl_lowest_stack_pointer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) ACPI_GLOBAL(u32, acpi_gbl_deepest_nesting);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) ACPI_INIT_GLOBAL(u32, acpi_gbl_nesting_level, 0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)  * Interpreter/Parser globals
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) /* Control method single step flag */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) ACPI_GLOBAL(u8, acpi_gbl_cm_single_step);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) ACPI_GLOBAL(struct acpi_thread_state *, acpi_gbl_current_walk_list);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) ACPI_INIT_GLOBAL(union acpi_parse_object, *acpi_gbl_current_scope, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) /* ASL/ASL+ converter */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) ACPI_INIT_GLOBAL(u8, acpi_gbl_capture_comments, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_last_list_head, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221)  * Hardware globals
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) extern struct acpi_bit_register_info
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226)     acpi_gbl_bit_register_info[ACPI_NUM_BITREG];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) ACPI_GLOBAL(u8, acpi_gbl_sleep_type_a);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) ACPI_GLOBAL(u8, acpi_gbl_sleep_type_b);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) ACPI_GLOBAL(u8, acpi_gbl_sleep_type_a_s0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) ACPI_GLOBAL(u8, acpi_gbl_sleep_type_b_s0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234)  * Event and GPE globals
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) #if (!ACPI_REDUCED_HARDWARE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) ACPI_GLOBAL(u8, acpi_gbl_all_gpes_initialized);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) ACPI_GLOBAL(struct acpi_gpe_xrupt_info *, acpi_gbl_gpe_xrupt_list_head);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) ACPI_GLOBAL(struct acpi_gpe_block_info *,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) 	    acpi_gbl_gpe_fadt_blocks[ACPI_MAX_GPE_BLOCKS]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) ACPI_GLOBAL(acpi_gbl_event_handler, acpi_gbl_global_event_handler);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) ACPI_GLOBAL(void *, acpi_gbl_global_event_handler_context);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) ACPI_GLOBAL(struct acpi_fixed_event_handler,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) 	    acpi_gbl_fixed_event_handlers[ACPI_NUM_FIXED_EVENTS]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) extern struct acpi_fixed_event_info
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248)     acpi_gbl_fixed_event_info[ACPI_NUM_FIXED_EVENTS];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) #endif				/* !ACPI_REDUCED_HARDWARE */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253)  * Debug support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) /* Event counters */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) ACPI_GLOBAL(u32, acpi_method_count);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) ACPI_GLOBAL(u32, acpi_gpe_count);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) ACPI_GLOBAL(u32, acpi_sci_count);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) ACPI_GLOBAL(u32, acpi_fixed_event_count[ACPI_NUM_FIXED_EVENTS]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) /* Dynamic control method tracing mechanism */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) ACPI_GLOBAL(u32, acpi_gbl_original_dbg_level);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) ACPI_GLOBAL(u32, acpi_gbl_original_dbg_layer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271)  * Debugger and Disassembler
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) ACPI_INIT_GLOBAL(u8, acpi_gbl_db_output_flags, ACPI_DB_CONSOLE_OUTPUT);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) #ifdef ACPI_DISASSEMBLER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) /* Do not disassemble buffers to resource descriptors */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) ACPI_INIT_GLOBAL(u8, acpi_gbl_no_resource_disassembly, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) ACPI_INIT_GLOBAL(u8, acpi_gbl_ignore_noop_operator, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) ACPI_INIT_GLOBAL(u8, acpi_gbl_cstyle_disassembly, TRUE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) ACPI_INIT_GLOBAL(u8, acpi_gbl_force_aml_disassembly, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) ACPI_INIT_GLOBAL(u8, acpi_gbl_dm_opt_verbose, TRUE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) ACPI_INIT_GLOBAL(u8, acpi_gbl_dm_emit_external_opcodes, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) ACPI_INIT_GLOBAL(u8, acpi_gbl_do_disassembler_optimizations, TRUE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) ACPI_INIT_GLOBAL(ACPI_PARSE_OBJECT_LIST, *acpi_gbl_temp_list_head, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) ACPI_GLOBAL(u8, acpi_gbl_dm_opt_disasm);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) ACPI_GLOBAL(u8, acpi_gbl_dm_opt_listing);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) ACPI_GLOBAL(u8, acpi_gbl_num_external_methods);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) ACPI_GLOBAL(u32, acpi_gbl_resolved_external_methods);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) ACPI_GLOBAL(struct acpi_external_list *, acpi_gbl_external_list);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) ACPI_GLOBAL(struct acpi_external_file *, acpi_gbl_external_file_list);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) #ifdef ACPI_DEBUGGER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) ACPI_INIT_GLOBAL(u8, acpi_gbl_abort_method, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) ACPI_INIT_GLOBAL(acpi_thread_id, acpi_gbl_db_thread_id, ACPI_INVALID_THREAD_ID);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) ACPI_INIT_GLOBAL(u32, acpi_gbl_next_cmd_num, 1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) ACPI_GLOBAL(u8, acpi_gbl_db_opt_no_ini_methods);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) ACPI_GLOBAL(u8, acpi_gbl_db_opt_no_region_support);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) ACPI_GLOBAL(u8, acpi_gbl_db_output_to_file);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) ACPI_GLOBAL(char *, acpi_gbl_db_buffer);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) ACPI_GLOBAL(char *, acpi_gbl_db_filename);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) ACPI_GLOBAL(u32, acpi_gbl_db_debug_level);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) ACPI_GLOBAL(u32, acpi_gbl_db_console_debug_level);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) ACPI_GLOBAL(struct acpi_namespace_node *, acpi_gbl_db_scope_node);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) ACPI_GLOBAL(u8, acpi_gbl_db_terminate_loop);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) ACPI_GLOBAL(u8, acpi_gbl_db_threads_terminated);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) ACPI_GLOBAL(char *, acpi_gbl_db_args[ACPI_DEBUGGER_MAX_ARGS]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) ACPI_GLOBAL(acpi_object_type, acpi_gbl_db_arg_types[ACPI_DEBUGGER_MAX_ARGS]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) /* These buffers should all be the same size */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) ACPI_GLOBAL(char, acpi_gbl_db_parsed_buf[ACPI_DB_LINE_BUFFER_SIZE]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) ACPI_GLOBAL(char, acpi_gbl_db_scope_buf[ACPI_DB_LINE_BUFFER_SIZE]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) ACPI_GLOBAL(char, acpi_gbl_db_debug_filename[ACPI_DB_LINE_BUFFER_SIZE]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) /* Statistics globals */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) ACPI_GLOBAL(u16, acpi_gbl_obj_type_count[ACPI_TOTAL_TYPES]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) ACPI_GLOBAL(u16, acpi_gbl_node_type_count[ACPI_TOTAL_TYPES]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) ACPI_GLOBAL(u16, acpi_gbl_obj_type_count_misc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) ACPI_GLOBAL(u16, acpi_gbl_node_type_count_misc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) ACPI_GLOBAL(u32, acpi_gbl_num_nodes);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) ACPI_GLOBAL(u32, acpi_gbl_num_objects);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) #endif				/* ACPI_DEBUGGER */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) #if defined (ACPI_DISASSEMBLER) || defined (ACPI_ASL_COMPILER)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) ACPI_GLOBAL(const char, *acpi_gbl_pld_panel_list[]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) ACPI_GLOBAL(const char, *acpi_gbl_pld_vertical_position_list[]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) ACPI_GLOBAL(const char, *acpi_gbl_pld_horizontal_position_list[]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) ACPI_GLOBAL(const char, *acpi_gbl_pld_shape_list[]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) ACPI_INIT_GLOBAL(u8, acpi_gbl_disasm_flag, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) /*****************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342)  * ACPICA application-specific globals
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344)  ****************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) /* ASL-to-ASL+ conversion utility (implemented within the iASL compiler) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) #ifdef ACPI_ASL_COMPILER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) ACPI_INIT_GLOBAL(char *, acpi_gbl_current_inline_comment, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) ACPI_INIT_GLOBAL(char *, acpi_gbl_current_end_node_comment, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) ACPI_INIT_GLOBAL(char *, acpi_gbl_current_open_brace_comment, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) ACPI_INIT_GLOBAL(char *, acpi_gbl_current_close_brace_comment, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) ACPI_INIT_GLOBAL(char *, acpi_gbl_root_filename, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) ACPI_INIT_GLOBAL(char *, acpi_gbl_current_filename, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) ACPI_INIT_GLOBAL(char *, acpi_gbl_current_parent_filename, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) ACPI_INIT_GLOBAL(char *, acpi_gbl_current_include_filename, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_def_blk_comment_list_head,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) 		 NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_def_blk_comment_list_tail,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) 		 NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_reg_comment_list_head,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) 		 NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_reg_comment_list_tail,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) 		 NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_inc_comment_list_head,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) 		 NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_inc_comment_list_tail,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) 		 NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_end_blk_comment_list_head,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372) 		 NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373) ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_end_blk_comment_list_tail,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374) 		 NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) ACPI_INIT_GLOBAL(struct acpi_comment_addr_node,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) 		 *acpi_gbl_comment_addr_list_head, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) ACPI_INIT_GLOBAL(struct acpi_file_node, *acpi_gbl_file_tree_root, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) ACPI_GLOBAL(acpi_cache_t *, acpi_gbl_reg_comment_cache);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) ACPI_GLOBAL(acpi_cache_t *, acpi_gbl_comment_addr_cache);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) ACPI_GLOBAL(acpi_cache_t *, acpi_gbl_file_cache);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) ACPI_INIT_GLOBAL(u8, acpi_gbl_debug_asl_conversion, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) ACPI_INIT_GLOBAL(ACPI_FILE, acpi_gbl_conv_debug_file, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) ACPI_GLOBAL(char, acpi_gbl_table_sig[4]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) #ifdef ACPI_APPLICATION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) ACPI_INIT_GLOBAL(ACPI_FILE, acpi_gbl_debug_file, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) ACPI_INIT_GLOBAL(ACPI_FILE, acpi_gbl_output_file, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) ACPI_INIT_GLOBAL(u8, acpi_gbl_debug_timeout, FALSE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) /* Print buffer */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) ACPI_GLOBAL(acpi_spinlock, acpi_gbl_print_lock);	/* For print buffer */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) ACPI_GLOBAL(char, acpi_gbl_print_buffer[1024]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398) #endif				/* ACPI_APPLICATION */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) #endif				/* __ACGLOBAL_H__ */