diff options
author | Lin Ming <ming.m.lin@intel.com> | 2012-01-12 00:10:32 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-01-17 03:38:50 -0500 |
commit | f654c0fefa8c16d439185b61442710fadc167e78 (patch) | |
tree | f6a375f7404e6a76f6eb24cc7d639f32b6789c7d /drivers/acpi/acpica/acutils.h | |
parent | ecafe6faa294697305453b5a6af7760b94622787 (diff) |
ACPICA: Add support for region address conflict checking
Allows drivers to determine if any memory or I/O addresses
will conflict with addresses used by ACPI operation regions.
Introduces a new interface, acpi_check_address_range.
http://marc.info/?t=132251388700002&r=1&w=2
Reported-and-tested-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r-- | drivers/acpi/acpica/acutils.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index ab95d452f87d..57df29360b9f 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h | |||
@@ -580,6 +580,24 @@ acpi_ut_create_list(char *list_name, | |||
580 | #endif /* ACPI_DBG_TRACK_ALLOCATIONS */ | 580 | #endif /* ACPI_DBG_TRACK_ALLOCATIONS */ |
581 | 581 | ||
582 | /* | 582 | /* |
583 | * utaddress - address range check | ||
584 | */ | ||
585 | acpi_status | ||
586 | acpi_ut_add_address_range(acpi_adr_space_type space_id, | ||
587 | acpi_physical_address address, | ||
588 | u32 length, struct acpi_namespace_node *region_node); | ||
589 | |||
590 | void | ||
591 | acpi_ut_remove_address_range(acpi_adr_space_type space_id, | ||
592 | struct acpi_namespace_node *region_node); | ||
593 | |||
594 | u32 | ||
595 | acpi_ut_check_address_range(acpi_adr_space_type space_id, | ||
596 | acpi_physical_address address, u32 length, u8 warn); | ||
597 | |||
598 | void acpi_ut_delete_address_lists(void); | ||
599 | |||
600 | /* | ||
583 | * utxferror - various error/warning output functions | 601 | * utxferror - various error/warning output functions |
584 | */ | 602 | */ |
585 | void ACPI_INTERNAL_VAR_XFACE | 603 | void ACPI_INTERNAL_VAR_XFACE |