mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 01:14:46 +03:00
ASLTS: exc_result2: Fix old m689 breakage (exceptional)
When tests are meant to return exceptions, proceeding causes unexpected number of exceptions left. This patch fixes such issues by interrupting the tests when exception is expected. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
This commit is contained in:
parent
2f79a52433
commit
49f041a2f1
@ -1938,6 +1938,8 @@ if (y361) {
|
||||
if (STCS) {m000(2, 0x100, arg2, arg3)}
|
||||
}
|
||||
}
|
||||
// No further test if exception is expected
|
||||
Return (0)
|
||||
} elseif (CH03(arg0, z122, 58, arg3, arg2)) {
|
||||
// Storing caused unexpected exception
|
||||
if (STCS) {m000(2, 0x100, arg2, arg3)}
|
||||
@ -2327,6 +2329,8 @@ if (y361) {
|
||||
if (STCS) {m000(2, 0x100, arg2, arg3)}
|
||||
}
|
||||
}
|
||||
// No further test if exception is expected
|
||||
Return (0)
|
||||
} elseif (CH03(arg0, z122, 71, arg3, arg2)) {
|
||||
// Storing caused unexpected exception
|
||||
if (STCS) {m000(2, 0x100, arg2, arg3)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user