diff options
Diffstat (limited to 'include/acpi/acpiosxf.h')
| -rw-r--r-- | include/acpi/acpiosxf.h | 43 |
1 files changed, 6 insertions, 37 deletions
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 562603d7aabe..f3414c83abb1 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
| @@ -371,6 +371,12 @@ acpi_status acpi_os_wait_command_ready(void); | |||
| 371 | acpi_status acpi_os_notify_command_complete(void); | 371 | acpi_status acpi_os_notify_command_complete(void); |
| 372 | #endif | 372 | #endif |
| 373 | 373 | ||
| 374 | #ifndef ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_trace_point | ||
| 375 | void | ||
| 376 | acpi_os_trace_point(acpi_trace_event_type type, | ||
| 377 | u8 begin, u8 *aml, char *pathname); | ||
| 378 | #endif | ||
| 379 | |||
| 374 | /* | 380 | /* |
| 375 | * Obtain ACPI table(s) | 381 | * Obtain ACPI table(s) |
| 376 | */ | 382 | */ |
| @@ -416,41 +422,4 @@ char *acpi_os_get_next_filename(void *dir_handle); | |||
| 416 | void acpi_os_close_directory(void *dir_handle); | 422 | void acpi_os_close_directory(void *dir_handle); |
| 417 | #endif | 423 | #endif |
| 418 | 424 | ||
| 419 | /* | ||
| 420 | * File I/O and related support | ||
| 421 | */ | ||
| 422 | #ifndef ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_open_file | ||
| 423 | ACPI_FILE acpi_os_open_file(const char *path, u8 modes); | ||
| 424 | #endif | ||
| 425 | |||
| 426 | #ifndef ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_close_file | ||
| 427 | void acpi_os_close_file(ACPI_FILE file); | ||
| 428 | #endif | ||
| 429 | |||
| 430 | #ifndef ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_read_file | ||
| 431 | int | ||
| 432 | acpi_os_read_file(ACPI_FILE file, | ||
| 433 | void *buffer, acpi_size size, acpi_size count); | ||
| 434 | #endif | ||
| 435 | |||
| 436 | #ifndef ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_write_file | ||
| 437 | int | ||
| 438 | acpi_os_write_file(ACPI_FILE file, | ||
| 439 | void *buffer, acpi_size size, acpi_size count); | ||
| 440 | #endif | ||
| 441 | |||
| 442 | #ifndef ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_get_file_offset | ||
| 443 | long acpi_os_get_file_offset(ACPI_FILE file); | ||
| 444 | #endif | ||
| 445 | |||
| 446 | #ifndef ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_set_file_offset | ||
| 447 | acpi_status acpi_os_set_file_offset(ACPI_FILE file, long offset, u8 from); | ||
| 448 | #endif | ||
| 449 | |||
| 450 | #ifndef ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_trace_point | ||
| 451 | void | ||
| 452 | acpi_os_trace_point(acpi_trace_event_type type, | ||
| 453 | u8 begin, u8 *aml, char *pathname); | ||
| 454 | #endif | ||
| 455 | |||
| 456 | #endif /* __ACPIOSXF_H__ */ | 425 | #endif /* __ACPIOSXF_H__ */ |
