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 /include | |
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 'include')
-rw-r--r-- | include/acpi/acpiosxf.h | 7 | ||||
-rw-r--r-- | include/acpi/acpixf.h | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 83062ed0ef2f..2fe8639b3ae7 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
@@ -238,13 +238,6 @@ acpi_os_write_pci_configuration(struct acpi_pci_id *pci_id, | |||
238 | /* | 238 | /* |
239 | * Miscellaneous | 239 | * Miscellaneous |
240 | */ | 240 | */ |
241 | acpi_status | ||
242 | acpi_os_validate_address(u8 space_id, acpi_physical_address address, | ||
243 | acpi_size length, char *name); | ||
244 | acpi_status | ||
245 | acpi_os_invalidate_address(u8 space_id, acpi_physical_address address, | ||
246 | acpi_size length); | ||
247 | |||
248 | u64 acpi_os_get_timer(void); | 241 | u64 acpi_os_get_timer(void); |
249 | 242 | ||
250 | acpi_status acpi_os_signal(u32 function, void *info); | 243 | acpi_status acpi_os_signal(u32 function, void *info); |
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 30f5bef4f14d..a4cfded67c08 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -112,6 +112,11 @@ acpi_status acpi_install_interface(acpi_string interface_name); | |||
112 | 112 | ||
113 | acpi_status acpi_remove_interface(acpi_string interface_name); | 113 | acpi_status acpi_remove_interface(acpi_string interface_name); |
114 | 114 | ||
115 | u32 | ||
116 | acpi_check_address_range(acpi_adr_space_type space_id, | ||
117 | acpi_physical_address address, | ||
118 | acpi_size length, u8 warn); | ||
119 | |||
115 | /* | 120 | /* |
116 | * ACPI Memory management | 121 | * ACPI Memory management |
117 | */ | 122 | */ |