Skip to content

Commit

Permalink
ASLTS: exc_tbl: Fix TLD1 tests
Browse files Browse the repository at this point in the history
Validated windows behavior shows it allows to load tables via Load and
LoadTable opcode without putting any limitations to the table signature.

This patch corrects exc_tbl:TLD1 cases to reflect this validated Windows
behavior. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
  • Loading branch information
Lv Zheng committed May 11, 2017
1 parent d25d18c commit 1079732
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/aslts/src/runtime/collections/functional/table/load.asl
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ Device(DTM0) {
return (0)
}

// Exceptions when the table contained in an OpRegion
// No exception when the table contained in an OpRegion
// (Field) is not an SSDT
Method(tstd, 1, Serialized)
{
Expand Down Expand Up @@ -1513,12 +1513,18 @@ Device(DTM0) {

// Load operator execution, OpRegion Field case
Load(RFU0, HI0)
CH04(arg0, 0, 37, z174, 0x086, 0, 0) // AE_BAD_SIGNATURE
CH03(arg0, z174, 0x086, 0, 0) // No exception

if (CondRefof(\SSS0, Local0)) {
} else {
err(arg0, z174, 0x087, 0, 0, "\\SSS0", 1)
}

// CleanUp
UnLoad(HI0)
if (CH03(arg0, z174, 0x088, 0, 0)) {
return (1)
}
return (0)
}

Expand Down

0 comments on commit 1079732

Please sign in to comment.