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/utglobal.c | |
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/utglobal.c')
-rw-r--r-- | drivers/acpi/acpica/utglobal.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utglobal.c b/drivers/acpi/acpica/utglobal.c index ffba0a39c3e8..3cf758bab242 100644 --- a/drivers/acpi/acpica/utglobal.c +++ b/drivers/acpi/acpica/utglobal.c | |||
@@ -264,6 +264,12 @@ acpi_status acpi_ut_init_globals(void) | |||
264 | return_ACPI_STATUS(status); | 264 | return_ACPI_STATUS(status); |
265 | } | 265 | } |
266 | 266 | ||
267 | /* Address Range lists */ | ||
268 | |||
269 | for (i = 0; i < ACPI_ADDRESS_RANGE_MAX; i++) { | ||
270 | acpi_gbl_address_range_list[i] = NULL; | ||
271 | } | ||
272 | |||
267 | /* Mutex locked flags */ | 273 | /* Mutex locked flags */ |
268 | 274 | ||
269 | for (i = 0; i < ACPI_NUM_MUTEX; i++) { | 275 | for (i = 0; i < ACPI_NUM_MUTEX; i++) { |