diff options
author | Bob Moore <robert.moore@intel.com> | 2008-11-12 02:34:52 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-29 22:38:37 -0500 |
commit | 009c4cbe99bea2da53f29ad685975a36f38c001c (patch) | |
tree | 170887ee9986ae84792200abd3f3022df01630ce /include/acpi | |
parent | c87609f31a8641009641fc1d19dac75e6de06fd4 (diff) |
ACPICA: Add global pointer for FACS table to simplify FACS access
Use a global pointer instead of using AcpiGetTableByIndex for
each FACS access. This simplifies the code for the Global Lock
and the Firmware Waking Vector(s).
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acglobal.h | 1 | ||||
-rw-r--r-- | include/acpi/actables.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/acpi/acglobal.h b/include/acpi/acglobal.h index 15dda46b70d1..77d73a498bfb 100644 --- a/include/acpi/acglobal.h +++ b/include/acpi/acglobal.h | |||
@@ -140,6 +140,7 @@ ACPI_EXTERN u32 acpi_gbl_trace_flags; | |||
140 | */ | 140 | */ |
141 | ACPI_EXTERN struct acpi_internal_rsdt acpi_gbl_root_table_list; | 141 | ACPI_EXTERN struct acpi_internal_rsdt acpi_gbl_root_table_list; |
142 | ACPI_EXTERN struct acpi_table_fadt acpi_gbl_FADT; | 142 | ACPI_EXTERN struct acpi_table_fadt acpi_gbl_FADT; |
143 | ACPI_EXTERN struct acpi_table_facs *acpi_gbl_FACS; | ||
143 | extern u8 acpi_gbl_permanent_mmap; | 144 | extern u8 acpi_gbl_permanent_mmap; |
144 | 145 | ||
145 | /* These addresses are calculated from FADT address values */ | 146 | /* These addresses are calculated from FADT address values */ |
diff --git a/include/acpi/actables.h b/include/acpi/actables.h index 0cbe1b9ab522..7ce6e33c7f78 100644 --- a/include/acpi/actables.h +++ b/include/acpi/actables.h | |||
@@ -94,6 +94,8 @@ void acpi_tb_set_table_loaded_flag(u32 table_index, u8 is_loaded); | |||
94 | /* | 94 | /* |
95 | * tbutils - table manager utilities | 95 | * tbutils - table manager utilities |
96 | */ | 96 | */ |
97 | acpi_status acpi_tb_initialize_facs(void); | ||
98 | |||
97 | u8 acpi_tb_tables_loaded(void); | 99 | u8 acpi_tb_tables_loaded(void); |
98 | 100 | ||
99 | void | 101 | void |