aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/actables.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2014-04-04 00:39:34 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-04-20 16:59:39 -0400
commitc418ce19030f8cd9304b4e97c8e0dd580a81ace5 (patch)
tree9e207efd52fa276a4dac66268f380d2b7047522a /drivers/acpi/acpica/actables.h
parented6f1d44dae8a4eec42a74acae95cc177ee2e1ad (diff)
ACPICA: Table Manager: Split tbinstal.c into two files.
New file is tbdata.c -- management functions for ACPICA table manager data structures. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/actables.h')
-rw-r--r--drivers/acpi/acpica/actables.h29
1 files changed, 20 insertions, 9 deletions
diff --git a/drivers/acpi/acpica/actables.h b/drivers/acpi/acpica/actables.h
index ade430c6004f..bda9a7eb50c1 100644
--- a/drivers/acpi/acpica/actables.h
+++ b/drivers/acpi/acpica/actables.h
@@ -54,6 +54,26 @@ acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp);
54u8 *acpi_tb_scan_memory_for_rsdp(u8 *start_address, u32 length); 54u8 *acpi_tb_scan_memory_for_rsdp(u8 *start_address, u32 length);
55 55
56/* 56/*
57 * tbdata - table data structure management
58 */
59acpi_status acpi_tb_get_next_root_index(u32 *table_index);
60
61void
62acpi_tb_init_table_descriptor(struct acpi_table_desc *table_desc,
63 acpi_physical_address address,
64 u8 flags, struct acpi_table_header *table);
65
66acpi_status
67acpi_tb_acquire_temp_table(struct acpi_table_desc *table_desc,
68 acpi_physical_address address, u8 flags);
69
70void acpi_tb_release_temp_table(struct acpi_table_desc *table_desc);
71
72u8 acpi_tb_is_table_loaded(u32 table_index);
73
74void acpi_tb_set_table_loaded_flag(u32 table_index, u8 is_loaded);
75
76/*
57 * tbfadt - FADT parse/convert/validate 77 * tbfadt - FADT parse/convert/validate
58 */ 78 */
59void acpi_tb_parse_fadt(u32 table_index); 79void acpi_tb_parse_fadt(u32 table_index);
@@ -112,10 +132,6 @@ acpi_status acpi_tb_release_owner_id(u32 table_index);
112 132
113acpi_status acpi_tb_get_owner_id(u32 table_index, acpi_owner_id *owner_id); 133acpi_status acpi_tb_get_owner_id(u32 table_index, acpi_owner_id *owner_id);
114 134
115u8 acpi_tb_is_table_loaded(u32 table_index);
116
117void acpi_tb_set_table_loaded_flag(u32 table_index, u8 is_loaded);
118
119/* 135/*
120 * tbutils - table manager utilities 136 * tbutils - table manager utilities
121 */ 137 */
@@ -137,11 +153,6 @@ void acpi_tb_check_dsdt_header(void);
137struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index); 153struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index);
138 154
139void 155void
140acpi_tb_init_table_descriptor(struct acpi_table_desc *table_desc,
141 acpi_physical_address address,
142 u8 flags, struct acpi_table_header *table);
143
144void
145acpi_tb_install_table_with_override(u32 table_index, 156acpi_tb_install_table_with_override(u32 table_index,
146 struct acpi_table_desc *new_table_desc, 157 struct acpi_table_desc *new_table_desc,
147 u8 override); 158 u8 override);