diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-26 19:28:48 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-26 19:28:48 -0400 |
| commit | afdca01c9821134e71011029a194dd8fcb88c97e (patch) | |
| tree | c3a4862547760c3aaae5a8260ba3796a40bf47a6 /include/acpi | |
| parent | 4b319f290d3b9c756228a66f72095d0039ec1b50 (diff) | |
| parent | 36b99b22877bd25162239f1b00477ee6ae2d01ee (diff) | |
Merge branch 'acpica'
* acpica:
ACPICA: Update version to 20130725.
ACPICA: Update names for walk_namespace callbacks to clarify usage.
ACPICA: Return error if DerefOf resolves to a null package element.
ACPICA: Make ACPI Power Management Timer (PM Timer) optional.
ACPICA: Fix divergences of the commit - ACPICA: Expose OSI version.
ACPICA: Fix possible fault for methods that optionally have no return value.
ACPICA: DeRefOf operator: Update to fully resolve FieldUnit and BufferField refs.
ACPICA: Emit all unresolved method externals in a text block
ACPICA: Export acpi_tb_validate_rsdp().
ACPI: Add facility to remove all _OSI strings
ACPI: Add facility to disable all _OSI OS vendor strings
ACPICA: Add acpi_update_interfaces() public interface
ACPICA: Update version to 20130626
ACPICA: Fix compiler warnings for casting issues (only some compilers)
ACPICA: Remove restriction of 256 maximum GPEs in any GPE block
ACPICA: Disassembler: Expand maximum output string length to 64K
ACPICA: TableManager: Export acpi_tb_scan_memory_for_rsdp()
ACPICA: Update comments about behavior when _STA does not exist
Diffstat (limited to 'include/acpi')
| -rw-r--r-- | include/acpi/acpixf.h | 8 | ||||
| -rw-r--r-- | include/acpi/actypes.h | 21 |
2 files changed, 18 insertions, 11 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 22d497ee6ef9..85bfdbe17805 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
| @@ -46,7 +46,7 @@ | |||
| 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 0x20130517 | 49 | #define ACPI_CA_VERSION 0x20130725 |
| 50 | 50 | ||
| 51 | #include <acpi/acconfig.h> | 51 | #include <acpi/acconfig.h> |
| 52 | #include <acpi/actypes.h> | 52 | #include <acpi/actypes.h> |
| @@ -147,6 +147,8 @@ acpi_status acpi_install_interface(acpi_string interface_name); | |||
| 147 | 147 | ||
| 148 | acpi_status acpi_remove_interface(acpi_string interface_name); | 148 | acpi_status acpi_remove_interface(acpi_string interface_name); |
| 149 | 149 | ||
| 150 | acpi_status acpi_update_interfaces(u8 action); | ||
| 151 | |||
| 150 | u32 | 152 | u32 |
| 151 | acpi_check_address_range(acpi_adr_space_type space_id, | 153 | acpi_check_address_range(acpi_adr_space_type space_id, |
| 152 | acpi_physical_address address, | 154 | acpi_physical_address address, |
| @@ -210,8 +212,8 @@ acpi_status | |||
| 210 | acpi_walk_namespace(acpi_object_type type, | 212 | acpi_walk_namespace(acpi_object_type type, |
| 211 | acpi_handle start_object, | 213 | acpi_handle start_object, |
| 212 | u32 max_depth, | 214 | u32 max_depth, |
| 213 | acpi_walk_callback pre_order_visit, | 215 | acpi_walk_callback descending_callback, |
| 214 | acpi_walk_callback post_order_visit, | 216 | acpi_walk_callback ascending_callback, |
| 215 | void *context, void **return_value); | 217 | void *context, void **return_value); |
| 216 | 218 | ||
| 217 | acpi_status | 219 | acpi_status |
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 22b03c9286e9..b748aefce929 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
| @@ -668,13 +668,6 @@ typedef u32 acpi_event_status; | |||
| 668 | #define ACPI_EVENT_FLAG_SET (acpi_event_status) 0x04 | 668 | #define ACPI_EVENT_FLAG_SET (acpi_event_status) 0x04 |
| 669 | #define ACPI_EVENT_FLAG_HANDLE (acpi_event_status) 0x08 | 669 | #define ACPI_EVENT_FLAG_HANDLE (acpi_event_status) 0x08 |
| 670 | 670 | ||
| 671 | /* | ||
| 672 | * General Purpose Events (GPE) | ||
| 673 | */ | ||
| 674 | #define ACPI_GPE_INVALID 0xFF | ||
| 675 | #define ACPI_GPE_MAX 0xFF | ||
| 676 | #define ACPI_NUM_GPE 256 | ||
| 677 | |||
| 678 | /* Actions for acpi_set_gpe, acpi_gpe_wakeup, acpi_hw_low_set_gpe */ | 671 | /* Actions for acpi_set_gpe, acpi_gpe_wakeup, acpi_hw_low_set_gpe */ |
| 679 | 672 | ||
| 680 | #define ACPI_GPE_ENABLE 0 | 673 | #define ACPI_GPE_ENABLE 0 |
| @@ -1144,7 +1137,19 @@ struct acpi_memory_list { | |||
| 1144 | #endif | 1137 | #endif |
| 1145 | }; | 1138 | }; |
| 1146 | 1139 | ||
| 1147 | /* Definitions for _OSI support */ | 1140 | /* Definitions of _OSI support */ |
| 1141 | |||
| 1142 | #define ACPI_VENDOR_STRINGS 0x01 | ||
| 1143 | #define ACPI_FEATURE_STRINGS 0x02 | ||
| 1144 | #define ACPI_ENABLE_INTERFACES 0x00 | ||
| 1145 | #define ACPI_DISABLE_INTERFACES 0x04 | ||
| 1146 | |||
| 1147 | #define ACPI_DISABLE_ALL_VENDOR_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_VENDOR_STRINGS) | ||
| 1148 | #define ACPI_DISABLE_ALL_FEATURE_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_FEATURE_STRINGS) | ||
| 1149 | #define ACPI_DISABLE_ALL_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_VENDOR_STRINGS | ACPI_FEATURE_STRINGS) | ||
| 1150 | #define ACPI_ENABLE_ALL_VENDOR_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_VENDOR_STRINGS) | ||
| 1151 | #define ACPI_ENABLE_ALL_FEATURE_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_FEATURE_STRINGS) | ||
| 1152 | #define ACPI_ENABLE_ALL_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_VENDOR_STRINGS | ACPI_FEATURE_STRINGS) | ||
| 1148 | 1153 | ||
| 1149 | #define ACPI_OSI_WIN_2000 0x01 | 1154 | #define ACPI_OSI_WIN_2000 0x01 |
| 1150 | #define ACPI_OSI_WIN_XP 0x02 | 1155 | #define ACPI_OSI_WIN_XP 0x02 |
