diff options
author | Bob Moore <robert.moore@intel.com> | 2014-04-04 00:39:34 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-04-20 16:59:39 -0400 |
commit | c418ce19030f8cd9304b4e97c8e0dd580a81ace5 (patch) | |
tree | 9e207efd52fa276a4dac66268f380d2b7047522a /drivers/acpi/acpica/actables.h | |
parent | ed6f1d44dae8a4eec42a74acae95cc177ee2e1ad (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.h | 29 |
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); | |||
54 | u8 *acpi_tb_scan_memory_for_rsdp(u8 *start_address, u32 length); | 54 | u8 *acpi_tb_scan_memory_for_rsdp(u8 *start_address, u32 length); |
55 | 55 | ||
56 | /* | 56 | /* |
57 | * tbdata - table data structure management | ||
58 | */ | ||
59 | acpi_status acpi_tb_get_next_root_index(u32 *table_index); | ||
60 | |||
61 | void | ||
62 | acpi_tb_init_table_descriptor(struct acpi_table_desc *table_desc, | ||
63 | acpi_physical_address address, | ||
64 | u8 flags, struct acpi_table_header *table); | ||
65 | |||
66 | acpi_status | ||
67 | acpi_tb_acquire_temp_table(struct acpi_table_desc *table_desc, | ||
68 | acpi_physical_address address, u8 flags); | ||
69 | |||
70 | void acpi_tb_release_temp_table(struct acpi_table_desc *table_desc); | ||
71 | |||
72 | u8 acpi_tb_is_table_loaded(u32 table_index); | ||
73 | |||
74 | void 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 | */ |
59 | void acpi_tb_parse_fadt(u32 table_index); | 79 | void acpi_tb_parse_fadt(u32 table_index); |
@@ -112,10 +132,6 @@ acpi_status acpi_tb_release_owner_id(u32 table_index); | |||
112 | 132 | ||
113 | acpi_status acpi_tb_get_owner_id(u32 table_index, acpi_owner_id *owner_id); | 133 | acpi_status acpi_tb_get_owner_id(u32 table_index, acpi_owner_id *owner_id); |
114 | 134 | ||
115 | u8 acpi_tb_is_table_loaded(u32 table_index); | ||
116 | |||
117 | void 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); | |||
137 | struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index); | 153 | struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index); |
138 | 154 | ||
139 | void | 155 | void |
140 | acpi_tb_init_table_descriptor(struct acpi_table_desc *table_desc, | ||
141 | acpi_physical_address address, | ||
142 | u8 flags, struct acpi_table_header *table); | ||
143 | |||
144 | void | ||
145 | acpi_tb_install_table_with_override(u32 table_index, | 156 | acpi_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); |