diff options
Diffstat (limited to 'include/acpi/acpixf.h')
| -rw-r--r-- | include/acpi/acpixf.h | 54 |
1 files changed, 42 insertions, 12 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 35b525c19711..b7c89d47efbe 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
| @@ -46,15 +46,13 @@ | |||
| 46 | 46 | ||
| 47 | /* Current ACPICA subsystem version in YYYYMMDD format */ | 47 | /* Current ACPICA subsystem version in YYYYMMDD format */ |
| 48 | 48 | ||
| 49 | #define ACPI_CA_VERSION 0x20140424 | 49 | #define ACPI_CA_VERSION 0x20140724 |
| 50 | 50 | ||
| 51 | #include <acpi/acconfig.h> | 51 | #include <acpi/acconfig.h> |
| 52 | #include <acpi/actypes.h> | 52 | #include <acpi/actypes.h> |
| 53 | #include <acpi/actbl.h> | 53 | #include <acpi/actbl.h> |
| 54 | #include <acpi/acbuffer.h> | 54 | #include <acpi/acbuffer.h> |
| 55 | 55 | ||
| 56 | extern u8 acpi_gbl_permanent_mmap; | ||
| 57 | |||
| 58 | /***************************************************************************** | 56 | /***************************************************************************** |
| 59 | * | 57 | * |
| 60 | * Macros used for ACPICA globals and configuration | 58 | * Macros used for ACPICA globals and configuration |
| @@ -335,6 +333,23 @@ ACPI_GLOBAL(u8, acpi_gbl_system_awake_and_running); | |||
| 335 | 333 | ||
| 336 | #endif /* ACPI_DEBUG_OUTPUT */ | 334 | #endif /* ACPI_DEBUG_OUTPUT */ |
| 337 | 335 | ||
| 336 | /* | ||
| 337 | * Application prototypes | ||
| 338 | * | ||
| 339 | * All interfaces used by application will be configured | ||
| 340 | * out of the ACPICA build unless the ACPI_APPLICATION | ||
| 341 | * flag is defined. | ||
| 342 | */ | ||
| 343 | #ifdef ACPI_APPLICATION | ||
| 344 | #define ACPI_APP_DEPENDENT_RETURN_VOID(prototype) \ | ||
| 345 | prototype; | ||
| 346 | |||
| 347 | #else | ||
| 348 | #define ACPI_APP_DEPENDENT_RETURN_VOID(prototype) \ | ||
| 349 | static ACPI_INLINE prototype {return;} | ||
| 350 | |||
| 351 | #endif /* ACPI_APPLICATION */ | ||
| 352 | |||
| 338 | /***************************************************************************** | 353 | /***************************************************************************** |
| 339 | * | 354 | * |
| 340 | * ACPICA public interface prototypes | 355 | * ACPICA public interface prototypes |
| @@ -658,6 +673,10 @@ ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status | |||
| 658 | u32 gpe_number)) | 673 | u32 gpe_number)) |
| 659 | 674 | ||
| 660 | ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status | 675 | ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status |
| 676 | acpi_mark_gpe_for_wake(acpi_handle gpe_device, | ||
| 677 | u32 gpe_number)) | ||
| 678 | |||
| 679 | ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status | ||
| 661 | acpi_setup_gpe_for_wake(acpi_handle | 680 | acpi_setup_gpe_for_wake(acpi_handle |
| 662 | parent_device, | 681 | parent_device, |
| 663 | acpi_handle gpe_device, | 682 | acpi_handle gpe_device, |
| @@ -861,21 +880,32 @@ ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) | |||
| 861 | const char *module_name, | 880 | const char *module_name, |
| 862 | u32 component_id, | 881 | u32 component_id, |
| 863 | const char *format, ...)) | 882 | const char *format, ...)) |
| 883 | ACPI_APP_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(1) | ||
| 884 | void ACPI_INTERNAL_VAR_XFACE | ||
| 885 | acpi_log_error(const char *format, ...)) | ||
| 864 | 886 | ||
| 865 | /* | 887 | /* |
| 866 | * Divergences | 888 | * Divergences |
| 867 | */ | 889 | */ |
| 868 | acpi_status acpi_get_id(acpi_handle object, acpi_owner_id * out_type); | 890 | ACPI_GLOBAL(u8, acpi_gbl_permanent_mmap); |
| 869 | 891 | ||
| 870 | acpi_status acpi_unload_table_id(acpi_owner_id id); | 892 | ACPI_EXTERNAL_RETURN_STATUS(acpi_status |
| 893 | acpi_get_id(acpi_handle object, | ||
| 894 | acpi_owner_id * out_type)) | ||
| 871 | 895 | ||
| 872 | acpi_status | 896 | ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_unload_table_id(acpi_owner_id id)) |
| 873 | acpi_get_table_with_size(acpi_string signature, | ||
| 874 | u32 instance, struct acpi_table_header **out_table, | ||
| 875 | acpi_size *tbl_size); | ||
| 876 | 897 | ||
| 877 | acpi_status | 898 | ACPI_EXTERNAL_RETURN_STATUS(acpi_status |
| 878 | acpi_get_data_full(acpi_handle object, acpi_object_handler handler, void **data, | 899 | acpi_get_table_with_size(acpi_string signature, |
| 879 | void (*callback)(void *)); | 900 | u32 instance, |
| 901 | struct acpi_table_header | ||
| 902 | **out_table, | ||
| 903 | acpi_size *tbl_size)) | ||
| 904 | |||
| 905 | ACPI_EXTERNAL_RETURN_STATUS(acpi_status | ||
| 906 | acpi_get_data_full(acpi_handle object, | ||
| 907 | acpi_object_handler handler, | ||
| 908 | void **data, | ||
| 909 | void (*callback)(void *))) | ||
| 880 | 910 | ||
| 881 | #endif /* __ACXFACE_H__ */ | 911 | #endif /* __ACXFACE_H__ */ |
