diff options
author | Robert Moore <robert.moore@intel.com> | 2005-04-18 22:49:35 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-12 00:08:52 -0400 |
commit | 44f6c01242da4e162f28d8e1216a8c7a91174605 (patch) | |
tree | 53f724764f1bd9036dfb049a643d198125cc9edc /include/acpi/actables.h | |
parent | ebb6e1a6122fd6b7c96470cfd4ce0f04150e5084 (diff) |
ACPICA 20050408 from Bob Moore
Fixed three cases in the interpreter where an "index"
argument to an ASL function was still (internally) 32
bits instead of the required 64 bits. This was the Index
argument to the Index, Mid, and Match operators.
The "strupr" function is now permanently local
(acpi_ut_strupr), since this is not a POSIX-defined
function and not present in most kernel-level C
libraries. References to the C library strupr function
have been removed from the headers.
Completed the deployment of static
functions/prototypes. All prototypes with the static
attribute have been moved from the headers to the owning
C file.
ACPICA 20050329 from Bob Moore
An error is now generated if an attempt is made to create
a Buffer Field of length zero (A CreateField with a length
operand of zero.)
The interpreter now issues a warning whenever executable
code at the module level is detected during ACPI table
load. This will give some idea of the prevalence of this
type of code.
Implemented support for references to named objects (other
than control methods) within package objects.
Enhanced package object output for the debug
object. Package objects are now completely dumped, showing
all elements.
Enhanced miscellaneous object output for the debug
object. Any object can now be written to the debug object
(for example, a device object can be written, and the type
of the object will be displayed.)
The "static" qualifier has been added to all local
functions across the core subsystem.
The number of "long" lines (> 80 chars) within the source
has been significantly reduced, by about 1/3.
Cleaned up all header files to ensure that all CA/iASL
functions are prototyped (even static functions) and the
formatting is consistent.
Two new header files have been added, acopcode.h and
acnames.h.
Removed several obsolete functions that were no longer
used.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/actables.h')
-rw-r--r-- | include/acpi/actables.h | 70 |
1 files changed, 12 insertions, 58 deletions
diff --git a/include/acpi/actables.h b/include/acpi/actables.h index e8f5d4ffd452..39df92e21a0d 100644 --- a/include/acpi/actables.h +++ b/include/acpi/actables.h | |||
@@ -50,17 +50,9 @@ | |||
50 | #define SIZE_IN_HEADER 0 | 50 | #define SIZE_IN_HEADER 0 |
51 | 51 | ||
52 | 52 | ||
53 | #ifdef ACPI_FUTURE_USAGE | ||
54 | acpi_status | ||
55 | acpi_tb_handle_to_object ( | ||
56 | u16 table_id, | ||
57 | struct acpi_table_desc **table_desc); | ||
58 | #endif | ||
59 | |||
60 | /* | 53 | /* |
61 | * tbconvrt - Table conversion routines | 54 | * tbconvrt - Table conversion routines |
62 | */ | 55 | */ |
63 | |||
64 | acpi_status | 56 | acpi_status |
65 | acpi_tb_convert_to_xsdt ( | 57 | acpi_tb_convert_to_xsdt ( |
66 | struct acpi_table_desc *table_info); | 58 | struct acpi_table_desc *table_info); |
@@ -78,10 +70,10 @@ acpi_tb_get_table_count ( | |||
78 | struct rsdp_descriptor *RSDP, | 70 | struct rsdp_descriptor *RSDP, |
79 | struct acpi_table_header *RSDT); | 71 | struct acpi_table_header *RSDT); |
80 | 72 | ||
73 | |||
81 | /* | 74 | /* |
82 | * tbget - Table "get" routines | 75 | * tbget - Table "get" routines |
83 | */ | 76 | */ |
84 | |||
85 | acpi_status | 77 | acpi_status |
86 | acpi_tb_get_table ( | 78 | acpi_tb_get_table ( |
87 | struct acpi_pointer *address, | 79 | struct acpi_pointer *address, |
@@ -99,17 +91,6 @@ acpi_tb_get_table_body ( | |||
99 | struct acpi_table_desc *table_info); | 91 | struct acpi_table_desc *table_info); |
100 | 92 | ||
101 | acpi_status | 93 | acpi_status |
102 | acpi_tb_get_this_table ( | ||
103 | struct acpi_pointer *address, | ||
104 | struct acpi_table_header *header, | ||
105 | struct acpi_table_desc *table_info); | ||
106 | |||
107 | acpi_status | ||
108 | acpi_tb_table_override ( | ||
109 | struct acpi_table_header *header, | ||
110 | struct acpi_table_desc *table_info); | ||
111 | |||
112 | acpi_status | ||
113 | acpi_tb_get_table_ptr ( | 94 | acpi_tb_get_table_ptr ( |
114 | acpi_table_type table_type, | 95 | acpi_table_type table_type, |
115 | u32 instance, | 96 | u32 instance, |
@@ -127,36 +108,23 @@ acpi_status | |||
127 | acpi_tb_validate_rsdt ( | 108 | acpi_tb_validate_rsdt ( |
128 | struct acpi_table_header *table_ptr); | 109 | struct acpi_table_header *table_ptr); |
129 | 110 | ||
111 | |||
112 | /* | ||
113 | * tbgetall - get multiple required tables | ||
114 | */ | ||
130 | acpi_status | 115 | acpi_status |
131 | acpi_tb_get_required_tables ( | 116 | acpi_tb_get_required_tables ( |
132 | void); | 117 | void); |
133 | 118 | ||
134 | acpi_status | ||
135 | acpi_tb_get_primary_table ( | ||
136 | struct acpi_pointer *address, | ||
137 | struct acpi_table_desc *table_info); | ||
138 | |||
139 | acpi_status | ||
140 | acpi_tb_get_secondary_table ( | ||
141 | struct acpi_pointer *address, | ||
142 | acpi_string signature, | ||
143 | struct acpi_table_desc *table_info); | ||
144 | 119 | ||
145 | /* | 120 | /* |
146 | * tbinstall - Table installation | 121 | * tbinstall - Table installation |
147 | */ | 122 | */ |
148 | |||
149 | acpi_status | 123 | acpi_status |
150 | acpi_tb_install_table ( | 124 | acpi_tb_install_table ( |
151 | struct acpi_table_desc *table_info); | 125 | struct acpi_table_desc *table_info); |
152 | 126 | ||
153 | acpi_status | 127 | acpi_status |
154 | acpi_tb_match_signature ( | ||
155 | char *signature, | ||
156 | struct acpi_table_desc *table_info, | ||
157 | u8 search_type); | ||
158 | |||
159 | acpi_status | ||
160 | acpi_tb_recognize_table ( | 128 | acpi_tb_recognize_table ( |
161 | struct acpi_table_desc *table_info, | 129 | struct acpi_table_desc *table_info, |
162 | u8 search_type); | 130 | u8 search_type); |
@@ -170,7 +138,6 @@ acpi_tb_init_table_descriptor ( | |||
170 | /* | 138 | /* |
171 | * tbremove - Table removal and deletion | 139 | * tbremove - Table removal and deletion |
172 | */ | 140 | */ |
173 | |||
174 | void | 141 | void |
175 | acpi_tb_delete_all_tables ( | 142 | acpi_tb_delete_all_tables ( |
176 | void); | 143 | void); |
@@ -189,35 +156,23 @@ acpi_tb_uninstall_table ( | |||
189 | 156 | ||
190 | 157 | ||
191 | /* | 158 | /* |
192 | * tbrsd - RSDP, RSDT utilities | 159 | * tbxfroot - RSDP, RSDT utilities |
193 | */ | 160 | */ |
161 | acpi_status | ||
162 | acpi_tb_find_table ( | ||
163 | char *signature, | ||
164 | char *oem_id, | ||
165 | char *oem_table_id, | ||
166 | struct acpi_table_header **table_ptr); | ||
194 | 167 | ||
195 | acpi_status | 168 | acpi_status |
196 | acpi_tb_get_table_rsdt ( | 169 | acpi_tb_get_table_rsdt ( |
197 | void); | 170 | void); |
198 | 171 | ||
199 | u8 * | ||
200 | acpi_tb_scan_memory_for_rsdp ( | ||
201 | u8 *start_address, | ||
202 | u32 length); | ||
203 | |||
204 | acpi_status | ||
205 | acpi_tb_find_rsdp ( | ||
206 | struct acpi_table_desc *table_info, | ||
207 | u32 flags); | ||
208 | |||
209 | 172 | ||
210 | /* | 173 | /* |
211 | * tbutils - common table utilities | 174 | * tbutils - common table utilities |
212 | */ | 175 | */ |
213 | |||
214 | acpi_status | ||
215 | acpi_tb_find_table ( | ||
216 | char *signature, | ||
217 | char *oem_id, | ||
218 | char *oem_table_id, | ||
219 | struct acpi_table_header **table_ptr); | ||
220 | |||
221 | acpi_status | 176 | acpi_status |
222 | acpi_tb_verify_table_checksum ( | 177 | acpi_tb_verify_table_checksum ( |
223 | struct acpi_table_header *table_header); | 178 | struct acpi_table_header *table_header); |
@@ -231,5 +186,4 @@ acpi_status | |||
231 | acpi_tb_validate_table_header ( | 186 | acpi_tb_validate_table_header ( |
232 | struct acpi_table_header *table_header); | 187 | struct acpi_table_header *table_header); |
233 | 188 | ||
234 | |||
235 | #endif /* __ACTABLES_H__ */ | 189 | #endif /* __ACTABLES_H__ */ |