diff options
author | Bob Moore <robert.moore@intel.com> | 2008-12-29 20:45:17 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 01:10:24 -0500 |
commit | e97d6bf1a01b7403d98aea95731863aab2e84064 (patch) | |
tree | fd6dafb476e312424311425be96e07e5969f060f /include/acpi/aclocal.h | |
parent | c1e3523ccbeca312e11557d2a75f90632a2fb5c7 (diff) |
ACPICA: New: acpi_get_gpe_device interface
This function maps an input GPE index to a GPE block device. Also
Added acpi_current_gpe_count to track the current number of GPEs
that are being managed by the ACPICA core (both FADT-based GPEs
and the GPEs contained in GPE block devices.)
Modify drivers/acpi/system.c to use these 2 new interfaces
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/aclocal.h')
-rw-r--r-- | include/acpi/aclocal.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/acpi/aclocal.h b/include/acpi/aclocal.h index 0323fa9aa3e6..b43496080fdf 100644 --- a/include/acpi/aclocal.h +++ b/include/acpi/aclocal.h | |||
@@ -487,10 +487,15 @@ struct acpi_gpe_walk_info { | |||
487 | struct acpi_gpe_block_info *gpe_block; | 487 | struct acpi_gpe_block_info *gpe_block; |
488 | }; | 488 | }; |
489 | 489 | ||
490 | typedef acpi_status(*acpi_gpe_callback) (struct acpi_gpe_xrupt_info * | 490 | struct acpi_gpe_device_info { |
491 | gpe_xrupt_info, | 491 | u32 index; |
492 | struct acpi_gpe_block_info * | 492 | u32 next_block_base_index; |
493 | gpe_block); | 493 | acpi_status status; |
494 | struct acpi_namespace_node *gpe_device; | ||
495 | }; | ||
496 | |||
497 | typedef acpi_status(*acpi_gpe_callback) (struct acpi_gpe_xrupt_info *gpe_xrupt_info, | ||
498 | struct acpi_gpe_block_info *gpe_block, void *context); | ||
494 | 499 | ||
495 | /* Information about each particular fixed event */ | 500 | /* Information about each particular fixed event */ |
496 | 501 | ||