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/acpiosxf.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/acpiosxf.h')
-rw-r--r-- | include/acpi/acpiosxf.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 857c8072eb1e..ea489f235216 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
@@ -79,7 +79,6 @@ struct acpi_signal_fatal_info | |||
79 | /* | 79 | /* |
80 | * OSL Initialization and shutdown primitives | 80 | * OSL Initialization and shutdown primitives |
81 | */ | 81 | */ |
82 | |||
83 | acpi_status | 82 | acpi_status |
84 | acpi_os_initialize ( | 83 | acpi_os_initialize ( |
85 | void); | 84 | void); |
@@ -92,7 +91,6 @@ acpi_os_terminate ( | |||
92 | /* | 91 | /* |
93 | * ACPI Table interfaces | 92 | * ACPI Table interfaces |
94 | */ | 93 | */ |
95 | |||
96 | acpi_status | 94 | acpi_status |
97 | acpi_os_get_root_pointer ( | 95 | acpi_os_get_root_pointer ( |
98 | u32 flags, | 96 | u32 flags, |
@@ -112,7 +110,6 @@ acpi_os_table_override ( | |||
112 | /* | 110 | /* |
113 | * Synchronization primitives | 111 | * Synchronization primitives |
114 | */ | 112 | */ |
115 | |||
116 | acpi_status | 113 | acpi_status |
117 | acpi_os_create_semaphore ( | 114 | acpi_os_create_semaphore ( |
118 | u32 max_units, | 115 | u32 max_units, |
@@ -156,7 +153,6 @@ acpi_os_release_lock ( | |||
156 | /* | 153 | /* |
157 | * Memory allocation and mapping | 154 | * Memory allocation and mapping |
158 | */ | 155 | */ |
159 | |||
160 | void * | 156 | void * |
161 | acpi_os_allocate ( | 157 | acpi_os_allocate ( |
162 | acpi_size size); | 158 | acpi_size size); |
@@ -187,7 +183,6 @@ acpi_os_get_physical_address ( | |||
187 | /* | 183 | /* |
188 | * Interrupt handlers | 184 | * Interrupt handlers |
189 | */ | 185 | */ |
190 | |||
191 | acpi_status | 186 | acpi_status |
192 | acpi_os_install_interrupt_handler ( | 187 | acpi_os_install_interrupt_handler ( |
193 | u32 gsi, | 188 | u32 gsi, |
@@ -203,7 +198,6 @@ acpi_os_remove_interrupt_handler ( | |||
203 | /* | 198 | /* |
204 | * Threads and Scheduling | 199 | * Threads and Scheduling |
205 | */ | 200 | */ |
206 | |||
207 | u32 | 201 | u32 |
208 | acpi_os_get_thread_id ( | 202 | acpi_os_get_thread_id ( |
209 | void); | 203 | void); |
@@ -234,7 +228,6 @@ acpi_os_stall ( | |||
234 | /* | 228 | /* |
235 | * Platform and hardware-independent I/O interfaces | 229 | * Platform and hardware-independent I/O interfaces |
236 | */ | 230 | */ |
237 | |||
238 | acpi_status | 231 | acpi_status |
239 | acpi_os_read_port ( | 232 | acpi_os_read_port ( |
240 | acpi_io_address address, | 233 | acpi_io_address address, |
@@ -251,7 +244,6 @@ acpi_os_write_port ( | |||
251 | /* | 244 | /* |
252 | * Platform and hardware-independent physical memory interfaces | 245 | * Platform and hardware-independent physical memory interfaces |
253 | */ | 246 | */ |
254 | |||
255 | acpi_status | 247 | acpi_status |
256 | acpi_os_read_memory ( | 248 | acpi_os_read_memory ( |
257 | acpi_physical_address address, | 249 | acpi_physical_address address, |
@@ -270,7 +262,6 @@ acpi_os_write_memory ( | |||
270 | * Note: Can't use "Register" as a parameter, changed to "Reg" -- | 262 | * Note: Can't use "Register" as a parameter, changed to "Reg" -- |
271 | * certain compilers complain. | 263 | * certain compilers complain. |
272 | */ | 264 | */ |
273 | |||
274 | acpi_status | 265 | acpi_status |
275 | acpi_os_read_pci_configuration ( | 266 | acpi_os_read_pci_configuration ( |
276 | struct acpi_pci_id *pci_id, | 267 | struct acpi_pci_id *pci_id, |
@@ -288,7 +279,6 @@ acpi_os_write_pci_configuration ( | |||
288 | /* | 279 | /* |
289 | * Interim function needed for PCI IRQ routing | 280 | * Interim function needed for PCI IRQ routing |
290 | */ | 281 | */ |
291 | |||
292 | void | 282 | void |
293 | acpi_os_derive_pci_id( | 283 | acpi_os_derive_pci_id( |
294 | acpi_handle rhandle, | 284 | acpi_handle rhandle, |
@@ -298,7 +288,6 @@ acpi_os_derive_pci_id( | |||
298 | /* | 288 | /* |
299 | * Miscellaneous | 289 | * Miscellaneous |
300 | */ | 290 | */ |
301 | |||
302 | u8 | 291 | u8 |
303 | acpi_os_readable ( | 292 | acpi_os_readable ( |
304 | void *pointer, | 293 | void *pointer, |
@@ -323,7 +312,6 @@ acpi_os_signal ( | |||
323 | /* | 312 | /* |
324 | * Debug print routines | 313 | * Debug print routines |
325 | */ | 314 | */ |
326 | |||
327 | void ACPI_INTERNAL_VAR_XFACE | 315 | void ACPI_INTERNAL_VAR_XFACE |
328 | acpi_os_printf ( | 316 | acpi_os_printf ( |
329 | const char *format, | 317 | const char *format, |
@@ -339,11 +327,10 @@ acpi_os_redirect_output ( | |||
339 | void *destination); | 327 | void *destination); |
340 | 328 | ||
341 | 329 | ||
330 | #ifdef ACPI_FUTURE_USAGE | ||
342 | /* | 331 | /* |
343 | * Debug input | 332 | * Debug input |
344 | */ | 333 | */ |
345 | |||
346 | #ifdef ACPI_FUTURE_USAGE | ||
347 | u32 | 334 | u32 |
348 | acpi_os_get_line ( | 335 | acpi_os_get_line ( |
349 | char *buffer); | 336 | char *buffer); |
@@ -353,7 +340,6 @@ acpi_os_get_line ( | |||
353 | /* | 340 | /* |
354 | * Directory manipulation | 341 | * Directory manipulation |
355 | */ | 342 | */ |
356 | |||
357 | void * | 343 | void * |
358 | acpi_os_open_directory ( | 344 | acpi_os_open_directory ( |
359 | char *pathname, | 345 | char *pathname, |
@@ -377,7 +363,6 @@ acpi_os_close_directory ( | |||
377 | /* | 363 | /* |
378 | * Debug | 364 | * Debug |
379 | */ | 365 | */ |
380 | |||
381 | void | 366 | void |
382 | acpi_os_dbg_assert( | 367 | acpi_os_dbg_assert( |
383 | void *failed_assertion, | 368 | void *failed_assertion, |
@@ -385,5 +370,4 @@ acpi_os_dbg_assert( | |||
385 | u32 line_number, | 370 | u32 line_number, |
386 | char *message); | 371 | char *message); |
387 | 372 | ||
388 | |||
389 | #endif /* __ACPIOSXF_H__ */ | 373 | #endif /* __ACPIOSXF_H__ */ |