diff options
author | Robert Moore <Robert.Moore@intel.com> | 2012-11-16 08:53:53 -0800 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2012-11-16 08:53:53 -0800 |
commit | c93543b857d51088970c65abc79cb28d5cebf0aa (patch) | |
tree | 70b596222f65008c65d3eb9eb4feb163b8e2bcae /tests | |
parent | c2d6c80dfa00ea1a81b10632d83c202607d6eb7a (diff) | |
download | acpica-c93543b857d51088970c65abc79cb28d5cebf0aa.tar.gz |
ASLTS: Remove test that tests a nearly impossible condition.
For LoadTable tests, remove the the test that uses Load() to load a
table, then unloads the table, then uses LoadTable to load the same
table. This would be highly improbable in the real world.
Chao Guan.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/aslts/src/runtime/collections/functional/table/loadtable.asl | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/tests/aslts/src/runtime/collections/functional/table/loadtable.asl b/tests/aslts/src/runtime/collections/functional/table/loadtable.asl index f924b8526..2bb0a43f8 100644 --- a/tests/aslts/src/runtime/collections/functional/table/loadtable.asl +++ b/tests/aslts/src/runtime/collections/functional/table/loadtable.asl @@ -1564,6 +1564,22 @@ Device(DTM2) { // LoadTable returns 0 if some SSDT matching the LoadTable // parameters is originally not listed in XSDT + /* + * This test should never happen in real ASL code. So it is removed. + * + * The Load operation will add a table to global table list, which is + * the master list that can be find in XSDT. + * + * The Unload operation will just delete the namespace owned by the table, + * release OwnerId and reset the table flag, but the table remains in + * global table list. + * + * So, LoadTable after Load and UnLoad operation will cause exception. + * + * Nothing like this should happen in real ASL code. The BIOS writer + * knows whether the table is in the XSDT or not. + */ + /* Method(tstf, 1) { Name(DDBH, 0) @@ -1631,6 +1647,7 @@ Device(DTM2) { return (0) } + */ // AE_OWNER_ID_LIMIT exception when too many Tables loaded Method(tstg, 1) @@ -2261,8 +2278,8 @@ Method(TLT0) // LoadTable returns 0 if some SSDT matching the LoadTable // parameters is originally not listed in XSDT - SRMT("TLT0.tstf") - \DTM2.tstf(ts) + //SRMT("TLT0.tstf") + //\DTM2.tstf(ts) CH03(ts, z176, 0x20b, 0, 0) } |