ACPICA: Add a mechanism to escape infinite AML While() loops
authorBob Moore <robert.moore@intel.com>
Wed, 12 Nov 2008 07:15:29 +0000 (15:15 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 30 Dec 2008 03:38:36 +0000 (22:38 -0500)
commitfc37445733aeae4fd1a20385850620354263b1d5
treea989d6bf8dcc2011f25e365532c3855a48f11c62
parent96411a630412f057d365aa1e9de7d23c069d627a
ACPICA: Add a mechanism to escape infinite AML While() loops

Add a loop counter to force exit from AML While loops if the
count becomes too large. This can occur in poorly written AML
when the hardware does not respond within a while loop and the
loop does not implement a timeout. The maximum loop count is
configurable. A new exception code is returned when a loop is
broken, AE_AML_INFINITE_LOOP.  Bob Moore, Alexey Starikovskiy.

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>
drivers/acpi/dispatcher/dsopcode.c
include/acpi/acconfig.h
include/acpi/acexcep.h
include/acpi/aclocal.h