summaryrefslogtreecommitdiff
path: root/tests/aslts/src/runtime/collections/bdemo/ACPICA
diff options
context:
space:
mode:
authorDavid E. Box <david.e.box@linux.intel.com>2015-01-27 11:39:30 -0800
committerDavid E. Box <david.e.box@linux.intel.com>2015-01-27 11:39:30 -0800
commit6a13235548463f921b3d582109aecbae93391518 (patch)
tree17f96d505b88978e1d9bece37851a2232b73c2a2 /tests/aslts/src/runtime/collections/bdemo/ACPICA
parent28a95326289ca5ee7cd95f8e8e809dc5564d9509 (diff)
downloadacpica-6a13235548463f921b3d582109aecbae93391518.tar.gz
Revert "source and test: update copyright notices to 2015"
This reverts commit 28a95326289ca5ee7cd95f8e8e809dc5564d9509. Commit mistakenly changes file format to CRLF from default LF.
Diffstat (limited to 'tests/aslts/src/runtime/collections/bdemo/ACPICA')
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/DECL.asl182
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/DECL.asl176
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/DECL.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/DECL.asl118
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/DECL.asl114
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/DECL.asl130
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/DECL.asl92
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/DECL.asl92
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/DECL.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/DECL.asl118
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/DECL.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/DECL.asl166
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DECL.asl86
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel10.asl1224
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel20.asl1240
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclDown.asl1254
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclUp.asl1252
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/Method.asl274
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/RUN.asl74
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/DECL.asl174
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/DECL.asl102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/DECL.asl98
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/DECL.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/DECL.asl102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/DECL.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/DECL.asl102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/DECL.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/DECL.asl102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/DECL.asl144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0025_SPEC/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/DECL.asl94
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/DECL.asl188
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/DECL.asl186
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/DECL.asl188
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/DECL.asl186
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl398
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/DECL.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/DECL.asl202
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/DECL.asl120
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/DECL.asl102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/DECL.asl88
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/DECL.asl104
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/DECL.asl160
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/DECL.asl94
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/DECL.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/DECL.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/DECL.asl92
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/DECL.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/DECL.asl144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/DECL.asl150
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/DECL.asl216
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/DECL.asl118
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/DECL.asl130
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/DECL.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl156
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/DECL.asl114
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/DECL.asl164
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/DECL.asl406
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/DECL.asl92
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/DECL.asl152
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/DECL.asl196
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/DECL.asl210
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/DECL.asl156
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/DECL.asl224
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/DECL.asl228
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl292
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/MAIN.asl376
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/DECL.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File0.asl1144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File1.asl2778
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/Misc.asl800
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/RUN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/DECL.asl162
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/DECL.asl156
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/DECL.asl156
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/DECL.asl138
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/DECL.asl138
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/DECL.asl96
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/DECL.asl150
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/DECL.asl150
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/DECL.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/DECL.asl84
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/MAIN.asl176
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.asl1234
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.old.asl1234
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/DECL.asl102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/DECL.asl1094
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/DECL.asl98
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/DECL.asl100
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/DECL.asl80
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/DECL.asl82
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/DECL.asl120
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/DECL.asl138
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0082_SPEC/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/DECL.asl282
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/DECL.asl566
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/DECL.asl168
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/DECL.asl148
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/DECL.asl202
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/DECL.asl150
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0089_SPEC/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0090_SPEC/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0091_SPEC/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/DECL.asl170
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/DECL.asl182
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/DECL.asl182
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/DECL.asl118
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/DECL.asl172
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/DECL.asl154
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/DECL.asl758
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/RUN.asl86
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/DECL.asl96
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/DECL.asl102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/DECL.asl164
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/DECL.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/DECL.asl142
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/DECL.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/DECL.asl100
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/DECL.asl138
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/DECL.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/DECL.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/DECL.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/DECL.asl302
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/DECL.asl116
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/DECL.asl188
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/DECL.asl146
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/DECL.asl290
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.0000.asl222
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.asl570
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/RUN.asl98
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/DECL.asl100
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/DECL.asl270
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/RUN.asl92
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.asl170
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.for_iASL.asl168
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/DECL.asl84
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/DECL.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/DECL.asl114
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/DECL.asl168
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/DECL.asl162
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/RUN.asl80
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/DECL.asl204
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/DECL.asl296
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/RUN.asl88
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/DECL.asl72
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/Dynamic.asl226
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/RUN.asl92
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticGlobal.asl412
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticLocal.asl414
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/DECL.asl148
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/DECL.asl176
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/DECL.asl104
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/DECL.asl154
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/DECL.asl248
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Common.asl8324
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/DECL.asl104
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/GrInvest.asl2298
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Methods.asl1176
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc1.asl5204
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc2.asl1520
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Mix.asl1518
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/PkgsHierarchy.asl3684
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/RUN.asl102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/SimplePkgs.asl226
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/DECL.asl94
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/DECL.asl94
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/DECL.asl144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/RUN.asl72
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/DECL.asl88
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0141_SPEC/DECL.asl64
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/DECL.asl104
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/DECL.asl132
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/DECL.asl150
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/DECL.asl84
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/DECL.asl104
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/DECL.asl160
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0149_SPEC/DECL.asl64
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/DECL.asl352
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/DECL.asl230
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/DECL.asl136
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/DECL.asl142
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Exc.asl156
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Mix.asl638
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/RUN.asl118
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToBuffer.asl284
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDevice.asl484
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDeviceGlob.asl762
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToEvent.asl484
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToInteger.asl190
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToMutex.asl484
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPackage.asl306
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPowerRes.asl484
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToProcessor.asl484
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToRegion.asl484
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToString.asl190
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToThermalZone.asl484
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/DECL.asl134
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/DECL.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/DECL.asl124
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/DECL.asl180
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/DECL.asl134
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/DECL.asl130
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/DECL.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/RUN.asl72
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/DECL.asl560
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/RUN.asl82
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/DECL.asl146
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/MAIN.asl124
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/DECL.asl154
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0164_ACTION_REQUIRED/DECL.asl88
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/DECL.asl142
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/RUN.asl72
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl234
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/DECL.asl286
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/DECL.asl144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/DECL.asl116
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl114
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/DECL.asl98
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0173_DEMO_IMPOSSIBLE/DECL.asl104
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/DECL.asl80
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/DECL.asl104
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/RUN.asl88
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/DECL.asl244
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/DECL.asl220
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/RUN.asl96
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/DECL.asl84
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl146
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl88
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/DECL.asl144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/RUN.asl72
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/DECL.asl124
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/RUN.asl80
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/DECL.asl96
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/DECL.asl192
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/DECL.asl288
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/DECL.asl120
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/DECL.asl116
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/DECL.asl96
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/DECL.asl118
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/DECL.asl2334
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/DECL.asl182
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/DECL.asl166
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/DECL.asl200
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/DECL.asl80
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/DECL.asl80
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.0000.asl336
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.asl450
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/DECL.asl182
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/RUN.asl72
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/DECL.asl444
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl348
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0202_SEE_129/DECL.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/DECL.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/RUN.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/DECL.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/RUN.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/DECL.asl100
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/RUN.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/DECL.asl116
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/RUN.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/DECL.asl116
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/RUN.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/DECL.asl168
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/RUN.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0209_ML_SEE_135/DECL.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/DECL.asl132
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/RUN.asl70
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/DECL.asl122
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/RUN.asl70
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Common.asl62
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/DECL.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Misc.asl848
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/DECL.asl114
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/DECL.asl168
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/DECL.asl184
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/DECL.asl1558
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/DECL.asl116
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/DECL.asl188
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/DECL.asl96
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/DECL.asl142
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/DECL.asl142
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/DECL.asl126
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/DECL.asl208
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/DECL.asl156
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/DECL.asl116
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/DECL.asl160
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/RUN.asl72
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/MAIN.asl136
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/DECL.asl130
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/DECL.asl92
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/DECL.asl236
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/DECL.asl202
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/DECL.asl160
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/DECL.asl96
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/MAIN.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0234_ASL_RUNTIME/DECL.asl70
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0235_ASL_RUNTIME/DECL.asl70
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/DECL.asl140
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/MAIN.asl78
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/DECL.asl156
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/DECL.asl148
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/DECL.asl194
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/MAIN.asl164
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/RUN.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/DECL.asl304
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/MAIN.asl164
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/RUN.asl106
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/DECL.asl138
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/DECL.asl522
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/DECL.asl230
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/DECL.asl744
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/RUN.asl72
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0245_SPEC/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/DECL.asl134
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/DECL.asl198
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl450
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/RUN.asl90
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0249_DEMO_IMPOSSIBLE/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0250_DEMO_IMPOSSIBLE/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/MAIN.asl254
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/MAIN.asl118
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0253_DEMO_IMPOSSIBLE/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0254_DEMO_IMPOSSIBLE/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0255_DEMO_IMPOSSIBLE/DECL.asl70
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0256_DEMO_IMPOSSIBLE/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/DECL.asl202
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/ssdt.c102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/DECL.asl200
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/ssdt.c102
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/DECL.asl238
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/ssdt.asl88
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/DECL.asl200
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/DECL.asl208
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/DECL.asl140
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/DECL.asl248
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/DECL.asl270
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/DECL.asl222
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0266_DEMO_IMPOSSIBLE/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0267_DEMO_IMPOSSIBLE/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/DECL.asl138
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/DECL.asl224
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0270_SPEC/DECL.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/DECL.asl144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/DECL.asl144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/DECL.asl218
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/RUN.asl88
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/oem1.asl52
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/DECL.asl188
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/DECL.asl164
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl252
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl84
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/DECL.asl242
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/ssdt.asl86
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/DECL.asl92
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/DECL.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/DECL.asl256
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/DECL.asl108
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/DECL.asl168
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/DECL.asl166
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/DECL.asl152
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/DECL.asl174
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/DECL.asl152
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/DECL.asl130
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/DECL.asl160
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/DECL.asl186
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/DECL.asl120
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/DECL.asl156
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/DECL.asl160
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/DECL.asl550
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/DECL.asl84
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/MAIN.asl112
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/DECL.asl128
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl908
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl164
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl256
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/DECL.asl180
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/DECL.asl282
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/RUN.asl76
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/DECL.asl190
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/DECL.asl220
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/DECL.asl588
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/RUN.asl66
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl122
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/DECL.asl140
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/MAIN.asl110
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/RUN.asl68
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/DECL.asl882
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/MAIN.asl144
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/RUN.asl866
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/DECL.asl82
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/MAIN.asl146
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/RUN.asl62
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/common/DECL.asl62
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.asl568
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.src.asl556
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/common/proc.asl754
897 files changed, 76502 insertions, 76502 deletions
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/DECL.asl
index a02e447d6..4e3acaef0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/DECL.asl
@@ -1,91 +1,91 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0000:
- *
- * SUMMARY: Logical operators return True equal to One but not Ones
- */
-
-Method(md9a,, Serialized)
-{
- Name(ON00, 0xffffffffffffffff)
-
- /*
- * Additional checking to prevent errors unrelated to this test.
- *
- * Check that exceptions initiated by some bdemo tests on the
- * global level are all actually handled and reset at this point.
- */
- CH03("", 0, 0x999, 0, 0)
-
- Store(LAnd(1, 1), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x000, 0, 0, Local0, ON00)
- }
-
- Store(LEqual(0, 0), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x001, 0, 0, Local0, ON00)
- }
-
- Store(LGreater(1, 0), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x002, 0, 0, Local0, ON00)
- }
-
- Store(LGreaterEqual(1, 1), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x003, 0, 0, Local0, ON00)
- }
-
- Store(LLess(0, 1), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x004, 0, 0, Local0, ON00)
- }
-
- Store(LLessEqual(1, 1), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x005, 0, 0, Local0, ON00)
- }
-
- Store(LNot(0), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x006, 0, 0, Local0, ON00)
- }
-
- Store(LNotEqual(1, 0), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x007, 0, 0, Local0, ON00)
- }
-
- Store(LOr(0, 1), Local0)
- if (LNotEqual(Local0, ON00)) {
- err("", zFFF, 0x008, 0, 0, Local0, ON00)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0000:
+ *
+ * SUMMARY: Logical operators return True equal to One but not Ones
+ */
+
+Method(md9a,, Serialized)
+{
+ Name(ON00, 0xffffffffffffffff)
+
+ /*
+ * Additional checking to prevent errors unrelated to this test.
+ *
+ * Check that exceptions initiated by some bdemo tests on the
+ * global level are all actually handled and reset at this point.
+ */
+ CH03("", 0, 0x999, 0, 0)
+
+ Store(LAnd(1, 1), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x000, 0, 0, Local0, ON00)
+ }
+
+ Store(LEqual(0, 0), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x001, 0, 0, Local0, ON00)
+ }
+
+ Store(LGreater(1, 0), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x002, 0, 0, Local0, ON00)
+ }
+
+ Store(LGreaterEqual(1, 1), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x003, 0, 0, Local0, ON00)
+ }
+
+ Store(LLess(0, 1), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x004, 0, 0, Local0, ON00)
+ }
+
+ Store(LLessEqual(1, 1), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x005, 0, 0, Local0, ON00)
+ }
+
+ Store(LNot(0), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x006, 0, 0, Local0, ON00)
+ }
+
+ Store(LNotEqual(1, 0), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x007, 0, 0, Local0, ON00)
+ }
+
+ Store(LOr(0, 1), Local0)
+ if (LNotEqual(Local0, ON00)) {
+ err("", zFFF, 0x008, 0, 0, Local0, ON00)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/MAIN.asl
index a28f6f5d1..9c8064c3d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B0.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0000/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0000/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B0.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0000/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0000/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/RUN.asl
index 1b32eda34..141d81972 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0000/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 0", TCLD, 0, W017)) {
- SRMT("md9a")
- md9a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 0", TCLD, 0, W017)) {
+ SRMT("md9a")
+ md9a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/DECL.asl
index cfa43eb5b..bbbf5b3ec 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/DECL.asl
@@ -1,89 +1,89 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0001:
- *
- * COMPONENT: Will not be fixed
- *
- * SUMMARY: The ASL Compiler doesn't allow non-constant TimeoutValue for Acquire
- */
-
-Method(md9b)
-{
- Name(TOUT, 0)
-
- Store(Acquire(mxd0, 0), Local0)
- if (Local0) {
- err("", zFFF, 0x000, 0, 0, 0, Local0)
- }
-
- Store(Acquire(mxd0, 0x1000), Local0)
- if (Local0) {
- err("", zFFF, 0x001, 0, 0, 0, Local0)
- }
-
- Store(0x1000, Local1)
- Store(Acquire(mxd0, Local1), Local0)
- if (Local0) {
- err("", zFFF, 0x002, 0, 0, 0, Local0)
- }
-
- Store(Acquire(mxd0, TOUT), Local0)
- if (Local0) {
- err("", zFFF, 0x003, 0, 0, 0, Local0)
- }
-}
-
-/*
-Intel ACPI Component Architecture
-ASL Optimizing Compiler version 20050930 [Oct 15 2005]
-Copyright (C) 2000 - 2005 Intel Corporation
-Supports ACPI Specification Revision 3.0
-
-../../../../runtime/cntl/common.asl 1139: switch (arg0) {
-Warning 2092 - ^ Switch expression is not a static Integer/Buffer/String data type, defaulting to Integer
-
-../../../../runtime/cntl/common.asl 1353: Switch (Local0) {
-Warning 2092 - ^ Switch expression is not a static Integer/Buffer/String data type, defaulting to Integer
-
-../../../../runtime/collections/bdemo/0001/DECL.asl 24: Store(Acquire(mxd0, Local1), Local0)
-Error 1094 - parse error ^
-
-../../../../runtime/collections/bdemo/0001/DECL.asl 24: Store(Acquire(mxd0, Local1), Local0)
-Error 1043 - Invalid type ^ ([NoReturnValue] found, Store operator requires [Integer|String|Buffer|Package|DdbHandle|Reference])
-
-../../../../runtime/collections/bdemo/0001/DECL.asl 29: Store(Acquire(mxd0, TOUT), Local0)
-Error 1094 - parse error ^
-
-../../../../runtime/collections/bdemo/0001/DECL.asl 29: Store(Acquire(mxd0, TOUT), Local0)
-Error 1043 - Invalid type ^ ([NoReturnValue] found, Store operator requires [Integer|String|Buffer|Package|DdbHandle|Reference])
-
-ASL Input: main.asl - 41 lines, 154106 bytes, 3969 keywords
-Compilation complete. 4 Errors, 2 Warnings, 0 Remarks, 1818 Optimizations
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0001:
+ *
+ * COMPONENT: Will not be fixed
+ *
+ * SUMMARY: The ASL Compiler doesn't allow non-constant TimeoutValue for Acquire
+ */
+
+Method(md9b)
+{
+ Name(TOUT, 0)
+
+ Store(Acquire(mxd0, 0), Local0)
+ if (Local0) {
+ err("", zFFF, 0x000, 0, 0, 0, Local0)
+ }
+
+ Store(Acquire(mxd0, 0x1000), Local0)
+ if (Local0) {
+ err("", zFFF, 0x001, 0, 0, 0, Local0)
+ }
+
+ Store(0x1000, Local1)
+ Store(Acquire(mxd0, Local1), Local0)
+ if (Local0) {
+ err("", zFFF, 0x002, 0, 0, 0, Local0)
+ }
+
+ Store(Acquire(mxd0, TOUT), Local0)
+ if (Local0) {
+ err("", zFFF, 0x003, 0, 0, 0, Local0)
+ }
+}
+
+/*
+Intel ACPI Component Architecture
+ASL Optimizing Compiler version 20050930 [Oct 15 2005]
+Copyright (C) 2000 - 2005 Intel Corporation
+Supports ACPI Specification Revision 3.0
+
+../../../../runtime/cntl/common.asl 1139: switch (arg0) {
+Warning 2092 - ^ Switch expression is not a static Integer/Buffer/String data type, defaulting to Integer
+
+../../../../runtime/cntl/common.asl 1353: Switch (Local0) {
+Warning 2092 - ^ Switch expression is not a static Integer/Buffer/String data type, defaulting to Integer
+
+../../../../runtime/collections/bdemo/0001/DECL.asl 24: Store(Acquire(mxd0, Local1), Local0)
+Error 1094 - parse error ^
+
+../../../../runtime/collections/bdemo/0001/DECL.asl 24: Store(Acquire(mxd0, Local1), Local0)
+Error 1043 - Invalid type ^ ([NoReturnValue] found, Store operator requires [Integer|String|Buffer|Package|DdbHandle|Reference])
+
+../../../../runtime/collections/bdemo/0001/DECL.asl 29: Store(Acquire(mxd0, TOUT), Local0)
+Error 1094 - parse error ^
+
+../../../../runtime/collections/bdemo/0001/DECL.asl 29: Store(Acquire(mxd0, TOUT), Local0)
+Error 1043 - Invalid type ^ ([NoReturnValue] found, Store operator requires [Integer|String|Buffer|Package|DdbHandle|Reference])
+
+ASL Input: main.asl - 41 lines, 154106 bytes, 3969 keywords
+Compilation complete. 4 Errors, 2 Warnings, 0 Remarks, 1818 Optimizations
*/ \ No newline at end of file
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/MAIN.asl
index 7dc3ec789..729511c0d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B1.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0001_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0001_ASL/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B1.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0001_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0001_ASL/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/RUN.asl
index 971687c28..494ad37d8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0001_ASL/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 1", TCLD, 1, W017)) {
- SRMT("md9b")
- md9b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 1", TCLD, 1, W017)) {
+ SRMT("md9b")
+ md9b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/DECL.asl
index 8944f6051..5d2e2c17e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/DECL.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0002:
- *
- * SUMMARY: The elseif operator works incorrectly
- */
-
-Method(md9c)
-{
- Store(0x55555555, Local0)
- Store(0x11111111, Local1)
-
- if (LEqual(Local1, 0)) {
- Store(0, Local0)
- } elseif (LLessEqual(Local1, 3)) {
- Store(1, Local0)
- if (LEqual(Local1, 2)) {
- Store(2, Local0)
- } else {
- Store(3, Local0)
- }
- }
-
- if (LNotEqual(Local0, 0x55555555)){
- err("", zFFF, 0x000, 0, 0, Local0, 0x55555555)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0002:
+ *
+ * SUMMARY: The elseif operator works incorrectly
+ */
+
+Method(md9c)
+{
+ Store(0x55555555, Local0)
+ Store(0x11111111, Local1)
+
+ if (LEqual(Local1, 0)) {
+ Store(0, Local0)
+ } elseif (LLessEqual(Local1, 3)) {
+ Store(1, Local0)
+ if (LEqual(Local1, 2)) {
+ Store(2, Local0)
+ } else {
+ Store(3, Local0)
+ }
+ }
+
+ if (LNotEqual(Local0, 0x55555555)){
+ err("", zFFF, 0x000, 0, 0, Local0, 0x55555555)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/MAIN.asl
index ec54a4686..f07555b67 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B2.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0002/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0002/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B2.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0002/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0002/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/RUN.asl
index 39e61fce7..eb2e4f460 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0002/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 2", TCLD, 2, W017)) {
- SRMT("md9c")
- md9c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 2", TCLD, 2, W017)) {
+ SRMT("md9c")
+ md9c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/DECL.asl
index 43fdeb8ff..423a83c4e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/DECL.asl
@@ -1,59 +1,59 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0003:
- *
- * COMPONENT: Will not be fixed
- *
- * SUMMARY: The ASL Compiler should reject Switch operators with the identical Case operators in it
- *
- * Expected: Error of iASL
- * Two the same values of Case should be reporeted as Error by iASL
- */
-
-Method(md9d, 1)
-{
- Switch (arg0) {
- case (0) {
- Store("The first case 0", Debug)
- }
- case (0) {
- Store("The second case 0", Debug)
- }
- case (1) {
- Store("The case 1", Debug)
- }
- }
-}
-
-Method(md9e)
-{
- md9d(0)
- md9d(1)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0003:
+ *
+ * COMPONENT: Will not be fixed
+ *
+ * SUMMARY: The ASL Compiler should reject Switch operators with the identical Case operators in it
+ *
+ * Expected: Error of iASL
+ * Two the same values of Case should be reporeted as Error by iASL
+ */
+
+Method(md9d, 1)
+{
+ Switch (arg0) {
+ case (0) {
+ Store("The first case 0", Debug)
+ }
+ case (0) {
+ Store("The second case 0", Debug)
+ }
+ case (1) {
+ Store("The case 1", Debug)
+ }
+ }
+}
+
+Method(md9e)
+{
+ md9d(0)
+ md9d(1)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/MAIN.asl
index 333cc0bec..4aa5c0062 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B3.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0003_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0003_ASL/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B3.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0003_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0003_ASL/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/RUN.asl
index b501da58d..a534c90d3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0003_ASL/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 3", TCLD, 3, W017)) {
- SRMT("md9e")
- md9e()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 3", TCLD, 3, W017)) {
+ SRMT("md9e")
+ md9e()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/DECL.asl
index 254e8d2f7..fed5bcec8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/DECL.asl
@@ -1,57 +1,57 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0004:
- *
- * SUMMARY: Concatenate being invoked in Method M000 changes the type of LocalX of calling Method passsed as operand to M000
- */
-
-Method(md9f, 1)
-{
- Concatenate("qwertyuiop", arg0, Local1)
-}
-
-Method(mda0)
-{
- Store(0, Local5)
-
- md9f(Local5)
-
- Store(ObjectType(Local5), Local0)
-
- if (LNotEqual(Local0, c009)){
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- }
-
- Increment(Local5)
-
- if (LNotEqual(Local5, 1)){
- err("", zFFF, 0x001, 0, 0, Local5, 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0004:
+ *
+ * SUMMARY: Concatenate being invoked in Method M000 changes the type of LocalX of calling Method passsed as operand to M000
+ */
+
+Method(md9f, 1)
+{
+ Concatenate("qwertyuiop", arg0, Local1)
+}
+
+Method(mda0)
+{
+ Store(0, Local5)
+
+ md9f(Local5)
+
+ Store(ObjectType(Local5), Local0)
+
+ if (LNotEqual(Local0, c009)){
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ }
+
+ Increment(Local5)
+
+ if (LNotEqual(Local5, 1)){
+ err("", zFFF, 0x001, 0, 0, Local5, 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/MAIN.asl
index 1169de0be..6d7ea8662 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B4.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0004/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0004/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B4.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0004/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0004/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/RUN.asl
index 59b6408b8..758f2e8e4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0004/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 4", TCLD, 4, W017)) {
- SRMT("mda0")
- mda0()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 4", TCLD, 4, W017)) {
+ SRMT("mda0")
+ mda0()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/DECL.asl
index d077dd68c..a940e10ff 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/DECL.asl
@@ -1,65 +1,65 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0005:
- *
- * SUMMARY: Switch operator doesn't provide Default branch
- *
- * Default is not yet implemented at all.
- */
-
-Method(mda1, 1, Serialized)
-{
- Store(0, Local7)
-
- Switch (ToInteger (Arg0)) {
- Case (5) {
- Store(0x1234, Local7)
- }
- Default {
- Store(0x5678, Local7)
- }
- }
-
- if (LEqual(Arg0, 5)) {
- if (LNotEqual(Local7, 0x1234)) {
- err("", zFFF, 0x000, 0, 0, Local7, 0x1234)
- }
- } else {
- if (LNotEqual(Local7, 0x5678)) {
- err("", zFFF, 0x001, 0, 0, Local7, 0x5678)
- }
- }
-}
-
-Method(mda2)
-{
- mda1(5)
- mda1(0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0005:
+ *
+ * SUMMARY: Switch operator doesn't provide Default branch
+ *
+ * Default is not yet implemented at all.
+ */
+
+Method(mda1, 1, Serialized)
+{
+ Store(0, Local7)
+
+ Switch (ToInteger (Arg0)) {
+ Case (5) {
+ Store(0x1234, Local7)
+ }
+ Default {
+ Store(0x5678, Local7)
+ }
+ }
+
+ if (LEqual(Arg0, 5)) {
+ if (LNotEqual(Local7, 0x1234)) {
+ err("", zFFF, 0x000, 0, 0, Local7, 0x1234)
+ }
+ } else {
+ if (LNotEqual(Local7, 0x5678)) {
+ err("", zFFF, 0x001, 0, 0, Local7, 0x5678)
+ }
+ }
+}
+
+Method(mda2)
+{
+ mda1(5)
+ mda1(0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/MAIN.asl
index ac270c6f0..809da50f2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B5.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0005/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0005/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B5.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0005/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0005/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/RUN.asl
index e07ae9379..89661e8b4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0005/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 5", TCLD, 5, W017)) {
- SRMT("mda2")
- mda2()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 5", TCLD, 5, W017)) {
+ SRMT("mda2")
+ mda2()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/DECL.asl
index d99a30e7e..132694d95 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/DECL.asl
@@ -1,46 +1,46 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0006:
- *
- * SUMMARY: ToInteger converts a decimal string the same way as a hexadecimal one
- */
-
-Method(mda3)
-{
- ToInteger("0x12345678", Local0)
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0x12345678)
- }
-
- ToInteger("12345678", Local0)
- if (LNotEqual(Local0, 12345678)) {
- err("", zFFF, 0x001, 0, 0, Local0, 12345678)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0006:
+ *
+ * SUMMARY: ToInteger converts a decimal string the same way as a hexadecimal one
+ */
+
+Method(mda3)
+{
+ ToInteger("0x12345678", Local0)
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0x12345678)
+ }
+
+ ToInteger("12345678", Local0)
+ if (LNotEqual(Local0, 12345678)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 12345678)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/MAIN.asl
index 99bd5ae12..815893a67 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B6.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0006/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0006/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B6.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0006/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0006/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/RUN.asl
index fd2bee7a2..35cf7aa25 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0006/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 6", TCLD, 6, W017)) {
- SRMT("mda3")
- mda3()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 6", TCLD, 6, W017)) {
+ SRMT("mda3")
+ mda3()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/DECL.asl
index 924b636d4..ab94f877f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/DECL.asl
@@ -1,46 +1,46 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0007:
- *
- * SUMMARY: ToString updates the LocalX value (if it is zero) passed as Length parameter
- */
-
-Method(mda4,, Serialized)
-{
- Name(B000, Buffer(4) {0x21, 0x21, 0x21, 0x21})
-
- Store(0, Local0)
-
- ToString(B000, Local0, Local1)
-
- if (LNotequal(Local0, 0)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0007:
+ *
+ * SUMMARY: ToString updates the LocalX value (if it is zero) passed as Length parameter
+ */
+
+Method(mda4,, Serialized)
+{
+ Name(B000, Buffer(4) {0x21, 0x21, 0x21, 0x21})
+
+ Store(0, Local0)
+
+ ToString(B000, Local0, Local1)
+
+ if (LNotequal(Local0, 0)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/MAIN.asl
index f16c9035e..09c9a7ba1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B7.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0007/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0007/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B7.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0007/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0007/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/RUN.asl
index 59167dc0c..79ce1a677 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0007/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 7", TCLD, 7, W017)) {
- SRMT("mda4")
- mda4()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 7", TCLD, 7, W017)) {
+ SRMT("mda4")
+ mda4()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/DECL.asl
index 2f5c53c5d..1baa67e57 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/DECL.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0008:
- *
- * SUMMARY: The type returned by ObjectType for Object created by Field operator is not Field
- */
-
-Method(mda5,, Serialized)
-{
- OperationRegion(r000, SystemMemory, 0x125, 256)
- Field (r000, ByteAcc, NoLock, Preserve) {f000, 32}
-
- Store(ObjectType(f000), Local0)
-
- if (LNotequal(Local0, c00d)) {
- err("", zFFF, 0x000, 0, 0, Local0, c00d)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0008:
+ *
+ * SUMMARY: The type returned by ObjectType for Object created by Field operator is not Field
+ */
+
+Method(mda5,, Serialized)
+{
+ OperationRegion(r000, SystemMemory, 0x125, 256)
+ Field (r000, ByteAcc, NoLock, Preserve) {f000, 32}
+
+ Store(ObjectType(f000), Local0)
+
+ if (LNotequal(Local0, c00d)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c00d)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/MAIN.asl
index a1f70ea22..4f3997ff9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B8.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0008/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0008/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B8.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0008/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0008/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/RUN.asl
index 012af66b7..aea1ccaeb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0008/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 8", TCLD, 8, W017)) {
- SRMT("mda5")
- mda5()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 8", TCLD, 8, W017)) {
+ SRMT("mda5")
+ mda5()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/DECL.asl
index 96c30fad7..9222e5241 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/DECL.asl
@@ -1,59 +1,59 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0009:
- *
- * SUMMARY: Exception on ObjectType passed with not initialized values (in LocalX)
- */
-
-Method(mda6)
-{
- Store(ObjectType(Local0), Local7)
- if (LNotequal(Local7, c008)) {
- err("", zFFF, 0x000, 0, 0, Local7, c008)
- }
-}
-
-Method(mda7, 1)
-{
- if (arg0) {
- Store(0, Local0)
- }
- Store(ObjectType(Local0), Local7)
- if (LNotequal(Local7, c008)) {
- err("", zFFF, 0x001, 0, 0, Local7, c008)
- }
-}
-
-Method(mda8)
-{
- mda6()
- mda7(0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0009:
+ *
+ * SUMMARY: Exception on ObjectType passed with not initialized values (in LocalX)
+ */
+
+Method(mda6)
+{
+ Store(ObjectType(Local0), Local7)
+ if (LNotequal(Local7, c008)) {
+ err("", zFFF, 0x000, 0, 0, Local7, c008)
+ }
+}
+
+Method(mda7, 1)
+{
+ if (arg0) {
+ Store(0, Local0)
+ }
+ Store(ObjectType(Local0), Local7)
+ if (LNotequal(Local7, c008)) {
+ err("", zFFF, 0x001, 0, 0, Local7, c008)
+ }
+}
+
+Method(mda8)
+{
+ mda6()
+ mda7(0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/MAIN.asl
index 26c43ac75..3b027e517 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B9.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0009/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0009/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B9.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0009/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0009/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/RUN.asl
index d9b01a94c..0f2e22b6f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0009/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 9", TCLD, 9, W017)) {
- SRMT("mda8")
- mda8()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 9", TCLD, 9, W017)) {
+ SRMT("mda8")
+ mda8()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/DECL.asl
index 22a823739..769a5b258 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/DECL.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0010:
- *
- * SUMMARY: ToBuffer transforms operand (in local variable) to reference
- */
-
-Method(mda9)
-{
- Store(Buffer(4){10, 11, 12, 13}, Local0)
-
- ToBuffer(Local0, Local1)
-
- Store(ObjectType(Local1), Local2)
- if (LNotequal(Local2, c00b)) {
- err("", zFFF, 0x000, 0, 0, Local2, c00b)
- }
- if (LNotequal(Local1, Buffer(4){10, 11, 12, 13})) {
- err("", zFFF, 0x001, 0, 0, Local1, Buffer(4){10, 11, 12, 13})
- }
-
- Store(ObjectType(Local0), Local2)
- if (LNotequal(Local2, c00b)) {
- err("", zFFF, 0x002, 0, 0, Local2, c00b)
- }
- if (LNotequal(Local0, Buffer(4){10, 11, 12, 13})) {
- err("", zFFF, 0x003, 0, 0, Local0, Buffer(4){10, 11, 12, 13})
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0010:
+ *
+ * SUMMARY: ToBuffer transforms operand (in local variable) to reference
+ */
+
+Method(mda9)
+{
+ Store(Buffer(4){10, 11, 12, 13}, Local0)
+
+ ToBuffer(Local0, Local1)
+
+ Store(ObjectType(Local1), Local2)
+ if (LNotequal(Local2, c00b)) {
+ err("", zFFF, 0x000, 0, 0, Local2, c00b)
+ }
+ if (LNotequal(Local1, Buffer(4){10, 11, 12, 13})) {
+ err("", zFFF, 0x001, 0, 0, Local1, Buffer(4){10, 11, 12, 13})
+ }
+
+ Store(ObjectType(Local0), Local2)
+ if (LNotequal(Local2, c00b)) {
+ err("", zFFF, 0x002, 0, 0, Local2, c00b)
+ }
+ if (LNotequal(Local0, Buffer(4){10, 11, 12, 13})) {
+ err("", zFFF, 0x003, 0, 0, Local0, Buffer(4){10, 11, 12, 13})
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/MAIN.asl
index 6db1e9a22..9661ab9fc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B10.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0010/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0010/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B10.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0010/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0010/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/RUN.asl
index 9923755d4..8abaaa9ee 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0010/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 10", TCLD, 10, W017)) {
- SRMT("mda9")
- mda9()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 10", TCLD, 10, W017)) {
+ SRMT("mda9")
+ mda9()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/DECL.asl
index b32f5c809..86bb402bf 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/DECL.asl
@@ -1,83 +1,83 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0011:
- *
- * SUMMARY: The ASL Compiler crashes on Create*Field for invalid FieldName parameter
- *
- * ASL-compile crashes while parsing the code below
- */
-
-Method(mdaa, 4)
-{
- // Compiler succeeds for these Create*Field
- // (FieldName specified directly):
-
- CreateBitField (arg0, arg1, bf00)
- CreateByteField (arg0, arg1, bf01)
- CreateDWordField (arg0, arg1, bf02)
- CreateField (arg0, arg1, arg2, bf03)
- CreateQWordField (arg0, arg1, bf04)
- CreateWordField (arg0, arg1, bf05)
-
-
- // Compiler crashes for each of these Create*Field
- // (FieldName specified by LocalX):
-
- Store("bf06", Local0)
- Store("bf07", Local1)
- Store("bf08", Local2)
- Store("bf09", Local3)
- Store("bf0a", Local4)
- Store("bf0b", Local5)
-
- CreateBitField (arg0, arg1, Local0)
- CreateByteField (arg0, arg1, Local1)
- CreateDWordField (arg0, arg1, Local2)
- CreateField (arg0, arg1, arg2, Local3)
- CreateQWordField (arg0, arg1, Local4)
- CreateWordField (arg0, arg1, Local5)
-
-
- // Compiler crashes for each of these Create*Field
- // (FieldName specified by ArgX):
-
- CreateBitField (arg0, arg1, arg3)
- CreateByteField (arg0, arg1, arg3)
- CreateDWordField (arg0, arg1, arg3)
- CreateField (arg0, arg1, arg2, arg3)
- CreateQWordField (arg0, arg1, arg3)
- CreateWordField (arg0, arg1, arg3)
-}
-
-Method(mdab)
-{
- Name(b000, Buffer(100){})
- mdaa(b000, 0, 0, "d000")
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0011:
+ *
+ * SUMMARY: The ASL Compiler crashes on Create*Field for invalid FieldName parameter
+ *
+ * ASL-compile crashes while parsing the code below
+ */
+
+Method(mdaa, 4)
+{
+ // Compiler succeeds for these Create*Field
+ // (FieldName specified directly):
+
+ CreateBitField (arg0, arg1, bf00)
+ CreateByteField (arg0, arg1, bf01)
+ CreateDWordField (arg0, arg1, bf02)
+ CreateField (arg0, arg1, arg2, bf03)
+ CreateQWordField (arg0, arg1, bf04)
+ CreateWordField (arg0, arg1, bf05)
+
+
+ // Compiler crashes for each of these Create*Field
+ // (FieldName specified by LocalX):
+
+ Store("bf06", Local0)
+ Store("bf07", Local1)
+ Store("bf08", Local2)
+ Store("bf09", Local3)
+ Store("bf0a", Local4)
+ Store("bf0b", Local5)
+
+ CreateBitField (arg0, arg1, Local0)
+ CreateByteField (arg0, arg1, Local1)
+ CreateDWordField (arg0, arg1, Local2)
+ CreateField (arg0, arg1, arg2, Local3)
+ CreateQWordField (arg0, arg1, Local4)
+ CreateWordField (arg0, arg1, Local5)
+
+
+ // Compiler crashes for each of these Create*Field
+ // (FieldName specified by ArgX):
+
+ CreateBitField (arg0, arg1, arg3)
+ CreateByteField (arg0, arg1, arg3)
+ CreateDWordField (arg0, arg1, arg3)
+ CreateField (arg0, arg1, arg2, arg3)
+ CreateQWordField (arg0, arg1, arg3)
+ CreateWordField (arg0, arg1, arg3)
+}
+
+Method(mdab)
+{
+ Name(b000, Buffer(100){})
+ mdaa(b000, 0, 0, "d000")
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/MAIN.asl
index a2b06ff7c..73557c3a5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0011_ASL/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B11.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0011_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0011_ASL/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B11.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0011_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0011_ASL/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DECL.asl
index 898e67ba8..61803b0d9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DECL.asl
@@ -1,43 +1,43 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0012:
- *
- * SUMMARY: DerefOf doesn't evaluate String to Object
- *
- *
- * This functionality, DerefOf passed with String,
- * should be verified comprehensively in NameSpace tests.
- */
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DataLevel10.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DataLevel20.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclUp.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclDown.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0012/Method.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0012:
+ *
+ * SUMMARY: DerefOf doesn't evaluate String to Object
+ *
+ *
+ * This functionality, DerefOf passed with String,
+ * should be verified comprehensively in NameSpace tests.
+ */
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DataLevel10.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DataLevel20.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclUp.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclDown.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0012/Method.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel10.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel10.asl
index 438439a6d..494224040 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel10.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel10.asl
@@ -1,612 +1,612 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * 1-level model: \\<Method>
- *
- * Data for DerefOf(<String>) are 0 levels up.
- * (data being referred are in the same Method which
- * initiates DerefOf(<String>)).
- *
- * DataLevel<number_of_levels_in_model><data_are_N_levels_up>.asl
- *
- *
- * 1. mfa0:
- * see mfa0 - after bug fix add checking of values of UnitFields not only type checks
- */
-
-
-/*
- * 0 - Check different ways to pass String
- */
-Method(mdac,, Serialized)
-{
- Method(mm00)
- {
- Return("b000")
- }
-
- Method(mm01, 1)
- {
- Return(arg0)
- }
-
- Method(mm02, 1)
- {
- Store(DerefOf(arg0), Local7)
-
- Return(Local7)
- }
-
- Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s000, "b000")
- Name(ss00, "b000")
- Name(i000, 0)
-
- Store("b000", Local0)
- CopyObject("b000", i000)
- Store(s000, Local7)
-
- // Checkings
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(DerefOf("b000"), Local1)
- mf88(Local1, c00b, bb00, 0x001, 0x002, 1)
-
- Store(DerefOf(Local0), Local1)
- mf88(Local1, c00b, bb00, 0x003, 0x004, 1)
-
- Store(DerefOf(Local7), Local1)
- mf88(Local1, c00b, bb00, 0x005, 0x006, 1)
-
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- mf88(Local1, c00b, bb00, 0x007, 0x008, 1)
-
- Store(DerefOf(mm00()), Local1)
- mf88(Local1, c00b, bb00, 0x009, 0x00a, 1)
-
- Store(DerefOf(mm01(ss00)), Local1)
- mf88(Local1, c00b, bb00, 0x00b, 0x00c, 1)
-
- Store(DerefOf(ToString("b000")), Local1)
- mf88(Local1, c00b, bb00, 0x00d, 0x00e, 1)
-
- Store(DerefOf(Store("b000", Local6)), Local1)
- mf88(Local1, c00b, bb00, 0x00f, 0x010, 1)
-
- Store(DerefOf(i000), Local1)
- mf88(Local1, c00b, bb00, 0x011, 0x012, 1)
-
- Store(mm02("^b000"), Local1)
- mf88(Local1, c00b, bb00, 0x013, 0x014, 1)
-
- CH03("", 0, 0x015, 0, 0)
-}
-
-/*
- * 1 - Check different ways to specify elements of NameSpace
- */
-Method(mf89,, Serialized)
-{
- Name(i010, 0xaabc0123)
- Processor(pr01, 0, 0xFFFFFFFF, 0)
- {
- Name(i000, 0xaabc0000)
- }
- Name(ii00, 0xaabc0123)
-
- Name(b001, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb01, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
-
- // Checkings
-
- Store(DerefOf("b001"), Local1)
- mf88(Local1, c00b, bb01, 0x000, 0x001, 1)
-
- Store(DerefOf("^mf89.b001"), Local1)
- if (FLG9) {
- mf88(Local1, c00b, bb01, 0x002, 0x003, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x004, 0, 0)
- }
-
- Store(DerefOf("^mf89.pr01.i000"), Local1)
- if (FLG9) {
- mf88(Local1, c009, 0xaabc0000, 0x005, 0x006, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x007, 0, 0)
- }
-
- Store(DerefOf("\\mf89.pr01.i000"), Local1)
- if (FLG9) {
- mf88(Local1, c009, 0xaabc0000, 0x008, 0x009, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_NOT_FOUND
- }
-
- Store(DerefOf("^mf89.i010"), Local1)
- if (FLG9) {
- mf88(Local1, c009, ii00, 0x00b, 0x00c, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x00d, 0, 0) // AE_NOT_FOUND
- }
-
- CH03("", 0, 0x00e, 0, 0)
-}
-
-/*
- * 2 - Check access to calculated type objects - DerefOf(<String>)
- */
-Method(mf8a,, Serialized)
-{
- Name(b002, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb02, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s002, "String")
- Name(ss02, "String")
- Name(i002, 0xabbc0000)
- Name(ii02, 0xabbc0000)
- Name(p002, Package() {1,2,3,4})
-
- CH03("", 0, 0x01f, 0, 0)
-
- // Checkings
-
- Store(DerefOf("b002"), Local1)
- mf88(Local1, c00b, bb02, 0x020, 0x021, 1)
-
- Store(DerefOf("s002"), Local1)
- mf88(Local1, c00a, ss02, 0x022, 0x023, 1)
-
- Store(DerefOf("i002"), Local1)
- mf88(Local1, c009, ii02, 0x024, 0x025, 1)
-
- Store(DerefOf("p002"), Local1)
- mf88(Local1, c00c, 0, 0x026, 0x027, 0)
-
- CH03("", 0, 0x028, 0, 0)
-}
-
-/*
- * 3 - Check access to special type objects - DerefOf(<String>)
- */
-Method(mf8b,, Serialized)
-{
- Event(e003)
- Mutex(mx03, 0)
- Device(d003) { Name(i900, 0xabcd0017) }
- ThermalZone(tz03) {}
- Processor(pr03, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r003, SystemMemory, 0x100, 0x100)
- PowerResource(pw03, 1, 0) {Method(mmmm){return (0)}}
-
- // Checkings
-
- CH03("", 0, 0x029, 0, 0)
- CopyObject(DerefOf("e003"), Local1)
- mf88(Local1, c00f, 0, 0x02a, 0x02b, 0)
-
- CH03("", 0, 0x02c, 0, 0)
- CopyObject(DerefOf("mx03"), Local1)
- mf88(Local1, c011, 0, 0x02d, 0x02e, 0)
-
- CH03("", 0, 0x02f, 0, 0)
- CopyObject(DerefOf("d003"), Local1)
- mf88(Local1, c00e, 0, 0x030, 0x031, 0)
-
- CH03("", 0, 0x032, 0, 0)
- CopyObject(DerefOf("tz03"), Local1)
- mf88(Local1, c015, 0, 0x033, 0x034, 0)
-
- CH03("", 0, 0x035, 0, 0)
- CopyObject(DerefOf("pr03"), Local1)
- mf88(Local1, c014, 0, 0x036, 0x037, 0)
-
- if (y510) {
- CH03("", 0, 0x038, 0, 0)
- CopyObject(DerefOf("r003"), Local1)
- mf88(Local1, c012, 0, 0x039, 0x03a, 0)
- }
-
- CH03("", 0, 0x03b, 0, 0)
- CopyObject(DerefOf("pw03"), Local1)
- mf88(Local1, c013, 0, 0x03c, 0x03d, 0)
-}
-
-/*
- * 4 - Check DerefOf(<Not-String>) - calculated type objects
- */
-Method(mf8c,, Serialized)
-{
- Name(b004, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i004, 0xabbc0000)
- Name(p004, Package() {1,2,3,4})
-
- // Checkings
-
- CH03("", 0, 0x03e, 0, 0)
- Store(DerefOf(b004), Local1)
- CH04("", 0, 0xff, 0, 0x03f, 0, 0)
-
- CH03("", 0, 0x040, 0, 0)
- Store(DerefOf(i004), Local1)
- CH04("", 0, 0xff, 0, 0x041, 0, 0)
-
- CH03("", 0, 0x042, 0, 0)
- Store(DerefOf(p004), Local1)
- CH04("", 0, 0xff, 0, 0x043, 0, 0)
-}
-
-/*
- * 5 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
- */
-Method(mf8d)
-{
- CH03("", 0, 0x044, 0, 0)
- Store(DerefOf("0123"), Local1)
- CH04("", 0, 0xff, 0, 0x045, 0, 0)
-
- CH03("", 0, 0x046, 0, 0)
- Store(DerefOf("zxcvbnm,./;'\][0123"), Local1)
- CH04("", 0, 0xff, 0, 0x047, 0, 0)
-
- CH03("", 0, 0x048, 0, 0)
- Store(DerefOf("b0qv"), Local1)
- CH04("", 0, 0xff, 0, 0x049, 0, 0)
-}
-
-/*
- * 6 - Check different ways to pass String (mdac
- * but without Store). Check - no exceptions.
- */
-Method(mf8e,, Serialized)
-{
- Method(mm60)
- {
- Return("b006")
- }
-
- Method(mm61, 1)
- {
- Return(arg0)
- }
-
- Name(b006, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb06, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s006, "b006")
- Name(ss06, "b006")
- Name(i006, 0)
-
-
- Store("b006", Local0)
- CopyObject("b006", i006)
- Store(s006, Local7)
-
- // Checkings
-
- CH03("", 0, 0x04a, 0, 0)
-
- Store(DerefOf("b006"), Local2)
-
- Store(DerefOf(Local0), Local2)
-
- Store(DerefOf(Local7), Local2)
-
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
-
- Store(DerefOf(mm60()), Local2)
-
- Store(DerefOf(mm61(ss06)), Local2)
-
- Store(DerefOf(ToString("b006")), Local2)
-
- Store(DerefOf(Store("b006", Local6)), Local2)
-
- Store(DerefOf(i006), Local2)
-
- CH03("", 0, 0x04b, 0, 0)
-}
-
-/*
- * 7 - Check access to special type objects - DerefOf(<String>)
- */
-Method(mf8f,, Serialized)
-{
- Event(e007)
- Mutex(mx07, 0)
- Device(d007) { Name(i900, 0xabcd0017) }
- ThermalZone(tz07) {}
- Processor(pr07, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r007, SystemMemory, 0x100, 0x100)
- PowerResource(pw07, 1, 0) {Method(mmmm){return (0)}}
-
- // Checkings
-
- CH03("", 0, 0x04c, 0, 0)
- Store(DerefOf("e007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x04d, 0, 0)
- }
-
- CH03("", 0, 0x04e, 0, 0)
- Store(DerefOf("mx07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x04f, 0, 0)
- }
-
- CH03("", 0, 0x050, 0, 0)
- Store(DerefOf("d007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x051, 0, 0)
- }
-
- CH03("", 0, 0x052, 0, 0)
- Store(DerefOf("tz07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x053, 0, 0)
- }
-
- CH03("", 0, 0x054, 0, 0)
- Store(DerefOf("pr07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x055, 0, 0)
- }
-
- CH03("", 0, 0x056, 0, 0)
- Store(DerefOf("r007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x057, 0, 0)
- }
-
- CH03("", 0, 0x058, 0, 0)
- Store(DerefOf("pw07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x059, 0, 0)
- }
-}
-
-/*
- * 8 - Check DerefOf(<Not-String>) - calculated type objects
- */
-Method(mf90,, Serialized)
-{
- Name(b008, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i008, 0xabbc0000)
- Name(p008, Package() {1,2,3,4})
-
- // Checkings
-
- CH03("", 0, 0x05a, 0, 0)
- Store(DerefOf(b008), Local2)
- CH04("", 0, 0xff, 0, 0x05b, 0, 0)
-
- CH03("", 0, 0x05c, 0, 0)
- Store(DerefOf(i008), Local2)
- CH04("", 0, 0xff, 0, 0x05d, 0, 0)
-
- CH03("", 0, 0x05e, 0, 0)
- Store(DerefOf(p008), Local2)
- CH04("", 0, 0xff, 0, 0x05f, 0, 0)
-}
-
-/*
- * 9 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
- */
-Method(mf91)
-{
- CH03("", 0, 0x060, 0, 0)
- Store(DerefOf("0123"), Local2)
- CH04("", 0, 0xff, 0, 0x061, 0, 0)
-
- CH03("", 0, 0x062, 0, 0)
- Store(DerefOf("zxcvbnm,./;'\][0123"), Local2)
- CH04("", 0, 0xff, 0, 0x063, 0, 0)
-
- CH03("", 0, 0x064, 0, 0)
- Store(DerefOf("mf_d"), Local2)
- CH04("", 0, 0xff, 0, 0x065, 0, 0)
-
- CH03("", 0, 0x066, 0, 0)
- Store(DerefOf("b009"), Local2)
- CH04("", 0, 0xff, 0, 0x067, 0, 0)
-}
-
-/*
- * a - Check access to special type objects - DerefOf(<String>)
- */
-Method(mfa0,, Serialized)
-{
- Name(b00a, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r00a, SystemMemory, 0x100, 0x100)
-
- CreateField(b00a, 8, 8, bfa0)
- Field(r00a, ByteAcc, NoLock, Preserve) {f0a0,8,f0a1,8,f0a2,8,f0a3,8}
- BankField(r00a, f0a1, 0, ByteAcc, NoLock, Preserve) {bna0,4}
- IndexField(f0a2, f0a3, ByteAcc, NoLock, Preserve) {ifa0,8,ifa1,8}
-
- CH03("", 0, 0x068, 0, 0)
-
- Store(DerefOf("bfa0"), Local1)
- mf88(Local1, c009, 0xb1, 0x069, 0x06a, 1)
-
- Store(DerefOf("f0a0"), Local1)
- mf88(Local1, c009, 0, 0x06b, 0x06c, 0)
-
- Store(DerefOf("f0a1"), Local1)
- mf88(Local1, c009, 0, 0x06d, 0x06e, 0)
-
- Store(DerefOf("f0a2"), Local1)
- mf88(Local1, c009, 0, 0x06f, 0x070, 0)
-
- Store(DerefOf("f0a3"), Local1)
- mf88(Local1, c009, 0, 0x071, 0x072, 0)
-
- Store(DerefOf("bna0"), Local1)
- mf88(Local1, c009, 0, 0x073, 0x074, 0)
-
- Store(DerefOf("ifa0"), Local1)
- mf88(Local1, c009, 0, 0x075, 0x076, 0)
-
- Store(DerefOf("ifa1"), Local1)
- mf88(Local1, c009, 0, 0x077, 0x078, 0)
-
- CH03("", 0, 0x079, 0, 0)
-}
-
-// b
-Method(mfa1,, Serialized)
-{
- Name(b00b, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r00b, SystemMemory, 0x100, 0x100)
-
- CreateField(b00b, 8, 8, bfb0)
- Field(r00b, ByteAcc, NoLock, Preserve) {f0b0,8,f0b1,8,f0b2,8,f0b3,8}
- BankField(r00b, f0b1, 0, ByteAcc, NoLock, Preserve) {bnb0,4}
- IndexField(f0b2, f0b3, ByteAcc, NoLock, Preserve) {ifb0,8,ifb1,8}
-
- CH03("", 0, 0x07a, 0, 0)
- Store(DerefOf(bfb0), Local1)
- CH04("", 0, 0xff, 0, 0x07b, 0, 0)
-
- CH03("", 0, 0x07c, 0, 0)
- Store(DerefOf(f0b0), Local1)
- CH04("", 0, 0xff, 0, 0x07d, 0, 0)
-
- CH03("", 0, 0x07e, 0, 0)
- Store(DerefOf(f0b1), Local1)
- CH04("", 0, 0xff, 0, 0x07f, 0, 0)
-
- CH03("", 0, 0x080, 0, 0)
- Store(DerefOf(f0b2), Local1)
- CH04("", 0, 0xff, 0, 0x081, 0, 0)
-
- CH03("", 0, 0x082, 0, 0)
- Store(DerefOf(f0b3), Local1)
- CH04("", 0, 0xff, 0, 0x083, 0, 0)
-
- CH03("", 0, 0x084, 0, 0)
- Store(DerefOf(bnb0), Local1)
- CH04("", 0, 0xff, 0, 0x085, 0, 0)
-
- CH03("", 0, 0x086, 0, 0)
- Store(DerefOf(ifb0), Local1)
- CH04("", 0, 0xff, 0, 0x087, 0, 0)
-
- CH03("", 0, 0x088, 0, 0)
- Store(DerefOf(ifb1), Local1)
- CH04("", 0, 0xff, 0, 0x089, 0, 0)
-}
-
-// c
-Method(mfa2,, Serialized)
-{
- Event(e00c)
- Mutex(mx0c, 0)
- Device(d00c) { Name(i900, 0xabcd0017) }
- ThermalZone(tz0c) {}
- Processor(pr0c, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r00c, SystemMemory, 0x100, 0x100)
- PowerResource(pw0c, 1, 0) {Method(mmmm){return (0)}}
-
- // Checkings
-
- CH03("", 0, 0x08a, 0, 0)
- Store(DerefOf(e00c), Local2)
- CH04("", 0, 0xff, 0, 0x08b, 0, 0)
-
- CH03("", 0, 0x08c, 0, 0)
- Store(DerefOf(mx0c), Local2)
- CH04("", 0, 0xff, 0, 0x08d, 0, 0)
-
- CH03("", 0, 0x08e, 0, 0)
- Store(DerefOf(d00c), Local2)
- CH04("", 0, 0xff, 0, 0x08f, 0, 0)
-
- CH03("", 0, 0x090, 0, 0)
- Store(DerefOf(tz0c), Local2)
- CH04("", 0, 0xff, 0, 0x091, 0, 0)
-
- CH03("", 0, 0x092, 0, 0)
- Store(DerefOf(pr0c), Local2)
- CH04("", 0, 0xff, 0, 0x093, 0, 0)
-
- CH03("", 0, 0x094, 0, 0)
- Store(DerefOf(r00c), Local2)
- CH04("", 0, 0xff, 0, 0x095, 0, 0)
-
- CH03("", 0, 0x096, 0, 0)
- Store(DerefOf(pw0c), Local2)
- CH04("", 0, 0xff, 0, 0x097, 0, 0)
-}
-
-Method(m12a)
-{
- SRMT("mdac-10")
- mdac()
- SRMT("mf89-10")
- mf89()
- SRMT("mf8a-10")
- mf8a()
- SRMT("mf8b-10")
- mf8b()
- SRMT("mf8c-10")
- mf8c()
- SRMT("mf8d-10")
- mf8d()
- SRMT("mf8e-10")
- mf8e()
- SRMT("mf8f-10")
- mf8f()
- SRMT("mf90-10")
- mf90()
- SRMT("mf91-10")
- mf91()
- SRMT("mfa0-10")
- mfa0()
- SRMT("mfa1-10")
- mfa1()
- SRMT("mfa2-10")
- mfa2()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * 1-level model: \\<Method>
+ *
+ * Data for DerefOf(<String>) are 0 levels up.
+ * (data being referred are in the same Method which
+ * initiates DerefOf(<String>)).
+ *
+ * DataLevel<number_of_levels_in_model><data_are_N_levels_up>.asl
+ *
+ *
+ * 1. mfa0:
+ * see mfa0 - after bug fix add checking of values of UnitFields not only type checks
+ */
+
+
+/*
+ * 0 - Check different ways to pass String
+ */
+Method(mdac,, Serialized)
+{
+ Method(mm00)
+ {
+ Return("b000")
+ }
+
+ Method(mm01, 1)
+ {
+ Return(arg0)
+ }
+
+ Method(mm02, 1)
+ {
+ Store(DerefOf(arg0), Local7)
+
+ Return(Local7)
+ }
+
+ Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s000, "b000")
+ Name(ss00, "b000")
+ Name(i000, 0)
+
+ Store("b000", Local0)
+ CopyObject("b000", i000)
+ Store(s000, Local7)
+
+ // Checkings
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(DerefOf("b000"), Local1)
+ mf88(Local1, c00b, bb00, 0x001, 0x002, 1)
+
+ Store(DerefOf(Local0), Local1)
+ mf88(Local1, c00b, bb00, 0x003, 0x004, 1)
+
+ Store(DerefOf(Local7), Local1)
+ mf88(Local1, c00b, bb00, 0x005, 0x006, 1)
+
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ mf88(Local1, c00b, bb00, 0x007, 0x008, 1)
+
+ Store(DerefOf(mm00()), Local1)
+ mf88(Local1, c00b, bb00, 0x009, 0x00a, 1)
+
+ Store(DerefOf(mm01(ss00)), Local1)
+ mf88(Local1, c00b, bb00, 0x00b, 0x00c, 1)
+
+ Store(DerefOf(ToString("b000")), Local1)
+ mf88(Local1, c00b, bb00, 0x00d, 0x00e, 1)
+
+ Store(DerefOf(Store("b000", Local6)), Local1)
+ mf88(Local1, c00b, bb00, 0x00f, 0x010, 1)
+
+ Store(DerefOf(i000), Local1)
+ mf88(Local1, c00b, bb00, 0x011, 0x012, 1)
+
+ Store(mm02("^b000"), Local1)
+ mf88(Local1, c00b, bb00, 0x013, 0x014, 1)
+
+ CH03("", 0, 0x015, 0, 0)
+}
+
+/*
+ * 1 - Check different ways to specify elements of NameSpace
+ */
+Method(mf89,, Serialized)
+{
+ Name(i010, 0xaabc0123)
+ Processor(pr01, 0, 0xFFFFFFFF, 0)
+ {
+ Name(i000, 0xaabc0000)
+ }
+ Name(ii00, 0xaabc0123)
+
+ Name(b001, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb01, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+
+ // Checkings
+
+ Store(DerefOf("b001"), Local1)
+ mf88(Local1, c00b, bb01, 0x000, 0x001, 1)
+
+ Store(DerefOf("^mf89.b001"), Local1)
+ if (FLG9) {
+ mf88(Local1, c00b, bb01, 0x002, 0x003, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x004, 0, 0)
+ }
+
+ Store(DerefOf("^mf89.pr01.i000"), Local1)
+ if (FLG9) {
+ mf88(Local1, c009, 0xaabc0000, 0x005, 0x006, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x007, 0, 0)
+ }
+
+ Store(DerefOf("\\mf89.pr01.i000"), Local1)
+ if (FLG9) {
+ mf88(Local1, c009, 0xaabc0000, 0x008, 0x009, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_NOT_FOUND
+ }
+
+ Store(DerefOf("^mf89.i010"), Local1)
+ if (FLG9) {
+ mf88(Local1, c009, ii00, 0x00b, 0x00c, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x00d, 0, 0) // AE_NOT_FOUND
+ }
+
+ CH03("", 0, 0x00e, 0, 0)
+}
+
+/*
+ * 2 - Check access to calculated type objects - DerefOf(<String>)
+ */
+Method(mf8a,, Serialized)
+{
+ Name(b002, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb02, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s002, "String")
+ Name(ss02, "String")
+ Name(i002, 0xabbc0000)
+ Name(ii02, 0xabbc0000)
+ Name(p002, Package() {1,2,3,4})
+
+ CH03("", 0, 0x01f, 0, 0)
+
+ // Checkings
+
+ Store(DerefOf("b002"), Local1)
+ mf88(Local1, c00b, bb02, 0x020, 0x021, 1)
+
+ Store(DerefOf("s002"), Local1)
+ mf88(Local1, c00a, ss02, 0x022, 0x023, 1)
+
+ Store(DerefOf("i002"), Local1)
+ mf88(Local1, c009, ii02, 0x024, 0x025, 1)
+
+ Store(DerefOf("p002"), Local1)
+ mf88(Local1, c00c, 0, 0x026, 0x027, 0)
+
+ CH03("", 0, 0x028, 0, 0)
+}
+
+/*
+ * 3 - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mf8b,, Serialized)
+{
+ Event(e003)
+ Mutex(mx03, 0)
+ Device(d003) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz03) {}
+ Processor(pr03, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r003, SystemMemory, 0x100, 0x100)
+ PowerResource(pw03, 1, 0) {Method(mmmm){return (0)}}
+
+ // Checkings
+
+ CH03("", 0, 0x029, 0, 0)
+ CopyObject(DerefOf("e003"), Local1)
+ mf88(Local1, c00f, 0, 0x02a, 0x02b, 0)
+
+ CH03("", 0, 0x02c, 0, 0)
+ CopyObject(DerefOf("mx03"), Local1)
+ mf88(Local1, c011, 0, 0x02d, 0x02e, 0)
+
+ CH03("", 0, 0x02f, 0, 0)
+ CopyObject(DerefOf("d003"), Local1)
+ mf88(Local1, c00e, 0, 0x030, 0x031, 0)
+
+ CH03("", 0, 0x032, 0, 0)
+ CopyObject(DerefOf("tz03"), Local1)
+ mf88(Local1, c015, 0, 0x033, 0x034, 0)
+
+ CH03("", 0, 0x035, 0, 0)
+ CopyObject(DerefOf("pr03"), Local1)
+ mf88(Local1, c014, 0, 0x036, 0x037, 0)
+
+ if (y510) {
+ CH03("", 0, 0x038, 0, 0)
+ CopyObject(DerefOf("r003"), Local1)
+ mf88(Local1, c012, 0, 0x039, 0x03a, 0)
+ }
+
+ CH03("", 0, 0x03b, 0, 0)
+ CopyObject(DerefOf("pw03"), Local1)
+ mf88(Local1, c013, 0, 0x03c, 0x03d, 0)
+}
+
+/*
+ * 4 - Check DerefOf(<Not-String>) - calculated type objects
+ */
+Method(mf8c,, Serialized)
+{
+ Name(b004, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i004, 0xabbc0000)
+ Name(p004, Package() {1,2,3,4})
+
+ // Checkings
+
+ CH03("", 0, 0x03e, 0, 0)
+ Store(DerefOf(b004), Local1)
+ CH04("", 0, 0xff, 0, 0x03f, 0, 0)
+
+ CH03("", 0, 0x040, 0, 0)
+ Store(DerefOf(i004), Local1)
+ CH04("", 0, 0xff, 0, 0x041, 0, 0)
+
+ CH03("", 0, 0x042, 0, 0)
+ Store(DerefOf(p004), Local1)
+ CH04("", 0, 0xff, 0, 0x043, 0, 0)
+}
+
+/*
+ * 5 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
+ */
+Method(mf8d)
+{
+ CH03("", 0, 0x044, 0, 0)
+ Store(DerefOf("0123"), Local1)
+ CH04("", 0, 0xff, 0, 0x045, 0, 0)
+
+ CH03("", 0, 0x046, 0, 0)
+ Store(DerefOf("zxcvbnm,./;'\][0123"), Local1)
+ CH04("", 0, 0xff, 0, 0x047, 0, 0)
+
+ CH03("", 0, 0x048, 0, 0)
+ Store(DerefOf("b0qv"), Local1)
+ CH04("", 0, 0xff, 0, 0x049, 0, 0)
+}
+
+/*
+ * 6 - Check different ways to pass String (mdac
+ * but without Store). Check - no exceptions.
+ */
+Method(mf8e,, Serialized)
+{
+ Method(mm60)
+ {
+ Return("b006")
+ }
+
+ Method(mm61, 1)
+ {
+ Return(arg0)
+ }
+
+ Name(b006, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb06, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s006, "b006")
+ Name(ss06, "b006")
+ Name(i006, 0)
+
+
+ Store("b006", Local0)
+ CopyObject("b006", i006)
+ Store(s006, Local7)
+
+ // Checkings
+
+ CH03("", 0, 0x04a, 0, 0)
+
+ Store(DerefOf("b006"), Local2)
+
+ Store(DerefOf(Local0), Local2)
+
+ Store(DerefOf(Local7), Local2)
+
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+
+ Store(DerefOf(mm60()), Local2)
+
+ Store(DerefOf(mm61(ss06)), Local2)
+
+ Store(DerefOf(ToString("b006")), Local2)
+
+ Store(DerefOf(Store("b006", Local6)), Local2)
+
+ Store(DerefOf(i006), Local2)
+
+ CH03("", 0, 0x04b, 0, 0)
+}
+
+/*
+ * 7 - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mf8f,, Serialized)
+{
+ Event(e007)
+ Mutex(mx07, 0)
+ Device(d007) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz07) {}
+ Processor(pr07, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r007, SystemMemory, 0x100, 0x100)
+ PowerResource(pw07, 1, 0) {Method(mmmm){return (0)}}
+
+ // Checkings
+
+ CH03("", 0, 0x04c, 0, 0)
+ Store(DerefOf("e007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x04d, 0, 0)
+ }
+
+ CH03("", 0, 0x04e, 0, 0)
+ Store(DerefOf("mx07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x04f, 0, 0)
+ }
+
+ CH03("", 0, 0x050, 0, 0)
+ Store(DerefOf("d007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x051, 0, 0)
+ }
+
+ CH03("", 0, 0x052, 0, 0)
+ Store(DerefOf("tz07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x053, 0, 0)
+ }
+
+ CH03("", 0, 0x054, 0, 0)
+ Store(DerefOf("pr07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x055, 0, 0)
+ }
+
+ CH03("", 0, 0x056, 0, 0)
+ Store(DerefOf("r007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x057, 0, 0)
+ }
+
+ CH03("", 0, 0x058, 0, 0)
+ Store(DerefOf("pw07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x059, 0, 0)
+ }
+}
+
+/*
+ * 8 - Check DerefOf(<Not-String>) - calculated type objects
+ */
+Method(mf90,, Serialized)
+{
+ Name(b008, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i008, 0xabbc0000)
+ Name(p008, Package() {1,2,3,4})
+
+ // Checkings
+
+ CH03("", 0, 0x05a, 0, 0)
+ Store(DerefOf(b008), Local2)
+ CH04("", 0, 0xff, 0, 0x05b, 0, 0)
+
+ CH03("", 0, 0x05c, 0, 0)
+ Store(DerefOf(i008), Local2)
+ CH04("", 0, 0xff, 0, 0x05d, 0, 0)
+
+ CH03("", 0, 0x05e, 0, 0)
+ Store(DerefOf(p008), Local2)
+ CH04("", 0, 0xff, 0, 0x05f, 0, 0)
+}
+
+/*
+ * 9 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
+ */
+Method(mf91)
+{
+ CH03("", 0, 0x060, 0, 0)
+ Store(DerefOf("0123"), Local2)
+ CH04("", 0, 0xff, 0, 0x061, 0, 0)
+
+ CH03("", 0, 0x062, 0, 0)
+ Store(DerefOf("zxcvbnm,./;'\][0123"), Local2)
+ CH04("", 0, 0xff, 0, 0x063, 0, 0)
+
+ CH03("", 0, 0x064, 0, 0)
+ Store(DerefOf("mf_d"), Local2)
+ CH04("", 0, 0xff, 0, 0x065, 0, 0)
+
+ CH03("", 0, 0x066, 0, 0)
+ Store(DerefOf("b009"), Local2)
+ CH04("", 0, 0xff, 0, 0x067, 0, 0)
+}
+
+/*
+ * a - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mfa0,, Serialized)
+{
+ Name(b00a, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r00a, SystemMemory, 0x100, 0x100)
+
+ CreateField(b00a, 8, 8, bfa0)
+ Field(r00a, ByteAcc, NoLock, Preserve) {f0a0,8,f0a1,8,f0a2,8,f0a3,8}
+ BankField(r00a, f0a1, 0, ByteAcc, NoLock, Preserve) {bna0,4}
+ IndexField(f0a2, f0a3, ByteAcc, NoLock, Preserve) {ifa0,8,ifa1,8}
+
+ CH03("", 0, 0x068, 0, 0)
+
+ Store(DerefOf("bfa0"), Local1)
+ mf88(Local1, c009, 0xb1, 0x069, 0x06a, 1)
+
+ Store(DerefOf("f0a0"), Local1)
+ mf88(Local1, c009, 0, 0x06b, 0x06c, 0)
+
+ Store(DerefOf("f0a1"), Local1)
+ mf88(Local1, c009, 0, 0x06d, 0x06e, 0)
+
+ Store(DerefOf("f0a2"), Local1)
+ mf88(Local1, c009, 0, 0x06f, 0x070, 0)
+
+ Store(DerefOf("f0a3"), Local1)
+ mf88(Local1, c009, 0, 0x071, 0x072, 0)
+
+ Store(DerefOf("bna0"), Local1)
+ mf88(Local1, c009, 0, 0x073, 0x074, 0)
+
+ Store(DerefOf("ifa0"), Local1)
+ mf88(Local1, c009, 0, 0x075, 0x076, 0)
+
+ Store(DerefOf("ifa1"), Local1)
+ mf88(Local1, c009, 0, 0x077, 0x078, 0)
+
+ CH03("", 0, 0x079, 0, 0)
+}
+
+// b
+Method(mfa1,, Serialized)
+{
+ Name(b00b, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r00b, SystemMemory, 0x100, 0x100)
+
+ CreateField(b00b, 8, 8, bfb0)
+ Field(r00b, ByteAcc, NoLock, Preserve) {f0b0,8,f0b1,8,f0b2,8,f0b3,8}
+ BankField(r00b, f0b1, 0, ByteAcc, NoLock, Preserve) {bnb0,4}
+ IndexField(f0b2, f0b3, ByteAcc, NoLock, Preserve) {ifb0,8,ifb1,8}
+
+ CH03("", 0, 0x07a, 0, 0)
+ Store(DerefOf(bfb0), Local1)
+ CH04("", 0, 0xff, 0, 0x07b, 0, 0)
+
+ CH03("", 0, 0x07c, 0, 0)
+ Store(DerefOf(f0b0), Local1)
+ CH04("", 0, 0xff, 0, 0x07d, 0, 0)
+
+ CH03("", 0, 0x07e, 0, 0)
+ Store(DerefOf(f0b1), Local1)
+ CH04("", 0, 0xff, 0, 0x07f, 0, 0)
+
+ CH03("", 0, 0x080, 0, 0)
+ Store(DerefOf(f0b2), Local1)
+ CH04("", 0, 0xff, 0, 0x081, 0, 0)
+
+ CH03("", 0, 0x082, 0, 0)
+ Store(DerefOf(f0b3), Local1)
+ CH04("", 0, 0xff, 0, 0x083, 0, 0)
+
+ CH03("", 0, 0x084, 0, 0)
+ Store(DerefOf(bnb0), Local1)
+ CH04("", 0, 0xff, 0, 0x085, 0, 0)
+
+ CH03("", 0, 0x086, 0, 0)
+ Store(DerefOf(ifb0), Local1)
+ CH04("", 0, 0xff, 0, 0x087, 0, 0)
+
+ CH03("", 0, 0x088, 0, 0)
+ Store(DerefOf(ifb1), Local1)
+ CH04("", 0, 0xff, 0, 0x089, 0, 0)
+}
+
+// c
+Method(mfa2,, Serialized)
+{
+ Event(e00c)
+ Mutex(mx0c, 0)
+ Device(d00c) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz0c) {}
+ Processor(pr0c, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r00c, SystemMemory, 0x100, 0x100)
+ PowerResource(pw0c, 1, 0) {Method(mmmm){return (0)}}
+
+ // Checkings
+
+ CH03("", 0, 0x08a, 0, 0)
+ Store(DerefOf(e00c), Local2)
+ CH04("", 0, 0xff, 0, 0x08b, 0, 0)
+
+ CH03("", 0, 0x08c, 0, 0)
+ Store(DerefOf(mx0c), Local2)
+ CH04("", 0, 0xff, 0, 0x08d, 0, 0)
+
+ CH03("", 0, 0x08e, 0, 0)
+ Store(DerefOf(d00c), Local2)
+ CH04("", 0, 0xff, 0, 0x08f, 0, 0)
+
+ CH03("", 0, 0x090, 0, 0)
+ Store(DerefOf(tz0c), Local2)
+ CH04("", 0, 0xff, 0, 0x091, 0, 0)
+
+ CH03("", 0, 0x092, 0, 0)
+ Store(DerefOf(pr0c), Local2)
+ CH04("", 0, 0xff, 0, 0x093, 0, 0)
+
+ CH03("", 0, 0x094, 0, 0)
+ Store(DerefOf(r00c), Local2)
+ CH04("", 0, 0xff, 0, 0x095, 0, 0)
+
+ CH03("", 0, 0x096, 0, 0)
+ Store(DerefOf(pw0c), Local2)
+ CH04("", 0, 0xff, 0, 0x097, 0, 0)
+}
+
+Method(m12a)
+{
+ SRMT("mdac-10")
+ mdac()
+ SRMT("mf89-10")
+ mf89()
+ SRMT("mf8a-10")
+ mf8a()
+ SRMT("mf8b-10")
+ mf8b()
+ SRMT("mf8c-10")
+ mf8c()
+ SRMT("mf8d-10")
+ mf8d()
+ SRMT("mf8e-10")
+ mf8e()
+ SRMT("mf8f-10")
+ mf8f()
+ SRMT("mf90-10")
+ mf90()
+ SRMT("mf91-10")
+ mf91()
+ SRMT("mfa0-10")
+ mfa0()
+ SRMT("mfa1-10")
+ mfa1()
+ SRMT("mfa2-10")
+ mfa2()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel20.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel20.asl
index 82e9faf69..99f4f8305 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel20.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel20.asl
@@ -1,620 +1,620 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * 2-level model: \\m12b.<Method>
- *
- * Data for DerefOf(<String>) are 0 levels up.
- *
- * DataLevel<number_of_levels_in_model><data_are_N_levels_up>.asl
- *
- *
- * 1. mfa0:
- * see mfa0 - after bug fix add checking of values of UnitFields not only type checks
- */
-
-Method(m12b)
-{
-
-
-/*
- * 0 - Check different ways to pass String
- */
-Method(mdac,, Serialized)
-{
- Method(mm00)
- {
- Return("b000")
- }
-
- Method(mm01, 1)
- {
- Return(arg0)
- }
-
- Method(mm02, 1)
- {
- Store(DerefOf(arg0), Local7)
-
- Return(Local7)
- }
-
- Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s000, "b000")
- Name(ss00, "b000")
- Name(i000, 0)
-
- Store("b000", Local0)
- CopyObject("b000", i000)
- Store(s000, Local7)
-
- // Checkings
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(DerefOf("b000"), Local1)
- mf88(Local1, c00b, bb00, 0x001, 0x002, 1)
-
- Store(DerefOf(Local0), Local1)
- mf88(Local1, c00b, bb00, 0x003, 0x004, 1)
-
- Store(DerefOf(Local7), Local1)
- mf88(Local1, c00b, bb00, 0x005, 0x006, 1)
-
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- mf88(Local1, c00b, bb00, 0x007, 0x008, 1)
-
- Store(DerefOf(mm00()), Local1)
- mf88(Local1, c00b, bb00, 0x009, 0x00a, 1)
-
- Store(DerefOf(mm01(ss00)), Local1)
- mf88(Local1, c00b, bb00, 0x00b, 0x00c, 1)
-
- Store(DerefOf(ToString("b000")), Local1)
- mf88(Local1, c00b, bb00, 0x00d, 0x00e, 1)
-
- Store(DerefOf(Store("b000", Local6)), Local1)
- mf88(Local1, c00b, bb00, 0x00f, 0x010, 1)
-
- Store(DerefOf(i000), Local1)
- mf88(Local1, c00b, bb00, 0x011, 0x012, 1)
-
- Store(mm02("^b000"), Local1)
- mf88(Local1, c00b, bb00, 0x013, 0x014, 1)
-
- CH03("", 0, 0x015, 0, 0)
-}
-
-/*
- * 1 - Check different ways to specify elements of NameSpace
- */
-Method(mf89,, Serialized)
-{
- Name(i010, 0xaabc0123)
- Processor(pr01, 0, 0xFFFFFFFF, 0)
- {
- Name(i000, 0xaabc0000)
- }
- Name(ii00, 0xaabc0123)
-
- Name(b001, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb01, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
-
- // Checkings
-
- CH03("", 0, 0x00f, 0, 0)
-
- Store(DerefOf("b001"), Local1)
- mf88(Local1, c00b, bb01, 0x000, 0x001, 1)
-
- Store(DerefOf("^mf89.b001"), Local1)
- if (FLG9) {
- mf88(Local1, c00b, bb01, 0x002, 0x003, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x004, 0, 0)
- }
-
- Store(DerefOf("^mf89.pr01.i000"), Local1)
- if (FLG9) {
- mf88(Local1, c009, 0xaabc0000, 0x005, 0x006, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x007, 0, 0)
- }
-
- Store(DerefOf("\\m12b.mf89.pr01.i000"), Local1)
- if (FLG9) {
- mf88(Local1, c009, 0xaabc0000, 0x008, 0x009, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_NOT_FOUND
- }
-
- Store(DerefOf("^mf89.i010"), Local1)
- if (FLG9) {
- mf88(Local1, c009, ii00, 0x00b, 0x00c, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x00d, 0, 0) // AE_NOT_FOUND
- }
-
- CH03("", 0, 0x00e, 0, 0)
-}
-
-/*
- * 2 - Check access to calculated type objects - DerefOf(<String>)
- */
-Method(mf8a,, Serialized)
-{
- Name(b002, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb02, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s002, "String")
- Name(ss02, "String")
- Name(i002, 0xabbc0000)
- Name(ii02, 0xabbc0000)
- Name(p002, Package() {1,2,3,4})
-
- CH03("", 0, 0x01f, 0, 0)
-
- // Checkings
-
- Store(DerefOf("b002"), Local1)
- mf88(Local1, c00b, bb02, 0x020, 0x021, 1)
-
- Store(DerefOf("s002"), Local1)
- mf88(Local1, c00a, ss02, 0x022, 0x023, 1)
-
- Store(DerefOf("i002"), Local1)
- mf88(Local1, c009, ii02, 0x024, 0x025, 1)
-
- Store(DerefOf("p002"), Local1)
- mf88(Local1, c00c, 0, 0x026, 0x027, 0)
-
- CH03("", 0, 0x028, 0, 0)
-}
-
-/*
- * 3 - Check access to special type objects - DerefOf(<String>)
- */
-Method(mf8b,, Serialized)
-{
- Event(e003)
- Mutex(mx03, 0)
- Device(d003) { Name(i900, 0xabcd0017) }
- ThermalZone(tz03) {}
- Processor(pr03, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r003, SystemMemory, 0x100, 0x100)
- PowerResource(pw03, 1, 0) {Method(mmmm){return (0)}}
-
- // Checkings
-
- CH03("", 0, 0x029, 0, 0)
- CopyObject(DerefOf("e003"), Local1)
- mf88(Local1, c00f, 0, 0x02a, 0x02b, 0)
-
- CH03("", 0, 0x02c, 0, 0)
- CopyObject(DerefOf("mx03"), Local1)
- mf88(Local1, c011, 0, 0x02d, 0x02e, 0)
-
- CH03("", 0, 0x02f, 0, 0)
- CopyObject(DerefOf("d003"), Local1)
- mf88(Local1, c00e, 0, 0x030, 0x031, 0)
-
- CH03("", 0, 0x032, 0, 0)
- CopyObject(DerefOf("tz03"), Local1)
- mf88(Local1, c015, 0, 0x033, 0x034, 0)
-
- CH03("", 0, 0x035, 0, 0)
- CopyObject(DerefOf("pr03"), Local1)
- mf88(Local1, c014, 0, 0x036, 0x037, 0)
-
- if (y510) {
- CH03("", 0, 0x038, 0, 0)
- CopyObject(DerefOf("r003"), Local1)
- mf88(Local1, c012, 0, 0x039, 0x03a, 0)
- }
-
- CH03("", 0, 0x03b, 0, 0)
- CopyObject(DerefOf("pw03"), Local1)
- mf88(Local1, c013, 0, 0x03c, 0x03d, 0)
-}
-
-/*
- * 4 - Check DerefOf(<Not-String>) - calculated type objects
- */
-Method(mf8c,, Serialized)
-{
- Name(b004, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i004, 0xabbc0000)
- Name(p004, Package() {1,2,3,4})
-
- // Checkings
-
- CH03("", 0, 0x03e, 0, 0)
- Store(DerefOf(b004), Local1)
- CH04("", 0, 0xff, 0, 0x03f, 0, 0)
-
- CH03("", 0, 0x040, 0, 0)
- Store(DerefOf(i004), Local1)
- CH04("", 0, 0xff, 0, 0x041, 0, 0)
-
- CH03("", 0, 0x042, 0, 0)
- Store(DerefOf(p004), Local1)
- CH04("", 0, 0xff, 0, 0x043, 0, 0)
-}
-
-/*
- * 5 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
- */
-Method(mf8d)
-{
- CH03("", 0, 0x044, 0, 0)
- Store(DerefOf("0123"), Local1)
- CH04("", 0, 0xff, 0, 0x045, 0, 0)
-
- CH03("", 0, 0x046, 0, 0)
- Store(DerefOf("zxcvbnm,./;'\][0123"), Local1)
- CH04("", 0, 0xff, 0, 0x047, 0, 0)
-
- CH03("", 0, 0x048, 0, 0)
- Store(DerefOf("b0qv"), Local1)
- CH04("", 0, 0xff, 0, 0x049, 0, 0)
-}
-
-/*
- * 6 - Check different ways to pass String (mdac
- * but without Store). Check - no exceptions.
- */
-Method(mf8e,, Serialized)
-{
- Method(mm60)
- {
- Return("b006")
- }
-
- Method(mm61, 1)
- {
- Return(arg0)
- }
-
- Name(b006, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb06, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s006, "b006")
- Name(ss06, "b006")
- Name(i006, 0)
-
-
- Store("b006", Local0)
- CopyObject("b006", i006)
- Store(s006, Local7)
-
- // Checkings
-
- CH03("", 0, 0x04a, 0, 0)
-
- Store(DerefOf("b006"), Local2)
-
- Store(DerefOf(Local0), Local2)
-
- Store(DerefOf(Local7), Local2)
-
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
-
- Store(DerefOf(mm60()), Local2)
-
- Store(DerefOf(mm61(ss06)), Local2)
-
- Store(DerefOf(ToString("b006")), Local2)
-
- Store(DerefOf(Store("b006", Local6)), Local2)
-
- Store(DerefOf(i006), Local2)
-
- CH03("", 0, 0x04b, 0, 0)
-}
-
-/*
- * 7 - Check access to special type objects - DerefOf(<String>)
- */
-Method(mf8f,, Serialized)
-{
- Event(e007)
- Mutex(mx07, 0)
- Device(d007) { Name(i900, 0xabcd0017) }
- ThermalZone(tz07) {}
- Processor(pr07, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r007, SystemMemory, 0x100, 0x100)
- PowerResource(pw07, 1, 0) {Method(mmmm){return (0)}}
-
- // Checkings
-
- CH03("", 0, 0x04c, 0, 0)
- Store(DerefOf("e007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x04d, 0, 0)
- }
-
- CH03("", 0, 0x04e, 0, 0)
- Store(DerefOf("mx07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x04f, 0, 0)
- }
-
- CH03("", 0, 0x050, 0, 0)
- Store(DerefOf("d007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x051, 0, 0)
- }
-
- CH03("", 0, 0x052, 0, 0)
- Store(DerefOf("tz07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x053, 0, 0)
- }
-
- CH03("", 0, 0x054, 0, 0)
- Store(DerefOf("pr07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x055, 0, 0)
- }
-
- CH03("", 0, 0x056, 0, 0)
- Store(DerefOf("r007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x057, 0, 0)
- }
-
- CH03("", 0, 0x058, 0, 0)
- Store(DerefOf("pw07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x059, 0, 0)
- }
-}
-
-/*
- * 8 - Check DerefOf(<Not-String>) - calculated type objects
- */
-Method(mf90,, Serialized)
-{
- Name(b008, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i008, 0xabbc0000)
- Name(p008, Package() {1,2,3,4})
-
- // Checkings
-
- CH03("", 0, 0x05a, 0, 0)
- Store(DerefOf(b008), Local2)
- CH04("", 0, 0xff, 0, 0x05b, 0, 0)
-
- CH03("", 0, 0x05c, 0, 0)
- Store(DerefOf(i008), Local2)
- CH04("", 0, 0xff, 0, 0x05d, 0, 0)
-
- CH03("", 0, 0x05e, 0, 0)
- Store(DerefOf(p008), Local2)
- CH04("", 0, 0xff, 0, 0x05f, 0, 0)
-}
-
-/*
- * 9 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
- */
-Method(mf91)
-{
- CH03("", 0, 0x060, 0, 0)
- Store(DerefOf("0123"), Local2)
- CH04("", 0, 0xff, 0, 0x061, 0, 0)
-
- CH03("", 0, 0x062, 0, 0)
- Store(DerefOf("zxcvbnm,./;'\][0123"), Local2)
- CH04("", 0, 0xff, 0, 0x063, 0, 0)
-
- CH03("", 0, 0x064, 0, 0)
- Store(DerefOf("mf_d"), Local2)
- CH04("", 0, 0xff, 0, 0x065, 0, 0)
-
- CH03("", 0, 0x066, 0, 0)
- Store(DerefOf("b009"), Local2)
- CH04("", 0, 0xff, 0, 0x067, 0, 0)
-}
-
-/*
- * a - Check access to special type objects - DerefOf(<String>)
- */
-Method(mfa0,, Serialized)
-{
- Name(b00a, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r00a, SystemMemory, 0x100, 0x100)
-
- CreateField(b00a, 8, 8, bfa0)
- Field(r00a, ByteAcc, NoLock, Preserve) {f0a0,8,f0a1,8,f0a2,8,f0a3,8}
- BankField(r00a, f0a1, 0, ByteAcc, NoLock, Preserve) {bna0,4}
- IndexField(f0a2, f0a3, ByteAcc, NoLock, Preserve) {ifa0,8,ifa1,8}
-
- CH03("", 0, 0x068, 0, 0)
-
- Store(DerefOf("bfa0"), Local1)
- mf88(Local1, c009, 0xb1, 0x069, 0x06a, 1)
-
- Store(DerefOf("f0a0"), Local1)
- mf88(Local1, c009, 0, 0x06b, 0x06c, 0)
-
- Store(DerefOf("f0a1"), Local1)
- mf88(Local1, c009, 0, 0x06d, 0x06e, 0)
-
- Store(DerefOf("f0a2"), Local1)
- mf88(Local1, c009, 0, 0x06f, 0x070, 0)
-
- Store(DerefOf("f0a3"), Local1)
- mf88(Local1, c009, 0, 0x071, 0x072, 0)
-
- Store(DerefOf("bna0"), Local1)
- mf88(Local1, c009, 0, 0x073, 0x074, 0)
-
- Store(DerefOf("ifa0"), Local1)
- mf88(Local1, c009, 0, 0x075, 0x076, 0)
-
- Store(DerefOf("ifa1"), Local1)
- mf88(Local1, c009, 0, 0x077, 0x078, 0)
-
- CH03("", 0, 0x079, 0, 0)
-}
-
-// b
-Method(mfa1,, Serialized)
-{
- Name(b00b, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r00b, SystemMemory, 0x100, 0x100)
-
- CreateField(b00b, 8, 8, bfb0)
- Field(r00b, ByteAcc, NoLock, Preserve) {f0b0,8,f0b1,8,f0b2,8,f0b3,8}
- BankField(r00b, f0b1, 0, ByteAcc, NoLock, Preserve) {bnb0,4}
- IndexField(f0b2, f0b3, ByteAcc, NoLock, Preserve) {ifb0,8,ifb1,8}
-
- CH03("", 0, 0x07a, 0, 0)
- Store(DerefOf(bfb0), Local1)
- CH04("", 0, 0xff, 0, 0x07b, 0, 0)
-
- CH03("", 0, 0x07c, 0, 0)
- Store(DerefOf(f0b0), Local1)
- CH04("", 0, 0xff, 0, 0x07d, 0, 0)
-
- CH03("", 0, 0x07e, 0, 0)
- Store(DerefOf(f0b1), Local1)
- CH04("", 0, 0xff, 0, 0x07f, 0, 0)
-
- CH03("", 0, 0x080, 0, 0)
- Store(DerefOf(f0b2), Local1)
- CH04("", 0, 0xff, 0, 0x081, 0, 0)
-
- CH03("", 0, 0x082, 0, 0)
- Store(DerefOf(f0b3), Local1)
- CH04("", 0, 0xff, 0, 0x083, 0, 0)
-
- CH03("", 0, 0x084, 0, 0)
- Store(DerefOf(bnb0), Local1)
- CH04("", 0, 0xff, 0, 0x085, 0, 0)
-
- CH03("", 0, 0x086, 0, 0)
- Store(DerefOf(ifb0), Local1)
- CH04("", 0, 0xff, 0, 0x087, 0, 0)
-
- CH03("", 0, 0x088, 0, 0)
- Store(DerefOf(ifb1), Local1)
- CH04("", 0, 0xff, 0, 0x089, 0, 0)
-}
-
-// c
-Method(mfa2,, Serialized)
-{
- Event(e00c)
- Mutex(mx0c, 0)
- Device(d00c) { Name(i900, 0xabcd0017) }
- ThermalZone(tz0c) {}
- Processor(pr0c, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r00c, SystemMemory, 0x100, 0x100)
- PowerResource(pw0c, 1, 0) {Method(mmmm){return (0)}}
-
- // Checkings
-
- CH03("", 0, 0x08a, 0, 0)
- Store(DerefOf(e00c), Local2)
- CH04("", 0, 0xff, 0, 0x08b, 0, 0)
-
- CH03("", 0, 0x08c, 0, 0)
- Store(DerefOf(mx0c), Local2)
- CH04("", 0, 0xff, 0, 0x08d, 0, 0)
-
- CH03("", 0, 0x08e, 0, 0)
- Store(DerefOf(d00c), Local2)
- CH04("", 0, 0xff, 0, 0x08f, 0, 0)
-
- CH03("", 0, 0x090, 0, 0)
- Store(DerefOf(tz0c), Local2)
- CH04("", 0, 0xff, 0, 0x091, 0, 0)
-
- CH03("", 0, 0x092, 0, 0)
- Store(DerefOf(pr0c), Local2)
- CH04("", 0, 0xff, 0, 0x093, 0, 0)
-
- CH03("", 0, 0x094, 0, 0)
- Store(DerefOf(r00c), Local2)
- CH04("", 0, 0xff, 0, 0x095, 0, 0)
-
- CH03("", 0, 0x096, 0, 0)
- Store(DerefOf(pw0c), Local2)
- CH04("", 0, 0xff, 0, 0x097, 0, 0)
-}
-
-Method(m12a)
-{
- SRMT("mdac-20")
- mdac()
- SRMT("mf89-20")
- mf89()
- SRMT("mf8a-20")
- mf8a()
- SRMT("mf8b-20")
- mf8b()
- SRMT("mf8c-20")
- mf8c()
- SRMT("mf8d-20")
- mf8d()
- SRMT("mf8e-20")
- mf8e()
- SRMT("mf8f-20")
- mf8f()
- SRMT("mf90-20")
- mf90()
- SRMT("mf91-20")
- mf91()
- SRMT("mfa0-20")
- mfa0()
- SRMT("mfa1-20")
- mfa1()
- SRMT("mfa2-20")
- mfa2()
-}
-
- m12a()
-} /* m12b */
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * 2-level model: \\m12b.<Method>
+ *
+ * Data for DerefOf(<String>) are 0 levels up.
+ *
+ * DataLevel<number_of_levels_in_model><data_are_N_levels_up>.asl
+ *
+ *
+ * 1. mfa0:
+ * see mfa0 - after bug fix add checking of values of UnitFields not only type checks
+ */
+
+Method(m12b)
+{
+
+
+/*
+ * 0 - Check different ways to pass String
+ */
+Method(mdac,, Serialized)
+{
+ Method(mm00)
+ {
+ Return("b000")
+ }
+
+ Method(mm01, 1)
+ {
+ Return(arg0)
+ }
+
+ Method(mm02, 1)
+ {
+ Store(DerefOf(arg0), Local7)
+
+ Return(Local7)
+ }
+
+ Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s000, "b000")
+ Name(ss00, "b000")
+ Name(i000, 0)
+
+ Store("b000", Local0)
+ CopyObject("b000", i000)
+ Store(s000, Local7)
+
+ // Checkings
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(DerefOf("b000"), Local1)
+ mf88(Local1, c00b, bb00, 0x001, 0x002, 1)
+
+ Store(DerefOf(Local0), Local1)
+ mf88(Local1, c00b, bb00, 0x003, 0x004, 1)
+
+ Store(DerefOf(Local7), Local1)
+ mf88(Local1, c00b, bb00, 0x005, 0x006, 1)
+
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ mf88(Local1, c00b, bb00, 0x007, 0x008, 1)
+
+ Store(DerefOf(mm00()), Local1)
+ mf88(Local1, c00b, bb00, 0x009, 0x00a, 1)
+
+ Store(DerefOf(mm01(ss00)), Local1)
+ mf88(Local1, c00b, bb00, 0x00b, 0x00c, 1)
+
+ Store(DerefOf(ToString("b000")), Local1)
+ mf88(Local1, c00b, bb00, 0x00d, 0x00e, 1)
+
+ Store(DerefOf(Store("b000", Local6)), Local1)
+ mf88(Local1, c00b, bb00, 0x00f, 0x010, 1)
+
+ Store(DerefOf(i000), Local1)
+ mf88(Local1, c00b, bb00, 0x011, 0x012, 1)
+
+ Store(mm02("^b000"), Local1)
+ mf88(Local1, c00b, bb00, 0x013, 0x014, 1)
+
+ CH03("", 0, 0x015, 0, 0)
+}
+
+/*
+ * 1 - Check different ways to specify elements of NameSpace
+ */
+Method(mf89,, Serialized)
+{
+ Name(i010, 0xaabc0123)
+ Processor(pr01, 0, 0xFFFFFFFF, 0)
+ {
+ Name(i000, 0xaabc0000)
+ }
+ Name(ii00, 0xaabc0123)
+
+ Name(b001, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb01, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+
+ // Checkings
+
+ CH03("", 0, 0x00f, 0, 0)
+
+ Store(DerefOf("b001"), Local1)
+ mf88(Local1, c00b, bb01, 0x000, 0x001, 1)
+
+ Store(DerefOf("^mf89.b001"), Local1)
+ if (FLG9) {
+ mf88(Local1, c00b, bb01, 0x002, 0x003, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x004, 0, 0)
+ }
+
+ Store(DerefOf("^mf89.pr01.i000"), Local1)
+ if (FLG9) {
+ mf88(Local1, c009, 0xaabc0000, 0x005, 0x006, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x007, 0, 0)
+ }
+
+ Store(DerefOf("\\m12b.mf89.pr01.i000"), Local1)
+ if (FLG9) {
+ mf88(Local1, c009, 0xaabc0000, 0x008, 0x009, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_NOT_FOUND
+ }
+
+ Store(DerefOf("^mf89.i010"), Local1)
+ if (FLG9) {
+ mf88(Local1, c009, ii00, 0x00b, 0x00c, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x00d, 0, 0) // AE_NOT_FOUND
+ }
+
+ CH03("", 0, 0x00e, 0, 0)
+}
+
+/*
+ * 2 - Check access to calculated type objects - DerefOf(<String>)
+ */
+Method(mf8a,, Serialized)
+{
+ Name(b002, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb02, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s002, "String")
+ Name(ss02, "String")
+ Name(i002, 0xabbc0000)
+ Name(ii02, 0xabbc0000)
+ Name(p002, Package() {1,2,3,4})
+
+ CH03("", 0, 0x01f, 0, 0)
+
+ // Checkings
+
+ Store(DerefOf("b002"), Local1)
+ mf88(Local1, c00b, bb02, 0x020, 0x021, 1)
+
+ Store(DerefOf("s002"), Local1)
+ mf88(Local1, c00a, ss02, 0x022, 0x023, 1)
+
+ Store(DerefOf("i002"), Local1)
+ mf88(Local1, c009, ii02, 0x024, 0x025, 1)
+
+ Store(DerefOf("p002"), Local1)
+ mf88(Local1, c00c, 0, 0x026, 0x027, 0)
+
+ CH03("", 0, 0x028, 0, 0)
+}
+
+/*
+ * 3 - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mf8b,, Serialized)
+{
+ Event(e003)
+ Mutex(mx03, 0)
+ Device(d003) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz03) {}
+ Processor(pr03, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r003, SystemMemory, 0x100, 0x100)
+ PowerResource(pw03, 1, 0) {Method(mmmm){return (0)}}
+
+ // Checkings
+
+ CH03("", 0, 0x029, 0, 0)
+ CopyObject(DerefOf("e003"), Local1)
+ mf88(Local1, c00f, 0, 0x02a, 0x02b, 0)
+
+ CH03("", 0, 0x02c, 0, 0)
+ CopyObject(DerefOf("mx03"), Local1)
+ mf88(Local1, c011, 0, 0x02d, 0x02e, 0)
+
+ CH03("", 0, 0x02f, 0, 0)
+ CopyObject(DerefOf("d003"), Local1)
+ mf88(Local1, c00e, 0, 0x030, 0x031, 0)
+
+ CH03("", 0, 0x032, 0, 0)
+ CopyObject(DerefOf("tz03"), Local1)
+ mf88(Local1, c015, 0, 0x033, 0x034, 0)
+
+ CH03("", 0, 0x035, 0, 0)
+ CopyObject(DerefOf("pr03"), Local1)
+ mf88(Local1, c014, 0, 0x036, 0x037, 0)
+
+ if (y510) {
+ CH03("", 0, 0x038, 0, 0)
+ CopyObject(DerefOf("r003"), Local1)
+ mf88(Local1, c012, 0, 0x039, 0x03a, 0)
+ }
+
+ CH03("", 0, 0x03b, 0, 0)
+ CopyObject(DerefOf("pw03"), Local1)
+ mf88(Local1, c013, 0, 0x03c, 0x03d, 0)
+}
+
+/*
+ * 4 - Check DerefOf(<Not-String>) - calculated type objects
+ */
+Method(mf8c,, Serialized)
+{
+ Name(b004, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i004, 0xabbc0000)
+ Name(p004, Package() {1,2,3,4})
+
+ // Checkings
+
+ CH03("", 0, 0x03e, 0, 0)
+ Store(DerefOf(b004), Local1)
+ CH04("", 0, 0xff, 0, 0x03f, 0, 0)
+
+ CH03("", 0, 0x040, 0, 0)
+ Store(DerefOf(i004), Local1)
+ CH04("", 0, 0xff, 0, 0x041, 0, 0)
+
+ CH03("", 0, 0x042, 0, 0)
+ Store(DerefOf(p004), Local1)
+ CH04("", 0, 0xff, 0, 0x043, 0, 0)
+}
+
+/*
+ * 5 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
+ */
+Method(mf8d)
+{
+ CH03("", 0, 0x044, 0, 0)
+ Store(DerefOf("0123"), Local1)
+ CH04("", 0, 0xff, 0, 0x045, 0, 0)
+
+ CH03("", 0, 0x046, 0, 0)
+ Store(DerefOf("zxcvbnm,./;'\][0123"), Local1)
+ CH04("", 0, 0xff, 0, 0x047, 0, 0)
+
+ CH03("", 0, 0x048, 0, 0)
+ Store(DerefOf("b0qv"), Local1)
+ CH04("", 0, 0xff, 0, 0x049, 0, 0)
+}
+
+/*
+ * 6 - Check different ways to pass String (mdac
+ * but without Store). Check - no exceptions.
+ */
+Method(mf8e,, Serialized)
+{
+ Method(mm60)
+ {
+ Return("b006")
+ }
+
+ Method(mm61, 1)
+ {
+ Return(arg0)
+ }
+
+ Name(b006, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb06, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s006, "b006")
+ Name(ss06, "b006")
+ Name(i006, 0)
+
+
+ Store("b006", Local0)
+ CopyObject("b006", i006)
+ Store(s006, Local7)
+
+ // Checkings
+
+ CH03("", 0, 0x04a, 0, 0)
+
+ Store(DerefOf("b006"), Local2)
+
+ Store(DerefOf(Local0), Local2)
+
+ Store(DerefOf(Local7), Local2)
+
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+
+ Store(DerefOf(mm60()), Local2)
+
+ Store(DerefOf(mm61(ss06)), Local2)
+
+ Store(DerefOf(ToString("b006")), Local2)
+
+ Store(DerefOf(Store("b006", Local6)), Local2)
+
+ Store(DerefOf(i006), Local2)
+
+ CH03("", 0, 0x04b, 0, 0)
+}
+
+/*
+ * 7 - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mf8f,, Serialized)
+{
+ Event(e007)
+ Mutex(mx07, 0)
+ Device(d007) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz07) {}
+ Processor(pr07, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r007, SystemMemory, 0x100, 0x100)
+ PowerResource(pw07, 1, 0) {Method(mmmm){return (0)}}
+
+ // Checkings
+
+ CH03("", 0, 0x04c, 0, 0)
+ Store(DerefOf("e007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x04d, 0, 0)
+ }
+
+ CH03("", 0, 0x04e, 0, 0)
+ Store(DerefOf("mx07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x04f, 0, 0)
+ }
+
+ CH03("", 0, 0x050, 0, 0)
+ Store(DerefOf("d007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x051, 0, 0)
+ }
+
+ CH03("", 0, 0x052, 0, 0)
+ Store(DerefOf("tz07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x053, 0, 0)
+ }
+
+ CH03("", 0, 0x054, 0, 0)
+ Store(DerefOf("pr07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x055, 0, 0)
+ }
+
+ CH03("", 0, 0x056, 0, 0)
+ Store(DerefOf("r007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x057, 0, 0)
+ }
+
+ CH03("", 0, 0x058, 0, 0)
+ Store(DerefOf("pw07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x059, 0, 0)
+ }
+}
+
+/*
+ * 8 - Check DerefOf(<Not-String>) - calculated type objects
+ */
+Method(mf90,, Serialized)
+{
+ Name(b008, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i008, 0xabbc0000)
+ Name(p008, Package() {1,2,3,4})
+
+ // Checkings
+
+ CH03("", 0, 0x05a, 0, 0)
+ Store(DerefOf(b008), Local2)
+ CH04("", 0, 0xff, 0, 0x05b, 0, 0)
+
+ CH03("", 0, 0x05c, 0, 0)
+ Store(DerefOf(i008), Local2)
+ CH04("", 0, 0xff, 0, 0x05d, 0, 0)
+
+ CH03("", 0, 0x05e, 0, 0)
+ Store(DerefOf(p008), Local2)
+ CH04("", 0, 0xff, 0, 0x05f, 0, 0)
+}
+
+/*
+ * 9 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
+ */
+Method(mf91)
+{
+ CH03("", 0, 0x060, 0, 0)
+ Store(DerefOf("0123"), Local2)
+ CH04("", 0, 0xff, 0, 0x061, 0, 0)
+
+ CH03("", 0, 0x062, 0, 0)
+ Store(DerefOf("zxcvbnm,./;'\][0123"), Local2)
+ CH04("", 0, 0xff, 0, 0x063, 0, 0)
+
+ CH03("", 0, 0x064, 0, 0)
+ Store(DerefOf("mf_d"), Local2)
+ CH04("", 0, 0xff, 0, 0x065, 0, 0)
+
+ CH03("", 0, 0x066, 0, 0)
+ Store(DerefOf("b009"), Local2)
+ CH04("", 0, 0xff, 0, 0x067, 0, 0)
+}
+
+/*
+ * a - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mfa0,, Serialized)
+{
+ Name(b00a, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r00a, SystemMemory, 0x100, 0x100)
+
+ CreateField(b00a, 8, 8, bfa0)
+ Field(r00a, ByteAcc, NoLock, Preserve) {f0a0,8,f0a1,8,f0a2,8,f0a3,8}
+ BankField(r00a, f0a1, 0, ByteAcc, NoLock, Preserve) {bna0,4}
+ IndexField(f0a2, f0a3, ByteAcc, NoLock, Preserve) {ifa0,8,ifa1,8}
+
+ CH03("", 0, 0x068, 0, 0)
+
+ Store(DerefOf("bfa0"), Local1)
+ mf88(Local1, c009, 0xb1, 0x069, 0x06a, 1)
+
+ Store(DerefOf("f0a0"), Local1)
+ mf88(Local1, c009, 0, 0x06b, 0x06c, 0)
+
+ Store(DerefOf("f0a1"), Local1)
+ mf88(Local1, c009, 0, 0x06d, 0x06e, 0)
+
+ Store(DerefOf("f0a2"), Local1)
+ mf88(Local1, c009, 0, 0x06f, 0x070, 0)
+
+ Store(DerefOf("f0a3"), Local1)
+ mf88(Local1, c009, 0, 0x071, 0x072, 0)
+
+ Store(DerefOf("bna0"), Local1)
+ mf88(Local1, c009, 0, 0x073, 0x074, 0)
+
+ Store(DerefOf("ifa0"), Local1)
+ mf88(Local1, c009, 0, 0x075, 0x076, 0)
+
+ Store(DerefOf("ifa1"), Local1)
+ mf88(Local1, c009, 0, 0x077, 0x078, 0)
+
+ CH03("", 0, 0x079, 0, 0)
+}
+
+// b
+Method(mfa1,, Serialized)
+{
+ Name(b00b, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r00b, SystemMemory, 0x100, 0x100)
+
+ CreateField(b00b, 8, 8, bfb0)
+ Field(r00b, ByteAcc, NoLock, Preserve) {f0b0,8,f0b1,8,f0b2,8,f0b3,8}
+ BankField(r00b, f0b1, 0, ByteAcc, NoLock, Preserve) {bnb0,4}
+ IndexField(f0b2, f0b3, ByteAcc, NoLock, Preserve) {ifb0,8,ifb1,8}
+
+ CH03("", 0, 0x07a, 0, 0)
+ Store(DerefOf(bfb0), Local1)
+ CH04("", 0, 0xff, 0, 0x07b, 0, 0)
+
+ CH03("", 0, 0x07c, 0, 0)
+ Store(DerefOf(f0b0), Local1)
+ CH04("", 0, 0xff, 0, 0x07d, 0, 0)
+
+ CH03("", 0, 0x07e, 0, 0)
+ Store(DerefOf(f0b1), Local1)
+ CH04("", 0, 0xff, 0, 0x07f, 0, 0)
+
+ CH03("", 0, 0x080, 0, 0)
+ Store(DerefOf(f0b2), Local1)
+ CH04("", 0, 0xff, 0, 0x081, 0, 0)
+
+ CH03("", 0, 0x082, 0, 0)
+ Store(DerefOf(f0b3), Local1)
+ CH04("", 0, 0xff, 0, 0x083, 0, 0)
+
+ CH03("", 0, 0x084, 0, 0)
+ Store(DerefOf(bnb0), Local1)
+ CH04("", 0, 0xff, 0, 0x085, 0, 0)
+
+ CH03("", 0, 0x086, 0, 0)
+ Store(DerefOf(ifb0), Local1)
+ CH04("", 0, 0xff, 0, 0x087, 0, 0)
+
+ CH03("", 0, 0x088, 0, 0)
+ Store(DerefOf(ifb1), Local1)
+ CH04("", 0, 0xff, 0, 0x089, 0, 0)
+}
+
+// c
+Method(mfa2,, Serialized)
+{
+ Event(e00c)
+ Mutex(mx0c, 0)
+ Device(d00c) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz0c) {}
+ Processor(pr0c, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r00c, SystemMemory, 0x100, 0x100)
+ PowerResource(pw0c, 1, 0) {Method(mmmm){return (0)}}
+
+ // Checkings
+
+ CH03("", 0, 0x08a, 0, 0)
+ Store(DerefOf(e00c), Local2)
+ CH04("", 0, 0xff, 0, 0x08b, 0, 0)
+
+ CH03("", 0, 0x08c, 0, 0)
+ Store(DerefOf(mx0c), Local2)
+ CH04("", 0, 0xff, 0, 0x08d, 0, 0)
+
+ CH03("", 0, 0x08e, 0, 0)
+ Store(DerefOf(d00c), Local2)
+ CH04("", 0, 0xff, 0, 0x08f, 0, 0)
+
+ CH03("", 0, 0x090, 0, 0)
+ Store(DerefOf(tz0c), Local2)
+ CH04("", 0, 0xff, 0, 0x091, 0, 0)
+
+ CH03("", 0, 0x092, 0, 0)
+ Store(DerefOf(pr0c), Local2)
+ CH04("", 0, 0xff, 0, 0x093, 0, 0)
+
+ CH03("", 0, 0x094, 0, 0)
+ Store(DerefOf(r00c), Local2)
+ CH04("", 0, 0xff, 0, 0x095, 0, 0)
+
+ CH03("", 0, 0x096, 0, 0)
+ Store(DerefOf(pw0c), Local2)
+ CH04("", 0, 0xff, 0, 0x097, 0, 0)
+}
+
+Method(m12a)
+{
+ SRMT("mdac-20")
+ mdac()
+ SRMT("mf89-20")
+ mf89()
+ SRMT("mf8a-20")
+ mf8a()
+ SRMT("mf8b-20")
+ mf8b()
+ SRMT("mf8c-20")
+ mf8c()
+ SRMT("mf8d-20")
+ mf8d()
+ SRMT("mf8e-20")
+ mf8e()
+ SRMT("mf8f-20")
+ mf8f()
+ SRMT("mf90-20")
+ mf90()
+ SRMT("mf91-20")
+ mf91()
+ SRMT("mfa0-20")
+ mfa0()
+ SRMT("mfa1-20")
+ mfa1()
+ SRMT("mfa2-20")
+ mfa2()
+}
+
+ m12a()
+} /* m12b */
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclDown.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclDown.asl
index 458cf2613..e826aa04d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclDown.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclDown.asl
@@ -1,627 +1,627 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * 2-level model: \\m12e.<Method>
- *
- * Data for DerefOf(<String>) are 1 levels up.
- *
- * DataLevel<number_of_levels_in_model><data_are_N_levels_up>.asl
- */
-
-Method(m12e,, Serialized)
-{
-
-/*
- * 0 - Check different ways to pass String
- */
-Method(mdac)
-{
- Store("b000", Local0)
- CopyObject("b000", i000)
- Store(s000, Local7)
-
- // Checkings
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(DerefOf("b000"), Local1)
- mf88(Local1, c00b, bb00, 0x001, 0x002, 1)
-
- Store(DerefOf(Local0), Local1)
- mf88(Local1, c00b, bb00, 0x003, 0x004, 1)
-
- Store(DerefOf(Local7), Local1)
- mf88(Local1, c00b, bb00, 0x005, 0x006, 1)
-
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- mf88(Local1, c00b, bb00, 0x007, 0x008, 1)
-
- Store(DerefOf(mm00()), Local1)
- mf88(Local1, c00b, bb00, 0x009, 0x00a, 1)
-
- Store(DerefOf(mm01(ss00)), Local1)
- mf88(Local1, c00b, bb00, 0x00b, 0x00c, 1)
-
- Store(DerefOf(ToString("b000")), Local1)
- mf88(Local1, c00b, bb00, 0x00d, 0x00e, 1)
-
- Store(DerefOf(Store("b000", Local6)), Local1)
- mf88(Local1, c00b, bb00, 0x00f, 0x010, 1)
-
- Store(DerefOf(i000), Local1)
- mf88(Local1, c00b, bb00, 0x011, 0x012, 1)
-
- Store(mm02("^b000"), Local1)
- mf88(Local1, c00b, bb00, 0x013, 0x014, 1)
-
- CH03("", 0, 0x015, 0, 0)
-}
-
-/*
- * 1 - Check different ways to specify elements of NameSpace
- */
-Method(mf89)
-{
- // Checkings
-
- Store(DerefOf("b001"), Local1)
- mf88(Local1, c00b, bb01, 0x016, 0x017, 1)
-
- Store(DerefOf("^b001"), Local1)
- mf88(Local1, c00b, bb01, 0x018, 0x019, 1)
-
- Store(DerefOf("^pr01.i000"), Local1)
- mf88(Local1, c009, 0xaabc0000, 0x01a, 0x01b, 1)
-
- Store(DerefOf("\\m12e.pr01.i000"), Local1)
- if (FLG9) {
- mf88(Local1, c009, 0xaabc0000, 0x01c, 0x01d, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x01e, 0, 0) // AE_NOT_FOUND
- }
-
- Store(DerefOf("^i010"), Local1)
- mf88(Local1, c009, ii00, 0x01f, 0x020, 1)
-
- Store(DerefOf("^i987"), Local1)
- mf88(Local1, c009, ii01, 0x021, 0x022, 1)
-
- CH03("", 0, 0x023, 0, 0)
-}
-
-/*
- * 2 - Check access to calculated type objects - DerefOf(<String>)
- */
-Method(mf8a)
-{
- CH03("", 0, 0x01f, 0, 0)
-
- // Checkings
-
- Store(DerefOf("b002"), Local1)
- mf88(Local1, c00b, bb02, 0x020, 0x021, 1)
-
- Store(DerefOf("s002"), Local1)
- mf88(Local1, c00a, ss02, 0x022, 0x023, 1)
-
- Store(DerefOf("i002"), Local1)
- mf88(Local1, c009, ii02, 0x024, 0x025, 1)
-
- Store(DerefOf("p002"), Local1)
- mf88(Local1, c00c, 0, 0x026, 0x027, 0)
-
- CH03("", 0, 0x028, 0, 0)
-}
-
-/*
- * 3 - Check access to special type objects - DerefOf(<String>)
- */
-Method(mf8b)
-{
- // Checkings
-
- CH03("", 0, 0x029, 0, 0)
- CopyObject(DerefOf("e003"), Local1)
- mf88(Local1, c00f, 0, 0x02a, 0x02b, 0)
-
- CH03("", 0, 0x02c, 0, 0)
- CopyObject(DerefOf("mx03"), Local1)
- mf88(Local1, c011, 0, 0x02d, 0x02e, 0)
-
- CH03("", 0, 0x02f, 0, 0)
- CopyObject(DerefOf("d003"), Local1)
- mf88(Local1, c00e, 0, 0x030, 0x031, 0)
-
- CH03("", 0, 0x032, 0, 0)
- CopyObject(DerefOf("tz03"), Local1)
- mf88(Local1, c015, 0, 0x033, 0x034, 0)
-
- CH03("", 0, 0x035, 0, 0)
- CopyObject(DerefOf("pr03"), Local1)
- mf88(Local1, c014, 0, 0x036, 0x037, 0)
-
- if (y510) {
- CH03("", 0, 0x038, 0, 0)
- CopyObject(DerefOf("r003"), Local1)
- mf88(Local1, c012, 0, 0x039, 0x03a, 0)
- }
-
- CH03("", 0, 0x03b, 0, 0)
- CopyObject(DerefOf("pw03"), Local1)
- mf88(Local1, c013, 0, 0x03c, 0x03d, 0)
-}
-
-/*
- * 4 - Check DerefOf(<Not-String>) - calculated type objects
- */
-Method(mf8c)
-{
- // Checkings
-
- CH03("", 0, 0x03e, 0, 0)
- Store(DerefOf(b004), Local1)
- CH04("", 0, 0xff, 0, 0x03f, 0, 0)
-
- CH03("", 0, 0x040, 0, 0)
- Store(DerefOf(i004), Local1)
- CH04("", 0, 0xff, 0, 0x041, 0, 0)
-
- CH03("", 0, 0x042, 0, 0)
- Store(DerefOf(p004), Local1)
- CH04("", 0, 0xff, 0, 0x043, 0, 0)
-}
-
-/*
- * 5 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
- */
-Method(mf8d)
-{
- CH03("", 0, 0x044, 0, 0)
- Store(DerefOf("0123"), Local1)
- CH04("", 0, 0xff, 0, 0x045, 0, 0)
-
- CH03("", 0, 0x046, 0, 0)
- Store(DerefOf("zxcvbnm,./;'\][0123"), Local1)
- CH04("", 0, 0xff, 0, 0x047, 0, 0)
-
- CH03("", 0, 0x048, 0, 0)
- Store(DerefOf("b0qv"), Local1)
- CH04("", 0, 0xff, 0, 0x049, 0, 0)
-}
-
-/*
- * 6 - Check different ways to pass String (mdac
- * but without Store). Check - no exceptions.
- */
-Method(mf8e)
-{
- Store("b006", Local0)
- CopyObject("b006", i006)
- Store(s006, Local7)
-
- // Checkings
-
- CH03("", 0, 0x04a, 0, 0)
-
- Store(DerefOf("b006"), Local2)
-
- Store(DerefOf(Local0), Local2)
-
- Store(DerefOf(Local7), Local2)
-
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
-
- Store(DerefOf(mm60()), Local2)
-
- Store(DerefOf(mm61(ss06)), Local2)
-
- Store(DerefOf(ToString("b006")), Local2)
-
- Store(DerefOf(Store("b006", Local6)), Local2)
-
- Store(DerefOf(i006), Local2)
-
- CH03("", 0, 0x04b, 0, 0)
-}
-
-/*
- * 7 - Check access to special type objects - DerefOf(<String>)
- */
-Method(mf8f)
-{
- // Checkings
-
- CH03("", 0, 0x04c, 0, 0)
- Store(DerefOf("e007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x04d, 0, 0)
- }
-
- CH03("", 0, 0x04e, 0, 0)
- Store(DerefOf("mx07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x04f, 0, 0)
- }
-
- CH03("", 0, 0x050, 0, 0)
- Store(DerefOf("d007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x051, 0, 0)
- }
-
- CH03("", 0, 0x052, 0, 0)
- Store(DerefOf("tz07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x053, 0, 0)
- }
-
- CH03("", 0, 0x054, 0, 0)
- Store(DerefOf("pr07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x055, 0, 0)
- }
-
- CH03("", 0, 0x056, 0, 0)
- Store(DerefOf("r007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x057, 0, 0)
- }
-
- CH03("", 0, 0x058, 0, 0)
- Store(DerefOf("pw07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x059, 0, 0)
- }
-}
-
-/*
- * 8 - Check DerefOf(<Not-String>) - calculated type objects
- */
-Method(mf90)
-{
- // Checkings
-
- CH03("", 0, 0x05a, 0, 0)
- Store(DerefOf(b008), Local2)
- CH04("", 0, 0xff, 0, 0x05b, 0, 0)
-
- CH03("", 0, 0x05c, 0, 0)
- Store(DerefOf(i008), Local2)
- CH04("", 0, 0xff, 0, 0x05d, 0, 0)
-
- CH03("", 0, 0x05e, 0, 0)
- Store(DerefOf(p008), Local2)
- CH04("", 0, 0xff, 0, 0x05f, 0, 0)
-}
-
-/*
- * 9 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
- */
-Method(mf91)
-{
- CH03("", 0, 0x060, 0, 0)
- Store(DerefOf("0123"), Local2)
- CH04("", 0, 0xff, 0, 0x061, 0, 0)
-
- CH03("", 0, 0x062, 0, 0)
- Store(DerefOf("zxcvbnm,./;'\][0123"), Local2)
- CH04("", 0, 0xff, 0, 0x063, 0, 0)
-
- CH03("", 0, 0x064, 0, 0)
- Store(DerefOf("mf_d"), Local2)
- CH04("", 0, 0xff, 0, 0x065, 0, 0)
-
- CH03("", 0, 0x066, 0, 0)
- Store(DerefOf("b009"), Local2)
- CH04("", 0, 0xff, 0, 0x067, 0, 0)
-}
-
-/*
- * a - Check access to special type objects - DerefOf(<String>)
- */
-Method(mfa0)
-{
- CH03("", 0, 0x068, 0, 0)
-
- Store(DerefOf("bfa0"), Local1)
- mf88(Local1, c009, 0xb1, 0x069, 0x06a, 1)
-
- Store(DerefOf("f0a0"), Local1)
- mf88(Local1, c009, 0, 0x06b, 0x06c, 0)
-
- Store(DerefOf("f0a1"), Local1)
- mf88(Local1, c009, 0, 0x06d, 0x06e, 0)
-
- Store(DerefOf("f0a2"), Local1)
- mf88(Local1, c009, 0, 0x06f, 0x070, 0)
-
- Store(DerefOf("f0a3"), Local1)
- mf88(Local1, c009, 0, 0x071, 0x072, 0)
-
- Store(DerefOf("bna0"), Local1)
- mf88(Local1, c009, 0, 0x073, 0x074, 0)
-
- Store(DerefOf("ifa0"), Local1)
- mf88(Local1, c009, 0, 0x075, 0x076, 0)
-
- Store(DerefOf("ifa1"), Local1)
- mf88(Local1, c009, 0, 0x077, 0x078, 0)
-
- CH03("", 0, 0x079, 0, 0)
-}
-
-// b
-Method(mfa1)
-{
- CH03("", 0, 0x07a, 0, 0)
- Store(DerefOf(bfb0), Local1)
- CH04("", 0, 0xff, 0, 0x07b, 0, 0)
-
- CH03("", 0, 0x07c, 0, 0)
- Store(DerefOf(f0b0), Local1)
- CH04("", 0, 0xff, 0, 0x07d, 0, 0)
-
- CH03("", 0, 0x07e, 0, 0)
- Store(DerefOf(f0b1), Local1)
- CH04("", 0, 0xff, 0, 0x07f, 0, 0)
-
- CH03("", 0, 0x080, 0, 0)
- Store(DerefOf(f0b2), Local1)
- CH04("", 0, 0xff, 0, 0x081, 0, 0)
-
- CH03("", 0, 0x082, 0, 0)
- Store(DerefOf(f0b3), Local1)
- CH04("", 0, 0xff, 0, 0x083, 0, 0)
-
- CH03("", 0, 0x084, 0, 0)
- Store(DerefOf(bnb0), Local1)
- CH04("", 0, 0xff, 0, 0x085, 0, 0)
-
- CH03("", 0, 0x086, 0, 0)
- Store(DerefOf(ifb0), Local1)
- CH04("", 0, 0xff, 0, 0x087, 0, 0)
-
- CH03("", 0, 0x088, 0, 0)
- Store(DerefOf(ifb1), Local1)
- CH04("", 0, 0xff, 0, 0x089, 0, 0)
-}
-
-// c
-Method(mfa2)
-{
- // Checkings
-
- CH03("", 0, 0x08a, 0, 0)
- Store(DerefOf(e00c), Local2)
- CH04("", 0, 0xff, 0, 0x08b, 0, 0)
-
- CH03("", 0, 0x08c, 0, 0)
- Store(DerefOf(mx0c), Local2)
- CH04("", 0, 0xff, 0, 0x08d, 0, 0)
-
- CH03("", 0, 0x08e, 0, 0)
- Store(DerefOf(d00c), Local2)
- CH04("", 0, 0xff, 0, 0x08f, 0, 0)
-
- CH03("", 0, 0x090, 0, 0)
- Store(DerefOf(tz0c), Local2)
- CH04("", 0, 0xff, 0, 0x091, 0, 0)
-
- CH03("", 0, 0x092, 0, 0)
- Store(DerefOf(pr0c), Local2)
- CH04("", 0, 0xff, 0, 0x093, 0, 0)
-
- CH03("", 0, 0x094, 0, 0)
- Store(DerefOf(r00c), Local2)
- CH04("", 0, 0xff, 0, 0x095, 0, 0)
-
- CH03("", 0, 0x096, 0, 0)
- Store(DerefOf(pw0c), Local2)
- CH04("", 0, 0xff, 0, 0x097, 0, 0)
-}
-
-Method(m12a)
-{
- SRMT("mdac-21-down")
- mdac()
- SRMT("mf89-21-down")
- mf89()
- SRMT("mf8a-21-down")
- mf8a()
- SRMT("mf8b-21-down")
- mf8b()
- SRMT("mf8c-21-down")
- mf8c()
- SRMT("mf8d-21-down")
- mf8d()
- SRMT("mf8e-21-down")
- mf8e()
- SRMT("mf8f-21-down")
- mf8f()
- SRMT("mf90-21-down")
- mf90()
- SRMT("mf91-21-down")
- mf91()
- SRMT("mfa0-21-down")
- mfa0()
- SRMT("mfa1-21-down")
- mfa1()
- SRMT("mfa2-21-down")
- mfa2()
-}
-
- /* 0 */
-
- Method(mm00)
- {
- Return("b000")
- }
-
- Method(mm01, 1)
- {
- Return(arg0)
- }
-
- Method(mm02, 1)
- {
- Store(DerefOf(arg0), Local7)
-
- Return(Local7)
- }
-
- Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s000, "b000")
- Name(ss00, "b000")
- Name(i000, 0)
-
- /* 1 */
-
- Name(i010, 0xaabc0123)
- Name(i987, 0xaabc0987)
- Processor(pr01, 0, 0xFFFFFFFF, 0)
- {
- Name(i000, 0xaabc0000)
- }
- Name(ii00, 0xaabc0123)
- Name(ii01, 0xaabc0987)
-
- Name(b001, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb01, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
-
- /* 2 */
-
- Name(b002, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb02, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s002, "String")
- Name(ss02, "String")
- Name(i002, 0xabbc0000)
- Name(ii02, 0xabbc0000)
- Name(p002, Package() {1,2,3,4})
-
- /* 3 */
-
- Event(e003)
- Mutex(mx03, 0)
- Device(d003) { Name(i900, 0xabcd0017) }
- ThermalZone(tz03) {}
- Processor(pr03, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r003, SystemMemory, 0x100, 0x100)
- PowerResource(pw03, 1, 0) {Method(mmmm){return (0)}}
-
- /* 4 */
-
- Name(b004, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i004, 0xabbc0000)
- Name(p004, Package() {1,2,3,4})
-
- /* 6 */
-
- Method(mm60)
- {
- Return("b006")
- }
-
- Method(mm61, 1)
- {
- Return(arg0)
- }
-
- Name(b006, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb06, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s006, "b006")
- Name(ss06, "b006")
- Name(i006, 0)
-
- /* 7 */
-
- Event(e007)
- Mutex(mx07, 0)
- Device(d007) { Name(i900, 0xabcd0017) }
- ThermalZone(tz07) {}
- Processor(pr07, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r007, SystemMemory, 0x100, 0x100)
- PowerResource(pw07, 1, 0) {Method(mmmm){return (0)}}
-
- /* 8 */
-
- Name(b008, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i008, 0xabbc0000)
- Name(p008, Package() {1,2,3,4})
-
- /* a */
-
- Name(b00a, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r00a, SystemMemory, 0x100, 0x100)
-
- CreateField(b00a, 8, 8, bfa0)
- Field(r00a, ByteAcc, NoLock, Preserve) {f0a0,8,f0a1,8,f0a2,8,f0a3,8}
- BankField(r00a, f0a1, 0, ByteAcc, NoLock, Preserve) {bna0,4}
- IndexField(f0a2, f0a3, ByteAcc, NoLock, Preserve) {ifa0,8,ifa1,8}
-
- /* b */
-
- Name(b00b, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r00b, SystemMemory, 0x100, 0x100)
-
- CreateField(b00b, 8, 8, bfb0)
- Field(r00b, ByteAcc, NoLock, Preserve) {f0b0,8,f0b1,8,f0b2,8,f0b3,8}
- BankField(r00b, f0b1, 0, ByteAcc, NoLock, Preserve) {bnb0,4}
- IndexField(f0b2, f0b3, ByteAcc, NoLock, Preserve) {ifb0,8,ifb1,8}
-
- /* c */
-
- Event(e00c)
- Mutex(mx0c, 0)
- Device(d00c) { Name(i900, 0xabcd0017) }
- ThermalZone(tz0c) {}
- Processor(pr0c, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r00c, SystemMemory, 0x100, 0x100)
- PowerResource(pw0c, 1, 0) {Method(mmmm){return (0)}}
-
- m12a()
-} /* m12e */
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * 2-level model: \\m12e.<Method>
+ *
+ * Data for DerefOf(<String>) are 1 levels up.
+ *
+ * DataLevel<number_of_levels_in_model><data_are_N_levels_up>.asl
+ */
+
+Method(m12e,, Serialized)
+{
+
+/*
+ * 0 - Check different ways to pass String
+ */
+Method(mdac)
+{
+ Store("b000", Local0)
+ CopyObject("b000", i000)
+ Store(s000, Local7)
+
+ // Checkings
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(DerefOf("b000"), Local1)
+ mf88(Local1, c00b, bb00, 0x001, 0x002, 1)
+
+ Store(DerefOf(Local0), Local1)
+ mf88(Local1, c00b, bb00, 0x003, 0x004, 1)
+
+ Store(DerefOf(Local7), Local1)
+ mf88(Local1, c00b, bb00, 0x005, 0x006, 1)
+
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ mf88(Local1, c00b, bb00, 0x007, 0x008, 1)
+
+ Store(DerefOf(mm00()), Local1)
+ mf88(Local1, c00b, bb00, 0x009, 0x00a, 1)
+
+ Store(DerefOf(mm01(ss00)), Local1)
+ mf88(Local1, c00b, bb00, 0x00b, 0x00c, 1)
+
+ Store(DerefOf(ToString("b000")), Local1)
+ mf88(Local1, c00b, bb00, 0x00d, 0x00e, 1)
+
+ Store(DerefOf(Store("b000", Local6)), Local1)
+ mf88(Local1, c00b, bb00, 0x00f, 0x010, 1)
+
+ Store(DerefOf(i000), Local1)
+ mf88(Local1, c00b, bb00, 0x011, 0x012, 1)
+
+ Store(mm02("^b000"), Local1)
+ mf88(Local1, c00b, bb00, 0x013, 0x014, 1)
+
+ CH03("", 0, 0x015, 0, 0)
+}
+
+/*
+ * 1 - Check different ways to specify elements of NameSpace
+ */
+Method(mf89)
+{
+ // Checkings
+
+ Store(DerefOf("b001"), Local1)
+ mf88(Local1, c00b, bb01, 0x016, 0x017, 1)
+
+ Store(DerefOf("^b001"), Local1)
+ mf88(Local1, c00b, bb01, 0x018, 0x019, 1)
+
+ Store(DerefOf("^pr01.i000"), Local1)
+ mf88(Local1, c009, 0xaabc0000, 0x01a, 0x01b, 1)
+
+ Store(DerefOf("\\m12e.pr01.i000"), Local1)
+ if (FLG9) {
+ mf88(Local1, c009, 0xaabc0000, 0x01c, 0x01d, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x01e, 0, 0) // AE_NOT_FOUND
+ }
+
+ Store(DerefOf("^i010"), Local1)
+ mf88(Local1, c009, ii00, 0x01f, 0x020, 1)
+
+ Store(DerefOf("^i987"), Local1)
+ mf88(Local1, c009, ii01, 0x021, 0x022, 1)
+
+ CH03("", 0, 0x023, 0, 0)
+}
+
+/*
+ * 2 - Check access to calculated type objects - DerefOf(<String>)
+ */
+Method(mf8a)
+{
+ CH03("", 0, 0x01f, 0, 0)
+
+ // Checkings
+
+ Store(DerefOf("b002"), Local1)
+ mf88(Local1, c00b, bb02, 0x020, 0x021, 1)
+
+ Store(DerefOf("s002"), Local1)
+ mf88(Local1, c00a, ss02, 0x022, 0x023, 1)
+
+ Store(DerefOf("i002"), Local1)
+ mf88(Local1, c009, ii02, 0x024, 0x025, 1)
+
+ Store(DerefOf("p002"), Local1)
+ mf88(Local1, c00c, 0, 0x026, 0x027, 0)
+
+ CH03("", 0, 0x028, 0, 0)
+}
+
+/*
+ * 3 - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mf8b)
+{
+ // Checkings
+
+ CH03("", 0, 0x029, 0, 0)
+ CopyObject(DerefOf("e003"), Local1)
+ mf88(Local1, c00f, 0, 0x02a, 0x02b, 0)
+
+ CH03("", 0, 0x02c, 0, 0)
+ CopyObject(DerefOf("mx03"), Local1)
+ mf88(Local1, c011, 0, 0x02d, 0x02e, 0)
+
+ CH03("", 0, 0x02f, 0, 0)
+ CopyObject(DerefOf("d003"), Local1)
+ mf88(Local1, c00e, 0, 0x030, 0x031, 0)
+
+ CH03("", 0, 0x032, 0, 0)
+ CopyObject(DerefOf("tz03"), Local1)
+ mf88(Local1, c015, 0, 0x033, 0x034, 0)
+
+ CH03("", 0, 0x035, 0, 0)
+ CopyObject(DerefOf("pr03"), Local1)
+ mf88(Local1, c014, 0, 0x036, 0x037, 0)
+
+ if (y510) {
+ CH03("", 0, 0x038, 0, 0)
+ CopyObject(DerefOf("r003"), Local1)
+ mf88(Local1, c012, 0, 0x039, 0x03a, 0)
+ }
+
+ CH03("", 0, 0x03b, 0, 0)
+ CopyObject(DerefOf("pw03"), Local1)
+ mf88(Local1, c013, 0, 0x03c, 0x03d, 0)
+}
+
+/*
+ * 4 - Check DerefOf(<Not-String>) - calculated type objects
+ */
+Method(mf8c)
+{
+ // Checkings
+
+ CH03("", 0, 0x03e, 0, 0)
+ Store(DerefOf(b004), Local1)
+ CH04("", 0, 0xff, 0, 0x03f, 0, 0)
+
+ CH03("", 0, 0x040, 0, 0)
+ Store(DerefOf(i004), Local1)
+ CH04("", 0, 0xff, 0, 0x041, 0, 0)
+
+ CH03("", 0, 0x042, 0, 0)
+ Store(DerefOf(p004), Local1)
+ CH04("", 0, 0xff, 0, 0x043, 0, 0)
+}
+
+/*
+ * 5 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
+ */
+Method(mf8d)
+{
+ CH03("", 0, 0x044, 0, 0)
+ Store(DerefOf("0123"), Local1)
+ CH04("", 0, 0xff, 0, 0x045, 0, 0)
+
+ CH03("", 0, 0x046, 0, 0)
+ Store(DerefOf("zxcvbnm,./;'\][0123"), Local1)
+ CH04("", 0, 0xff, 0, 0x047, 0, 0)
+
+ CH03("", 0, 0x048, 0, 0)
+ Store(DerefOf("b0qv"), Local1)
+ CH04("", 0, 0xff, 0, 0x049, 0, 0)
+}
+
+/*
+ * 6 - Check different ways to pass String (mdac
+ * but without Store). Check - no exceptions.
+ */
+Method(mf8e)
+{
+ Store("b006", Local0)
+ CopyObject("b006", i006)
+ Store(s006, Local7)
+
+ // Checkings
+
+ CH03("", 0, 0x04a, 0, 0)
+
+ Store(DerefOf("b006"), Local2)
+
+ Store(DerefOf(Local0), Local2)
+
+ Store(DerefOf(Local7), Local2)
+
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+
+ Store(DerefOf(mm60()), Local2)
+
+ Store(DerefOf(mm61(ss06)), Local2)
+
+ Store(DerefOf(ToString("b006")), Local2)
+
+ Store(DerefOf(Store("b006", Local6)), Local2)
+
+ Store(DerefOf(i006), Local2)
+
+ CH03("", 0, 0x04b, 0, 0)
+}
+
+/*
+ * 7 - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mf8f)
+{
+ // Checkings
+
+ CH03("", 0, 0x04c, 0, 0)
+ Store(DerefOf("e007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x04d, 0, 0)
+ }
+
+ CH03("", 0, 0x04e, 0, 0)
+ Store(DerefOf("mx07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x04f, 0, 0)
+ }
+
+ CH03("", 0, 0x050, 0, 0)
+ Store(DerefOf("d007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x051, 0, 0)
+ }
+
+ CH03("", 0, 0x052, 0, 0)
+ Store(DerefOf("tz07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x053, 0, 0)
+ }
+
+ CH03("", 0, 0x054, 0, 0)
+ Store(DerefOf("pr07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x055, 0, 0)
+ }
+
+ CH03("", 0, 0x056, 0, 0)
+ Store(DerefOf("r007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x057, 0, 0)
+ }
+
+ CH03("", 0, 0x058, 0, 0)
+ Store(DerefOf("pw07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x059, 0, 0)
+ }
+}
+
+/*
+ * 8 - Check DerefOf(<Not-String>) - calculated type objects
+ */
+Method(mf90)
+{
+ // Checkings
+
+ CH03("", 0, 0x05a, 0, 0)
+ Store(DerefOf(b008), Local2)
+ CH04("", 0, 0xff, 0, 0x05b, 0, 0)
+
+ CH03("", 0, 0x05c, 0, 0)
+ Store(DerefOf(i008), Local2)
+ CH04("", 0, 0xff, 0, 0x05d, 0, 0)
+
+ CH03("", 0, 0x05e, 0, 0)
+ Store(DerefOf(p008), Local2)
+ CH04("", 0, 0xff, 0, 0x05f, 0, 0)
+}
+
+/*
+ * 9 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
+ */
+Method(mf91)
+{
+ CH03("", 0, 0x060, 0, 0)
+ Store(DerefOf("0123"), Local2)
+ CH04("", 0, 0xff, 0, 0x061, 0, 0)
+
+ CH03("", 0, 0x062, 0, 0)
+ Store(DerefOf("zxcvbnm,./;'\][0123"), Local2)
+ CH04("", 0, 0xff, 0, 0x063, 0, 0)
+
+ CH03("", 0, 0x064, 0, 0)
+ Store(DerefOf("mf_d"), Local2)
+ CH04("", 0, 0xff, 0, 0x065, 0, 0)
+
+ CH03("", 0, 0x066, 0, 0)
+ Store(DerefOf("b009"), Local2)
+ CH04("", 0, 0xff, 0, 0x067, 0, 0)
+}
+
+/*
+ * a - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mfa0)
+{
+ CH03("", 0, 0x068, 0, 0)
+
+ Store(DerefOf("bfa0"), Local1)
+ mf88(Local1, c009, 0xb1, 0x069, 0x06a, 1)
+
+ Store(DerefOf("f0a0"), Local1)
+ mf88(Local1, c009, 0, 0x06b, 0x06c, 0)
+
+ Store(DerefOf("f0a1"), Local1)
+ mf88(Local1, c009, 0, 0x06d, 0x06e, 0)
+
+ Store(DerefOf("f0a2"), Local1)
+ mf88(Local1, c009, 0, 0x06f, 0x070, 0)
+
+ Store(DerefOf("f0a3"), Local1)
+ mf88(Local1, c009, 0, 0x071, 0x072, 0)
+
+ Store(DerefOf("bna0"), Local1)
+ mf88(Local1, c009, 0, 0x073, 0x074, 0)
+
+ Store(DerefOf("ifa0"), Local1)
+ mf88(Local1, c009, 0, 0x075, 0x076, 0)
+
+ Store(DerefOf("ifa1"), Local1)
+ mf88(Local1, c009, 0, 0x077, 0x078, 0)
+
+ CH03("", 0, 0x079, 0, 0)
+}
+
+// b
+Method(mfa1)
+{
+ CH03("", 0, 0x07a, 0, 0)
+ Store(DerefOf(bfb0), Local1)
+ CH04("", 0, 0xff, 0, 0x07b, 0, 0)
+
+ CH03("", 0, 0x07c, 0, 0)
+ Store(DerefOf(f0b0), Local1)
+ CH04("", 0, 0xff, 0, 0x07d, 0, 0)
+
+ CH03("", 0, 0x07e, 0, 0)
+ Store(DerefOf(f0b1), Local1)
+ CH04("", 0, 0xff, 0, 0x07f, 0, 0)
+
+ CH03("", 0, 0x080, 0, 0)
+ Store(DerefOf(f0b2), Local1)
+ CH04("", 0, 0xff, 0, 0x081, 0, 0)
+
+ CH03("", 0, 0x082, 0, 0)
+ Store(DerefOf(f0b3), Local1)
+ CH04("", 0, 0xff, 0, 0x083, 0, 0)
+
+ CH03("", 0, 0x084, 0, 0)
+ Store(DerefOf(bnb0), Local1)
+ CH04("", 0, 0xff, 0, 0x085, 0, 0)
+
+ CH03("", 0, 0x086, 0, 0)
+ Store(DerefOf(ifb0), Local1)
+ CH04("", 0, 0xff, 0, 0x087, 0, 0)
+
+ CH03("", 0, 0x088, 0, 0)
+ Store(DerefOf(ifb1), Local1)
+ CH04("", 0, 0xff, 0, 0x089, 0, 0)
+}
+
+// c
+Method(mfa2)
+{
+ // Checkings
+
+ CH03("", 0, 0x08a, 0, 0)
+ Store(DerefOf(e00c), Local2)
+ CH04("", 0, 0xff, 0, 0x08b, 0, 0)
+
+ CH03("", 0, 0x08c, 0, 0)
+ Store(DerefOf(mx0c), Local2)
+ CH04("", 0, 0xff, 0, 0x08d, 0, 0)
+
+ CH03("", 0, 0x08e, 0, 0)
+ Store(DerefOf(d00c), Local2)
+ CH04("", 0, 0xff, 0, 0x08f, 0, 0)
+
+ CH03("", 0, 0x090, 0, 0)
+ Store(DerefOf(tz0c), Local2)
+ CH04("", 0, 0xff, 0, 0x091, 0, 0)
+
+ CH03("", 0, 0x092, 0, 0)
+ Store(DerefOf(pr0c), Local2)
+ CH04("", 0, 0xff, 0, 0x093, 0, 0)
+
+ CH03("", 0, 0x094, 0, 0)
+ Store(DerefOf(r00c), Local2)
+ CH04("", 0, 0xff, 0, 0x095, 0, 0)
+
+ CH03("", 0, 0x096, 0, 0)
+ Store(DerefOf(pw0c), Local2)
+ CH04("", 0, 0xff, 0, 0x097, 0, 0)
+}
+
+Method(m12a)
+{
+ SRMT("mdac-21-down")
+ mdac()
+ SRMT("mf89-21-down")
+ mf89()
+ SRMT("mf8a-21-down")
+ mf8a()
+ SRMT("mf8b-21-down")
+ mf8b()
+ SRMT("mf8c-21-down")
+ mf8c()
+ SRMT("mf8d-21-down")
+ mf8d()
+ SRMT("mf8e-21-down")
+ mf8e()
+ SRMT("mf8f-21-down")
+ mf8f()
+ SRMT("mf90-21-down")
+ mf90()
+ SRMT("mf91-21-down")
+ mf91()
+ SRMT("mfa0-21-down")
+ mfa0()
+ SRMT("mfa1-21-down")
+ mfa1()
+ SRMT("mfa2-21-down")
+ mfa2()
+}
+
+ /* 0 */
+
+ Method(mm00)
+ {
+ Return("b000")
+ }
+
+ Method(mm01, 1)
+ {
+ Return(arg0)
+ }
+
+ Method(mm02, 1)
+ {
+ Store(DerefOf(arg0), Local7)
+
+ Return(Local7)
+ }
+
+ Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s000, "b000")
+ Name(ss00, "b000")
+ Name(i000, 0)
+
+ /* 1 */
+
+ Name(i010, 0xaabc0123)
+ Name(i987, 0xaabc0987)
+ Processor(pr01, 0, 0xFFFFFFFF, 0)
+ {
+ Name(i000, 0xaabc0000)
+ }
+ Name(ii00, 0xaabc0123)
+ Name(ii01, 0xaabc0987)
+
+ Name(b001, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb01, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+
+ /* 2 */
+
+ Name(b002, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb02, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s002, "String")
+ Name(ss02, "String")
+ Name(i002, 0xabbc0000)
+ Name(ii02, 0xabbc0000)
+ Name(p002, Package() {1,2,3,4})
+
+ /* 3 */
+
+ Event(e003)
+ Mutex(mx03, 0)
+ Device(d003) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz03) {}
+ Processor(pr03, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r003, SystemMemory, 0x100, 0x100)
+ PowerResource(pw03, 1, 0) {Method(mmmm){return (0)}}
+
+ /* 4 */
+
+ Name(b004, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i004, 0xabbc0000)
+ Name(p004, Package() {1,2,3,4})
+
+ /* 6 */
+
+ Method(mm60)
+ {
+ Return("b006")
+ }
+
+ Method(mm61, 1)
+ {
+ Return(arg0)
+ }
+
+ Name(b006, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb06, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s006, "b006")
+ Name(ss06, "b006")
+ Name(i006, 0)
+
+ /* 7 */
+
+ Event(e007)
+ Mutex(mx07, 0)
+ Device(d007) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz07) {}
+ Processor(pr07, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r007, SystemMemory, 0x100, 0x100)
+ PowerResource(pw07, 1, 0) {Method(mmmm){return (0)}}
+
+ /* 8 */
+
+ Name(b008, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i008, 0xabbc0000)
+ Name(p008, Package() {1,2,3,4})
+
+ /* a */
+
+ Name(b00a, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r00a, SystemMemory, 0x100, 0x100)
+
+ CreateField(b00a, 8, 8, bfa0)
+ Field(r00a, ByteAcc, NoLock, Preserve) {f0a0,8,f0a1,8,f0a2,8,f0a3,8}
+ BankField(r00a, f0a1, 0, ByteAcc, NoLock, Preserve) {bna0,4}
+ IndexField(f0a2, f0a3, ByteAcc, NoLock, Preserve) {ifa0,8,ifa1,8}
+
+ /* b */
+
+ Name(b00b, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r00b, SystemMemory, 0x100, 0x100)
+
+ CreateField(b00b, 8, 8, bfb0)
+ Field(r00b, ByteAcc, NoLock, Preserve) {f0b0,8,f0b1,8,f0b2,8,f0b3,8}
+ BankField(r00b, f0b1, 0, ByteAcc, NoLock, Preserve) {bnb0,4}
+ IndexField(f0b2, f0b3, ByteAcc, NoLock, Preserve) {ifb0,8,ifb1,8}
+
+ /* c */
+
+ Event(e00c)
+ Mutex(mx0c, 0)
+ Device(d00c) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz0c) {}
+ Processor(pr0c, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r00c, SystemMemory, 0x100, 0x100)
+ PowerResource(pw0c, 1, 0) {Method(mmmm){return (0)}}
+
+ m12a()
+} /* m12e */
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclUp.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclUp.asl
index af62f5b6a..10b003af2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclUp.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/DataLevel21_DeclUp.asl
@@ -1,626 +1,626 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * 2-level model: \\m12d.<Method>
- *
- * Data for DerefOf(<String>) are 1 levels up.
- *
- * DataLevel<number_of_levels_in_model><data_are_N_levels_up>.asl
- */
-
-Method(m12d,, Serialized)
-{
- /* 0 */
-
- Method(mm00)
- {
- Return("b000")
- }
-
- Method(mm01, 1)
- {
- Return(arg0)
- }
-
- Method(mm02, 1)
- {
- Store(DerefOf(arg0), Local7)
-
- Return(Local7)
- }
-
- Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s000, "b000")
- Name(ss00, "b000")
- Name(i000, 0)
-
- /* 1 */
-
- Name(i010, 0xaabc0123)
- Name(i987, 0xaabc0987)
- Processor(pr01, 0, 0xFFFFFFFF, 0)
- {
- Name(i000, 0xaabc0000)
- }
- Name(ii00, 0xaabc0123)
- Name(ii01, 0xaabc0987)
-
- Name(b001, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb01, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
-
- /* 2 */
-
- Name(b002, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb02, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s002, "String")
- Name(ss02, "String")
- Name(i002, 0xabbc0000)
- Name(ii02, 0xabbc0000)
- Name(p002, Package() {1,2,3,4})
-
- /* 3 */
-
- Event(e003)
- Mutex(mx03, 0)
- Device(d003) { Name(i900, 0xabcd0017) }
- ThermalZone(tz03) {}
- Processor(pr03, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r003, SystemMemory, 0x100, 0x100)
- PowerResource(pw03, 1, 0) {Method(mmmm){return (0)}}
-
- /* 4 */
-
- Name(b004, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i004, 0xabbc0000)
- Name(p004, Package() {1,2,3,4})
-
- /* 6 */
-
- Method(mm60)
- {
- Return("b006")
- }
-
- Method(mm61, 1)
- {
- Return(arg0)
- }
-
- Name(b006, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb06, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s006, "b006")
- Name(ss06, "b006")
- Name(i006, 0)
-
- /* 7 */
-
- Event(e007)
- Mutex(mx07, 0)
- Device(d007) { Name(i900, 0xabcd0017) }
- ThermalZone(tz07) {}
- Processor(pr07, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r007, SystemMemory, 0x100, 0x100)
- PowerResource(pw07, 1, 0) {Method(mmmm){return (0)}}
-
- /* 8 */
-
- Name(b008, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i008, 0xabbc0000)
- Name(p008, Package() {1,2,3,4})
-
- /* a */
-
- Name(b00a, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r00a, SystemMemory, 0x100, 0x100)
-
- CreateField(b00a, 8, 8, bfa0)
- Field(r00a, ByteAcc, NoLock, Preserve) {f0a0,8,f0a1,8,f0a2,8,f0a3,8}
- BankField(r00a, f0a1, 0, ByteAcc, NoLock, Preserve) {bna0,4}
- IndexField(f0a2, f0a3, ByteAcc, NoLock, Preserve) {ifa0,8,ifa1,8}
-
- /* b */
-
- Name(b00b, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r00b, SystemMemory, 0x100, 0x100)
-
- CreateField(b00b, 8, 8, bfb0)
- Field(r00b, ByteAcc, NoLock, Preserve) {f0b0,8,f0b1,8,f0b2,8,f0b3,8}
- BankField(r00b, f0b1, 0, ByteAcc, NoLock, Preserve) {bnb0,4}
- IndexField(f0b2, f0b3, ByteAcc, NoLock, Preserve) {ifb0,8,ifb1,8}
-
- /* c */
-
- Event(e00c)
- Mutex(mx0c, 0)
- Device(d00c) { Name(i900, 0xabcd0017) }
- ThermalZone(tz0c) {}
- Processor(pr0c, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r00c, SystemMemory, 0x100, 0x100)
- PowerResource(pw0c, 1, 0) {Method(mmmm){return (0)}}
-
-/*
- * 0 - Check different ways to pass String
- */
-Method(mdac)
-{
- Store("b000", Local0)
- CopyObject("b000", i000)
- Store(s000, Local7)
-
- // Checkings
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(DerefOf("b000"), Local1)
- mf88(Local1, c00b, bb00, 0x001, 0x002, 1)
-
- Store(DerefOf(Local0), Local1)
- mf88(Local1, c00b, bb00, 0x003, 0x004, 1)
-
- Store(DerefOf(Local7), Local1)
- mf88(Local1, c00b, bb00, 0x005, 0x006, 1)
-
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- Store(DerefOf(s000), Local1)
- mf88(Local1, c00b, bb00, 0x007, 0x008, 1)
-
- Store(DerefOf(mm00()), Local1)
- mf88(Local1, c00b, bb00, 0x009, 0x00a, 1)
-
- Store(DerefOf(mm01(ss00)), Local1)
- mf88(Local1, c00b, bb00, 0x00b, 0x00c, 1)
-
- Store(DerefOf(ToString("b000")), Local1)
- mf88(Local1, c00b, bb00, 0x00d, 0x00e, 1)
-
- Store(DerefOf(Store("b000", Local6)), Local1)
- mf88(Local1, c00b, bb00, 0x00f, 0x010, 1)
-
- Store(DerefOf(i000), Local1)
- mf88(Local1, c00b, bb00, 0x011, 0x012, 1)
-
- Store(mm02("^b000"), Local1)
- mf88(Local1, c00b, bb00, 0x013, 0x014, 1)
-
- CH03("", 0, 0x015, 0, 0)
-}
-
-/*
- * 1 - Check different ways to specify elements of NameSpace
- */
-Method(mf89)
-{
- // Checkings
-
- Store(DerefOf("b001"), Local1)
- mf88(Local1, c00b, bb01, 0x016, 0x017, 1)
-
- Store(DerefOf("^b001"), Local1)
- mf88(Local1, c00b, bb01, 0x018, 0x019, 1)
-
- Store(DerefOf("^pr01.i000"), Local1)
- mf88(Local1, c009, 0xaabc0000, 0x01a, 0x01b, 1)
-
- Store(DerefOf("\\m12d.pr01.i000"), Local1)
- if (FLG9) {
- mf88(Local1, c009, 0xaabc0000, 0x01c, 0x01d, 1)
- } else {
- CH04("", 0, 0xff, 0, 0x01e, 0, 0) // AE_NOT_FOUND
- }
-
- Store(DerefOf("^i010"), Local1)
- mf88(Local1, c009, ii00, 0x01f, 0x020, 1)
-
- Store(DerefOf("^i987"), Local1)
- mf88(Local1, c009, ii01, 0x021, 0x022, 1)
-
- CH03("", 0, 0x023, 0, 0)
-}
-
-/*
- * 2 - Check access to calculated type objects - DerefOf(<String>)
- */
-Method(mf8a)
-{
- CH03("", 0, 0x01f, 0, 0)
-
- // Checkings
-
- Store(DerefOf("b002"), Local1)
- mf88(Local1, c00b, bb02, 0x020, 0x021, 1)
-
- Store(DerefOf("s002"), Local1)
- mf88(Local1, c00a, ss02, 0x022, 0x023, 1)
-
- Store(DerefOf("i002"), Local1)
- mf88(Local1, c009, ii02, 0x024, 0x025, 1)
-
- Store(DerefOf("p002"), Local1)
- mf88(Local1, c00c, 0, 0x026, 0x027, 0)
-
- CH03("", 0, 0x028, 0, 0)
-}
-
-/*
- * 3 - Check access to special type objects - DerefOf(<String>)
- */
-Method(mf8b)
-{
- // Checkings
-
- CH03("", 0, 0x029, 0, 0)
- CopyObject(DerefOf("e003"), Local1)
- mf88(Local1, c00f, 0, 0x02a, 0x02b, 0)
-
- CH03("", 0, 0x02c, 0, 0)
- CopyObject(DerefOf("mx03"), Local1)
- mf88(Local1, c011, 0, 0x02d, 0x02e, 0)
-
- CH03("", 0, 0x02f, 0, 0)
- CopyObject(DerefOf("d003"), Local1)
- mf88(Local1, c00e, 0, 0x030, 0x031, 0)
-
- CH03("", 0, 0x032, 0, 0)
- CopyObject(DerefOf("tz03"), Local1)
- mf88(Local1, c015, 0, 0x033, 0x034, 0)
-
- CH03("", 0, 0x035, 0, 0)
- CopyObject(DerefOf("pr03"), Local1)
- mf88(Local1, c014, 0, 0x036, 0x037, 0)
-
- if (y510) {
- CH03("", 0, 0x038, 0, 0)
- CopyObject(DerefOf("r003"), Local1)
- mf88(Local1, c012, 0, 0x039, 0x03a, 0)
- }
-
- CH03("", 0, 0x03b, 0, 0)
- CopyObject(DerefOf("pw03"), Local1)
- mf88(Local1, c013, 0, 0x03c, 0x03d, 0)
-}
-
-/*
- * 4 - Check DerefOf(<Not-String>) - calculated type objects
- */
-Method(mf8c)
-{
- // Checkings
-
- CH03("", 0, 0x03e, 0, 0)
- Store(DerefOf(b004), Local1)
- CH04("", 0, 0xff, 0, 0x03f, 0, 0)
-
- CH03("", 0, 0x040, 0, 0)
- Store(DerefOf(i004), Local1)
- CH04("", 0, 0xff, 0, 0x041, 0, 0)
-
- CH03("", 0, 0x042, 0, 0)
- Store(DerefOf(p004), Local1)
- CH04("", 0, 0xff, 0, 0x043, 0, 0)
-}
-
-/*
- * 5 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
- */
-Method(mf8d)
-{
- CH03("", 0, 0x044, 0, 0)
- Store(DerefOf("0123"), Local1)
- CH04("", 0, 0xff, 0, 0x045, 0, 0)
-
- CH03("", 0, 0x046, 0, 0)
- Store(DerefOf("zxcvbnm,./;'\][0123"), Local1)
- CH04("", 0, 0xff, 0, 0x047, 0, 0)
-
- CH03("", 0, 0x048, 0, 0)
- Store(DerefOf("b0qv"), Local1)
- CH04("", 0, 0xff, 0, 0x049, 0, 0)
-}
-
-/*
- * 6 - Check different ways to pass String (mdac
- * but without Store). Check - no exceptions.
- */
-Method(mf8e)
-{
- Store("b006", Local0)
- CopyObject("b006", i006)
- Store(s006, Local7)
-
- // Checkings
-
- CH03("", 0, 0x04a, 0, 0)
-
- Store(DerefOf("b006"), Local2)
-
- Store(DerefOf(Local0), Local2)
-
- Store(DerefOf(Local7), Local2)
-
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
- Store(DerefOf(s006), Local2)
-
- Store(DerefOf(mm60()), Local2)
-
- Store(DerefOf(mm61(ss06)), Local2)
-
- Store(DerefOf(ToString("b006")), Local2)
-
- Store(DerefOf(Store("b006", Local6)), Local2)
-
- Store(DerefOf(i006), Local2)
-
- CH03("", 0, 0x04b, 0, 0)
-}
-
-/*
- * 7 - Check access to special type objects - DerefOf(<String>)
- */
-Method(mf8f)
-{
- // Checkings
-
- CH03("", 0, 0x04c, 0, 0)
- Store(DerefOf("e007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x04d, 0, 0)
- }
-
- CH03("", 0, 0x04e, 0, 0)
- Store(DerefOf("mx07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x04f, 0, 0)
- }
-
- CH03("", 0, 0x050, 0, 0)
- Store(DerefOf("d007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x051, 0, 0)
- }
-
- CH03("", 0, 0x052, 0, 0)
- Store(DerefOf("tz07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x053, 0, 0)
- }
-
- CH03("", 0, 0x054, 0, 0)
- Store(DerefOf("pr07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x055, 0, 0)
- }
-
- CH03("", 0, 0x056, 0, 0)
- Store(DerefOf("r007"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x057, 0, 0)
- }
-
- CH03("", 0, 0x058, 0, 0)
- Store(DerefOf("pw07"), Local2)
- if(LNot(SLCK)){
- CH04("", 0, 47, 0, 0x059, 0, 0)
- }
-}
-
-/*
- * 8 - Check DerefOf(<Not-String>) - calculated type objects
- */
-Method(mf90)
-{
- // Checkings
-
- CH03("", 0, 0x05a, 0, 0)
- Store(DerefOf(b008), Local2)
- CH04("", 0, 0xff, 0, 0x05b, 0, 0)
-
- CH03("", 0, 0x05c, 0, 0)
- Store(DerefOf(i008), Local2)
- CH04("", 0, 0xff, 0, 0x05d, 0, 0)
-
- CH03("", 0, 0x05e, 0, 0)
- Store(DerefOf(p008), Local2)
- CH04("", 0, 0xff, 0, 0x05f, 0, 0)
-}
-
-/*
- * 9 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
- */
-Method(mf91)
-{
- CH03("", 0, 0x060, 0, 0)
- Store(DerefOf("0123"), Local2)
- CH04("", 0, 0xff, 0, 0x061, 0, 0)
-
- CH03("", 0, 0x062, 0, 0)
- Store(DerefOf("zxcvbnm,./;'\][0123"), Local2)
- CH04("", 0, 0xff, 0, 0x063, 0, 0)
-
- CH03("", 0, 0x064, 0, 0)
- Store(DerefOf("mf_d"), Local2)
- CH04("", 0, 0xff, 0, 0x065, 0, 0)
-
- CH03("", 0, 0x066, 0, 0)
- Store(DerefOf("b009"), Local2)
- CH04("", 0, 0xff, 0, 0x067, 0, 0)
-}
-
-/*
- * a - Check access to special type objects - DerefOf(<String>)
- */
-Method(mfa0)
-{
- CH03("", 0, 0x068, 0, 0)
-
- Store(DerefOf("bfa0"), Local1)
- mf88(Local1, c009, 0xb1, 0x069, 0x06a, 1)
-
- Store(DerefOf("f0a0"), Local1)
- mf88(Local1, c009, 0, 0x06b, 0x06c, 0)
-
- Store(DerefOf("f0a1"), Local1)
- mf88(Local1, c009, 0, 0x06d, 0x06e, 0)
-
- Store(DerefOf("f0a2"), Local1)
- mf88(Local1, c009, 0, 0x06f, 0x070, 0)
-
- Store(DerefOf("f0a3"), Local1)
- mf88(Local1, c009, 0, 0x071, 0x072, 0)
-
- Store(DerefOf("bna0"), Local1)
- mf88(Local1, c009, 0, 0x073, 0x074, 0)
-
- Store(DerefOf("ifa0"), Local1)
- mf88(Local1, c009, 0, 0x075, 0x076, 0)
-
- Store(DerefOf("ifa1"), Local1)
- mf88(Local1, c009, 0, 0x077, 0x078, 0)
-
- CH03("", 0, 0x079, 0, 0)
-}
-
-// b
-Method(mfa1)
-{
- CH03("", 0, 0x07a, 0, 0)
- Store(DerefOf(bfb0), Local1)
- CH04("", 0, 0xff, 0, 0x07b, 0, 0)
-
- CH03("", 0, 0x07c, 0, 0)
- Store(DerefOf(f0b0), Local1)
- CH04("", 0, 0xff, 0, 0x07d, 0, 0)
-
- CH03("", 0, 0x07e, 0, 0)
- Store(DerefOf(f0b1), Local1)
- CH04("", 0, 0xff, 0, 0x07f, 0, 0)
-
- CH03("", 0, 0x080, 0, 0)
- Store(DerefOf(f0b2), Local1)
- CH04("", 0, 0xff, 0, 0x081, 0, 0)
-
- CH03("", 0, 0x082, 0, 0)
- Store(DerefOf(f0b3), Local1)
- CH04("", 0, 0xff, 0, 0x083, 0, 0)
-
- CH03("", 0, 0x084, 0, 0)
- Store(DerefOf(bnb0), Local1)
- CH04("", 0, 0xff, 0, 0x085, 0, 0)
-
- CH03("", 0, 0x086, 0, 0)
- Store(DerefOf(ifb0), Local1)
- CH04("", 0, 0xff, 0, 0x087, 0, 0)
-
- CH03("", 0, 0x088, 0, 0)
- Store(DerefOf(ifb1), Local1)
- CH04("", 0, 0xff, 0, 0x089, 0, 0)
-}
-
-// c
-Method(mfa2)
-{
- // Checkings
-
- CH03("", 0, 0x08a, 0, 0)
- Store(DerefOf(e00c), Local2)
- CH04("", 0, 0xff, 0, 0x08b, 0, 0)
-
- CH03("", 0, 0x08c, 0, 0)
- Store(DerefOf(mx0c), Local2)
- CH04("", 0, 0xff, 0, 0x08d, 0, 0)
-
- CH03("", 0, 0x08e, 0, 0)
- Store(DerefOf(d00c), Local2)
- CH04("", 0, 0xff, 0, 0x08f, 0, 0)
-
- CH03("", 0, 0x090, 0, 0)
- Store(DerefOf(tz0c), Local2)
- CH04("", 0, 0xff, 0, 0x091, 0, 0)
-
- CH03("", 0, 0x092, 0, 0)
- Store(DerefOf(pr0c), Local2)
- CH04("", 0, 0xff, 0, 0x093, 0, 0)
-
- CH03("", 0, 0x094, 0, 0)
- Store(DerefOf(r00c), Local2)
- CH04("", 0, 0xff, 0, 0x095, 0, 0)
-
- CH03("", 0, 0x096, 0, 0)
- Store(DerefOf(pw0c), Local2)
- CH04("", 0, 0xff, 0, 0x097, 0, 0)
-}
-
-Method(m12a)
-{
- SRMT("mdac-21-up")
- mdac()
- SRMT("mf89-21-up")
- mf89()
- SRMT("mf8a-21-up")
- mf8a()
- SRMT("mf8b-21-up")
- mf8b()
- SRMT("mf8c-21-up")
- mf8c()
- SRMT("mf8d-21-up")
- mf8d()
- SRMT("mf8e-21-up")
- mf8e()
- SRMT("mf8f-21-up")
- mf8f()
- SRMT("mf90-21-up")
- mf90()
- SRMT("mf91-21-up")
- mf91()
- SRMT("mfa0-21-up")
- mfa0()
- SRMT("mfa1-21-up")
- mfa1()
- SRMT("mfa2-21-up")
- mfa2()
-}
-
- m12a()
-} /* m12d */
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * 2-level model: \\m12d.<Method>
+ *
+ * Data for DerefOf(<String>) are 1 levels up.
+ *
+ * DataLevel<number_of_levels_in_model><data_are_N_levels_up>.asl
+ */
+
+Method(m12d,, Serialized)
+{
+ /* 0 */
+
+ Method(mm00)
+ {
+ Return("b000")
+ }
+
+ Method(mm01, 1)
+ {
+ Return(arg0)
+ }
+
+ Method(mm02, 1)
+ {
+ Store(DerefOf(arg0), Local7)
+
+ Return(Local7)
+ }
+
+ Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s000, "b000")
+ Name(ss00, "b000")
+ Name(i000, 0)
+
+ /* 1 */
+
+ Name(i010, 0xaabc0123)
+ Name(i987, 0xaabc0987)
+ Processor(pr01, 0, 0xFFFFFFFF, 0)
+ {
+ Name(i000, 0xaabc0000)
+ }
+ Name(ii00, 0xaabc0123)
+ Name(ii01, 0xaabc0987)
+
+ Name(b001, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb01, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+
+ /* 2 */
+
+ Name(b002, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb02, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s002, "String")
+ Name(ss02, "String")
+ Name(i002, 0xabbc0000)
+ Name(ii02, 0xabbc0000)
+ Name(p002, Package() {1,2,3,4})
+
+ /* 3 */
+
+ Event(e003)
+ Mutex(mx03, 0)
+ Device(d003) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz03) {}
+ Processor(pr03, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r003, SystemMemory, 0x100, 0x100)
+ PowerResource(pw03, 1, 0) {Method(mmmm){return (0)}}
+
+ /* 4 */
+
+ Name(b004, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i004, 0xabbc0000)
+ Name(p004, Package() {1,2,3,4})
+
+ /* 6 */
+
+ Method(mm60)
+ {
+ Return("b006")
+ }
+
+ Method(mm61, 1)
+ {
+ Return(arg0)
+ }
+
+ Name(b006, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb06, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s006, "b006")
+ Name(ss06, "b006")
+ Name(i006, 0)
+
+ /* 7 */
+
+ Event(e007)
+ Mutex(mx07, 0)
+ Device(d007) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz07) {}
+ Processor(pr07, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r007, SystemMemory, 0x100, 0x100)
+ PowerResource(pw07, 1, 0) {Method(mmmm){return (0)}}
+
+ /* 8 */
+
+ Name(b008, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i008, 0xabbc0000)
+ Name(p008, Package() {1,2,3,4})
+
+ /* a */
+
+ Name(b00a, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r00a, SystemMemory, 0x100, 0x100)
+
+ CreateField(b00a, 8, 8, bfa0)
+ Field(r00a, ByteAcc, NoLock, Preserve) {f0a0,8,f0a1,8,f0a2,8,f0a3,8}
+ BankField(r00a, f0a1, 0, ByteAcc, NoLock, Preserve) {bna0,4}
+ IndexField(f0a2, f0a3, ByteAcc, NoLock, Preserve) {ifa0,8,ifa1,8}
+
+ /* b */
+
+ Name(b00b, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r00b, SystemMemory, 0x100, 0x100)
+
+ CreateField(b00b, 8, 8, bfb0)
+ Field(r00b, ByteAcc, NoLock, Preserve) {f0b0,8,f0b1,8,f0b2,8,f0b3,8}
+ BankField(r00b, f0b1, 0, ByteAcc, NoLock, Preserve) {bnb0,4}
+ IndexField(f0b2, f0b3, ByteAcc, NoLock, Preserve) {ifb0,8,ifb1,8}
+
+ /* c */
+
+ Event(e00c)
+ Mutex(mx0c, 0)
+ Device(d00c) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz0c) {}
+ Processor(pr0c, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r00c, SystemMemory, 0x100, 0x100)
+ PowerResource(pw0c, 1, 0) {Method(mmmm){return (0)}}
+
+/*
+ * 0 - Check different ways to pass String
+ */
+Method(mdac)
+{
+ Store("b000", Local0)
+ CopyObject("b000", i000)
+ Store(s000, Local7)
+
+ // Checkings
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(DerefOf("b000"), Local1)
+ mf88(Local1, c00b, bb00, 0x001, 0x002, 1)
+
+ Store(DerefOf(Local0), Local1)
+ mf88(Local1, c00b, bb00, 0x003, 0x004, 1)
+
+ Store(DerefOf(Local7), Local1)
+ mf88(Local1, c00b, bb00, 0x005, 0x006, 1)
+
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ Store(DerefOf(s000), Local1)
+ mf88(Local1, c00b, bb00, 0x007, 0x008, 1)
+
+ Store(DerefOf(mm00()), Local1)
+ mf88(Local1, c00b, bb00, 0x009, 0x00a, 1)
+
+ Store(DerefOf(mm01(ss00)), Local1)
+ mf88(Local1, c00b, bb00, 0x00b, 0x00c, 1)
+
+ Store(DerefOf(ToString("b000")), Local1)
+ mf88(Local1, c00b, bb00, 0x00d, 0x00e, 1)
+
+ Store(DerefOf(Store("b000", Local6)), Local1)
+ mf88(Local1, c00b, bb00, 0x00f, 0x010, 1)
+
+ Store(DerefOf(i000), Local1)
+ mf88(Local1, c00b, bb00, 0x011, 0x012, 1)
+
+ Store(mm02("^b000"), Local1)
+ mf88(Local1, c00b, bb00, 0x013, 0x014, 1)
+
+ CH03("", 0, 0x015, 0, 0)
+}
+
+/*
+ * 1 - Check different ways to specify elements of NameSpace
+ */
+Method(mf89)
+{
+ // Checkings
+
+ Store(DerefOf("b001"), Local1)
+ mf88(Local1, c00b, bb01, 0x016, 0x017, 1)
+
+ Store(DerefOf("^b001"), Local1)
+ mf88(Local1, c00b, bb01, 0x018, 0x019, 1)
+
+ Store(DerefOf("^pr01.i000"), Local1)
+ mf88(Local1, c009, 0xaabc0000, 0x01a, 0x01b, 1)
+
+ Store(DerefOf("\\m12d.pr01.i000"), Local1)
+ if (FLG9) {
+ mf88(Local1, c009, 0xaabc0000, 0x01c, 0x01d, 1)
+ } else {
+ CH04("", 0, 0xff, 0, 0x01e, 0, 0) // AE_NOT_FOUND
+ }
+
+ Store(DerefOf("^i010"), Local1)
+ mf88(Local1, c009, ii00, 0x01f, 0x020, 1)
+
+ Store(DerefOf("^i987"), Local1)
+ mf88(Local1, c009, ii01, 0x021, 0x022, 1)
+
+ CH03("", 0, 0x023, 0, 0)
+}
+
+/*
+ * 2 - Check access to calculated type objects - DerefOf(<String>)
+ */
+Method(mf8a)
+{
+ CH03("", 0, 0x01f, 0, 0)
+
+ // Checkings
+
+ Store(DerefOf("b002"), Local1)
+ mf88(Local1, c00b, bb02, 0x020, 0x021, 1)
+
+ Store(DerefOf("s002"), Local1)
+ mf88(Local1, c00a, ss02, 0x022, 0x023, 1)
+
+ Store(DerefOf("i002"), Local1)
+ mf88(Local1, c009, ii02, 0x024, 0x025, 1)
+
+ Store(DerefOf("p002"), Local1)
+ mf88(Local1, c00c, 0, 0x026, 0x027, 0)
+
+ CH03("", 0, 0x028, 0, 0)
+}
+
+/*
+ * 3 - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mf8b)
+{
+ // Checkings
+
+ CH03("", 0, 0x029, 0, 0)
+ CopyObject(DerefOf("e003"), Local1)
+ mf88(Local1, c00f, 0, 0x02a, 0x02b, 0)
+
+ CH03("", 0, 0x02c, 0, 0)
+ CopyObject(DerefOf("mx03"), Local1)
+ mf88(Local1, c011, 0, 0x02d, 0x02e, 0)
+
+ CH03("", 0, 0x02f, 0, 0)
+ CopyObject(DerefOf("d003"), Local1)
+ mf88(Local1, c00e, 0, 0x030, 0x031, 0)
+
+ CH03("", 0, 0x032, 0, 0)
+ CopyObject(DerefOf("tz03"), Local1)
+ mf88(Local1, c015, 0, 0x033, 0x034, 0)
+
+ CH03("", 0, 0x035, 0, 0)
+ CopyObject(DerefOf("pr03"), Local1)
+ mf88(Local1, c014, 0, 0x036, 0x037, 0)
+
+ if (y510) {
+ CH03("", 0, 0x038, 0, 0)
+ CopyObject(DerefOf("r003"), Local1)
+ mf88(Local1, c012, 0, 0x039, 0x03a, 0)
+ }
+
+ CH03("", 0, 0x03b, 0, 0)
+ CopyObject(DerefOf("pw03"), Local1)
+ mf88(Local1, c013, 0, 0x03c, 0x03d, 0)
+}
+
+/*
+ * 4 - Check DerefOf(<Not-String>) - calculated type objects
+ */
+Method(mf8c)
+{
+ // Checkings
+
+ CH03("", 0, 0x03e, 0, 0)
+ Store(DerefOf(b004), Local1)
+ CH04("", 0, 0xff, 0, 0x03f, 0, 0)
+
+ CH03("", 0, 0x040, 0, 0)
+ Store(DerefOf(i004), Local1)
+ CH04("", 0, 0xff, 0, 0x041, 0, 0)
+
+ CH03("", 0, 0x042, 0, 0)
+ Store(DerefOf(p004), Local1)
+ CH04("", 0, 0xff, 0, 0x043, 0, 0)
+}
+
+/*
+ * 5 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
+ */
+Method(mf8d)
+{
+ CH03("", 0, 0x044, 0, 0)
+ Store(DerefOf("0123"), Local1)
+ CH04("", 0, 0xff, 0, 0x045, 0, 0)
+
+ CH03("", 0, 0x046, 0, 0)
+ Store(DerefOf("zxcvbnm,./;'\][0123"), Local1)
+ CH04("", 0, 0xff, 0, 0x047, 0, 0)
+
+ CH03("", 0, 0x048, 0, 0)
+ Store(DerefOf("b0qv"), Local1)
+ CH04("", 0, 0xff, 0, 0x049, 0, 0)
+}
+
+/*
+ * 6 - Check different ways to pass String (mdac
+ * but without Store). Check - no exceptions.
+ */
+Method(mf8e)
+{
+ Store("b006", Local0)
+ CopyObject("b006", i006)
+ Store(s006, Local7)
+
+ // Checkings
+
+ CH03("", 0, 0x04a, 0, 0)
+
+ Store(DerefOf("b006"), Local2)
+
+ Store(DerefOf(Local0), Local2)
+
+ Store(DerefOf(Local7), Local2)
+
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+ Store(DerefOf(s006), Local2)
+
+ Store(DerefOf(mm60()), Local2)
+
+ Store(DerefOf(mm61(ss06)), Local2)
+
+ Store(DerefOf(ToString("b006")), Local2)
+
+ Store(DerefOf(Store("b006", Local6)), Local2)
+
+ Store(DerefOf(i006), Local2)
+
+ CH03("", 0, 0x04b, 0, 0)
+}
+
+/*
+ * 7 - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mf8f)
+{
+ // Checkings
+
+ CH03("", 0, 0x04c, 0, 0)
+ Store(DerefOf("e007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x04d, 0, 0)
+ }
+
+ CH03("", 0, 0x04e, 0, 0)
+ Store(DerefOf("mx07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x04f, 0, 0)
+ }
+
+ CH03("", 0, 0x050, 0, 0)
+ Store(DerefOf("d007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x051, 0, 0)
+ }
+
+ CH03("", 0, 0x052, 0, 0)
+ Store(DerefOf("tz07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x053, 0, 0)
+ }
+
+ CH03("", 0, 0x054, 0, 0)
+ Store(DerefOf("pr07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x055, 0, 0)
+ }
+
+ CH03("", 0, 0x056, 0, 0)
+ Store(DerefOf("r007"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x057, 0, 0)
+ }
+
+ CH03("", 0, 0x058, 0, 0)
+ Store(DerefOf("pw07"), Local2)
+ if(LNot(SLCK)){
+ CH04("", 0, 47, 0, 0x059, 0, 0)
+ }
+}
+
+/*
+ * 8 - Check DerefOf(<Not-String>) - calculated type objects
+ */
+Method(mf90)
+{
+ // Checkings
+
+ CH03("", 0, 0x05a, 0, 0)
+ Store(DerefOf(b008), Local2)
+ CH04("", 0, 0xff, 0, 0x05b, 0, 0)
+
+ CH03("", 0, 0x05c, 0, 0)
+ Store(DerefOf(i008), Local2)
+ CH04("", 0, 0xff, 0, 0x05d, 0, 0)
+
+ CH03("", 0, 0x05e, 0, 0)
+ Store(DerefOf(p008), Local2)
+ CH04("", 0, 0xff, 0, 0x05f, 0, 0)
+}
+
+/*
+ * 9 - Check DerefOf(<String>) - but String doesnt refer NameSpace object
+ */
+Method(mf91)
+{
+ CH03("", 0, 0x060, 0, 0)
+ Store(DerefOf("0123"), Local2)
+ CH04("", 0, 0xff, 0, 0x061, 0, 0)
+
+ CH03("", 0, 0x062, 0, 0)
+ Store(DerefOf("zxcvbnm,./;'\][0123"), Local2)
+ CH04("", 0, 0xff, 0, 0x063, 0, 0)
+
+ CH03("", 0, 0x064, 0, 0)
+ Store(DerefOf("mf_d"), Local2)
+ CH04("", 0, 0xff, 0, 0x065, 0, 0)
+
+ CH03("", 0, 0x066, 0, 0)
+ Store(DerefOf("b009"), Local2)
+ CH04("", 0, 0xff, 0, 0x067, 0, 0)
+}
+
+/*
+ * a - Check access to special type objects - DerefOf(<String>)
+ */
+Method(mfa0)
+{
+ CH03("", 0, 0x068, 0, 0)
+
+ Store(DerefOf("bfa0"), Local1)
+ mf88(Local1, c009, 0xb1, 0x069, 0x06a, 1)
+
+ Store(DerefOf("f0a0"), Local1)
+ mf88(Local1, c009, 0, 0x06b, 0x06c, 0)
+
+ Store(DerefOf("f0a1"), Local1)
+ mf88(Local1, c009, 0, 0x06d, 0x06e, 0)
+
+ Store(DerefOf("f0a2"), Local1)
+ mf88(Local1, c009, 0, 0x06f, 0x070, 0)
+
+ Store(DerefOf("f0a3"), Local1)
+ mf88(Local1, c009, 0, 0x071, 0x072, 0)
+
+ Store(DerefOf("bna0"), Local1)
+ mf88(Local1, c009, 0, 0x073, 0x074, 0)
+
+ Store(DerefOf("ifa0"), Local1)
+ mf88(Local1, c009, 0, 0x075, 0x076, 0)
+
+ Store(DerefOf("ifa1"), Local1)
+ mf88(Local1, c009, 0, 0x077, 0x078, 0)
+
+ CH03("", 0, 0x079, 0, 0)
+}
+
+// b
+Method(mfa1)
+{
+ CH03("", 0, 0x07a, 0, 0)
+ Store(DerefOf(bfb0), Local1)
+ CH04("", 0, 0xff, 0, 0x07b, 0, 0)
+
+ CH03("", 0, 0x07c, 0, 0)
+ Store(DerefOf(f0b0), Local1)
+ CH04("", 0, 0xff, 0, 0x07d, 0, 0)
+
+ CH03("", 0, 0x07e, 0, 0)
+ Store(DerefOf(f0b1), Local1)
+ CH04("", 0, 0xff, 0, 0x07f, 0, 0)
+
+ CH03("", 0, 0x080, 0, 0)
+ Store(DerefOf(f0b2), Local1)
+ CH04("", 0, 0xff, 0, 0x081, 0, 0)
+
+ CH03("", 0, 0x082, 0, 0)
+ Store(DerefOf(f0b3), Local1)
+ CH04("", 0, 0xff, 0, 0x083, 0, 0)
+
+ CH03("", 0, 0x084, 0, 0)
+ Store(DerefOf(bnb0), Local1)
+ CH04("", 0, 0xff, 0, 0x085, 0, 0)
+
+ CH03("", 0, 0x086, 0, 0)
+ Store(DerefOf(ifb0), Local1)
+ CH04("", 0, 0xff, 0, 0x087, 0, 0)
+
+ CH03("", 0, 0x088, 0, 0)
+ Store(DerefOf(ifb1), Local1)
+ CH04("", 0, 0xff, 0, 0x089, 0, 0)
+}
+
+// c
+Method(mfa2)
+{
+ // Checkings
+
+ CH03("", 0, 0x08a, 0, 0)
+ Store(DerefOf(e00c), Local2)
+ CH04("", 0, 0xff, 0, 0x08b, 0, 0)
+
+ CH03("", 0, 0x08c, 0, 0)
+ Store(DerefOf(mx0c), Local2)
+ CH04("", 0, 0xff, 0, 0x08d, 0, 0)
+
+ CH03("", 0, 0x08e, 0, 0)
+ Store(DerefOf(d00c), Local2)
+ CH04("", 0, 0xff, 0, 0x08f, 0, 0)
+
+ CH03("", 0, 0x090, 0, 0)
+ Store(DerefOf(tz0c), Local2)
+ CH04("", 0, 0xff, 0, 0x091, 0, 0)
+
+ CH03("", 0, 0x092, 0, 0)
+ Store(DerefOf(pr0c), Local2)
+ CH04("", 0, 0xff, 0, 0x093, 0, 0)
+
+ CH03("", 0, 0x094, 0, 0)
+ Store(DerefOf(r00c), Local2)
+ CH04("", 0, 0xff, 0, 0x095, 0, 0)
+
+ CH03("", 0, 0x096, 0, 0)
+ Store(DerefOf(pw0c), Local2)
+ CH04("", 0, 0xff, 0, 0x097, 0, 0)
+}
+
+Method(m12a)
+{
+ SRMT("mdac-21-up")
+ mdac()
+ SRMT("mf89-21-up")
+ mf89()
+ SRMT("mf8a-21-up")
+ mf8a()
+ SRMT("mf8b-21-up")
+ mf8b()
+ SRMT("mf8c-21-up")
+ mf8c()
+ SRMT("mf8d-21-up")
+ mf8d()
+ SRMT("mf8e-21-up")
+ mf8e()
+ SRMT("mf8f-21-up")
+ mf8f()
+ SRMT("mf90-21-up")
+ mf90()
+ SRMT("mf91-21-up")
+ mf91()
+ SRMT("mfa0-21-up")
+ mfa0()
+ SRMT("mfa1-21-up")
+ mfa1()
+ SRMT("mfa2-21-up")
+ mfa2()
+}
+
+ m12a()
+} /* m12d */
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/MAIN.asl
index ffe671513..f9a1ab5b4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B12.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0012/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B12.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0012/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/Method.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/Method.asl
index 15fd1e2bb..7d9cdfe8d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/Method.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/Method.asl
@@ -1,137 +1,137 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Access to Method type objects
- *
- * SEE ALSO: misc/m15b
- *
- * Add here the tests of types:
- * - \xx.xx (relative to the root)
- * - ^xx.xx (relative to the parent)
- * - xx.xx
- * - Methods inside another type objects
- */
-
-/* Access to Method in one level up */
-
-Method(m13b)
-{
- return (0xabcd0000)
-}
-
-Method(m138)
-{
- CH03("", 0, 0x098, 0, 0)
- Store(DerefOf("m13b"), Local0)
- if (SLCK) {
- CH03("", 0, 0x099, 0, 0)
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c010)) {
- err("", zFFF, 0x09a, 0, 0, Local1, c010)
- }
- } else {
- CH04("", 0, 47, 0, 0x09b, 0, 0) // AE_AML_OPERAND_TYPE
- }
-}
-
-/* Access to the Method itself */
-
-Method(m12c)
-{
- CH03("", 0, 0x09c, 0, 0)
- Store(DerefOf("m12c"), Local0)
- if (SLCK) {
- CH03("", 0, 0x09d, 0, 0)
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c010)) {
- err("", zFFF, 0x09e, 0, 0, Local1, c010)
- }
- } else {
- CH04("", 0, 47, 0, 0x09f, 0, 0) // AE_AML_OPERAND_TYPE
- }
-}
-
-/* Access to Method of the same level */
-
-Method(m139)
-{
- Method(m13c)
- {
- return (0xabcd0003)
- }
-
- CH03("", 0, 0x0a0, 0, 0)
- Store(DerefOf("m13c"), Local0)
- if (SLCK) {
- CH03("", 0, 0x0a1, 0, 0)
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c010)) {
- err("", zFFF, 0x0a2, 0, 0, Local1, c010)
- }
- } else {
- CH04("", 0, 47, 0, 0x0a3, 0, 0) // AE_AML_OPERAND_TYPE
- }
-}
-
-/* Access to Method in one level up inside another Method */
-
-Method(m13a)
-{
- Method(m13d)
- {
- return (0xabcd0004)
- }
- Method(m138)
- {
- CH03("", 0, 0x0a4, 0, 0)
- Store(DerefOf("m13d"), Local0)
- if (SLCK) {
- CH03("", 0, 0x0a5, 0, 0)
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c010)) {
- err("", zFFF, 0x0a6, 0, 0, Local1, c010)
- }
- } else {
- CH04("", 0, 47, 0, 0x0a7, 0, 0) // AE_AML_OPERAND_TYPE
- }
- }
- m138()
-}
-
-Method(m12f)
-{
- SRMT("m138")
- m138()
- SRMT("m12c")
- m12c()
- SRMT("m139")
- m139()
- SRMT("m13a")
- m13a()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Access to Method type objects
+ *
+ * SEE ALSO: misc/m15b
+ *
+ * Add here the tests of types:
+ * - \xx.xx (relative to the root)
+ * - ^xx.xx (relative to the parent)
+ * - xx.xx
+ * - Methods inside another type objects
+ */
+
+/* Access to Method in one level up */
+
+Method(m13b)
+{
+ return (0xabcd0000)
+}
+
+Method(m138)
+{
+ CH03("", 0, 0x098, 0, 0)
+ Store(DerefOf("m13b"), Local0)
+ if (SLCK) {
+ CH03("", 0, 0x099, 0, 0)
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c010)) {
+ err("", zFFF, 0x09a, 0, 0, Local1, c010)
+ }
+ } else {
+ CH04("", 0, 47, 0, 0x09b, 0, 0) // AE_AML_OPERAND_TYPE
+ }
+}
+
+/* Access to the Method itself */
+
+Method(m12c)
+{
+ CH03("", 0, 0x09c, 0, 0)
+ Store(DerefOf("m12c"), Local0)
+ if (SLCK) {
+ CH03("", 0, 0x09d, 0, 0)
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c010)) {
+ err("", zFFF, 0x09e, 0, 0, Local1, c010)
+ }
+ } else {
+ CH04("", 0, 47, 0, 0x09f, 0, 0) // AE_AML_OPERAND_TYPE
+ }
+}
+
+/* Access to Method of the same level */
+
+Method(m139)
+{
+ Method(m13c)
+ {
+ return (0xabcd0003)
+ }
+
+ CH03("", 0, 0x0a0, 0, 0)
+ Store(DerefOf("m13c"), Local0)
+ if (SLCK) {
+ CH03("", 0, 0x0a1, 0, 0)
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c010)) {
+ err("", zFFF, 0x0a2, 0, 0, Local1, c010)
+ }
+ } else {
+ CH04("", 0, 47, 0, 0x0a3, 0, 0) // AE_AML_OPERAND_TYPE
+ }
+}
+
+/* Access to Method in one level up inside another Method */
+
+Method(m13a)
+{
+ Method(m13d)
+ {
+ return (0xabcd0004)
+ }
+ Method(m138)
+ {
+ CH03("", 0, 0x0a4, 0, 0)
+ Store(DerefOf("m13d"), Local0)
+ if (SLCK) {
+ CH03("", 0, 0x0a5, 0, 0)
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c010)) {
+ err("", zFFF, 0x0a6, 0, 0, Local1, c010)
+ }
+ } else {
+ CH04("", 0, 47, 0, 0x0a7, 0, 0) // AE_AML_OPERAND_TYPE
+ }
+ }
+ m138()
+}
+
+Method(m12f)
+{
+ SRMT("m138")
+ m138()
+ SRMT("m12c")
+ m12c()
+ SRMT("m139")
+ m139()
+ SRMT("m13a")
+ m13a()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/RUN.asl
index fd873e8f0..06fb5bf46 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0012/RUN.asl
@@ -1,37 +1,37 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 12", TCLD, 12, W017)) {
- m12a()
- m12b()
- m12d()
- m12e()
- m12f()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 12", TCLD, 12, W017)) {
+ m12a()
+ m12b()
+ m12d()
+ m12e()
+ m12f()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/DECL.asl
index e24e20145..3eb7950e3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/DECL.asl
@@ -1,87 +1,87 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0013:
- *
- * SUMMARY: The type returned by ObjectType for Object created by Create*Field operator is not BufferField
- */
-
-Method(mdad)
-{
- Store(Buffer(100) {}, Local0)
-
- CreateBitField (Local0, 0, bf00)
- CreateByteField (Local0, 0, bf01)
- CreateDWordField (Local0, 0, bf02)
- CreateField (Local0, 0, 32, bf03)
- CreateField (Local0, 0, 64, bf04)
- CreateField (Local0, 0, 65, bf05)
- CreateQWordField (Local0, 0, bf06)
- CreateWordField (Local0, 0, bf07)
-
- Store(ObjectType(bf00), Local7)
- if (LNotEqual(Local7, c016)) {
- err("", zFFF, 0x000, 0, 0, Local7, c016)
- }
-
- Store(ObjectType(bf01), Local7)
- if (LNotEqual(Local7, c016)) {
- err("", zFFF, 0x001, 0, 0, Local7, c016)
- }
-
- Store(ObjectType(bf02), Local7)
- if (LNotEqual(Local7, c016)) {
- err("", zFFF, 0x002, 0, 0, Local7, c016)
- }
-
- Store(ObjectType(bf03), Local7)
- if (LNotEqual(Local7, c016)) {
- err("", zFFF, 0x003, 0, 0, Local7, c016)
- }
-
- Store(ObjectType(bf04), Local7)
- if (LNotEqual(Local7, c016)) {
- err("", zFFF, 0x004, 0, 0, Local7, c016)
- }
-
- Store(ObjectType(bf05), Local7)
- if (LNotEqual(Local7, c016)) {
- err("", zFFF, 0x005, 0, 0, Local7, c016)
- }
-
- Store(ObjectType(bf06), Local7)
- if (LNotEqual(Local7, c016)) {
- err("", zFFF, 0x006, 0, 0, Local7, c016)
- }
-
- Store(ObjectType(bf07), Local7)
- if (LNotEqual(Local7, c016)) {
- err("", zFFF, 0x007, 0, 0, Local7, c016)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0013:
+ *
+ * SUMMARY: The type returned by ObjectType for Object created by Create*Field operator is not BufferField
+ */
+
+Method(mdad)
+{
+ Store(Buffer(100) {}, Local0)
+
+ CreateBitField (Local0, 0, bf00)
+ CreateByteField (Local0, 0, bf01)
+ CreateDWordField (Local0, 0, bf02)
+ CreateField (Local0, 0, 32, bf03)
+ CreateField (Local0, 0, 64, bf04)
+ CreateField (Local0, 0, 65, bf05)
+ CreateQWordField (Local0, 0, bf06)
+ CreateWordField (Local0, 0, bf07)
+
+ Store(ObjectType(bf00), Local7)
+ if (LNotEqual(Local7, c016)) {
+ err("", zFFF, 0x000, 0, 0, Local7, c016)
+ }
+
+ Store(ObjectType(bf01), Local7)
+ if (LNotEqual(Local7, c016)) {
+ err("", zFFF, 0x001, 0, 0, Local7, c016)
+ }
+
+ Store(ObjectType(bf02), Local7)
+ if (LNotEqual(Local7, c016)) {
+ err("", zFFF, 0x002, 0, 0, Local7, c016)
+ }
+
+ Store(ObjectType(bf03), Local7)
+ if (LNotEqual(Local7, c016)) {
+ err("", zFFF, 0x003, 0, 0, Local7, c016)
+ }
+
+ Store(ObjectType(bf04), Local7)
+ if (LNotEqual(Local7, c016)) {
+ err("", zFFF, 0x004, 0, 0, Local7, c016)
+ }
+
+ Store(ObjectType(bf05), Local7)
+ if (LNotEqual(Local7, c016)) {
+ err("", zFFF, 0x005, 0, 0, Local7, c016)
+ }
+
+ Store(ObjectType(bf06), Local7)
+ if (LNotEqual(Local7, c016)) {
+ err("", zFFF, 0x006, 0, 0, Local7, c016)
+ }
+
+ Store(ObjectType(bf07), Local7)
+ if (LNotEqual(Local7, c016)) {
+ err("", zFFF, 0x007, 0, 0, Local7, c016)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/MAIN.asl
index 5b75a1229..b0e5e94c2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B13.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0013/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0013/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B13.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0013/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0013/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/RUN.asl
index 8545905c3..a4fd9b52e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0013/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 13", TCLD, 13, W017)) {
- SRMT("mdad")
- mdad()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 13", TCLD, 13, W017)) {
+ SRMT("mdad")
+ mdad()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/DECL.asl
index f6d990d42..c7902a79c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/DECL.asl
@@ -1,51 +1,51 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0014:
- *
- * SUMMARY: Implementation differs the specified Maximal value of MicroSeconds
- */
-
-Method(mdae, 1)
-{
- Stall(arg0)
-}
-
-Method(mdaf)
-{
- CH03("", 0, 0x000, 0, 0)
- mdae(100)
- CH03("", 0, 0x001, 0, 0)
- mdae(101)
- CH04("", 0, 48, 0, 0x002, 0, 0) // AE_AML_OPERAND_VALUE
- mdae(255)
- CH04("", 0, 48, 0, 0x003, 0, 0) // AE_AML_OPERAND_VALUE
- mdae(256)
- CH04("", 0, 48, 0, 0x004, 0, 0) // AE_AML_OPERAND_VALUE
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0014:
+ *
+ * SUMMARY: Implementation differs the specified Maximal value of MicroSeconds
+ */
+
+Method(mdae, 1)
+{
+ Stall(arg0)
+}
+
+Method(mdaf)
+{
+ CH03("", 0, 0x000, 0, 0)
+ mdae(100)
+ CH03("", 0, 0x001, 0, 0)
+ mdae(101)
+ CH04("", 0, 48, 0, 0x002, 0, 0) // AE_AML_OPERAND_VALUE
+ mdae(255)
+ CH04("", 0, 48, 0, 0x003, 0, 0) // AE_AML_OPERAND_VALUE
+ mdae(256)
+ CH04("", 0, 48, 0, 0x004, 0, 0) // AE_AML_OPERAND_VALUE
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/MAIN.asl
index 28e66d8b6..9bc6f8076 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B14.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0014/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0014/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B14.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0014/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0014/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/RUN.asl
index 17bb44212..0d64e9f5a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0014/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 14", TCLD, 14, W017)) {
- SRMT("mdaf")
- mdaf()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 14", TCLD, 14, W017)) {
+ SRMT("mdaf")
+ mdaf()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/DECL.asl
index 5d359a452..b5b51f2e4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/DECL.asl
@@ -1,49 +1,49 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0015:
- *
- * SUMMARY: ToDecimalString produces the Strings which have the length greater than expected
- */
-
-Method(mdb0,, Serialized)
-{
- Name(b000, Buffer() { 1, 1 })
-
- ToDecimalString(b000, Local0)
-
- if (LNotEqual(Local0, "1,1")) {
- err("", zFFF, 0x000, 0, 0, Local0, "1,1")
- }
-
- Store(Sizeof(Local0), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x001, 0, 0, Local1, 3)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0015:
+ *
+ * SUMMARY: ToDecimalString produces the Strings which have the length greater than expected
+ */
+
+Method(mdb0,, Serialized)
+{
+ Name(b000, Buffer() { 1, 1 })
+
+ ToDecimalString(b000, Local0)
+
+ if (LNotEqual(Local0, "1,1")) {
+ err("", zFFF, 0x000, 0, 0, Local0, "1,1")
+ }
+
+ Store(Sizeof(Local0), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x001, 0, 0, Local1, 3)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/MAIN.asl
index f07fbb7f9..3dcb18bb2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B15.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0015/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0015/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B15.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0015/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0015/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/RUN.asl
index e90417ba2..cd583d8c6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0015/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 15", TCLD, 15, W017)) {
- SRMT("mdb0")
- mdb0()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 15", TCLD, 15, W017)) {
+ SRMT("mdb0")
+ mdb0()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/DECL.asl
index 1e36b5a57..11bf55a72 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/DECL.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0016:
- *
- * SUMMARY: Concatenate operator produces the resulting String exceeding 200 symbols without generating exception
- */
-
-Method(mdb1)
-{
- // 100 characters
- Store("0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", Local0)
-
- // 101 characters
- Store("01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", Local1)
-
- CH03("", 0, 0x000, 0, 0)
-
- Concatenate(Local0, Local1, Local2)
-
- CH03("", 0, 0x001, 0, 0)
-
- /*
- * The length of String is no more restricted.
- *
- * CH04("", 0, 61, 0, 0x001, 0, 0) // AE_AML_STRING_LIMIT
- */
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0016:
+ *
+ * SUMMARY: Concatenate operator produces the resulting String exceeding 200 symbols without generating exception
+ */
+
+Method(mdb1)
+{
+ // 100 characters
+ Store("0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", Local0)
+
+ // 101 characters
+ Store("01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", Local1)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Concatenate(Local0, Local1, Local2)
+
+ CH03("", 0, 0x001, 0, 0)
+
+ /*
+ * The length of String is no more restricted.
+ *
+ * CH04("", 0, 61, 0, 0x001, 0, 0) // AE_AML_STRING_LIMIT
+ */
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/MAIN.asl
index 69dacfe89..f932b156e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B16.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0016/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0016/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B16.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0016/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0016/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/RUN.asl
index 266b02903..020cbda53 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0016/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 16", TCLD, 16, W017)) {
- SRMT("mdb1")
- mdb1()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 16", TCLD, 16, W017)) {
+ SRMT("mdb1")
+ mdb1()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/DECL.asl
index e4ad4be4f..d9855075f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0017:
- *
- * SUMMARY: LEqual works incorrectly for Buffer-operands containing zero
- */
-
-Method(mdb2)
-{
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local0)
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local1)
-
- if (LEqual(Local0, Local1)) {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- }
-
- if (LNotEqual(Local0, Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 })) {
- err("", zFFF, 0x001, 0, 0, Local0, Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 })
- }
-
- if (LNotEqual(Local1, Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 })) {
- err("", zFFF, 0x002, 0, 0, Local1, Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 })
- }
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0017:
+ *
+ * SUMMARY: LEqual works incorrectly for Buffer-operands containing zero
+ */
+
+Method(mdb2)
+{
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local0)
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local1)
+
+ if (LEqual(Local0, Local1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ }
+
+ if (LNotEqual(Local0, Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 })) {
+ err("", zFFF, 0x001, 0, 0, Local0, Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 })
+ }
+
+ if (LNotEqual(Local1, Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 })) {
+ err("", zFFF, 0x002, 0, 0, Local1, Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 })
+ }
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/MAIN.asl
index ce39282de..a8315daca 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B17.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0017/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0017/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B17.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0017/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0017/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/RUN.asl
index 79093c7e5..a4f2e6804 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0017/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 17", TCLD, 17, W017)) {
- SRMT("mdb2")
- mdb2()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 17", TCLD, 17, W017)) {
+ SRMT("mdb2")
+ mdb2()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/DECL.asl
index aaa219e19..716f27882 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/DECL.asl
@@ -1,51 +1,51 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0018:
- *
- * SUMMARY: LGreater works incorrectly for Buffer-operands containing zero
- */
-
-Method(mdb3)
-{
- Store(0, Local7)
-
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local0)
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local1)
-
- if (LGreater(Local0, Local1)) {
- Store(1, Local7)
- } else {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- }
-
- Return(Local7)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0018:
+ *
+ * SUMMARY: LGreater works incorrectly for Buffer-operands containing zero
+ */
+
+Method(mdb3)
+{
+ Store(0, Local7)
+
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local0)
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local1)
+
+ if (LGreater(Local0, Local1)) {
+ Store(1, Local7)
+ } else {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ }
+
+ Return(Local7)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/MAIN.asl
index 8fdc322cf..2991f077b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B18.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0018/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0018/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B18.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0018/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0018/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/RUN.asl
index c95852380..34d9838fe 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0018/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 18", TCLD, 18, W017)) {
- SRMT("mdb3")
- mdb3()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 18", TCLD, 18, W017)) {
+ SRMT("mdb3")
+ mdb3()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/DECL.asl
index 7c5fa2de8..000521156 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/DECL.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0019:
- *
- * SUMMARY: LGreaterEqual works incorrectly for Buffer-operands containing zero
- */
-
-Method(mdb4)
-{
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local0)
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local1)
-
- if (LGreaterEqual(Local0, Local1)) {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- }
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0019:
+ *
+ * SUMMARY: LGreaterEqual works incorrectly for Buffer-operands containing zero
+ */
+
+Method(mdb4)
+{
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local0)
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local1)
+
+ if (LGreaterEqual(Local0, Local1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ }
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/MAIN.asl
index d323c6c9f..613c31fe0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B19.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0019/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0019/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B19.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0019/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0019/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/RUN.asl
index 5e2073f8d..9a3f360be 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0019/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 19", TCLD, 19, W017)) {
- SRMT("mdb4")
- mdb4()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 19", TCLD, 19, W017)) {
+ SRMT("mdb4")
+ mdb4()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/DECL.asl
index 506ccafee..d01c420c1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/DECL.asl
@@ -1,51 +1,51 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0020:
- *
- * SUMMARY: LLess works incorrectly for Buffer-operands containing zero
- */
-
-Method(mdb5)
-{
- Store(0, Local7)
-
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local0)
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local1)
-
- if (LLess(Local0, Local1)) {
- Store(1, Local7)
- } else {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- }
-
- Return(Local7)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0020:
+ *
+ * SUMMARY: LLess works incorrectly for Buffer-operands containing zero
+ */
+
+Method(mdb5)
+{
+ Store(0, Local7)
+
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local0)
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local1)
+
+ if (LLess(Local0, Local1)) {
+ Store(1, Local7)
+ } else {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ }
+
+ Return(Local7)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/MAIN.asl
index e0901e38e..812d125d6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B20.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0020/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0020/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B20.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0020/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0020/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/RUN.asl
index cce2536b2..1ce3bb097 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0020/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 20", TCLD, 20, W017)) {
- SRMT("mdb5")
- mdb5()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 20", TCLD, 20, W017)) {
+ SRMT("mdb5")
+ mdb5()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/DECL.asl
index 1d053c569..87252c131 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/DECL.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0021:
- *
- * SUMMARY: LLessEqual works incorrectly for Buffer-operands containing zero
- */
-
-Method(mdb6)
-{
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local0)
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local1)
-
- if (LLessEqual(Local0, Local1)) {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- }
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0021:
+ *
+ * SUMMARY: LLessEqual works incorrectly for Buffer-operands containing zero
+ */
+
+Method(mdb6)
+{
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local0)
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local1)
+
+ if (LLessEqual(Local0, Local1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ }
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/MAIN.asl
index 074f29ed4..2f841c712 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B21.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0021/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0021/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B21.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0021/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0021/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/RUN.asl
index 44f94c3e2..4a60f6469 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0021/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 21", TCLD, 21, W017)) {
- SRMT("mdb6")
- mdb6()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 21", TCLD, 21, W017)) {
+ SRMT("mdb6")
+ mdb6()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/DECL.asl
index 500219424..4103274c9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/DECL.asl
@@ -1,51 +1,51 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0022:
- *
- * SUMMARY: LNotEqual works incorrectly for Buffer-operands containing zero
- */
-
-Method(mdb7)
-{
- Store(0, Local7)
-
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local0)
- Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local1)
-
- if (LNotEqual(Local0, Local1)) {
- Store(1, Local7)
- } else {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- }
-
- Return(Local7)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0022:
+ *
+ * SUMMARY: LNotEqual works incorrectly for Buffer-operands containing zero
+ */
+
+Method(mdb7)
+{
+ Store(0, Local7)
+
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x25 }, Local0)
+ Store(Buffer(){ 0x20, 0x21, 0x22, 0, 0x26 }, Local1)
+
+ if (LNotEqual(Local0, Local1)) {
+ Store(1, Local7)
+ } else {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ }
+
+ Return(Local7)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/MAIN.asl
index 77a2949c4..d2ba8bfd0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B22.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0022/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0022/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B22.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0022/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0022/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/RUN.asl
index da26be765..91283d4ba 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0022/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 22", TCLD, 22, W017)) {
- SRMT("mdb7")
- mdb7()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 22", TCLD, 22, W017)) {
+ SRMT("mdb7")
+ mdb7()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/DECL.asl
index 9abe046e9..b3bf7e2f0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/DECL.asl
@@ -1,72 +1,72 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0023:
- *
- * SUMMARY: FromBCD/ToBCD works incorrectly in 64-bit mode starting with the large enough values
- */
-
-Method(mdb8)
-{
- // Ok, FromBCD(0x9999999999)
-
- Store(0x9999999999, Local0)
- Store(9999999999, Local1)
-
- CH03("", 0, 0x000, 0, 0)
- FromBCD(Local0, Local2)
- if (LNotEqual(Local2, Local1)) {
- err("", zFFF, 0x001, 0, 0, Local2, Local1)
- }
-
- // Bug, FromBCD(0x10000000000)
-
- Store(0x10000000000, Local0)
- Store(10000000000, Local1)
-
- CH03("", 0, 0x003, 0, 0)
- FromBCD(Local0, Local2)
- if (LNotEqual(Local2, Local1)) {
- err("", zFFF, 0x004, 0, 0, Local2, Local1)
- }
-
- // Ok, ToBCD(10000000000)
-
- Store(10000000000, Local0)
- Store(0x10000000000, Local1)
-
- CH03("", 0, 0x006, 0, 0)
- ToBCD(Local0, Local2)
- if (LNotEqual(Local2, Local1)) {
- err("", zFFF, 0x007, 0, 0, Local2, Local1)
- }
-
- CH03("", 0, 0x000, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0023:
+ *
+ * SUMMARY: FromBCD/ToBCD works incorrectly in 64-bit mode starting with the large enough values
+ */
+
+Method(mdb8)
+{
+ // Ok, FromBCD(0x9999999999)
+
+ Store(0x9999999999, Local0)
+ Store(9999999999, Local1)
+
+ CH03("", 0, 0x000, 0, 0)
+ FromBCD(Local0, Local2)
+ if (LNotEqual(Local2, Local1)) {
+ err("", zFFF, 0x001, 0, 0, Local2, Local1)
+ }
+
+ // Bug, FromBCD(0x10000000000)
+
+ Store(0x10000000000, Local0)
+ Store(10000000000, Local1)
+
+ CH03("", 0, 0x003, 0, 0)
+ FromBCD(Local0, Local2)
+ if (LNotEqual(Local2, Local1)) {
+ err("", zFFF, 0x004, 0, 0, Local2, Local1)
+ }
+
+ // Ok, ToBCD(10000000000)
+
+ Store(10000000000, Local0)
+ Store(0x10000000000, Local1)
+
+ CH03("", 0, 0x006, 0, 0)
+ ToBCD(Local0, Local2)
+ if (LNotEqual(Local2, Local1)) {
+ err("", zFFF, 0x007, 0, 0, Local2, Local1)
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/MAIN.asl
index a777d7857..931fc6b9c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B23.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0023/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0023/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B23.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0023/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0023/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/RUN.asl
index 25f4641dc..16b6c4217 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0023/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 23", TCLD, 23, W017)) {
- SRMT("mdb8")
- if (F64) {
- mdb8()
- } else {
- SKIP()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 23", TCLD, 23, W017)) {
+ SRMT("mdb8")
+ if (F64) {
+ mdb8()
+ } else {
+ SKIP()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/DECL.asl
index 38c00eede..5f934a6ea 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0024:
- *
- * SUMMARY: The EISAID doesn't provides input control of "uppercase letter" part (UUU) of EisaIdString
- *
- * Error/Warning expected but doesnt occur
- */
-
-Method(mdb9)
-{
- /*
- * Store(EISAID("QWT012R"), Local0)
- *
- * gr.asl 12: Store(EISAID("QWT012R"), Local0)
- * Error 1065 - ^ EISAID string must be of the form
- * "UUUXXXX" (3 uppercase, 4 hex digits)
- * (QWT012R)
- */
-
- Store(EISAID("QWT0123"), Local0)
- Store(EISAID("qWT0123"), Local1)
-
- Store(Local0, Debug)
- Store(Local1, Debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0024:
+ *
+ * SUMMARY: The EISAID doesn't provides input control of "uppercase letter" part (UUU) of EisaIdString
+ *
+ * Error/Warning expected but doesnt occur
+ */
+
+Method(mdb9)
+{
+ /*
+ * Store(EISAID("QWT012R"), Local0)
+ *
+ * gr.asl 12: Store(EISAID("QWT012R"), Local0)
+ * Error 1065 - ^ EISAID string must be of the form
+ * "UUUXXXX" (3 uppercase, 4 hex digits)
+ * (QWT012R)
+ */
+
+ Store(EISAID("QWT0123"), Local0)
+ Store(EISAID("qWT0123"), Local1)
+
+ Store(Local0, Debug)
+ Store(Local1, Debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/MAIN.asl
index 58a506cfd..c28242ffa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0024_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B24.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0024_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B24.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0024_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0025_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0025_SPEC/DECL.asl
index bf78076a6..dc1328584 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0025_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0025_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 25:
- *
- * SUMMARY: The maximal length exceeding exception should be additionally specified for some operators
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 25:
+ *
+ * SUMMARY: The maximal length exceeding exception should be additionally specified for some operators
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/DECL.asl
index a2ee888ee..76e509a72 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/DECL.asl
@@ -1,47 +1,47 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0026:
- *
- * SUMMARY: The ASL Compiler doesn't forbid images of Strings exceeding maximum
- *
- * Error of compilation is expected here for the 201-symbol length String
- */
-
-/*
- * Not more a bug.
- * Now the length of String is not anyhow restricted.
- */
-
-Method(mdba)
-{
- Store("012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", Local0)
- Store(SizeOf(Local0), Local1)
- Return(Local1)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0026:
+ *
+ * SUMMARY: The ASL Compiler doesn't forbid images of Strings exceeding maximum
+ *
+ * Error of compilation is expected here for the 201-symbol length String
+ */
+
+/*
+ * Not more a bug.
+ * Now the length of String is not anyhow restricted.
+ */
+
+Method(mdba)
+{
+ Store("012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", Local0)
+ Store(SizeOf(Local0), Local1)
+ Return(Local1)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/MAIN.asl
index 46e39f5c3..071604337 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0026_ASL_NOT_BUG_NOW/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B26.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0026_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B26.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0026_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/DECL.asl
index 1b295a0da..681d388b7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/DECL.asl
@@ -1,94 +1,94 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0027:
- *
- * SUMMARY: Crash of ObjectType for the particular BufferFields
- *
- * Crash on ObjectType() in different conditions depending on F64.
- * Test remained as is (due to crash as a main symptom).
- */
-
-Method(mdbb,, Serialized)
-{
- Name(b001, Buffer(200) {})
-
- if (LEqual(F64, 1)) {
-
- ////////////////// 64-bit mode ////////////////////////////
-
- // Field(1,71) - before the critical field
-
- CreateField(b001, 1, 71, f004)
- Store(ObjectType(f004), Local0)
- Store("ObjectType of f004(1,71) field is equal to:", Debug)
- Store(Local0, Debug)
-
- // Field(1,73) - after the critical field
-
- CreateField(b001, 1, 73, f005)
- Store(ObjectType(f005), Local0)
- Store("ObjectType of f005(1,73) field is equal to:", Debug)
- Store(Local0, Debug)
-
- // Field(1,72) - the field crashes the ACPICA in 64-bit mode
-
- CreateField(b001, 1, 72, f006)
- Store("Before running ObjectType of f006(1,72) field.", Debug)
- Store(ObjectType(f006), Local0)
- Store("ObjectType of f006(1,72) field is equal to:", Debug)
- Store(Local0, Debug)
-
- } else {
-
- ////////////////// 32-bit mode ////////////////////////////
-
- // Field(1,39) - before the critical field
-
- CreateField(b001, 1, 39, f001)
- Store(ObjectType(f001), Local0)
- Store("ObjectType of f001(1,39) field is equal to:", Debug)
- Store(Local0, Debug)
-
- // Field(1,41) - after the critical field
-
- CreateField(b001, 1, 41, f002)
- Store(ObjectType(f002), Local0)
- Store("ObjectType of f002(1,41) field is equal to:", Debug)
- Store(Local0, Debug)
-
- // Field(1,40) - the field crashes the ACPICA in 64-bit mode
-
- CreateField(b001, 1, 40, f003)
- Store("Before running ObjectType of f003(1,40) field.", Debug)
- Store(ObjectType(f003), Local0)
- Store("ObjectType of f003(1,40) field is equal to:", Debug)
- Store(Local0, Debug)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0027:
+ *
+ * SUMMARY: Crash of ObjectType for the particular BufferFields
+ *
+ * Crash on ObjectType() in different conditions depending on F64.
+ * Test remained as is (due to crash as a main symptom).
+ */
+
+Method(mdbb,, Serialized)
+{
+ Name(b001, Buffer(200) {})
+
+ if (LEqual(F64, 1)) {
+
+ ////////////////// 64-bit mode ////////////////////////////
+
+ // Field(1,71) - before the critical field
+
+ CreateField(b001, 1, 71, f004)
+ Store(ObjectType(f004), Local0)
+ Store("ObjectType of f004(1,71) field is equal to:", Debug)
+ Store(Local0, Debug)
+
+ // Field(1,73) - after the critical field
+
+ CreateField(b001, 1, 73, f005)
+ Store(ObjectType(f005), Local0)
+ Store("ObjectType of f005(1,73) field is equal to:", Debug)
+ Store(Local0, Debug)
+
+ // Field(1,72) - the field crashes the ACPICA in 64-bit mode
+
+ CreateField(b001, 1, 72, f006)
+ Store("Before running ObjectType of f006(1,72) field.", Debug)
+ Store(ObjectType(f006), Local0)
+ Store("ObjectType of f006(1,72) field is equal to:", Debug)
+ Store(Local0, Debug)
+
+ } else {
+
+ ////////////////// 32-bit mode ////////////////////////////
+
+ // Field(1,39) - before the critical field
+
+ CreateField(b001, 1, 39, f001)
+ Store(ObjectType(f001), Local0)
+ Store("ObjectType of f001(1,39) field is equal to:", Debug)
+ Store(Local0, Debug)
+
+ // Field(1,41) - after the critical field
+
+ CreateField(b001, 1, 41, f002)
+ Store(ObjectType(f002), Local0)
+ Store("ObjectType of f002(1,41) field is equal to:", Debug)
+ Store(Local0, Debug)
+
+ // Field(1,40) - the field crashes the ACPICA in 64-bit mode
+
+ CreateField(b001, 1, 40, f003)
+ Store("Before running ObjectType of f003(1,40) field.", Debug)
+ Store(ObjectType(f003), Local0)
+ Store("ObjectType of f003(1,40) field is equal to:", Debug)
+ Store(Local0, Debug)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/MAIN.asl
index 30a78955a..833459321 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B27.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0027/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0027/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B27.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0027/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0027/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/RUN.asl
index 8879a17fb..b93b6ba6f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0027/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 27", TCLD, 27, W017)) {
- SRMT("mdbb")
- mdbb()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 27", TCLD, 27, W017)) {
+ SRMT("mdbb")
+ mdbb()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/DECL.asl
index 3f24e732f..3a4a26bf6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/DECL.asl
@@ -1,93 +1,93 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0028:
- *
- * SUMMARY: No exception on Create*Field for out of Buffer range
- */
-
-Method(mdbc,, Serialized)
-{
- Name(b000, Buffer(16) {})
-
- CreateBitField(b000, 127, f000)
- CreateByteField(b000, 15, f001)
- CreateWordField(b000, 14, f002)
- CreateDWordField(b000, 12, f003)
- CreateQWordField(b000, 8, f004)
- CreateField(b000, 127, 1, f005)
- CreateField(b000, 120, 8, f006)
-}
-
-Method(mdbd,, Serialized)
-{
- Name(b000, Buffer(16) {})
-
- CH03("", 0, 0x000, 0, 0)
- CreateBitField(b000, 128, f000)
- CH04("", 0, 54, 0, 0x001, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x002, 0, 0)
- CreateByteField(b000, 16, f001)
- CH04("", 0, 54, 0, 0x003, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x004, 0, 0)
- CreateWordField(b000, 15, f002)
- CH04("", 0, 54, 0, 0x005, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x006, 0, 0)
- CreateDWordField(b000, 13, f003)
- CH04("", 0, 54, 0, 0x007, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x008, 0, 0)
- CreateQWordField(b000, 9, f004)
- CH04("", 0, 54, 0, 0x009, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x00a, 0, 0)
- CreateField(b000, 127, 2, f005)
- CH04("", 0, 54, 0, 0x00b, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x00c, 0, 0)
- CreateField(b000, 120, 9, f006)
- CH04("", 0, 54, 0, 0x00d, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x00e, 0, 0)
- CreateField(b000, 128, 1, f007)
- CH04("", 0, 54, 0, 0x00f, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x010, 0, 0)
- CreateField(b000, 121, 8, f008)
- CH04("", 0, 54, 0, 0x011, 0, 0) // AE_AML_BUFFER_LIMIT
-}
-
-Method(mdbe)
-{
- mdbc()
- mdbd()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0028:
+ *
+ * SUMMARY: No exception on Create*Field for out of Buffer range
+ */
+
+Method(mdbc,, Serialized)
+{
+ Name(b000, Buffer(16) {})
+
+ CreateBitField(b000, 127, f000)
+ CreateByteField(b000, 15, f001)
+ CreateWordField(b000, 14, f002)
+ CreateDWordField(b000, 12, f003)
+ CreateQWordField(b000, 8, f004)
+ CreateField(b000, 127, 1, f005)
+ CreateField(b000, 120, 8, f006)
+}
+
+Method(mdbd,, Serialized)
+{
+ Name(b000, Buffer(16) {})
+
+ CH03("", 0, 0x000, 0, 0)
+ CreateBitField(b000, 128, f000)
+ CH04("", 0, 54, 0, 0x001, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x002, 0, 0)
+ CreateByteField(b000, 16, f001)
+ CH04("", 0, 54, 0, 0x003, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x004, 0, 0)
+ CreateWordField(b000, 15, f002)
+ CH04("", 0, 54, 0, 0x005, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x006, 0, 0)
+ CreateDWordField(b000, 13, f003)
+ CH04("", 0, 54, 0, 0x007, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x008, 0, 0)
+ CreateQWordField(b000, 9, f004)
+ CH04("", 0, 54, 0, 0x009, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x00a, 0, 0)
+ CreateField(b000, 127, 2, f005)
+ CH04("", 0, 54, 0, 0x00b, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x00c, 0, 0)
+ CreateField(b000, 120, 9, f006)
+ CH04("", 0, 54, 0, 0x00d, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x00e, 0, 0)
+ CreateField(b000, 128, 1, f007)
+ CH04("", 0, 54, 0, 0x00f, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x010, 0, 0)
+ CreateField(b000, 121, 8, f008)
+ CH04("", 0, 54, 0, 0x011, 0, 0) // AE_AML_BUFFER_LIMIT
+}
+
+Method(mdbe)
+{
+ mdbc()
+ mdbd()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/MAIN.asl
index 896bd3ce1..308f21cbd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B28.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0028/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0028/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B28.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0028/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0028/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/RUN.asl
index 31bd57fe1..8ad625a3a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0028/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 28", TCLD, 28, W017)) {
- SRMT("mdbe")
- mdbe()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 28", TCLD, 28, W017)) {
+ SRMT("mdbe")
+ mdbe()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/DECL.asl
index 9b971a452..d3d655b77 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/DECL.asl
@@ -1,94 +1,94 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0029:
- *
- * SUMMARY: Looks, like Sleep (or Wait) spend less time than specified
- */
-
-Method(mdbf, 2, Serialized)
-{
- Switch (ToInteger (arg0)) {
- case (0) {
- Store(Timer, Local1)
- Sleep(arg1)
- Store(Timer, Local2)
- Subtract(Local2, Local1, Local6)
- Multiply(arg1, 10000, Local4)
- if (LLess(Local6, Local4)) {
- err("", zFFF, 0x000, 0, 0, Local6, Local4)
- }
- }
- case (1) {
- Store(Timer, Local1)
- Stall(arg1)
- Store(Timer, Local2)
- Subtract(Local2, Local1, Local6)
- Multiply(arg1, 10, Local4)
- if (LLess(Local6, Local4)) {
- err("", zFFF, 0x001, 0, 0, Local6, Local4)
- }
- }
- case (2) {
- Store(Timer, Local1)
- Wait(ed00, arg1)
- Store(Timer, Local2)
- Subtract(Local2, Local1, Local6)
- Multiply(arg1, 10000, Local4)
- if (LLess(Local6, Local4)) {
- err("", zFFF, 0x002, 0, 0, Local6, Local4)
- }
- }
- }
-}
-
-// Sleep
-Method(mdc0)
-{
- mdbf(0,10)
- mdbf(0,100)
- mdbf(0,500)
- mdbf(0,1000)
- mdbf(0,2000)
-}
-
-// Wait
-Method(mdc1)
-{
- mdbf(2,10)
- mdbf(2,100)
- mdbf(2,1000)
- mdbf(2,2000)
-}
-
-Method(mdc2)
-{
- mdc0()
- mdc1()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0029:
+ *
+ * SUMMARY: Looks, like Sleep (or Wait) spend less time than specified
+ */
+
+Method(mdbf, 2, Serialized)
+{
+ Switch (ToInteger (arg0)) {
+ case (0) {
+ Store(Timer, Local1)
+ Sleep(arg1)
+ Store(Timer, Local2)
+ Subtract(Local2, Local1, Local6)
+ Multiply(arg1, 10000, Local4)
+ if (LLess(Local6, Local4)) {
+ err("", zFFF, 0x000, 0, 0, Local6, Local4)
+ }
+ }
+ case (1) {
+ Store(Timer, Local1)
+ Stall(arg1)
+ Store(Timer, Local2)
+ Subtract(Local2, Local1, Local6)
+ Multiply(arg1, 10, Local4)
+ if (LLess(Local6, Local4)) {
+ err("", zFFF, 0x001, 0, 0, Local6, Local4)
+ }
+ }
+ case (2) {
+ Store(Timer, Local1)
+ Wait(ed00, arg1)
+ Store(Timer, Local2)
+ Subtract(Local2, Local1, Local6)
+ Multiply(arg1, 10000, Local4)
+ if (LLess(Local6, Local4)) {
+ err("", zFFF, 0x002, 0, 0, Local6, Local4)
+ }
+ }
+ }
+}
+
+// Sleep
+Method(mdc0)
+{
+ mdbf(0,10)
+ mdbf(0,100)
+ mdbf(0,500)
+ mdbf(0,1000)
+ mdbf(0,2000)
+}
+
+// Wait
+Method(mdc1)
+{
+ mdbf(2,10)
+ mdbf(2,100)
+ mdbf(2,1000)
+ mdbf(2,2000)
+}
+
+Method(mdc2)
+{
+ mdc0()
+ mdc1()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/MAIN.asl
index a358400eb..a6ab73f23 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B29.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0029/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0029/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B29.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0029/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0029/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/RUN.asl
index e893aa521..1585ca6f5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0029/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 29", TCLD, 29, W017)) {
- SRMT("mdc2")
- mdc2()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 29", TCLD, 29, W017)) {
+ SRMT("mdc2")
+ mdc2()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/DECL.asl
index a8f80aa3c..452c35615 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/DECL.asl
@@ -1,93 +1,93 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0030:
- *
- * SUMMARY: Crash of ObjectType for the particular Fields
- *
- * Crash. Test remained as is (due to crash as a main symptom).
- */
-
-Method(mdc3,, Serialized)
-{
- // Field Unit
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) {
- f000, 8,
- f001, 16,
- f002, 32,
- f003, 33,
- f004, 1,
- f005, 64,
- }
-
- Store("------------ Fields:", Debug)
- Store(f000, Debug)
- Store(f001, Debug)
- Store(f002, Debug)
- Store(f003, Debug)
- Store(f004, Debug)
- Store(f005, Debug)
- Store("------------.", Debug)
-
- return (0)
-}
-
-Method(mdc4,, Serialized)
-{
- // Field Unit
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) {
- f000, 8,
- f001, 16,
- f002, 32,
- f003, 33,
- f004, 7,
- f005, 64,
- }
-
- Store("------------ Fields:", Debug)
- Store(f000, Debug)
- Store(f001, Debug)
- Store(f002, Debug)
- Store(f003, Debug)
- Store(f004, Debug)
- Store(f005, Debug)
- Store("------------.", Debug)
-
- return (0)
-}
-
-Method(mdc5)
-{
- mdc3()
- mdc4()
-
- return (0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0030:
+ *
+ * SUMMARY: Crash of ObjectType for the particular Fields
+ *
+ * Crash. Test remained as is (due to crash as a main symptom).
+ */
+
+Method(mdc3,, Serialized)
+{
+ // Field Unit
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) {
+ f000, 8,
+ f001, 16,
+ f002, 32,
+ f003, 33,
+ f004, 1,
+ f005, 64,
+ }
+
+ Store("------------ Fields:", Debug)
+ Store(f000, Debug)
+ Store(f001, Debug)
+ Store(f002, Debug)
+ Store(f003, Debug)
+ Store(f004, Debug)
+ Store(f005, Debug)
+ Store("------------.", Debug)
+
+ return (0)
+}
+
+Method(mdc4,, Serialized)
+{
+ // Field Unit
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) {
+ f000, 8,
+ f001, 16,
+ f002, 32,
+ f003, 33,
+ f004, 7,
+ f005, 64,
+ }
+
+ Store("------------ Fields:", Debug)
+ Store(f000, Debug)
+ Store(f001, Debug)
+ Store(f002, Debug)
+ Store(f003, Debug)
+ Store(f004, Debug)
+ Store(f005, Debug)
+ Store("------------.", Debug)
+
+ return (0)
+}
+
+Method(mdc5)
+{
+ mdc3()
+ mdc4()
+
+ return (0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/MAIN.asl
index 460a1bc5c..fc2366b0d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B30.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0030/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0030/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B30.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0030/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0030/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/RUN.asl
index 3004f7abf..e9dd328d6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0030/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 30", TCLD, 30, W017)) {
- SRMT("mdc5")
- mdc5()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 30", TCLD, 30, W017)) {
+ SRMT("mdc5")
+ mdc5()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl
index 489889443..fd37cb6a4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl
@@ -1,199 +1,199 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0031:
- *
- * SUMMARY: The ASL Compiler doesn't try to detect and reject attempts to use object before its declaration is evaluated
- *
- * ASL-compiler doesnt result in Error
- *
- * ATTENTION:
- *
- * Note 1: This test now is a run-time test because the ASL compiler doesn't
- * actually detect and prohibit (my mistake) use of object before its
- * declaration. After this bug of ASL compiler is fixed move this bdemo
- * to non-run-time bug tests but dont forget to move all positive checkings
- * of it in other run-time tests.
- *
- * Note 2: Since the ability itself to tun this test is error
- * the test returns Error inconditionally (Method m1dc).
- * But only one that error is expected. When the bug is
- * fixed we will encounter that the test is no more
- * compiled and fix it (see Note 1).
- */
-
-Name(id28, 0)
-
-Method(mdc7,, Serialized)
-{
- CH03("", 0, 0x000, 0, 0)
- Store(0x12345678, i000)
- Name(i000, 0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-}
-
-Method (m800,, Serialized)
-{
- Name(i000, 0)
- Method (m000,, Serialized)
- {
- Store(i000, Debug)
- Name(i000, 0xffffffff)
- }
-}
-
-Method (m801)
-{
- Method (m000,, Serialized)
- {
- Store(id28, Debug)
- Name(id28, 0xffffffff)
- }
-}
-
-Method(m802,, Serialized)
-{
- Name(i000, 0)
- Store(0xabcd0000, i000)
-
- CH03("", 0, 0x002, 0, 0)
-
- Name(i001, 0)
- Store(0xabcd0001, i001)
-
- CH03("", 0, 0x003, 0, 0)
-
- Name(i002, 0xabcd0002)
-
- CH03("", 0, 0x003, 0, 0)
-
- if (y084) {
-
- CH03("", 0, 0x004, 0, 0)
-
- Method(m000,, Serialized)
- {
- Name(i000, 0xabcd0003)
- if (LNotEqual(i000, 0xabcd0003)) {
- err("", zFFF, 0x006, 0, 0, i000, 0xabcd0003)
- }
- }
-
- CH03("", 0, 0x005, 0, 0)
-
- Method(m001,, Serialized)
- {
- Name(i000, 0xabcd0004)
- Store(0xabcd0005, i000)
- if (LNotEqual(i000, 0xabcd0005)) {
- err("", zFFF, 0x006, 0, 0, i000, 0xabcd0005)
- }
- }
-
- CH03("", 0, 0x006, 0, 0)
-
- Method(m002,, Serialized)
- {
- Store(i000, Debug)
- Name(i000, 0xabcd0006)
- Store(0xabcd0007, i000)
- if (LNotEqual(i000, 0xabcd0007)) {
- err("", zFFF, 0x006, 0, 0, i000, 0xabcd0007)
- }
- }
-
- CH03("", 0, 0x007, 0, 0)
-
- Method (m003,, Serialized)
- {
- Store("------------------------------ 000000000", Debug)
- Store(id28, Debug)
- Name(id28, 0xabcd0008)
- if (LNotEqual(id28, 0xabcd0008)) {
- err("", zFFF, 0x006, 0, 0, id28, 0xabcd0008)
- }
- }
-
- CH03("", 0, 0x008, 0, 0)
- }
-
- CH03("", 0, 0x009, 0, 0)
-
- if (LNotEqual(i000, 0xabcd0000)) {
- err("", zFFF, 0x00a, 0, 0, i000, 0xabcd0000)
- }
- if (LNotEqual(i001, 0xabcd0001)) {
- err("", zFFF, 0x00b, 0, 0, i001, 0xabcd0001)
- }
- if (LNotEqual(i002, 0xabcd0002)) {
- err("", zFFF, 0x00c, 0, 0, i002, 0xabcd0002)
- }
-
- if (y084) {
- CH03("", 0, 0x00d, 0, 0)
- m000()
- CH03("", 0, 0x00e, 0, 0)
- m001()
- CH03("", 0, 0x00f, 0, 0)
- m002()
- CH03("", 0, 0x010, 0, 0)
- m003()
- CH03("", 0, 0x011, 0, 0)
- } else {
- SRMT("sub-tests-of-m802")
- BLCK()
- }
-
- CH03("", 0, 0x012, 0, 0)
-
- Store(0xabcd0009, ii99)
- Name(ii99, 0)
-
- CH04("", 0, 0xff, 0, 0x013, 0, 0)
-}
-
-Method(m1dc)
-{
- /* Successful compilation itself of this test is error */
- err("", zFFF, 0x014, 0, 0, 0, 0)
-}
-
-Method(mdc6)
-{
- SRMT("mdc7")
- mdc7()
- SRMT("m800")
- m800()
- SRMT("m801")
- m801()
- SRMT("m802")
- m802()
- SRMT("m1dc")
- m1dc()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0031:
+ *
+ * SUMMARY: The ASL Compiler doesn't try to detect and reject attempts to use object before its declaration is evaluated
+ *
+ * ASL-compiler doesnt result in Error
+ *
+ * ATTENTION:
+ *
+ * Note 1: This test now is a run-time test because the ASL compiler doesn't
+ * actually detect and prohibit (my mistake) use of object before its
+ * declaration. After this bug of ASL compiler is fixed move this bdemo
+ * to non-run-time bug tests but dont forget to move all positive checkings
+ * of it in other run-time tests.
+ *
+ * Note 2: Since the ability itself to tun this test is error
+ * the test returns Error inconditionally (Method m1dc).
+ * But only one that error is expected. When the bug is
+ * fixed we will encounter that the test is no more
+ * compiled and fix it (see Note 1).
+ */
+
+Name(id28, 0)
+
+Method(mdc7,, Serialized)
+{
+ CH03("", 0, 0x000, 0, 0)
+ Store(0x12345678, i000)
+ Name(i000, 0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+}
+
+Method (m800,, Serialized)
+{
+ Name(i000, 0)
+ Method (m000,, Serialized)
+ {
+ Store(i000, Debug)
+ Name(i000, 0xffffffff)
+ }
+}
+
+Method (m801)
+{
+ Method (m000,, Serialized)
+ {
+ Store(id28, Debug)
+ Name(id28, 0xffffffff)
+ }
+}
+
+Method(m802,, Serialized)
+{
+ Name(i000, 0)
+ Store(0xabcd0000, i000)
+
+ CH03("", 0, 0x002, 0, 0)
+
+ Name(i001, 0)
+ Store(0xabcd0001, i001)
+
+ CH03("", 0, 0x003, 0, 0)
+
+ Name(i002, 0xabcd0002)
+
+ CH03("", 0, 0x003, 0, 0)
+
+ if (y084) {
+
+ CH03("", 0, 0x004, 0, 0)
+
+ Method(m000,, Serialized)
+ {
+ Name(i000, 0xabcd0003)
+ if (LNotEqual(i000, 0xabcd0003)) {
+ err("", zFFF, 0x006, 0, 0, i000, 0xabcd0003)
+ }
+ }
+
+ CH03("", 0, 0x005, 0, 0)
+
+ Method(m001,, Serialized)
+ {
+ Name(i000, 0xabcd0004)
+ Store(0xabcd0005, i000)
+ if (LNotEqual(i000, 0xabcd0005)) {
+ err("", zFFF, 0x006, 0, 0, i000, 0xabcd0005)
+ }
+ }
+
+ CH03("", 0, 0x006, 0, 0)
+
+ Method(m002,, Serialized)
+ {
+ Store(i000, Debug)
+ Name(i000, 0xabcd0006)
+ Store(0xabcd0007, i000)
+ if (LNotEqual(i000, 0xabcd0007)) {
+ err("", zFFF, 0x006, 0, 0, i000, 0xabcd0007)
+ }
+ }
+
+ CH03("", 0, 0x007, 0, 0)
+
+ Method (m003,, Serialized)
+ {
+ Store("------------------------------ 000000000", Debug)
+ Store(id28, Debug)
+ Name(id28, 0xabcd0008)
+ if (LNotEqual(id28, 0xabcd0008)) {
+ err("", zFFF, 0x006, 0, 0, id28, 0xabcd0008)
+ }
+ }
+
+ CH03("", 0, 0x008, 0, 0)
+ }
+
+ CH03("", 0, 0x009, 0, 0)
+
+ if (LNotEqual(i000, 0xabcd0000)) {
+ err("", zFFF, 0x00a, 0, 0, i000, 0xabcd0000)
+ }
+ if (LNotEqual(i001, 0xabcd0001)) {
+ err("", zFFF, 0x00b, 0, 0, i001, 0xabcd0001)
+ }
+ if (LNotEqual(i002, 0xabcd0002)) {
+ err("", zFFF, 0x00c, 0, 0, i002, 0xabcd0002)
+ }
+
+ if (y084) {
+ CH03("", 0, 0x00d, 0, 0)
+ m000()
+ CH03("", 0, 0x00e, 0, 0)
+ m001()
+ CH03("", 0, 0x00f, 0, 0)
+ m002()
+ CH03("", 0, 0x010, 0, 0)
+ m003()
+ CH03("", 0, 0x011, 0, 0)
+ } else {
+ SRMT("sub-tests-of-m802")
+ BLCK()
+ }
+
+ CH03("", 0, 0x012, 0, 0)
+
+ Store(0xabcd0009, ii99)
+ Name(ii99, 0)
+
+ CH04("", 0, 0xff, 0, 0x013, 0, 0)
+}
+
+Method(m1dc)
+{
+ /* Successful compilation itself of this test is error */
+ err("", zFFF, 0x014, 0, 0, 0, 0)
+}
+
+Method(mdc6)
+{
+ SRMT("mdc7")
+ mdc7()
+ SRMT("m800")
+ m800()
+ SRMT("m801")
+ m801()
+ SRMT("m802")
+ m802()
+ SRMT("m1dc")
+ m1dc()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/MAIN.asl
index 1d860f69c..7f1ac0319 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B31.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B31.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl
index 755c98cf7..32336933d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 31", TCLD, 31, W017)) {
- mdc6()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 31", TCLD, 31, W017)) {
+ mdc6()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/DECL.asl
index a8961031a..3f02eb0c3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/DECL.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0032:
- *
- * SUMMARY: The ASL Compiler should reject the same and out of range IRQ numbers (IRQ and IRQNoFlags macros)
- *
- * ASL compiler should report error...
- */
-
- Method(mf62)
- {
- Name (p000, Package() {
- ResourceTemplate () {
- IRQ (Edge, ActiveLow, Shared, IRQ0) {16}
- },
- ResourceTemplate () {
- IRQ (Level, ActiveLow, Shared, IRQ1) {9, 9}
- },
- })
-
- Store(DeRefOf(Index(p000, 0)), Local0)
- Store(Local0, Debug)
-
- Store(DeRefOf(Index(p000, 1)), Local0)
- Store(Local0, Debug)
-
- return (0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0032:
+ *
+ * SUMMARY: The ASL Compiler should reject the same and out of range IRQ numbers (IRQ and IRQNoFlags macros)
+ *
+ * ASL compiler should report error...
+ */
+
+ Method(mf62)
+ {
+ Name (p000, Package() {
+ ResourceTemplate () {
+ IRQ (Edge, ActiveLow, Shared, IRQ0) {16}
+ },
+ ResourceTemplate () {
+ IRQ (Level, ActiveLow, Shared, IRQ1) {9, 9}
+ },
+ })
+
+ Store(DeRefOf(Index(p000, 0)), Local0)
+ Store(Local0, Debug)
+
+ Store(DeRefOf(Index(p000, 1)), Local0)
+ Store(Local0, Debug)
+
+ return (0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/MAIN.asl
index 1f2f1ce2f..10d24c74d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0032_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B32.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0032_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B32.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0032_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/DECL.asl
index 3978b316b..9a5541c03 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/DECL.asl
@@ -1,101 +1,101 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0033:
- *
- * SUMMARY: The ASL-compiler doesn't refuse the same descriptor names present in the same scope (Method)
- *
- * The ASL-compiler doesn't refuse the same descriptor names
- * (Resource Descriptor Macros) present in the same scope (Method).
- */
-
-Method(mdc8)
-{
- Name(RT00,
- ResourceTemplate () {
- IRQ (Edge, ActiveLow, Shared, DN00) {}
- IRQ (Edge, ActiveLow, Shared, DN00) {}
- })
- Name(RT01,
- ResourceTemplate () {
- DMA (Compatibility, NotBusMaster, Transfer8, DN00) {}
- DMA (Compatibility, NotBusMaster, Transfer8, DN00) {}
- })
- Name(RT02,
- ResourceTemplate () {
- IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN00)
- IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN00)
- })
- Name(RT03,
- ResourceTemplate () {
- Memory24 (ReadOnly, 0x0000, 0xffff, 0x0001, 0xfffe, DN00)
- Memory24 (ReadOnly, 0x0000, 0xffff, 0x0001, 0xfffe, DN00)
- })
- Name(RT04,
- ResourceTemplate () {
- IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN00)
- IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN00)
- })
-}
-
-Method(m208)
-{
- Name(RT00,
- ResourceTemplate () {
- IRQ (Edge, ActiveLow, Shared, DN01) {}
- })
- Name(RT01,
- ResourceTemplate () {
- DMA (Compatibility, NotBusMaster, Transfer8, DN01) {}
- })
- Name(RT02,
- ResourceTemplate () {
- IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN01)
- })
- Name(RT03,
- ResourceTemplate () {
- Memory24 (ReadOnly, 0x0000, 0xffff, 0x0001, 0xfffe, DN01)
- })
- Name(RT04,
- ResourceTemplate () {
- IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN01)
- })
-}
-
-Method(m209)
-{
- Name(RT00,
- ResourceTemplate () {
- IRQ (Edge, ActiveLow, Shared, DN02) {}
- })
- Name(RT01,
- ResourceTemplate () {
- IRQ (Edge, ActiveLow, Shared, DN02) {}
- })
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0033:
+ *
+ * SUMMARY: The ASL-compiler doesn't refuse the same descriptor names present in the same scope (Method)
+ *
+ * The ASL-compiler doesn't refuse the same descriptor names
+ * (Resource Descriptor Macros) present in the same scope (Method).
+ */
+
+Method(mdc8)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ IRQ (Edge, ActiveLow, Shared, DN00) {}
+ IRQ (Edge, ActiveLow, Shared, DN00) {}
+ })
+ Name(RT01,
+ ResourceTemplate () {
+ DMA (Compatibility, NotBusMaster, Transfer8, DN00) {}
+ DMA (Compatibility, NotBusMaster, Transfer8, DN00) {}
+ })
+ Name(RT02,
+ ResourceTemplate () {
+ IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN00)
+ IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN00)
+ })
+ Name(RT03,
+ ResourceTemplate () {
+ Memory24 (ReadOnly, 0x0000, 0xffff, 0x0001, 0xfffe, DN00)
+ Memory24 (ReadOnly, 0x0000, 0xffff, 0x0001, 0xfffe, DN00)
+ })
+ Name(RT04,
+ ResourceTemplate () {
+ IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN00)
+ IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN00)
+ })
+}
+
+Method(m208)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ IRQ (Edge, ActiveLow, Shared, DN01) {}
+ })
+ Name(RT01,
+ ResourceTemplate () {
+ DMA (Compatibility, NotBusMaster, Transfer8, DN01) {}
+ })
+ Name(RT02,
+ ResourceTemplate () {
+ IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN01)
+ })
+ Name(RT03,
+ ResourceTemplate () {
+ Memory24 (ReadOnly, 0x0000, 0xffff, 0x0001, 0xfffe, DN01)
+ })
+ Name(RT04,
+ ResourceTemplate () {
+ IO (Decode16, 0xf0f1, 0xf2f3, 0xf4, 0xf5, DN01)
+ })
+}
+
+Method(m209)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ IRQ (Edge, ActiveLow, Shared, DN02) {}
+ })
+ Name(RT01,
+ ResourceTemplate () {
+ IRQ (Edge, ActiveLow, Shared, DN02) {}
+ })
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/MAIN.asl
index 1a93df64a..954e96350 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0033_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B33.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0033_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B33.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0033_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/DECL.asl
index 13e442edd..91e99d32a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/DECL.asl
@@ -1,60 +1,60 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0034:
- *
- * SUMMARY: Some data tables are corrupted when _BAS field of FixedIO Resource Descriptor Macro is specified
- */
-
-Method(mdc9,, Serialized)
-{
- Name(RT00,
- ResourceTemplate () {
- FixedIO (0x0001, 0xff, FIO0)
- })
- Store(FIO0._BAS, Debug)
-}
-
-Method(mdca,, Serialized)
-{
- Name(RT00,
- ResourceTemplate () {
- FixedIO (0x0001, 0xff, FIO0)
- FixedIO (0x0001, 0xff, FIO1)
- })
- Store(FIO0._LEN, Debug)
- Store(FIO1._LEN, Debug)
- Store(FIO1._BAS, Debug)
-}
-
-Method(mdcb)
-{
- mdc9()
- mdca()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0034:
+ *
+ * SUMMARY: Some data tables are corrupted when _BAS field of FixedIO Resource Descriptor Macro is specified
+ */
+
+Method(mdc9,, Serialized)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ FixedIO (0x0001, 0xff, FIO0)
+ })
+ Store(FIO0._BAS, Debug)
+}
+
+Method(mdca,, Serialized)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ FixedIO (0x0001, 0xff, FIO0)
+ FixedIO (0x0001, 0xff, FIO1)
+ })
+ Store(FIO0._LEN, Debug)
+ Store(FIO1._LEN, Debug)
+ Store(FIO1._BAS, Debug)
+}
+
+Method(mdcb)
+{
+ mdc9()
+ mdca()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/MAIN.asl
index 5a87db8df..3129f595f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B34.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0034/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0034/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B34.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0034/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0034/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/RUN.asl
index 12296285e..11728fa08 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0034/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 34", TCLD, 34, W017)) {
- SRMT("mdcb")
- mdcb()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 34", TCLD, 34, W017)) {
+ SRMT("mdcb")
+ mdcb()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/DECL.asl
index 269666ed2..52ae89c72 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/DECL.asl
@@ -1,51 +1,51 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0035:
- *
- * SUMMARY: The DMA Resource Descriptor Macro (specification, compilation error, to strengthen the ASL Compiler input control)
- *
- * ASL compiler should report errors.
- */
-
-Method(mdcc)
-{
- Name(RT00,
- ResourceTemplate () {
- DMA (Compatibility, NotBusMaster, Transfer8) {8}
- })
- Name(RT01,
- ResourceTemplate () {
- DMA (Compatibility, NotBusMaster, Transfer8) {1,1}
- })
- Name(RT02,
- ResourceTemplate () {
- DMA (Compatibility, , Transfer8) {1,2}
- })
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0035:
+ *
+ * SUMMARY: The DMA Resource Descriptor Macro (specification, compilation error, to strengthen the ASL Compiler input control)
+ *
+ * ASL compiler should report errors.
+ */
+
+Method(mdcc)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ DMA (Compatibility, NotBusMaster, Transfer8) {8}
+ })
+ Name(RT01,
+ ResourceTemplate () {
+ DMA (Compatibility, NotBusMaster, Transfer8) {1,1}
+ })
+ Name(RT02,
+ ResourceTemplate () {
+ DMA (Compatibility, , Transfer8) {1,2}
+ })
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/MAIN.asl
index 1f22ce71d..c6c530e37 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0035_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B35.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0035_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B35.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0035_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/DECL.asl
index 45ef6af20..0fe2f1e8d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/DECL.asl
@@ -1,44 +1,44 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0036:
- *
- * SUMMARY: The ASL compiler should reject the VendorShort Resource Descriptor Macro with the out of range bytes number
- *
- * ASL compiler should report errors.
- */
-
-Method(mdcd)
-{
- Name (VS00,
- ResourceTemplate () {
- VendorShort () {0x00, 0xa2, 0xb3, 0x76, 0xd5, 0xe6, 0xf7,
- 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99}
- })
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0036:
+ *
+ * SUMMARY: The ASL compiler should reject the VendorShort Resource Descriptor Macro with the out of range bytes number
+ *
+ * ASL compiler should report errors.
+ */
+
+Method(mdcd)
+{
+ Name (VS00,
+ ResourceTemplate () {
+ VendorShort () {0x00, 0xa2, 0xb3, 0x76, 0xd5, 0xe6, 0xf7,
+ 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99}
+ })
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/MAIN.asl
index 655feb6e4..815354fea 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0036_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B36.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0036_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B36.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0036_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/DECL.asl
index 3de93da65..14152692b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/DECL.asl
@@ -1,52 +1,52 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0037:
- *
- * SUMMARY: The Memory24 Resource Descriptor Macro specification should be updated
- */
-
- Method(mf63,, Serialized)
- {
- Name (M241,
- ResourceTemplate () {
- Memory24 (, 0xf0f1, 0xf2f3, 0xf4f5, 0xf6f7, M240)
- })
- Name (M242, Buffer () {0x81, 0x09, 0x00, 0x01,
- 0xf1, 0xf0, 0xf3, 0xf2, 0xf5, 0xf4, 0xf7, 0xf6, 0x79, 0x00,
- })
-
- if (LNotEqual(M241, M242)) {
- err("", zFFF, 0x000, 0, 0, M241, M242)
- }
-
- if (LNotEqual(M240._RW, 0x18)) {
- err("", zFFF, 0x000, 0, 0, M240._RW, 0x18)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0037:
+ *
+ * SUMMARY: The Memory24 Resource Descriptor Macro specification should be updated
+ */
+
+ Method(mf63,, Serialized)
+ {
+ Name (M241,
+ ResourceTemplate () {
+ Memory24 (, 0xf0f1, 0xf2f3, 0xf4f5, 0xf6f7, M240)
+ })
+ Name (M242, Buffer () {0x81, 0x09, 0x00, 0x01,
+ 0xf1, 0xf0, 0xf3, 0xf2, 0xf5, 0xf4, 0xf7, 0xf6, 0x79, 0x00,
+ })
+
+ if (LNotEqual(M241, M242)) {
+ err("", zFFF, 0x000, 0, 0, M241, M242)
+ }
+
+ if (LNotEqual(M240._RW, 0x18)) {
+ err("", zFFF, 0x000, 0, 0, M240._RW, 0x18)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/MAIN.asl
index 7bf91db62..251664a58 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B37.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0037/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0037/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B37.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0037/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0037/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/RUN.asl
index 94bcec14a..ebd113d69 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0037/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 37", TCLD, 37, W017)) {
- SRMT("mf63")
- mf63()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 37", TCLD, 37, W017)) {
+ SRMT("mf63")
+ mf63()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/DECL.asl
index f7afbd7fd..6d3c5e70c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/DECL.asl
@@ -1,80 +1,80 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0038:
- *
- * SUMMARY: LGreater passed with Integer and String works incorrectly in 32-bit mode
- */
-
-Method(mdce,, Serialized)
-{
- Store(0, Local7)
-
- // Show that (in 32-bit mode) "FdeAcb0132547698" passed to Name
- // operator is correctly implicitly converted to Integer 0xfdeacb01
-
- Name(n000, 0)
- Store("FdeAcb0132547698", n000)
- Store(n000, Debug)
-
- if (LNotEqual(n000, 0xfdeacb01)) {
- err("", zFFF, 0x000, 0, 0, n000, 0xfdeacb01)
- }
-
- // Show that LGreater operator indicates correctly
- // that 0x42345678 is greater than 0x32547698
-
- if (LGreater(0x42345678, 0x32547698)) {
- Store(1, Local7)
- } else {
- err("", zFFF, 0x001, 0, 0, 0x42345678, 0x32547698)
- }
-
- // Show that (in 32-bit mode) "FdeAcb0132547698" passed to Name operator
- // is implicitly converted to some Integer (0xfdeacb01) which is actually
- // treated by LGreater as being greater than 0x42345678
-
- if (LGreater(n000, 0x42345678)) {
- Store(1, Local7)
- } else {
- err("", zFFF, 0x002, 0, 0, n000, 0x42345678)
- }
-
- // Show that, nevertheless, (in 32-bit mode) "FdeAcb01Fdeacb03" passed
- // to LGreater operator is implicitly converted to some unexpected value
- // which is NOT equal to the expected correct 0xfdeacb01 value.
-
- if (LGreater(0xfdeacb02, "FdeAcb01Fdeacb03")) {
- Store(1, Local7)
- } else {
- err("", zFFF, 0x003, 0, 0, 0xfdeacb02, "FdeAcb01Fdeacb03")
- }
-
- return (Local7)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0038:
+ *
+ * SUMMARY: LGreater passed with Integer and String works incorrectly in 32-bit mode
+ */
+
+Method(mdce,, Serialized)
+{
+ Store(0, Local7)
+
+ // Show that (in 32-bit mode) "FdeAcb0132547698" passed to Name
+ // operator is correctly implicitly converted to Integer 0xfdeacb01
+
+ Name(n000, 0)
+ Store("FdeAcb0132547698", n000)
+ Store(n000, Debug)
+
+ if (LNotEqual(n000, 0xfdeacb01)) {
+ err("", zFFF, 0x000, 0, 0, n000, 0xfdeacb01)
+ }
+
+ // Show that LGreater operator indicates correctly
+ // that 0x42345678 is greater than 0x32547698
+
+ if (LGreater(0x42345678, 0x32547698)) {
+ Store(1, Local7)
+ } else {
+ err("", zFFF, 0x001, 0, 0, 0x42345678, 0x32547698)
+ }
+
+ // Show that (in 32-bit mode) "FdeAcb0132547698" passed to Name operator
+ // is implicitly converted to some Integer (0xfdeacb01) which is actually
+ // treated by LGreater as being greater than 0x42345678
+
+ if (LGreater(n000, 0x42345678)) {
+ Store(1, Local7)
+ } else {
+ err("", zFFF, 0x002, 0, 0, n000, 0x42345678)
+ }
+
+ // Show that, nevertheless, (in 32-bit mode) "FdeAcb01Fdeacb03" passed
+ // to LGreater operator is implicitly converted to some unexpected value
+ // which is NOT equal to the expected correct 0xfdeacb01 value.
+
+ if (LGreater(0xfdeacb02, "FdeAcb01Fdeacb03")) {
+ Store(1, Local7)
+ } else {
+ err("", zFFF, 0x003, 0, 0, 0xfdeacb02, "FdeAcb01Fdeacb03")
+ }
+
+ return (Local7)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/MAIN.asl
index 5a01d1cda..f8f77d8bf 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B38.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0038/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0038/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B38.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0038/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0038/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/RUN.asl
index c91b7a54a..75aa37d75 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0038/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 38", TCLD, 38, W017)) {
- SRMT("mdce")
- if (F64) {
- SKIP()
- } else {
- mdce()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 38", TCLD, 38, W017)) {
+ SRMT("mdce")
+ if (F64) {
+ SKIP()
+ } else {
+ mdce()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl
index a5acc3d33..8bd3b71dd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0039:
- *
- * SUMMARY: The ASL Compiler fails on specific expressions with ObjectType
- */
-
-Method(mdcf,, Serialized)
-{
- Name(c010, 8) // Method
- Name(c018, 16) // Debug Object
-
- // Debug Object
-
- Store(ObjectType(Debug), Local0)
- if (LNotEqual(Local0, c018)) {
- err("", zFFF, 0x000, 0, 0, Local0, c018)
- }
-
- // Method
-
- Method(m0f2) { return (0x1234) }
- Store(ObjectType(m0f2), Local0)
- if (LNotEqual(Local0, c010)) {
- err("", zFFF, 0x001, 0, 0, Local0, c010)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0039:
+ *
+ * SUMMARY: The ASL Compiler fails on specific expressions with ObjectType
+ */
+
+Method(mdcf,, Serialized)
+{
+ Name(c010, 8) // Method
+ Name(c018, 16) // Debug Object
+
+ // Debug Object
+
+ Store(ObjectType(Debug), Local0)
+ if (LNotEqual(Local0, c018)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c018)
+ }
+
+ // Method
+
+ Method(m0f2) { return (0x1234) }
+ Store(ObjectType(m0f2), Local0)
+ if (LNotEqual(Local0, c010)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c010)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/MAIN.asl
index f63d55632..0bb9a3c7e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B39.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B39.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl
index fa1b8dcea..68cc69e41 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 39", TCLD, 39, W017)) {
- SRMT("mdcf")
- mdcf()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 39", TCLD, 39, W017)) {
+ SRMT("mdcf")
+ mdcf()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/DECL.asl
index 5b126b93a..3c0b9f98f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/DECL.asl
@@ -1,47 +1,47 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0040:
- *
- * SUMMARY: Crash on sync-objects reusing
- */
-
-Method(mdd0,, Serialized) {
- Mutex(MTX0, 0)
- Store(Acquire(MTX0, 0), Local0)
- Release(MTX0)
-}
-
-Method(mdd1) {
- Store(120, Local0)
- While (Local0) {
- mdd0()
- Decrement(Local0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0040:
+ *
+ * SUMMARY: Crash on sync-objects reusing
+ */
+
+Method(mdd0,, Serialized) {
+ Mutex(MTX0, 0)
+ Store(Acquire(MTX0, 0), Local0)
+ Release(MTX0)
+}
+
+Method(mdd1) {
+ Store(120, Local0)
+ While (Local0) {
+ mdd0()
+ Decrement(Local0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/MAIN.asl
index cdb547ccf..10e49b130 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B40.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0040/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0040/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B40.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0040/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0040/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/RUN.asl
index f88a9ccc2..f60b770c9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0040/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 40", TCLD, 40, W017)) {
- SRMT("mdd1")
- mdd1()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 40", TCLD, 40, W017)) {
+ SRMT("mdd1")
+ mdd1()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/DECL.asl
index 75c3482fd..186ca7abf 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/DECL.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0041:
- *
- * SUMMARY: ToInteger transforms operand to reference when no conversion is required
- */
-
-Method(mdd2)
-{
- Store(0, Local0)
- Store(Local0, Debug)
- Store(ToInteger(Local0), Local1)
- Store(Local0, Debug)
- Add(Local0, 1, Local7)
- if (LNotEqual(Local7, 1)){
- err("", zFFF, 0x000, 0, 0, Local7, 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0041:
+ *
+ * SUMMARY: ToInteger transforms operand to reference when no conversion is required
+ */
+
+Method(mdd2)
+{
+ Store(0, Local0)
+ Store(Local0, Debug)
+ Store(ToInteger(Local0), Local1)
+ Store(Local0, Debug)
+ Add(Local0, 1, Local7)
+ if (LNotEqual(Local7, 1)){
+ err("", zFFF, 0x000, 0, 0, Local7, 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/MAIN.asl
index b7d25fbec..ff3d1453a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B41.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0041/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0041/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B41.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0041/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0041/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/RUN.asl
index d2bc187db..218ece424 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0041/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 41", TCLD, 41, W017)) {
- SRMT("mdd2")
- mdd2()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 41", TCLD, 41, W017)) {
+ SRMT("mdd2")
+ mdd2()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/DECL.asl
index f6d893d82..ca8f5af13 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/DECL.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0042:
- *
- * SUMMARY: ToDecimalString transforms operand to reference when no conversion is required
- */
-
-Method(mdd3)
-{
- Store("0", Local0)
- Store(Local0, Debug)
- Store(ToDecimalString(Local0), Local2)
- Store(Local0, Debug)
- Add(Local0, 1, Local7)
- if (LNotEqual(Local7, 1)){
- err("", zFFF, 0x000, 0, 0, Local7, 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0042:
+ *
+ * SUMMARY: ToDecimalString transforms operand to reference when no conversion is required
+ */
+
+Method(mdd3)
+{
+ Store("0", Local0)
+ Store(Local0, Debug)
+ Store(ToDecimalString(Local0), Local2)
+ Store(Local0, Debug)
+ Add(Local0, 1, Local7)
+ if (LNotEqual(Local7, 1)){
+ err("", zFFF, 0x000, 0, 0, Local7, 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/MAIN.asl
index 513701408..9ad701bee 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B42.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0042/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0042/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B42.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0042/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0042/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/RUN.asl
index 5801d815f..d1babf02d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0042/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 42", TCLD, 42, W017)) {
- SRMT("mdd3")
- mdd3()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 42", TCLD, 42, W017)) {
+ SRMT("mdd3")
+ mdd3()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/DECL.asl
index 3e8d449a1..2b0781f81 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/DECL.asl
@@ -1,46 +1,46 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0043:
- *
- * SUMMARY: ToHexString transforms operand to reference when no conversion is required
- */
-
-Method(mdd4)
-{
- Store("a", Local0)
- Store(Local0, Debug)
- Store(ToHexString(Local0), Local1)
- Store(Local0, Debug)
-
- Add(Local0, 1, Local7)
- if (LNotEqual(Local7, 11)){
- err("", zFFF, 0x000, 0, 0, Local7, 11)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0043:
+ *
+ * SUMMARY: ToHexString transforms operand to reference when no conversion is required
+ */
+
+Method(mdd4)
+{
+ Store("a", Local0)
+ Store(Local0, Debug)
+ Store(ToHexString(Local0), Local1)
+ Store(Local0, Debug)
+
+ Add(Local0, 1, Local7)
+ if (LNotEqual(Local7, 11)){
+ err("", zFFF, 0x000, 0, 0, Local7, 11)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/MAIN.asl
index ab798ecec..7fbc66576 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B43.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0043/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0043/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B43.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0043/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0043/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/RUN.asl
index 745f4cee2..a23fd9806 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0043/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 43", TCLD, 43, W017)) {
- SRMT("mdd4")
- mdd4()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 43", TCLD, 43, W017)) {
+ SRMT("mdd4")
+ mdd4()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/DECL.asl
index 67a160a0e..5af70f53b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/DECL.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0044:
- *
- * SUMMARY: The ToUUID Macro loses the high hex-digit of each byte
- */
-
-Method(mdd5)
-{
- Store( Buffer(16) {0x3d, 0x2c, 0x1b, 0x0a, 0x5f, 0x4e, 0x71, 0x60,
- 0x82, 0x93, 0xa4, 0xb5, 0xc6, 0xd7, 0xe8, 0xf9}, Local0)
-
- Store(ToUUID("0a1b2c3d-4e5f-6071-8293-a4b5c6d7e8f9"), Local1)
-
- if (LNotEqual(Local0, Local1)) {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0044:
+ *
+ * SUMMARY: The ToUUID Macro loses the high hex-digit of each byte
+ */
+
+Method(mdd5)
+{
+ Store( Buffer(16) {0x3d, 0x2c, 0x1b, 0x0a, 0x5f, 0x4e, 0x71, 0x60,
+ 0x82, 0x93, 0xa4, 0xb5, 0xc6, 0xd7, 0xe8, 0xf9}, Local0)
+
+ Store(ToUUID("0a1b2c3d-4e5f-6071-8293-a4b5c6d7e8f9"), Local1)
+
+ if (LNotEqual(Local0, Local1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/MAIN.asl
index a6f0ade0e..2abf03407 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B44.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0044/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0044/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B44.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0044/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0044/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/RUN.asl
index f1642370e..3a444f1cc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0044/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 44", TCLD, 44, W017)) {
- SRMT("mdd5")
- mdd5()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 44", TCLD, 44, W017)) {
+ SRMT("mdd5")
+ mdd5()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/DECL.asl
index 0ca8ef2be..08c93446f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/DECL.asl
@@ -1,72 +1,72 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0045:
- *
- * SUMMARY: Exception on ToDecimalString for Buffer with 51 elements
- */
-
-Method(mdd6,, Serialized)
-{
- // ToDecimalString() when the number of result characters in string
- // exceeds 200. Results into 204 (51 * 4) characters.
- Name(b000, Buffer() {
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1})
-
- Name(b001, Buffer() {
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1})
-
- ToDecimalString(b001, Local0)
- if (LNotEqual(Local0,
- "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1")) {
- err("", zFFF, 0x000, 0, 0, Local0,
- "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1")
- }
- Store(SizeOf(Local0), Local1)
- if (LNotEqual(Local1, 99)) {
- err("", zFFF, 0x001, 0, 0, Local1, 99)
- }
-
- ToDecimalString(b000, Local0)
- if (LNotEqual(Local0,
- "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1")) {
- err("", zFFF, 0x002, 0, 0, Local0,
- "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1")
- }
- Store(SizeOf(Local0), Local1)
- if (LNotEqual(Local1, 101)) {
- err("", zFFF, 0x003, 0, 0, Local1, 101)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0045:
+ *
+ * SUMMARY: Exception on ToDecimalString for Buffer with 51 elements
+ */
+
+Method(mdd6,, Serialized)
+{
+ // ToDecimalString() when the number of result characters in string
+ // exceeds 200. Results into 204 (51 * 4) characters.
+ Name(b000, Buffer() {
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1})
+
+ Name(b001, Buffer() {
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1})
+
+ ToDecimalString(b001, Local0)
+ if (LNotEqual(Local0,
+ "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1")) {
+ err("", zFFF, 0x000, 0, 0, Local0,
+ "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1")
+ }
+ Store(SizeOf(Local0), Local1)
+ if (LNotEqual(Local1, 99)) {
+ err("", zFFF, 0x001, 0, 0, Local1, 99)
+ }
+
+ ToDecimalString(b000, Local0)
+ if (LNotEqual(Local0,
+ "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1")) {
+ err("", zFFF, 0x002, 0, 0, Local0,
+ "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1")
+ }
+ Store(SizeOf(Local0), Local1)
+ if (LNotEqual(Local1, 101)) {
+ err("", zFFF, 0x003, 0, 0, Local1, 101)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/MAIN.asl
index d48e8b86c..5f2480876 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B45.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0045/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0045/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B45.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0045/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0045/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/RUN.asl
index 5d0e43237..15fd522b4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0045/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 45", TCLD, 45, W017)) {
- SRMT("mdd6")
- mdd6()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 45", TCLD, 45, W017)) {
+ SRMT("mdd6")
+ mdd6()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/DECL.asl
index a263cc571..2a08f6d4b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/DECL.asl
@@ -1,75 +1,75 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0046:
- *
- * SUMMARY: Exception on ToHexString for Buffer with 67 elements
- */
-
-Method(mdd7,, Serialized)
-{
- Name(b000, Buffer() {
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1})
-
- Name(b001, Buffer() {
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1})
-
- ToHexString(b001, Local0)
- if (LNotEqual(Local0,
- "01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01")) {
- err("", zFFF, 0x000, 0, 0, Local0,
- "01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01")
- }
-
- Store(SizeOf(Local0), Local1)
- if (LNotEqual(Local1, 197)) {
- err("", zFFF, 0x001, 0, 0, Local1, 197)
- }
-
-
- ToHexString(b000, Local0)
- if (LNotEqual(Local0,
- "01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01")) {
- err("", zFFF, 0x002, 0, 0, Local0,
- "01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01")
- }
-
- Store(SizeOf(Local0), Local1)
- if (LNotEqual(Local1, 200)) {
- err("", zFFF, 0x003, 0, 0, Local1, 200)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0046:
+ *
+ * SUMMARY: Exception on ToHexString for Buffer with 67 elements
+ */
+
+Method(mdd7,, Serialized)
+{
+ Name(b000, Buffer() {
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1})
+
+ Name(b001, Buffer() {
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1})
+
+ ToHexString(b001, Local0)
+ if (LNotEqual(Local0,
+ "01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01")) {
+ err("", zFFF, 0x000, 0, 0, Local0,
+ "01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01")
+ }
+
+ Store(SizeOf(Local0), Local1)
+ if (LNotEqual(Local1, 197)) {
+ err("", zFFF, 0x001, 0, 0, Local1, 197)
+ }
+
+
+ ToHexString(b000, Local0)
+ if (LNotEqual(Local0,
+ "01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01")) {
+ err("", zFFF, 0x002, 0, 0, Local0,
+ "01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01")
+ }
+
+ Store(SizeOf(Local0), Local1)
+ if (LNotEqual(Local1, 200)) {
+ err("", zFFF, 0x003, 0, 0, Local1, 200)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/MAIN.asl
index 1bf7bba49..06674ead0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B46.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0046/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0046/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B46.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0046/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0046/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/RUN.asl
index e11e23861..ea68a9e55 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0046/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 46", TCLD, 46, W017)) {
- SRMT("mdd7")
- mdd7()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 46", TCLD, 46, W017)) {
+ SRMT("mdd7")
+ mdd7()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/DECL.asl
index 7d44c57fd..7b7ef541b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/DECL.asl
@@ -1,108 +1,108 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 47:
- *
- * SUMMARY: Timer operator doesn’t provide gradually increased values
- *
- * APPEARANCE
- *
- * The ASL Timer operator is declared as a 64-bit one
- * "17.5.117 Timer (Get 64-Bit Timer Value)" but actualy,
- * we observe it is overrun during each 15 minutes, but we
- * expect that to be one time in more than 50 thousand years!
- *
- * SPECS (17.5.117)
- *
- * The value resulting from this opcode is 64-bits.
- * It is monotonically increasing, but it is not guaranteed
- * that every result will be unique, i.e. two subsequent
- * instructions may return the same value. The only guarantee
- * is that each subsequent evaluation will be greater-than or
- * equal to the previous ones.
- *
- * Timer operator doesn’t provide
- * gradually increased values. The test takes long time,
- * and ends only when encounters error. Since the test is
- * based on Timer operator which is under testing and works
- * incorrectly we excluded this test from the normally run
- * tests set. We can't even control the time the run of test
- * is in progress from inside the test.
- */
-
-Method(md77,, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Name(TSLP, 5000) // MilliSecs to sleep each cycle (5 secs)
- Name(NCCL, 180) // Number of cycles
-
- Store(NCCL, lpN0)
- Store(0, lpC0)
-
- Multiply(TSLP, lpN0, Local0)
- Divide(Local0, 1000, Local1, Local2)
- Store(Concatenate("Maximal time of execution (in seconds): 0x", Local2), Debug)
-
- Store(Timer, Local0)
- Store(0, Local5)
-
- Store(Concatenate("Start value of Timer : 0x", Local0), Debug)
-
- While (lpN0) {
-
- Store(Timer, Local7)
- Store(Concatenate("Timer: 0x", Local7), Debug)
-
- if (LGreater(Local0, Local7)) {
- // if (Local5) {
- err("", zFFF, 0x000, 0, 0, Local0, Local7)
- Store(Concatenate("Cur timer : 0x", Local7), Debug)
- Store(Concatenate("Start timer : 0x", Local0), Debug)
- Store(Concatenate("Step of cycle : 0x", TSLP), Debug)
- Break
- // }
- // First time in more than 50 thousand years!
- Store(1, Local5)
- }
-
- Sleep (TSLP)
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Store(Concatenate("Start timer: 0x", Local0), Debug)
- Store(Concatenate("Finish timer: 0x", Local7), Debug)
-
- Subtract(Local7, Local0, Local6)
- Store(TMR0(Local6), Local0)
- Store(Concatenate("Run time (in seconds): 0x", Local0), Debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 47:
+ *
+ * SUMMARY: Timer operator doesn’t provide gradually increased values
+ *
+ * APPEARANCE
+ *
+ * The ASL Timer operator is declared as a 64-bit one
+ * "17.5.117 Timer (Get 64-Bit Timer Value)" but actualy,
+ * we observe it is overrun during each 15 minutes, but we
+ * expect that to be one time in more than 50 thousand years!
+ *
+ * SPECS (17.5.117)
+ *
+ * The value resulting from this opcode is 64-bits.
+ * It is monotonically increasing, but it is not guaranteed
+ * that every result will be unique, i.e. two subsequent
+ * instructions may return the same value. The only guarantee
+ * is that each subsequent evaluation will be greater-than or
+ * equal to the previous ones.
+ *
+ * Timer operator doesn’t provide
+ * gradually increased values. The test takes long time,
+ * and ends only when encounters error. Since the test is
+ * based on Timer operator which is under testing and works
+ * incorrectly we excluded this test from the normally run
+ * tests set. We can't even control the time the run of test
+ * is in progress from inside the test.
+ */
+
+Method(md77,, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Name(TSLP, 5000) // MilliSecs to sleep each cycle (5 secs)
+ Name(NCCL, 180) // Number of cycles
+
+ Store(NCCL, lpN0)
+ Store(0, lpC0)
+
+ Multiply(TSLP, lpN0, Local0)
+ Divide(Local0, 1000, Local1, Local2)
+ Store(Concatenate("Maximal time of execution (in seconds): 0x", Local2), Debug)
+
+ Store(Timer, Local0)
+ Store(0, Local5)
+
+ Store(Concatenate("Start value of Timer : 0x", Local0), Debug)
+
+ While (lpN0) {
+
+ Store(Timer, Local7)
+ Store(Concatenate("Timer: 0x", Local7), Debug)
+
+ if (LGreater(Local0, Local7)) {
+ // if (Local5) {
+ err("", zFFF, 0x000, 0, 0, Local0, Local7)
+ Store(Concatenate("Cur timer : 0x", Local7), Debug)
+ Store(Concatenate("Start timer : 0x", Local0), Debug)
+ Store(Concatenate("Step of cycle : 0x", TSLP), Debug)
+ Break
+ // }
+ // First time in more than 50 thousand years!
+ Store(1, Local5)
+ }
+
+ Sleep (TSLP)
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Store(Concatenate("Start timer: 0x", Local0), Debug)
+ Store(Concatenate("Finish timer: 0x", Local7), Debug)
+
+ Subtract(Local7, Local0, Local6)
+ Store(TMR0(Local6), Local0)
+ Store(Concatenate("Run time (in seconds): 0x", Local0), Debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/MAIN.asl
index ddcd4a895..d9b02f1b1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B47.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0047/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0047/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B47.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0047/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0047/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/RUN.asl
index d8264f3f9..2c27c8348 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0047/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 47", TCLD, 47, W017)) {
- SRMT("md77")
- if (rn05) {
- md77()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 47", TCLD, 47, W017)) {
+ SRMT("md77")
+ if (rn05) {
+ md77()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/DECL.asl
index 89a4265ea..4d7d57d59 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/DECL.asl
@@ -1,59 +1,59 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0048:
- *
- * SUMMARY: No exception on result of Concatenate longer than 210 bytes
- */
-
-Method(mdd8)
-{
- // 100 characters
- Store("0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", Local0)
-
- // 101 characters
- Store("01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", Local1)
-
- // Concatenate 100-byte long string with 101-byte long
- // string and expect AE_AML_STRING_LIMIT exception.
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(Concatenate(Local0, Local1), Local2)
-
- /*
- * No restriction on the length of String objects now:
- *
- * CH04("", 0, 61, 0, 0x001, 0, 0) // AE_AML_STRING_LIMIT
- */
-
- CH03("", 0, 0x001, 0, 0)
-
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0048:
+ *
+ * SUMMARY: No exception on result of Concatenate longer than 210 bytes
+ */
+
+Method(mdd8)
+{
+ // 100 characters
+ Store("0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789", Local0)
+
+ // 101 characters
+ Store("01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", Local1)
+
+ // Concatenate 100-byte long string with 101-byte long
+ // string and expect AE_AML_STRING_LIMIT exception.
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(Concatenate(Local0, Local1), Local2)
+
+ /*
+ * No restriction on the length of String objects now:
+ *
+ * CH04("", 0, 61, 0, 0x001, 0, 0) // AE_AML_STRING_LIMIT
+ */
+
+ CH03("", 0, 0x001, 0, 0)
+
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/MAIN.asl
index 60ce671c2..0c35b9f16 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B48.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0048/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0048/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B48.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0048/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0048/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/RUN.asl
index 25047c1fd..482c1e51c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0048/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 48", TCLD, 48, W017)) {
- SRMT("mdd8")
- mdd8()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 48", TCLD, 48, W017)) {
+ SRMT("mdd8")
+ mdd8()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/DECL.asl
index a1bc7c26c..fecbd8be2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/DECL.asl
@@ -1,65 +1,65 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0049:
- *
- * SUMMARY: No exception on result of ToDecimalString longer than 210 bytes
- */
-
-Method(mdd9,, Serialized)
-{
- // 101-byte long buffer
- Name(b000, Buffer() {
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1})
-
- // ToDecimalString for 101-byte long buffer attempt
- // to produce 201 byte long string and have to result
- // in AE_AML_STRING_LIMIT exception.
-
- CH03("", 0, 0x000, 0, 0)
-
- ToDecimalString(b000, Local0)
-
- /*
- * No restriction on the length of String objects now:
- *
- * CH04("", 0, 61, 0, 0x001, 0, 0) // AE_AML_STRING_LIMIT
- */
-
- CH03("", 0, 0x001, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0049:
+ *
+ * SUMMARY: No exception on result of ToDecimalString longer than 210 bytes
+ */
+
+Method(mdd9,, Serialized)
+{
+ // 101-byte long buffer
+ Name(b000, Buffer() {
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1})
+
+ // ToDecimalString for 101-byte long buffer attempt
+ // to produce 201 byte long string and have to result
+ // in AE_AML_STRING_LIMIT exception.
+
+ CH03("", 0, 0x000, 0, 0)
+
+ ToDecimalString(b000, Local0)
+
+ /*
+ * No restriction on the length of String objects now:
+ *
+ * CH04("", 0, 61, 0, 0x001, 0, 0) // AE_AML_STRING_LIMIT
+ */
+
+ CH03("", 0, 0x001, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/MAIN.asl
index 81cfc6d90..7eb8fd816 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B49.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0049/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0049/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B49.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0049/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0049/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/RUN.asl
index 844bf65a4..97a8f594a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0049/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 49", TCLD, 49, W017)) {
- SRMT("mdd9")
- mdd9()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 49", TCLD, 49, W017)) {
+ SRMT("mdd9")
+ mdd9()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/DECL.asl
index 5ad9958e7..2cb44e16d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/DECL.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0050:
- *
- * SUMMARY: No exception on result of ToHexString longer than 210 bytes
- */
-
-Method(mdda,, Serialized)
-{
- // 68-byte long buffer
- Name(b000, Buffer() {
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1})
-
- // ToHexString for 68-byte long buffer attempt
- // to produce 203 byte long string and have to
- // result in AE_AML_STRING_LIMIT exception.
-
- CH03("", 0, 0x000, 0, 0)
- ToHexString(b000, Local0)
- CH04("", 0, 61, 0, 0x001, 0, 0) // AE_AML_STRING_LIMIT
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0050:
+ *
+ * SUMMARY: No exception on result of ToHexString longer than 210 bytes
+ */
+
+Method(mdda,, Serialized)
+{
+ // 68-byte long buffer
+ Name(b000, Buffer() {
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1})
+
+ // ToHexString for 68-byte long buffer attempt
+ // to produce 203 byte long string and have to
+ // result in AE_AML_STRING_LIMIT exception.
+
+ CH03("", 0, 0x000, 0, 0)
+ ToHexString(b000, Local0)
+ CH04("", 0, 61, 0, 0x001, 0, 0) // AE_AML_STRING_LIMIT
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/MAIN.asl
index 10492b9f3..0a71f42e4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B50.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0050/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0050/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B50.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0050/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0050/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/RUN.asl
index a7ef02f58..7432a4921 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0050/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 50", TCLD, 50, W017)) {
- SRMT("mdda")
- mdda()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 50", TCLD, 50, W017)) {
+ SRMT("mdda")
+ mdda()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl
index c21a5ef05..f38c8fadf 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl
@@ -1,78 +1,78 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0051:
- *
- * SUMMARY: Register() macro missing parameter
- *
- * NOTE: introduce into FULL after fixing bug of iASL
- */
-
-
-Method(mddb, 5)
-{
- if (LNotEqual(arg0, arg1)) {
- err("", zFFF, 0x000, 0, 0, arg0, arg1)
- }
- if (LNotEqual(arg2, arg3)) {
- err("", zFFF, 0x001, 0, 0, arg0, arg1)
- }
-}
-
-Method(mddc,, Serialized)
-{
- Name(RT00,
- ResourceTemplate () {
- // Register macro AccessSize is not implemented
- Register (SystemMemory, 0xf0, 0xf1, 0xf2f3f4f5f6f7f8f9, 1)
- })
- Name(BUF0,
- Buffer () {0x82, 0x0c, 0x00, 0x00, 0xf0, 0xf1, 0x01,
- 0xf9, 0xf8, 0xf7, 0xf6, 0xf5, 0xf4, 0xf3, 0xf2, 0x79, 0x00
- })
-
-
- // Currently Register macro DescriptorName is not implemented
-
- Store (
- ResourceTemplate () {
- Register (SystemMemory, 0xf0, 0xf1, 0xf2f3f4f5f6f7f8f9, 0, REG0)
- Register (SystemMemory, 0xf0, 0xf1, 0xf2f3f4f5f6f7f8f9, 0, REG1)
- }, Local0)
-
- mddb(REG0._ASI, 3, REG1._ASI, 18, "_ASI")
- mddb(REG0._RBW, 4, REG1._RBW, 19, "_RBW")
- mddb(REG0._RBO, 5, REG1._RBO, 20, "_RBO")
- mddb(REG0._ASZ, 6, REG1._ASZ, 21, "_ASZ")
- mddb(REG0._ADR, 7, REG1._ADR, 22, "_ADR")
-
- if (LNotEqual(RT00, BUF0)) {
- err("", zFFF, 0x002, 0, 0, RT00, BUF0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0051:
+ *
+ * SUMMARY: Register() macro missing parameter
+ *
+ * NOTE: introduce into FULL after fixing bug of iASL
+ */
+
+
+Method(mddb, 5)
+{
+ if (LNotEqual(arg0, arg1)) {
+ err("", zFFF, 0x000, 0, 0, arg0, arg1)
+ }
+ if (LNotEqual(arg2, arg3)) {
+ err("", zFFF, 0x001, 0, 0, arg0, arg1)
+ }
+}
+
+Method(mddc,, Serialized)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ // Register macro AccessSize is not implemented
+ Register (SystemMemory, 0xf0, 0xf1, 0xf2f3f4f5f6f7f8f9, 1)
+ })
+ Name(BUF0,
+ Buffer () {0x82, 0x0c, 0x00, 0x00, 0xf0, 0xf1, 0x01,
+ 0xf9, 0xf8, 0xf7, 0xf6, 0xf5, 0xf4, 0xf3, 0xf2, 0x79, 0x00
+ })
+
+
+ // Currently Register macro DescriptorName is not implemented
+
+ Store (
+ ResourceTemplate () {
+ Register (SystemMemory, 0xf0, 0xf1, 0xf2f3f4f5f6f7f8f9, 0, REG0)
+ Register (SystemMemory, 0xf0, 0xf1, 0xf2f3f4f5f6f7f8f9, 0, REG1)
+ }, Local0)
+
+ mddb(REG0._ASI, 3, REG1._ASI, 18, "_ASI")
+ mddb(REG0._RBW, 4, REG1._RBW, 19, "_RBW")
+ mddb(REG0._RBO, 5, REG1._RBO, 20, "_RBO")
+ mddb(REG0._ASZ, 6, REG1._ASZ, 21, "_ASZ")
+ mddb(REG0._ADR, 7, REG1._ADR, 22, "_ADR")
+
+ if (LNotEqual(RT00, BUF0)) {
+ err("", zFFF, 0x002, 0, 0, RT00, BUF0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/MAIN.asl
index ff306794c..28c4aab81 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B51.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B51.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl
index fa299ccae..9f6f8e7b2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 51", TCLD, 51, W017)) {
- SRMT("mddc")
- mddc()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 51", TCLD, 51, W017)) {
+ SRMT("mddc")
+ mddc()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/DECL.asl
index 07e38dbe1..d9e14434e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/DECL.asl
@@ -1,57 +1,57 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0052:
- *
- * SUMMARY: The EdgeLevel offset of Interrupt macro (_HE) is specified as 25-th bit but actually it is implemented as 24-th bit
- */
-
-Method(mddd,, Serialized)
-{
- Name(RT00,
- ResourceTemplate () {
- Interrupt (ResourceProducer, Edge, ActiveLow, Shared, , , DN00) {0}
- })
-
-
- Store(DN00._HE, Local0)
- if (LNotEqual(Local0, 0x19)){
- err("", zFFF, 0x000, 0, 0, Local0, 0x19)
- }
-
- Store(DN00._LL, Local0)
- if (LNotEqual(Local0, 0x1a)){
- err("", zFFF, 0x000, 0, 0, Local0, 0x1a)
- }
-
- Store(DN00._SHR, Local0)
- if (LNotEqual(Local0, 0x1b)){
- err("", zFFF, 0x000, 0, 0, Local0, 0x1b)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0052:
+ *
+ * SUMMARY: The EdgeLevel offset of Interrupt macro (_HE) is specified as 25-th bit but actually it is implemented as 24-th bit
+ */
+
+Method(mddd,, Serialized)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ Interrupt (ResourceProducer, Edge, ActiveLow, Shared, , , DN00) {0}
+ })
+
+
+ Store(DN00._HE, Local0)
+ if (LNotEqual(Local0, 0x19)){
+ err("", zFFF, 0x000, 0, 0, Local0, 0x19)
+ }
+
+ Store(DN00._LL, Local0)
+ if (LNotEqual(Local0, 0x1a)){
+ err("", zFFF, 0x000, 0, 0, Local0, 0x1a)
+ }
+
+ Store(DN00._SHR, Local0)
+ if (LNotEqual(Local0, 0x1b)){
+ err("", zFFF, 0x000, 0, 0, Local0, 0x1b)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/MAIN.asl
index 8206eb698..b8bedce23 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B52.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0052/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0052/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B52.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0052/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0052/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/RUN.asl
index ad9b16dec..18063da57 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0052/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 52", TCLD, 52, W017)) {
- SRMT("mddd")
- mddd()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 52", TCLD, 52, W017)) {
+ SRMT("mddd")
+ mddd()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/DECL.asl
index bb10a82d4..4bd620013 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/DECL.asl
@@ -1,82 +1,82 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0053:
- *
- * SUMMARY: The ASL Compiler doesn't reject the out of range number of interrupts for Interrupt macro
- *
- * ASL compiler should return an error...
- */
-
-Method(mdde)
-{
- Name(RT00,
- ResourceTemplate () {
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
- 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
- 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
- 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,112,
- 113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,
- 129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,
- 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,
- 161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
- 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
- 193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,
- 209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,
- 225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,
- 241,242,243,244,245,246,247,248,249,250,251,252,253,254,255}
- })
- Name(RT01,
- ResourceTemplate () {
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
- 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
- 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
- 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,112,
- 113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,
- 129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,
- 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,
- 161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
- 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
- 193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,
- 209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,
- 225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,
- 241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,0}
- })
-
- Store("The contents of the obtained Interrupt Descriptor:", Debug)
- Store(RT01, Debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0053:
+ *
+ * SUMMARY: The ASL Compiler doesn't reject the out of range number of interrupts for Interrupt macro
+ *
+ * ASL compiler should return an error...
+ */
+
+Method(mdde)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {
+ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
+ 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
+ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
+ 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
+ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
+ 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
+ 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,112,
+ 113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,
+ 129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,
+ 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,
+ 161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
+ 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
+ 193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,
+ 209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,
+ 225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,
+ 241,242,243,244,245,246,247,248,249,250,251,252,253,254,255}
+ })
+ Name(RT01,
+ ResourceTemplate () {
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {
+ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
+ 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
+ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
+ 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
+ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
+ 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
+ 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,112,
+ 113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,
+ 129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,
+ 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,
+ 161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
+ 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
+ 193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,
+ 209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,
+ 225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,
+ 241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,0}
+ })
+
+ Store("The contents of the obtained Interrupt Descriptor:", Debug)
+ Store(RT01, Debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/MAIN.asl
index ff494ce70..3714a6f4e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0053_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B53.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0053_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B53.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0053_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/DECL.asl
index bf043a2b3..f5a266d51 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/DECL.asl
@@ -1,203 +1,203 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0054:
- *
- * SUMMARY: All ASL Operators causes exceptions on two immediately passed Buffers
- *
- * All the ASL Operators which deal with
- * at least two Buffer type objects cause
- * unexpected exceptions in cases when both
- * Buffer type objects are passed immediately.
- */
-
-Method(mddf,, Serialized)
-{
- Name(b000, Buffer() {0x79, 0x00})
- Name(b001, Buffer() {0x79, 0x00})
-
- Store(ConcatenateResTemplate( b000, b001 ), Local0)
- if (LNotEqual(Local0, Buffer() {0x79, 0x00})) {
- err("", zFFF, 0x000, 0, 0, Local0, Buffer() {0x79, 0x00})
- }
-}
-
-// ConcatenateResTemplate
-
-Method(mde0,, Serialized)
-{
- Name(b000, Buffer() {0x79, 0x00})
-
- Store(ConcatenateResTemplate( b000, Buffer() {0x79, 0x00} ), Local0)
- if (LNotEqual(Local0, Buffer() {0x79, 0x00})) {
- err("", zFFF, 0x001, 0, 0, Local0, Buffer() {0x79, 0x00})
- }
-
- Store(ConcatenateResTemplate( Buffer() {0x79, 0x00}, b000 ), Local0)
- if (LNotEqual(Local0, Buffer() {0x79, 0x00})) {
- err("", zFFF, 0x002, 0, 0, Local0, Buffer() {0x79, 0x00})
- }
-}
-
-Method(mde1)
-{
- Store(ConcatenateResTemplate( Buffer() {0x79, 0x00}, Buffer() {0x79, 0x00} ), Local0)
- if (LNotEqual(Local0, Buffer() {0x79, 0x00})) {
- err("", zFFF, 0x003, 0, 0, Local0, Buffer() {0x79, 0x00})
- }
-}
-
-// LEqual
-
-Method(mde2,, Serialized)
-{
- Name(b000, Buffer() {0x79})
-
- Store(LEqual( b000, Buffer(1) {0x79} ), Local0)
- if (LNotEqual(Local0, Ones)) {
- err("", zFFF, 0x004, 0, 0, Local0, Ones)
- }
-
- Store(LEqual( Buffer(1) {0x79}, b000 ), Local0)
- if (LNotEqual(Local0, Ones)) {
- err("", zFFF, 0x005, 0, 0, Local0, Ones)
- }
-}
-
-Method(mde3)
-{
- Store(LEqual( Buffer(1) {0x79}, Buffer(1) {0x79} ), Local0)
- if (LNotEqual(Local0, Ones)) {
- err("", zFFF, 0x006, 0, 0, Local0, Ones)
- }
-}
-
-// LGreater
-
-Method(mde4,, Serialized)
-{
- Name(b000, Buffer() {0x79})
-
- Store(LGreater( b000, Buffer(1) {0x79} ), Local0)
- if (LNotEqual(Local0, Zero)) {
- err("", zFFF, 0x007, 0, 0, Local0, Zero)
- }
-
- Store(LGreater( Buffer(1) {0x79}, b000 ), Local0)
- if (LNotEqual(Local0, Zero)) {
- err("", zFFF, 0x008, 0, 0, Local0, Zero)
- }
-}
-
-Method(mde5)
-{
- Store(LGreater( Buffer(1) {0x79}, Buffer(1) {0x79} ), Local0)
- if (LNotEqual(Local0, Zero)) {
- err("", zFFF, 0x009, 0, 0, Local0, Zero)
- }
-}
-
-// ..........
-
-// Concatenate
-
-Method(mde6,, Serialized)
-{
- Name(b000, Buffer() {0x79})
-
- Store(Concatenate( b000, Buffer() {0x79} ), Local0)
- if (LNotEqual(Local0, Buffer() {0x79, 0x79})) {
- err("", zFFF, 0x00a, 0, 0, Local0, Buffer() {0x79, 0x79})
- }
-
- Store(Concatenate( Buffer() {0x79}, b000 ), Local0)
- if (LNotEqual(Local0, Buffer() {0x79, 0x79})) {
- err("", zFFF, 0x00b, 0, 0, Local0, Buffer() {0x79, 0x79})
- }
-}
-
-Method(mde7)
-{
- Store(Concatenate( Buffer() {0x79}, Buffer() {0x79} ), Local0)
- if (LNotEqual(Local0, Buffer() {0x79, 0x79})) {
- err("", zFFF, 0x00c, 0, 0, Local0, Buffer() {0x79, 0x79})
- }
-}
-
-// Add
-
-Method(mde8,, Serialized)
-{
- Name(b000, Buffer() {0x79})
-
- Add( b000, Buffer() {0x79}, Local0)
- if (LNotEqual(Local0, 0xf2)) {
- err("", zFFF, 0x00d, 0, 0, Local0, 0xf2)
- }
-
- Add( Buffer() {0x79}, b000, Local0)
- if (LNotEqual(Local0, 0xf2)) {
- err("", zFFF, 0x00e, 0, 0, Local0, 0xf2)
- }
-}
-
-Method(mde9)
-{
- Add( Buffer() {0x79}, Buffer() {0x79}, Local0)
- if (LNotEqual(Local0, 0xf2)) {
- err("", zFFF, 0x00f, 0, 0, Local0, 0xf2)
- }
-}
-
-// ..........
-
-Method(mdea)
-{
- mddf()
-
- // ConcatenateResTemplate
- mde0()
- mde1()
-
- // LEqual
- mde2()
- mde3()
-
- // LGreater
- mde4()
- mde5()
-
- // Concatenate
- mde6()
- mde7()
-
- // Add
- mde8()
- mde9()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0054:
+ *
+ * SUMMARY: All ASL Operators causes exceptions on two immediately passed Buffers
+ *
+ * All the ASL Operators which deal with
+ * at least two Buffer type objects cause
+ * unexpected exceptions in cases when both
+ * Buffer type objects are passed immediately.
+ */
+
+Method(mddf,, Serialized)
+{
+ Name(b000, Buffer() {0x79, 0x00})
+ Name(b001, Buffer() {0x79, 0x00})
+
+ Store(ConcatenateResTemplate( b000, b001 ), Local0)
+ if (LNotEqual(Local0, Buffer() {0x79, 0x00})) {
+ err("", zFFF, 0x000, 0, 0, Local0, Buffer() {0x79, 0x00})
+ }
+}
+
+// ConcatenateResTemplate
+
+Method(mde0,, Serialized)
+{
+ Name(b000, Buffer() {0x79, 0x00})
+
+ Store(ConcatenateResTemplate( b000, Buffer() {0x79, 0x00} ), Local0)
+ if (LNotEqual(Local0, Buffer() {0x79, 0x00})) {
+ err("", zFFF, 0x001, 0, 0, Local0, Buffer() {0x79, 0x00})
+ }
+
+ Store(ConcatenateResTemplate( Buffer() {0x79, 0x00}, b000 ), Local0)
+ if (LNotEqual(Local0, Buffer() {0x79, 0x00})) {
+ err("", zFFF, 0x002, 0, 0, Local0, Buffer() {0x79, 0x00})
+ }
+}
+
+Method(mde1)
+{
+ Store(ConcatenateResTemplate( Buffer() {0x79, 0x00}, Buffer() {0x79, 0x00} ), Local0)
+ if (LNotEqual(Local0, Buffer() {0x79, 0x00})) {
+ err("", zFFF, 0x003, 0, 0, Local0, Buffer() {0x79, 0x00})
+ }
+}
+
+// LEqual
+
+Method(mde2,, Serialized)
+{
+ Name(b000, Buffer() {0x79})
+
+ Store(LEqual( b000, Buffer(1) {0x79} ), Local0)
+ if (LNotEqual(Local0, Ones)) {
+ err("", zFFF, 0x004, 0, 0, Local0, Ones)
+ }
+
+ Store(LEqual( Buffer(1) {0x79}, b000 ), Local0)
+ if (LNotEqual(Local0, Ones)) {
+ err("", zFFF, 0x005, 0, 0, Local0, Ones)
+ }
+}
+
+Method(mde3)
+{
+ Store(LEqual( Buffer(1) {0x79}, Buffer(1) {0x79} ), Local0)
+ if (LNotEqual(Local0, Ones)) {
+ err("", zFFF, 0x006, 0, 0, Local0, Ones)
+ }
+}
+
+// LGreater
+
+Method(mde4,, Serialized)
+{
+ Name(b000, Buffer() {0x79})
+
+ Store(LGreater( b000, Buffer(1) {0x79} ), Local0)
+ if (LNotEqual(Local0, Zero)) {
+ err("", zFFF, 0x007, 0, 0, Local0, Zero)
+ }
+
+ Store(LGreater( Buffer(1) {0x79}, b000 ), Local0)
+ if (LNotEqual(Local0, Zero)) {
+ err("", zFFF, 0x008, 0, 0, Local0, Zero)
+ }
+}
+
+Method(mde5)
+{
+ Store(LGreater( Buffer(1) {0x79}, Buffer(1) {0x79} ), Local0)
+ if (LNotEqual(Local0, Zero)) {
+ err("", zFFF, 0x009, 0, 0, Local0, Zero)
+ }
+}
+
+// ..........
+
+// Concatenate
+
+Method(mde6,, Serialized)
+{
+ Name(b000, Buffer() {0x79})
+
+ Store(Concatenate( b000, Buffer() {0x79} ), Local0)
+ if (LNotEqual(Local0, Buffer() {0x79, 0x79})) {
+ err("", zFFF, 0x00a, 0, 0, Local0, Buffer() {0x79, 0x79})
+ }
+
+ Store(Concatenate( Buffer() {0x79}, b000 ), Local0)
+ if (LNotEqual(Local0, Buffer() {0x79, 0x79})) {
+ err("", zFFF, 0x00b, 0, 0, Local0, Buffer() {0x79, 0x79})
+ }
+}
+
+Method(mde7)
+{
+ Store(Concatenate( Buffer() {0x79}, Buffer() {0x79} ), Local0)
+ if (LNotEqual(Local0, Buffer() {0x79, 0x79})) {
+ err("", zFFF, 0x00c, 0, 0, Local0, Buffer() {0x79, 0x79})
+ }
+}
+
+// Add
+
+Method(mde8,, Serialized)
+{
+ Name(b000, Buffer() {0x79})
+
+ Add( b000, Buffer() {0x79}, Local0)
+ if (LNotEqual(Local0, 0xf2)) {
+ err("", zFFF, 0x00d, 0, 0, Local0, 0xf2)
+ }
+
+ Add( Buffer() {0x79}, b000, Local0)
+ if (LNotEqual(Local0, 0xf2)) {
+ err("", zFFF, 0x00e, 0, 0, Local0, 0xf2)
+ }
+}
+
+Method(mde9)
+{
+ Add( Buffer() {0x79}, Buffer() {0x79}, Local0)
+ if (LNotEqual(Local0, 0xf2)) {
+ err("", zFFF, 0x00f, 0, 0, Local0, 0xf2)
+ }
+}
+
+// ..........
+
+Method(mdea)
+{
+ mddf()
+
+ // ConcatenateResTemplate
+ mde0()
+ mde1()
+
+ // LEqual
+ mde2()
+ mde3()
+
+ // LGreater
+ mde4()
+ mde5()
+
+ // Concatenate
+ mde6()
+ mde7()
+
+ // Add
+ mde8()
+ mde9()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/MAIN.asl
index bfb785304..7fa560bd0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B54.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0054/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0054/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B54.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0054/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0054/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/RUN.asl
index 8d343d305..8da6fba83 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0054/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 54", TCLD, 54, W017)) {
- SRMT("mdea")
- mdea()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 54", TCLD, 54, W017)) {
+ SRMT("mdea")
+ mdea()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/DECL.asl
index b51ee29f2..e321fa360 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/DECL.asl
@@ -1,46 +1,46 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0055:
- *
- * SUMMARY: The ASL Compiler should reject the same Interrupt numbers (Interrupt macros)
- *
- * Compiler should return error...
- */
-
-Method(mdeb)
-{
- Name(RT00,
- ResourceTemplate () {
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {9, 9}
- })
-
- Store("The contents of the obtained Interrupt Descriptor:", Debug)
- Store(RT00, Debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0055:
+ *
+ * SUMMARY: The ASL Compiler should reject the same Interrupt numbers (Interrupt macros)
+ *
+ * Compiler should return error...
+ */
+
+Method(mdeb)
+{
+ Name(RT00,
+ ResourceTemplate () {
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {9, 9}
+ })
+
+ Store("The contents of the obtained Interrupt Descriptor:", Debug)
+ Store(RT00, Debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/MAIN.asl
index a3319e021..44f8fe168 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0055_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B55.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0055_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B55.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0055_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/DECL.asl
index d0b0b0a30..dad332f4e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/DECL.asl
@@ -1,76 +1,76 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0056:
- *
- * SUMMARY: The ASL Compiler generates a one element descriptor for Interrupt macro with the empty InterruptList
- *
- * Compiler should return error...
- */
-
-Method(mdec)
-{
- // Compiler should return error
-
- Name(RT00,
- ResourceTemplate () {
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {}
- })
- Name(RT01,
- ResourceTemplate () {
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {0}
- })
-
- Store("The contents of the Interrupt(...){} Descriptor:", Debug)
- Store(RT00, Debug)
- Store("The contents of the Interrupt(...){0} Descriptor:", Debug)
- Store(RT01, Debug)
- if (LEqual(RT00, RT01)) {
- Store("Error: Descriptors are the same:", Debug)
- } else {
- Store("Ok: Descriptors differ each other:", Debug)
- }
-}
-Method(mded)
-{
- // Compiler should return error
-
- Name(RT00,
- ResourceTemplate () {
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {0}
- })
- Store("The contents of the obtained Interrupt Descriptor:", Debug)
- Store(RT00, Debug)
-}
-
-Method(mdee)
-{
- mdec()
- mded()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0056:
+ *
+ * SUMMARY: The ASL Compiler generates a one element descriptor for Interrupt macro with the empty InterruptList
+ *
+ * Compiler should return error...
+ */
+
+Method(mdec)
+{
+ // Compiler should return error
+
+ Name(RT00,
+ ResourceTemplate () {
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {}
+ })
+ Name(RT01,
+ ResourceTemplate () {
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {0}
+ })
+
+ Store("The contents of the Interrupt(...){} Descriptor:", Debug)
+ Store(RT00, Debug)
+ Store("The contents of the Interrupt(...){0} Descriptor:", Debug)
+ Store(RT01, Debug)
+ if (LEqual(RT00, RT01)) {
+ Store("Error: Descriptors are the same:", Debug)
+ } else {
+ Store("Ok: Descriptors differ each other:", Debug)
+ }
+}
+Method(mded)
+{
+ // Compiler should return error
+
+ Name(RT00,
+ ResourceTemplate () {
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared) {0}
+ })
+ Store("The contents of the obtained Interrupt Descriptor:", Debug)
+ Store(RT00, Debug)
+}
+
+Method(mdee)
+{
+ mdec()
+ mded()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/MAIN.asl
index 3f60ffb60..b9c9cc2f9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0056_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B56.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0056_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B56.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0056_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/DECL.asl
index d5c89146c..6eae3ecd4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/DECL.asl
@@ -1,98 +1,98 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0057:
- *
- * SUMMARY: The standalone Return is processed incorrectly
- */
-
-Method(mdef) {
- Store("mdef", Debug)
-}
-
-Method(mdf0) {
- Store("mdf0", Debug)
-}
-
-Method(mdf1) {
- Store("mdf1", Debug)
-}
-
-Method(mdf2, 1) {
- Store("mdf2", Debug)
-
- mdef()
-
- if (arg0) {
- Store("mdf2: before Return", Debug)
- return (0x1234)
-
- // ASL-compiler report Warning in this case
- // Store("ERROR 0: mdf2, after Return !!!", Debug)
- }
-
- err("", zFFF, 0x000, 0, 0, 0, 0)
-
- mdf0()
- mdf1()
-
- return (0x5678)
-}
-
-Method(mdf3, 1) {
- Store("mdf3", Debug)
-
- mdef()
-
- if (arg0) {
-
- Store("mdf3: before Return", Debug)
-
- return
-
- // ASL-compiler DOESN'T report Warning in this case!!!
- // And the Store operator below is actually processed!!!
-
- err("", zFFF, 0x001, 0, 0, 0, 0)
- }
-
- err("", zFFF, 0x002, 0, 0, 0, 0)
-
- mdf0()
- mdf1()
-
- return
-}
-
-Method(mdf4) {
- Store(mdf2(1), Local7)
- Store(Local7, Debug)
- mdf3(1)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0057:
+ *
+ * SUMMARY: The standalone Return is processed incorrectly
+ */
+
+Method(mdef) {
+ Store("mdef", Debug)
+}
+
+Method(mdf0) {
+ Store("mdf0", Debug)
+}
+
+Method(mdf1) {
+ Store("mdf1", Debug)
+}
+
+Method(mdf2, 1) {
+ Store("mdf2", Debug)
+
+ mdef()
+
+ if (arg0) {
+ Store("mdf2: before Return", Debug)
+ return (0x1234)
+
+ // ASL-compiler report Warning in this case
+ // Store("ERROR 0: mdf2, after Return !!!", Debug)
+ }
+
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+
+ mdf0()
+ mdf1()
+
+ return (0x5678)
+}
+
+Method(mdf3, 1) {
+ Store("mdf3", Debug)
+
+ mdef()
+
+ if (arg0) {
+
+ Store("mdf3: before Return", Debug)
+
+ return
+
+ // ASL-compiler DOESN'T report Warning in this case!!!
+ // And the Store operator below is actually processed!!!
+
+ err("", zFFF, 0x001, 0, 0, 0, 0)
+ }
+
+ err("", zFFF, 0x002, 0, 0, 0, 0)
+
+ mdf0()
+ mdf1()
+
+ return
+}
+
+Method(mdf4) {
+ Store(mdf2(1), Local7)
+ Store(Local7, Debug)
+ mdf3(1)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/MAIN.asl
index 270cae46a..2ea2adee9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B57.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0057/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0057/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B57.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0057/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0057/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/RUN.asl
index d1af40cfa..d51fb152a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0057/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 57", TCLD, 57, W017)) {
- SRMT("mdf4")
- mdf4()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 57", TCLD, 57, W017)) {
+ SRMT("mdf4")
+ mdf4()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/DECL.asl
index 84f01503f..12b4a490a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/DECL.asl
@@ -1,105 +1,105 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0058:
- *
- * SUMMARY: Concatenate of two Integers may operates in 32-bit mode as in 64-bit mode
- *
- * These are three appearances probably
- * of one the same differently looking bug.
- * Concatenate Operator seems to have
- * indirect effect in all those cases.
- */
-
-Method(mdf5, 1)
-{
- Store("Run mdf5:", Debug)
-
- if (arg0) {
- Store("===================== 0:", Debug)
- Store(Concatenate(1, 2), Local0)
- if (F64) {
- if (LNotEqual(Local0, Buffer() {1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0})){
- err("", zFFF, 0x000, 0, 0, Local0, Buffer() {1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0})
- }
- } else {
- if (LNotEqual(Local0, Buffer() {1,0,0,0,2,0,0,0})){
- err("", zFFF, 0x001, 0, 0, Local0, Buffer() {1,0,0,0,2,0,0,0})
- }
- }
- } else {
- Store("===================== 1:", Debug)
- }
-}
-
-Method(mdf6, 1)
-{
- Store("Run mdf6:", Debug)
-
- if (arg0) {
- Store("===================== 2:", Debug)
- Store(Concatenate(0x1234, 0x7890), Local0)
- if (F64) {
- if (LNotEqual(Local0, Buffer() {0x34,0x12,0,0,0,0,0,0,0x90,0x78,0,0,0,0,0,0})){
- err("", zFFF, 0x002, 0, 0, Local0, Buffer() {0x34,0x12,0,0,0,0,0,0,0x90,0x78,0,0,0,0,0,0})
- }
- } else {
- if (LNotEqual(Local0, Buffer() {0x34,0x12,0,0,0x90,0x78,0,0})){
- err("", zFFF, 0x003, 0, 0, Local0, Buffer() {0x34,0x12,0,0,0x90,0x78,0,0})
- }
- }
- } else {
- Store("===================== 3:", Debug)
- }
-}
-
-Method(mdf7)
-{
- Store("Run mdf7:", Debug)
- Store(Concatenate(1, 2), Local0)
- if (F64) {
- if (LNotEqual(Local0, Buffer() {1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0})){
- err("", zFFF, 0x004, 0, 0, Local0, Buffer() {1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0})
- }
- } else {
- if (LNotEqual(Local0, Buffer() {1,0,0,0,2,0,0,0})){
- err("", zFFF, 0x005, 0, 0, Local0, Buffer() {1,0,0,0,2,0,0,0})
- }
- }
- Store(Local0, Debug)
-}
-
-Method(mdf8)
-{
- mdf5(0)
- mdf6(0)
- mdf7()
- mdf5(1)
- mdf6(1)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0058:
+ *
+ * SUMMARY: Concatenate of two Integers may operates in 32-bit mode as in 64-bit mode
+ *
+ * These are three appearances probably
+ * of one the same differently looking bug.
+ * Concatenate Operator seems to have
+ * indirect effect in all those cases.
+ */
+
+Method(mdf5, 1)
+{
+ Store("Run mdf5:", Debug)
+
+ if (arg0) {
+ Store("===================== 0:", Debug)
+ Store(Concatenate(1, 2), Local0)
+ if (F64) {
+ if (LNotEqual(Local0, Buffer() {1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0})){
+ err("", zFFF, 0x000, 0, 0, Local0, Buffer() {1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0})
+ }
+ } else {
+ if (LNotEqual(Local0, Buffer() {1,0,0,0,2,0,0,0})){
+ err("", zFFF, 0x001, 0, 0, Local0, Buffer() {1,0,0,0,2,0,0,0})
+ }
+ }
+ } else {
+ Store("===================== 1:", Debug)
+ }
+}
+
+Method(mdf6, 1)
+{
+ Store("Run mdf6:", Debug)
+
+ if (arg0) {
+ Store("===================== 2:", Debug)
+ Store(Concatenate(0x1234, 0x7890), Local0)
+ if (F64) {
+ if (LNotEqual(Local0, Buffer() {0x34,0x12,0,0,0,0,0,0,0x90,0x78,0,0,0,0,0,0})){
+ err("", zFFF, 0x002, 0, 0, Local0, Buffer() {0x34,0x12,0,0,0,0,0,0,0x90,0x78,0,0,0,0,0,0})
+ }
+ } else {
+ if (LNotEqual(Local0, Buffer() {0x34,0x12,0,0,0x90,0x78,0,0})){
+ err("", zFFF, 0x003, 0, 0, Local0, Buffer() {0x34,0x12,0,0,0x90,0x78,0,0})
+ }
+ }
+ } else {
+ Store("===================== 3:", Debug)
+ }
+}
+
+Method(mdf7)
+{
+ Store("Run mdf7:", Debug)
+ Store(Concatenate(1, 2), Local0)
+ if (F64) {
+ if (LNotEqual(Local0, Buffer() {1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0})){
+ err("", zFFF, 0x004, 0, 0, Local0, Buffer() {1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0})
+ }
+ } else {
+ if (LNotEqual(Local0, Buffer() {1,0,0,0,2,0,0,0})){
+ err("", zFFF, 0x005, 0, 0, Local0, Buffer() {1,0,0,0,2,0,0,0})
+ }
+ }
+ Store(Local0, Debug)
+}
+
+Method(mdf8)
+{
+ mdf5(0)
+ mdf6(0)
+ mdf7()
+ mdf5(1)
+ mdf6(1)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/MAIN.asl
index d4ef62d23..a25004d03 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B58.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0058/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0058/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B58.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0058/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0058/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/RUN.asl
index 6e07a9a36..d0e1ea87d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0058/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 58", TCLD, 58, W017)) {
- SRMT("mdf8")
- mdf8()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 58", TCLD, 58, W017)) {
+ SRMT("mdf8")
+ mdf8()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/DECL.asl
index 898ea1339..d8f237998 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/DECL.asl
@@ -1,78 +1,78 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0059:
- *
- * SUMMARY: String to Buffer conversion doesn't reduce the size of resulting Buffer
- */
-
-Method(mdf9,, Serialized)
-{
- // Table 17-8 Object Conversion Rules,
- // String -->> Buffer Rule:
- // "If the string is shorter than the buffer,
- // the buffer size is reduced".
-
- /*
- * New reduction of 12.03.05:
- * "If the string is shorter than the buffer,
- * the remaining buffer bytes are set to zero".
- */
-
- Name(b000, Buffer(202) {
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
- 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
- 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
- 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,112,
- 113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,
- 129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,
- 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,
- 161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
- 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
- 193,194,195,196,197,198,199,200,201,202})
-
- Name(b001, Buffer(202) {"zxqwrt"})
-
- Store("zxqwrt", b000)
- Store(ObjectType(b000), Local0)
- Store(SizeOf(b000), Local1)
-
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x000, 0, 0, Local0, 3)
- } elseif (LNotEqual(Local1, 202)) {
- err("", zFFF, 0x001, 0, 0, Local0, 202)
- } elseif (LNotEqual(b000, b001)) {
- err("", zFFF, 0x002, 0, 0, b000, b001)
- }
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0059:
+ *
+ * SUMMARY: String to Buffer conversion doesn't reduce the size of resulting Buffer
+ */
+
+Method(mdf9,, Serialized)
+{
+ // Table 17-8 Object Conversion Rules,
+ // String -->> Buffer Rule:
+ // "If the string is shorter than the buffer,
+ // the buffer size is reduced".
+
+ /*
+ * New reduction of 12.03.05:
+ * "If the string is shorter than the buffer,
+ * the remaining buffer bytes are set to zero".
+ */
+
+ Name(b000, Buffer(202) {
+ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
+ 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
+ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
+ 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
+ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
+ 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
+ 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,112,
+ 113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,
+ 129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,
+ 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,
+ 161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
+ 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
+ 193,194,195,196,197,198,199,200,201,202})
+
+ Name(b001, Buffer(202) {"zxqwrt"})
+
+ Store("zxqwrt", b000)
+ Store(ObjectType(b000), Local0)
+ Store(SizeOf(b000), Local1)
+
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 3)
+ } elseif (LNotEqual(Local1, 202)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 202)
+ } elseif (LNotEqual(b000, b001)) {
+ err("", zFFF, 0x002, 0, 0, b000, b001)
+ }
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/MAIN.asl
index bba53d6b3..c607bee8e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B59.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0059/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0059/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B59.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0059/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0059/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/RUN.asl
index a4c0ca446..27b004db0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0059/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 59", TCLD, 59, W017)) {
- SRMT("mdf9")
- mdf9()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 59", TCLD, 59, W017)) {
+ SRMT("mdf9")
+ mdf9()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/DECL.asl
index 2d24e8d42..dcc486c82 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/DECL.asl
@@ -1,112 +1,112 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0060:
- *
- * SUMMARY: "Outstanding allocations" on processing the Type Conversion
- *
- * Methods show "outstanding allocations" errors produced
- * by ACPICA during processing the Type Conversion. When the
- * "Dynamic object deletion" test will be implemented the
- * memory consumption problems like these will be encountered
- * by it.
- */
-
-// No outstanding allocations
-Method(mdfa,, Serialized)
-{
- OperationRegion(r001, SystemMemory, 0x10, 0x10)
-
- Field(r001, ByteAcc, NoLock, Preserve) {
- f001, 32,
- f002, 32,
- }
- Store(1, f001)
- Store(2, f002)
-
- Store(Add(f001, f002), Local0)
-}
-
-// Outstanding: 0x1 allocations after execution
-Method(mdfb,, Serialized)
-{
- OperationRegion(r001, SystemMemory, 0x10, 0x10)
-
- Field(r001, ByteAcc, NoLock, Preserve) {
- f001, 32,
- f002, 72,
- }
- Store(1, f001)
- Store(2, f002)
-
- Store(Add(f001, f002), Local0)
-}
-
-// No outstanding allocations
-Method(mdfc)
-{
- Store(Add(1, 2), Local0)
-}
-
-// Outstanding: 0x1 allocations after execution
-Method(mdfd)
-{
- Store(Add(1, "2"), Local0)
-}
-
-// Outstanding: 0x1 allocations after execution
-Method(mdfe)
-{
- Store(Add("1", 2), Local0)
-}
-
-// Outstanding: 0x2 allocations after execution
-Method(mdff)
-{
- Store(Add("1", "2"), Local0)
-}
-
-// Outstanding: 0x1 allocations after execution
-Method(me00,, Serialized)
-{
- Name(b000, Buffer() {0x91})
-
- Store(Add(b000, 2), Local0)
-}
-
-Method(me01)
-{
- mdfa()
- mdfb()
- mdfc()
- mdfd()
- mdfe()
- mdff()
- me00()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0060:
+ *
+ * SUMMARY: "Outstanding allocations" on processing the Type Conversion
+ *
+ * Methods show "outstanding allocations" errors produced
+ * by ACPICA during processing the Type Conversion. When the
+ * "Dynamic object deletion" test will be implemented the
+ * memory consumption problems like these will be encountered
+ * by it.
+ */
+
+// No outstanding allocations
+Method(mdfa,, Serialized)
+{
+ OperationRegion(r001, SystemMemory, 0x10, 0x10)
+
+ Field(r001, ByteAcc, NoLock, Preserve) {
+ f001, 32,
+ f002, 32,
+ }
+ Store(1, f001)
+ Store(2, f002)
+
+ Store(Add(f001, f002), Local0)
+}
+
+// Outstanding: 0x1 allocations after execution
+Method(mdfb,, Serialized)
+{
+ OperationRegion(r001, SystemMemory, 0x10, 0x10)
+
+ Field(r001, ByteAcc, NoLock, Preserve) {
+ f001, 32,
+ f002, 72,
+ }
+ Store(1, f001)
+ Store(2, f002)
+
+ Store(Add(f001, f002), Local0)
+}
+
+// No outstanding allocations
+Method(mdfc)
+{
+ Store(Add(1, 2), Local0)
+}
+
+// Outstanding: 0x1 allocations after execution
+Method(mdfd)
+{
+ Store(Add(1, "2"), Local0)
+}
+
+// Outstanding: 0x1 allocations after execution
+Method(mdfe)
+{
+ Store(Add("1", 2), Local0)
+}
+
+// Outstanding: 0x2 allocations after execution
+Method(mdff)
+{
+ Store(Add("1", "2"), Local0)
+}
+
+// Outstanding: 0x1 allocations after execution
+Method(me00,, Serialized)
+{
+ Name(b000, Buffer() {0x91})
+
+ Store(Add(b000, 2), Local0)
+}
+
+Method(me01)
+{
+ mdfa()
+ mdfb()
+ mdfc()
+ mdfd()
+ mdfe()
+ mdff()
+ me00()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/MAIN.asl
index 11d86108d..8c8e332ad 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B60.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0060/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0060/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B60.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0060/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0060/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/RUN.asl
index ddc1000a8..ecc36c09b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0060/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 60", TCLD, 60, W017)) {
- SRMT("me01")
- me01()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 60", TCLD, 60, W017)) {
+ SRMT("me01")
+ me01()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/DECL.asl
index 8d81bf97b..0510b66e9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/DECL.asl
@@ -1,114 +1,114 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0061:
- *
- * SUMMARY: Crash on Store the OperationRegion result returned by Method
- *
- * Methods return the object of type OperationRegion
- * and just this causes the problems.
- */
-
-Method(m206, 2)
-{
- if (SLCK) {
- CH03("", 0, arg0, 0, 0)
- } else {
- CH04("", 0, 47, 0, arg1, 0, 0)
- }
-}
-
-Method(me02)
-{
- Store(0, Local0)
-
- // Store directly a region should not be allowed.
-
- CH03("", 0, 0x000, 0, 0)
- Store(rd01, Local7)
- m206(0x001, 0x002)
- return (Local0)
-}
-
-Method(me03)
-{
- Store("============= Start of test", Debug)
- Store(me02(), Local0)
- Store("============= Finish of test", Debug)
-}
-
-Method(me04)
-{
- Store(0, Local0)
-
- // Store directly a region should not be allowed.
-
- CH03("", 0, 0x003, 0, 0)
- Store(rd02, Local7)
- m206(0x004, 0x005)
- return (Local0)
-}
-
-Method(me05)
-{
- Store("me05, point 0", Debug)
- Store(me04(), Local0)
-
- Store("me05, point 1", Debug)
- Store(me04(), Local1)
-
- Store("me05, point 2", Debug)
-}
-
-Method(me06)
-{
- Store("============= me05 0", Debug)
- me05()
- Store("============= me05 1", Debug)
- me05()
- Store("============= me05 2", Debug)
- me05()
-
- // The message below doesn't appear
-
- Store("============= me05 3", Debug)
-
- Store(1, id09)
-}
-
-Method(me07)
-{
- Store(0, id09)
-
- me03()
- me06()
- if (LNotEqual(id09, 1)) {
- err("", zFFF, 0x002, 0, 0, id09, 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0061:
+ *
+ * SUMMARY: Crash on Store the OperationRegion result returned by Method
+ *
+ * Methods return the object of type OperationRegion
+ * and just this causes the problems.
+ */
+
+Method(m206, 2)
+{
+ if (SLCK) {
+ CH03("", 0, arg0, 0, 0)
+ } else {
+ CH04("", 0, 47, 0, arg1, 0, 0)
+ }
+}
+
+Method(me02)
+{
+ Store(0, Local0)
+
+ // Store directly a region should not be allowed.
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(rd01, Local7)
+ m206(0x001, 0x002)
+ return (Local0)
+}
+
+Method(me03)
+{
+ Store("============= Start of test", Debug)
+ Store(me02(), Local0)
+ Store("============= Finish of test", Debug)
+}
+
+Method(me04)
+{
+ Store(0, Local0)
+
+ // Store directly a region should not be allowed.
+
+ CH03("", 0, 0x003, 0, 0)
+ Store(rd02, Local7)
+ m206(0x004, 0x005)
+ return (Local0)
+}
+
+Method(me05)
+{
+ Store("me05, point 0", Debug)
+ Store(me04(), Local0)
+
+ Store("me05, point 1", Debug)
+ Store(me04(), Local1)
+
+ Store("me05, point 2", Debug)
+}
+
+Method(me06)
+{
+ Store("============= me05 0", Debug)
+ me05()
+ Store("============= me05 1", Debug)
+ me05()
+ Store("============= me05 2", Debug)
+ me05()
+
+ // The message below doesn't appear
+
+ Store("============= me05 3", Debug)
+
+ Store(1, id09)
+}
+
+Method(me07)
+{
+ Store(0, id09)
+
+ me03()
+ me06()
+ if (LNotEqual(id09, 1)) {
+ err("", zFFF, 0x002, 0, 0, id09, 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/MAIN.asl
index 5f84dd69f..38f97a9ef 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B61.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0061/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0061/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B61.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0061/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0061/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/RUN.asl
index dbbe3e1a4..4363ccb07 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0061/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 61", TCLD, 61, W017)) {
- SRMT("me07")
- me07()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 61", TCLD, 61, W017)) {
+ SRMT("me07")
+ me07()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl
index 1eb52713b..3114694da 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl
@@ -1,146 +1,146 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 62:
- *
- * SUMMARY: Crash of the iASL Compiler when ASL-code contains
- * a long String declaration
- */
-
-
-Method(mb62,, Serialized)
-{
-
- Name(s000, // Lines 14 - 91: 78 * 50 + 21 = 3921 bytes
-"0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-0123456789012345678901234567890123456789012345678
-012345678901234567890"
- )
-
- Name(s001, "0123456789012345678901234567890123456789012345678
-")
-
- // Prepare a benchmark Buffer (in Local2)
-
- Store(3921, Local5)
- Store(Buffer(Local5){}, Local2)
-
- Store(0, Local3)
- Store(Local5, Local1)
- while(Local1) {
- Divide(Local3, 50, Local4)
- Store(Derefof(Index(s001, Local4)), Index(Local2, Local3))
- Increment(Local3)
- Decrement(Local1)
- }
-
- // Convert the benchmark Buffer into the String
- ToString(Local2, Local5, Local0)
-
- // Check the original long String Literal
- if (LNotEqual(Local0, s000)) {
- err("", zFFF, 0x000, 0, 0, s000, Local0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 62:
+ *
+ * SUMMARY: Crash of the iASL Compiler when ASL-code contains
+ * a long String declaration
+ */
+
+
+Method(mb62,, Serialized)
+{
+
+ Name(s000, // Lines 14 - 91: 78 * 50 + 21 = 3921 bytes
+"0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+0123456789012345678901234567890123456789012345678
+012345678901234567890"
+ )
+
+ Name(s001, "0123456789012345678901234567890123456789012345678
+")
+
+ // Prepare a benchmark Buffer (in Local2)
+
+ Store(3921, Local5)
+ Store(Buffer(Local5){}, Local2)
+
+ Store(0, Local3)
+ Store(Local5, Local1)
+ while(Local1) {
+ Divide(Local3, 50, Local4)
+ Store(Derefof(Index(s001, Local4)), Index(Local2, Local3))
+ Increment(Local3)
+ Decrement(Local1)
+ }
+
+ // Convert the benchmark Buffer into the String
+ ToString(Local2, Local5, Local0)
+
+ // Check the original long String Literal
+ if (LNotEqual(Local0, s000)) {
+ err("", zFFF, 0x000, 0, 0, s000, Local0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/MAIN.asl
index 9cb51053c..60e93bb14 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B62.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B62.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl
index f7b79f1a9..3ea41a542 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 62", TCLD, 62, W017)) {
- SRMT("mb62")
- mb62()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 62", TCLD, 62, W017)) {
+ SRMT("mb62")
+ mb62()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/DECL.asl
index 0907a84bd..543ce77c6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 62:
- *
- * SUMMARY: Crash of ASL Compiler on incorrect string with '"' and '\' in it
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 62:
+ *
+ * SUMMARY: Crash of ASL Compiler on incorrect string with '"' and '\' in it
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/MAIN.asl
index 6ff1bf794..1dcfd6513 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/old_test/MAIN.asl
@@ -1,188 +1,188 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0062:
- *
- * COMPONENT: iASL
- *
- * SUMMARY:
- *
- * Crash of ASL compiler...
- */
-
-DefinitionBlock(
- "gr.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
-/*
-Method(m000, 1)
-{
- Name(s000, "\sq"v")
-}
-*/
-
-Method(m001, 1)
-{
-// Name(s001, "\\sq\"v")
- Name(s002, "\sq"v")
-}
-
-/*
-Method(m002, 1)
-{
- Name(p000, Package() {
-
-
- // X - Buffer
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x83,0x84,0x85,0x86,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x83,0x84,0x85,0x86},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x87,0x98,0x99,0x9A,0x9B,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x87,0x98,0x99,0x9A},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3},
- Buffer() {0x78,0x56,0x34,0x42,0x9C,0x9D,0x9E,0x9F},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0xA4,0xA5,0xA6,0xA7,0xB8,0xB9,0xBA,0xBB},
- Buffer() {0x78,0x56,0x34,0x42,0xA4,0xA5,0xA6,0xA7},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x91,0x92,0x93,0x94,0x5F,0x60,0x61,0x62},
- Buffer() {0x78,0x56,0x34,0x42,0x91,0x92,0x93,0x94},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 1,2,3,4,5,6,7,8},
- Buffer() {0x78,0x56,0x34,0x42,1,2,3,4},
-
- // X - Field Unit
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x7f,0,0,0,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x7f,0,0,0},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x07,0,0,0,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x07,0,0,0},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x8d,0,0,0,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x8d,0,0,0},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x8d,0x8c,0,0,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x8d,0x8c,0,0},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x8D,0x8C,0x8B,0x8A,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x8D,0x8C,0x8B,0x8A},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0xFF,0xFF,0xFF,0xFF,0x01,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0xFF,0xFF,0xFF,0xFF},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x58,0x46,0x37,0x88,0x19,0xFA,0xDE,0x5C},
- Buffer() {0x78,0x56,0x34,0x42,0x58,0x46,0x37,0x88},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x58,0x9a,0x37,0x88,0x19,0xFA,0xDE,0xDC},
- Buffer() {0x78,0x56,0x34,0x42,0x58,0x9a,0x37,0x88},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x58,0xc7,0x37,0x88,0x19,0xFA,0xDE,0xDC},
- Buffer() {0x78,0x56,0x34,0x42,0x58,0xc7,0x37,0x88},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x82,0x34,0x56,0x78,0x90,0xAB,0xCD,0xEF},
- Buffer() {0x78,0x56,0x34,0x42,0x82,0x34,0x56,0x78},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x93,0xAB,0xCD,0xEF,0x99,0x12,0xCD,0x52},
- Buffer() {0x78,0x56,0x34,0x42,0x93,0xAB,0xCD,0xEF},
-
- // X - Buffer Field
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0xAB,0x54,0x86,0x91,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0xAB,0x54,0x86,0x91},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x07,0,0,0,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x07,0,0,0},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x8d,0,0,0,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x8d,0,0,0},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x8d,0x8c,0,0,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x8d,0x8c,0,0},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x8D,0x8C,0x8B,0x8A,0,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0x8D,0x8C,0x8B,0x8A},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0xFF,0xFF,0xFF,0xFF,0x01,0,0,0},
- Buffer() {0x78,0x56,0x34,0x42,0xFF,0xFF,0xFF,0xFF},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x58,0x46,0x37,0x88,0x19,0xFA,0xDE,0x5C},
- Buffer() {0x78,0x56,0x34,0x42,0x58,0x46,0x37,0x88},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x58,0x9a,0x37,0x88,0x19,0xFA,0xDE,0xDC},
- Buffer() {0x78,0x56,0x34,0x42,0x58,0x9a,0x37,0x88},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x58,0xc7,0x37,0x88,0x19,0xFA,0xDE,0xDC},
- Buffer() {0x78,0x56,0x34,0x42,0x58,0xc7,0x37,0x88},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x82,0x34,0x56,0x78,0x90,0xAB,0xCD,0xEF},
- Buffer() {0x78,0x56,0x34,0x42,0x82,0x34,0x56,0x78},
-
- Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
- 0x93,0xAB,0xCD,0xEF,0x99,0x12,0xCD,0x52},
- Buffer() {0x78,0x56,0x34,0x42,0x93,0xAB,0xCD,0xEF},
- })
-}
-*/
-
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0062:
+ *
+ * COMPONENT: iASL
+ *
+ * SUMMARY:
+ *
+ * Crash of ASL compiler...
+ */
+
+DefinitionBlock(
+ "gr.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+/*
+Method(m000, 1)
+{
+ Name(s000, "\sq"v")
+}
+*/
+
+Method(m001, 1)
+{
+// Name(s001, "\\sq\"v")
+ Name(s002, "\sq"v")
+}
+
+/*
+Method(m002, 1)
+{
+ Name(p000, Package() {
+
+
+ // X - Buffer
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x83,0x84,0x85,0x86,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x83,0x84,0x85,0x86},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x87,0x98,0x99,0x9A,0x9B,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x87,0x98,0x99,0x9A},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3},
+ Buffer() {0x78,0x56,0x34,0x42,0x9C,0x9D,0x9E,0x9F},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0xA4,0xA5,0xA6,0xA7,0xB8,0xB9,0xBA,0xBB},
+ Buffer() {0x78,0x56,0x34,0x42,0xA4,0xA5,0xA6,0xA7},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x91,0x92,0x93,0x94,0x5F,0x60,0x61,0x62},
+ Buffer() {0x78,0x56,0x34,0x42,0x91,0x92,0x93,0x94},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 1,2,3,4,5,6,7,8},
+ Buffer() {0x78,0x56,0x34,0x42,1,2,3,4},
+
+ // X - Field Unit
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x7f,0,0,0,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x7f,0,0,0},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x07,0,0,0,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x07,0,0,0},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x8d,0,0,0,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x8d,0,0,0},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x8d,0x8c,0,0,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x8d,0x8c,0,0},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x8D,0x8C,0x8B,0x8A,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x8D,0x8C,0x8B,0x8A},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0xFF,0xFF,0xFF,0xFF,0x01,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0xFF,0xFF,0xFF,0xFF},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x58,0x46,0x37,0x88,0x19,0xFA,0xDE,0x5C},
+ Buffer() {0x78,0x56,0x34,0x42,0x58,0x46,0x37,0x88},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x58,0x9a,0x37,0x88,0x19,0xFA,0xDE,0xDC},
+ Buffer() {0x78,0x56,0x34,0x42,0x58,0x9a,0x37,0x88},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x58,0xc7,0x37,0x88,0x19,0xFA,0xDE,0xDC},
+ Buffer() {0x78,0x56,0x34,0x42,0x58,0xc7,0x37,0x88},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x82,0x34,0x56,0x78,0x90,0xAB,0xCD,0xEF},
+ Buffer() {0x78,0x56,0x34,0x42,0x82,0x34,0x56,0x78},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x93,0xAB,0xCD,0xEF,0x99,0x12,0xCD,0x52},
+ Buffer() {0x78,0x56,0x34,0x42,0x93,0xAB,0xCD,0xEF},
+
+ // X - Buffer Field
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0xAB,0x54,0x86,0x91,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0xAB,0x54,0x86,0x91},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x07,0,0,0,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x07,0,0,0},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x8d,0,0,0,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x8d,0,0,0},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x8d,0x8c,0,0,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x8d,0x8c,0,0},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x8D,0x8C,0x8B,0x8A,0,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0x8D,0x8C,0x8B,0x8A},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0xFF,0xFF,0xFF,0xFF,0x01,0,0,0},
+ Buffer() {0x78,0x56,0x34,0x42,0xFF,0xFF,0xFF,0xFF},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x58,0x46,0x37,0x88,0x19,0xFA,0xDE,0x5C},
+ Buffer() {0x78,0x56,0x34,0x42,0x58,0x46,0x37,0x88},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x58,0x9a,0x37,0x88,0x19,0xFA,0xDE,0xDC},
+ Buffer() {0x78,0x56,0x34,0x42,0x58,0x9a,0x37,0x88},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x58,0xc7,0x37,0x88,0x19,0xFA,0xDE,0xDC},
+ Buffer() {0x78,0x56,0x34,0x42,0x58,0xc7,0x37,0x88},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x82,0x34,0x56,0x78,0x90,0xAB,0xCD,0xEF},
+ Buffer() {0x78,0x56,0x34,0x42,0x82,0x34,0x56,0x78},
+
+ Buffer() {0x78,0x56,0x34,0x42,0x89,0xF1,0xED,0xAB,
+ 0x93,0xAB,0xCD,0xEF,0x99,0x12,0xCD,0x52},
+ Buffer() {0x78,0x56,0x34,0x42,0x93,0xAB,0xCD,0xEF},
+ })
+}
+*/
+
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/DECL.asl
index 5ac6d9c1a..a7102eaa6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/DECL.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 63:
- *
- * SUMMARY: String to Integer conversion contradicts new April 2005 Conversion Rules
- */
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0063/Misc.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0063/File0.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0063/File1.asl")
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 63:
+ *
+ * SUMMARY: String to Integer conversion contradicts new April 2005 Conversion Rules
+ */
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0063/Misc.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0063/File0.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0063/File1.asl")
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File0.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File0.asl
index bcf935b1d..5ae0ecf12 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File0.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File0.asl
@@ -1,572 +1,572 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * ToInteger(<0x-hex-dec>)
- */
-Method(mf92) {
-
- // Hex: 0x - dec
-
- CH03("", 0, 0x100, 0, 0)
-
- ToInteger("0x0", Local0)
- if (LNotEqual(Local0, 0x0)) {
- err("", zFFF, 0x101, 0, 0, Local0, 0x0)
- }
-
- ToInteger("0x0000000", Local0)
- if (LNotEqual(Local0, 0x0)) {
- err("", zFFF, 0x102, 0, 0, Local0, 0x0)
- }
-
- ToInteger("0x1", Local0)
- if (LNotEqual(Local0, 0x1)) {
- err("", zFFF, 0x103, 0, 0, Local0, 0x1)
- }
-
- ToInteger("0x12345678", Local0)
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x104, 0, 0, Local0, 0x12345678)
- }
-
- ToInteger("0x12345", Local0)
- if (LNotEqual(Local0, 0x12345)) {
- err("", zFFF, 0x105, 0, 0, Local0, 0x12345)
- }
-
- if (F64) {
- ToInteger("0x1234567890123456", Local0)
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x106, 0, 0, Local0, 0x1234567890123456)
- }
-
- ToInteger("0x123456789012345", Local0)
- if (LNotEqual(Local0, 0x123456789012345)) {
- err("", zFFF, 0x107, 0, 0, Local0, 0x123456789012345)
- }
- }
-
- // Hex: 0x - hex
-
- ToInteger("0xabcdefef", Local0)
- if (LNotEqual(Local0, 0xabcdefef)) {
- err("", zFFF, 0x108, 0, 0, Local0, 0xabcdefef)
- }
-
- ToInteger("0xabcdef", Local0)
- if (LNotEqual(Local0, 0xabcdef)) {
- err("", zFFF, 0x109, 0, 0, Local0, 0xabcdef)
- }
-
- if (F64) {
- ToInteger("0xabcdefefadefbcdf", Local0)
- if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
- err("", zFFF, 0x10a, 0, 0, Local0, 0xabcdefefadefbcdf)
- }
-
- ToInteger("0xabcdefefadefbcd", Local0)
- if (LNotEqual(Local0, 0xabcdefefadefbcd)) {
- err("", zFFF, 0x10b, 0, 0, Local0, 0xabcdefefadefbcd)
- }
- }
-
- // Hex: 0x - dec/hex
-
- ToInteger("0x1ab2cd34", Local0)
- if (LNotEqual(Local0, 0x1ab2cd34)) {
- err("", zFFF, 0x10c, 0, 0, Local0, 0x1ab2cd34)
- }
-
- if (F64) {
- ToInteger("0x1ab2cd340fe05678", Local0)
- if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
- err("", zFFF, 0x10d, 0, 0, Local0, 0x1ab2cd340fe05678)
- }
-
- ToInteger("0x1ab2cd340fe0", Local0)
- if (LNotEqual(Local0, 0x1ab2cd340fe0)) {
- err("", zFFF, 0x10e, 0, 0, Local0, 0x1ab2cd340fe0)
- }
- }
-
- CH03("", 0, 0x219, 0, 0)
-}
-
-/*
- * ToInteger(<dec>)
- */
-Method(mf93) {
-
- CH03("", 0, 0x10f, 0, 0)
-
- ToInteger("0", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x110, 0, 0, Local0, 0)
- }
-
- ToInteger("0000000", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x111, 0, 0, Local0, 0)
- }
-
- ToInteger("000000000000000", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x112, 0, 0, Local0, 0)
- }
-
- ToInteger("000000000000000000000000000000000000000000", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x113, 0, 0, Local0, 0)
- }
-
- ToInteger("1", Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x114, 0, 0, Local0, 1)
- }
-
- ToInteger("1234567890", Local0)
- if (LNotEqual(Local0, 1234567890)) {
- err("", zFFF, 0x115, 0, 0, Local0, 1234567890)
- }
-
- ToInteger("1234567", Local0)
- if (LNotEqual(Local0, 1234567)) {
- err("", zFFF, 0x116, 0, 0, Local0, 1234567)
- }
-
- ToInteger("4294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x117, 0, 0, Local0, 4294967295)
- }
-
- if (F64) {
- ToInteger("18446744073709551615", Local0)
- if (LNotEqual(Local0, 18446744073709551615)) {
- err("", zFFF, 0x118, 0, 0, Local0, 18446744073709551615)
- }
- }
-
- CH03("", 0, 0x119, 0, 0)
-}
-
-/*
- * White space before image of Data is skipped
- * (all examples above).
- */
-Method(mf94) {
-
- CH03("", 0, 0x11a, 0, 0)
-
- ToInteger(" 0x0", Local0)
- if (LNotEqual(Local0, 0x0)) {
- err("", zFFF, 0x11b, 0, 0, Local0, 0x0)
- }
-
- ToInteger(" 0x00000", Local0)
- if (LNotEqual(Local0, 0x0)) {
- err("", zFFF, 0x11c, 0, 0, Local0, 0x0)
- }
-
- ToInteger(" 0x1", Local0)
- if (LNotEqual(Local0, 0x1)) {
- err("", zFFF, 0x11d, 0, 0, Local0, 0x1)
- }
-
- ToInteger(" 0x12345678", Local0)
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x11e, 0, 0, Local0, 0x12345678)
- }
-
- ToInteger(" 0x12345", Local0)
- if (LNotEqual(Local0, 0x12345)) {
- err("", zFFF, 0x11f, 0, 0, Local0, 0x12345)
- }
-
- if (F64) {
- ToInteger(" 0x1234567890123456", Local0)
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x120, 0, 0, Local0, 0x1234567890123456)
- }
-
- ToInteger(" 0x123456789012345", Local0)
- if (LNotEqual(Local0, 0x123456789012345)) {
- err("", zFFF, 0x121, 0, 0, Local0, 0x123456789012345)
- }
- }
-
- ToInteger(" 0xabcdefef", Local0)
- if (LNotEqual(Local0, 0xabcdefef)) {
- err("", zFFF, 0x122, 0, 0, Local0, 0xabcdefef)
- }
-
- ToInteger(" 0xabcdef", Local0)
- if (LNotEqual(Local0, 0xabcdef)) {
- err("", zFFF, 0x123, 0, 0, Local0, 0xabcdef)
- }
-
- ToInteger(" 0xabcdef", Local0)
- if (LNotEqual(Local0, 0xabcdef)) {
- err("", zFFF, 0x124, 0, 0, Local0, 0xabcdef)
- }
-
- if (F64) {
- ToInteger(" 0xabcdefefadefbcdf", Local0)
- if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
- err("", zFFF, 0x125, 0, 0, Local0, 0xabcdefefadefbcdf)
- }
-
- ToInteger(" 0xabcdefefadefbcd", Local0)
- if (LNotEqual(Local0, 0xabcdefefadefbcd)) {
- err("", zFFF, 0x126, 0, 0, Local0, 0xabcdefefadefbcd)
- }
- }
-
- ToInteger(" 0x1ab2cd34", Local0)
- if (LNotEqual(Local0, 0x1ab2cd34)) {
- err("", zFFF, 0x127, 0, 0, Local0, 0x1ab2cd34)
- }
-
- if (F64) {
- ToInteger(" 0x1ab2cd340fe05678", Local0)
- if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
- err("", zFFF, 0x128, 0, 0, Local0, 0x1ab2cd340fe05678)
- }
-
- ToInteger(" 0x1ab2cd340fe0", Local0)
- if (LNotEqual(Local0, 0x1ab2cd340fe0)) {
- err("", zFFF, 0x129, 0, 0, Local0, 0x1ab2cd340fe0)
- }
- }
-
- ToInteger(" 0", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x12a, 0, 0, Local0, 0)
- }
-
- ToInteger(" 0000000", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x12b, 0, 0, Local0, 0)
- }
-
- ToInteger(" 000000000000000", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x12c, 0, 0, Local0, 0)
- }
-
- ToInteger(" 000000000000000000000000000000000000000000", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x12d, 0, 0, Local0, 0)
- }
-
- ToInteger(" 1", Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x12e, 0, 0, Local0, 1)
- }
-
- ToInteger(" 1234567890", Local0)
- if (LNotEqual(Local0, 1234567890)) {
- err("", zFFF, 0x12f, 0, 0, Local0, 1234567890)
- }
-
- ToInteger(" 1234567890", Local0)
- if (LNotEqual(Local0, 1234567890)) {
- err("", zFFF, 0x130, 0, 0, Local0, 1234567890)
- }
-
- ToInteger(" 1234567890", Local0)
- if (LNotEqual(Local0, 1234567890)) {
- err("", zFFF, 0x131, 0, 0, Local0, 1234567890)
- }
-
- ToInteger(" 1234567", Local0)
- if (LNotEqual(Local0, 1234567)) {
- err("", zFFF, 0x132, 0, 0, Local0, 1234567)
- }
-
- ToInteger(" 4294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x133, 0, 0, Local0, 4294967295)
- }
-
- if (F64) {
- ToInteger(" 18446744073709551615", Local0)
- if (LNotEqual(Local0, 18446744073709551615)) {
- err("", zFFF, 0x134, 0, 0, Local0, 18446744073709551615)
- }
- }
-
- CH03("", 0, 0x135, 0, 0)
-}
-
-/*
- * Zeros before significant characters in image without '0x' are skipped).
- */
-Method(mf95) {
-
- CH03("", 0, 0x136, 0, 0)
-
- ToInteger(" 0", Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x137, 0, 0, Local0, 0)
- }
-
- ToInteger(" 2", Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x138, 0, 0, Local0, 2)
- }
-
- ToInteger(" 0xa", Local0)
- if (LNotEqual(Local0, 0xa)) {
- err("", zFFF, 0x139, 0, 0, Local0, 0xa)
- }
-
- ToInteger(" 04294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x13a, 0, 0, Local0, 4294967295)
- }
-
- ToInteger("04294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x13b, 0, 0, Local0, 4294967295)
- }
-
- ToInteger("000000000000000000004294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x13c, 0, 0, Local0, 4294967295)
- }
-
- ToInteger(" 000000000000000000004294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x13d, 0, 0, Local0, 4294967295)
- }
-
- ToInteger(" 000000000000000000004294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x13e, 0, 0, Local0, 4294967295)
- }
-
- ToInteger(" 000000000000000000004294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x13f, 0, 0, Local0, 4294967295)
- }
-
- ToInteger(" 04294967295", Local0)
- if (LNotEqual(Local0, 4294967295)) {
- err("", zFFF, 0x140, 0, 0, Local0, 4294967295)
- }
-
- ToInteger(" 0123456789", Local0)
- if (LNotEqual(Local0, 123456789)) {
- err("", zFFF, 0x141, 0, 0, Local0, 123456789)
- }
-
- ToInteger("0123456789", Local0)
- if (LNotEqual(Local0, 123456789)) {
- err("", zFFF, 0x142, 0, 0, Local0, 123456789)
- }
-
- ToInteger("00123456789", Local0)
- if (LNotEqual(Local0, 123456789)) {
- err("", zFFF, 0x143, 0, 0, Local0, 123456789)
- }
-
- if (F64) {
- ToInteger(" 018446744073709551615", Local0)
- if (LNotEqual(Local0, 18446744073709551615)) {
- err("", zFFF, 0x144, 0, 0, Local0, 18446744073709551615)
- }
-
- ToInteger("018446744073709551615", Local0)
- if (LNotEqual(Local0, 18446744073709551615)) {
- err("", zFFF, 0x145, 0, 0, Local0, 18446744073709551615)
- }
-
- ToInteger("000000000000000000000000000000000000000018446744073709551615", Local0)
- if (LNotEqual(Local0, 18446744073709551615)) {
- err("", zFFF, 0x146, 0, 0, Local0, 18446744073709551615)
- }
- }
-
- CH03("", 0, 0x219, 0, 0)
-}
-
-/*
- * ToInteger, exceptions
- */
-Method(mf96) {
-
- // 5. "1234cd" (non-decimal character in dec-image)
- CH03("", 0, 0x147, 0, 0)
- ToInteger("1234cd", Local0)
- CH04("", 0, 0xff, 0, 0x148, 0, 0)
-
- // 6. "000x1234" (non-decimal character in dec-image)
- CH03("", 0, 0x149, 0, 0)
- ToInteger("000x1234", Local0)
- CH04("", 0, 0xff, 0, 0x14a, 0, 0)
-
- // 7. "0x1234cdQ" (non-hex character in '0x'-image)
- CH03("", 0, 0x14b, 0, 0)
- ToInteger("0x1234cdQ", Local0)
- CH04("", 0, 0xff, 0, 0x14c, 0, 0)
-
- CH03("", 0, 0x14d, 0, 0)
- ToInteger("0x0x12345", Local0)
- CH04("", 0, 0xff, 0, 0x14e, 0, 0)
-
- // 8. "1234 " (white space in dec image)
- CH03("", 0, 0x14f, 0, 0)
- ToInteger("1234 ", Local0)
- CH04("", 0, 0xff, 0, 0x150, 0, 0)
-
- // 9. "0x1234cd " (white space in '0x'-image)
- CH03("", 0, 0x151, 0, 0)
- ToInteger("0x1234cd ", Local0)
- CH04("", 0, 0xff, 0, 0x152, 0, 0)
-
- // 10. "0x 1234cdQ" (white space after '0x')
- CH03("", 0, 0x153, 0, 0)
- ToInteger("0x 1234", Local0)
- CH04("", 0, 0xff, 0, 0x154, 0, 0)
-
- CH03("", 0, 0x155, 0, 0)
- ToInteger("0x0x 1234", Local0)
- CH04("", 0, 0xff, 0, 0x156, 0, 0)
-
- CH03("", 0, 0x157, 0, 0)
- ToInteger("0x0x 0x 1234", Local0)
- CH04("", 0, 0xff, 0, 0x158, 0, 0)
-
- CH03("", 0, 0x159, 0, 0)
- ToInteger("0x 0x 1234", Local0)
- CH04("", 0, 0xff, 0, 0x15a, 0, 0)
-
- // 11. (decimal image exceeding maximal)
- // 32-bit mode – the value exceeding "4294967295"
- if (LNot(F64)) {
- CH03("", 0, 0x15b, 0, 0)
- ToInteger("4294967296", Local0)
- CH04("", 0, 0xff, 0, 0x15c, 0, 0)
-
- CH03("", 0, 0x15d, 0, 0)
- ToInteger("123456789012345678904294967296", Local0)
- CH04("", 0, 0xff, 0, 0x15e, 0, 0)
-
- CH03("", 0, 0x15f, 0, 0)
- ToInteger(" 00004294967296", Local0)
- CH04("", 0, 0xff, 0, 0x160, 0, 0)
-
- CH03("", 0, 0x161, 0, 0)
- ToInteger(" 0123456789012345678904294967296", Local0)
- CH04("", 0, 0xff, 0, 0x162, 0, 0)
-
- CH03("", 0, 0x163, 0, 0)
- ToInteger("0123456789012345678904294967296", Local0)
- CH04("", 0, 0xff, 0, 0x164, 0, 0)
-
- CH03("", 0, 0x165, 0, 0)
- ToInteger(" 123456789012345678904294967296", Local0)
- CH04("", 0, 0xff, 0, 0x166, 0, 0)
-
- CH03("", 0, 0x167, 0, 0)
- ToInteger(" 123456789012345678904294967296", Local0)
- CH04("", 0, 0xff, 0, 0x168, 0, 0)
- }
-
- // 64-bit mode – the value exceeding "18446744073709551615"
- CH03("", 0, 0x169, 0, 0)
- ToInteger("18446744073709551616", Local0)
- CH04("", 0, 0xff, 0, 0x16a, 0, 0)
-
- CH03("", 0, 0x16b, 0, 0)
- ToInteger(" 18446744073709551616", Local0)
- CH04("", 0, 0xff, 0, 0x16c, 0, 0)
-
- CH03("", 0, 0x16d, 0, 0)
- ToInteger(" 18446744073709551616", Local0)
- CH04("", 0, 0xff, 0, 0x16e, 0, 0)
-
- CH03("", 0, 0x16f, 0, 0)
- ToInteger("018446744073709551616", Local0)
- CH04("", 0, 0xff, 0, 0x170, 0, 0)
-
- CH03("", 0, 0x171, 0, 0)
- ToInteger(" 000000000018446744073709551616", Local0)
- CH04("", 0, 0xff, 0, 0x172, 0, 0)
-
- // 12. "0x12345678901234567" (hex image exceeding maximal)
- CH03("", 0, 0x173, 0, 0)
- ToInteger("0x12345678901234567", Local0)
- CH04("", 0, 0xff, 0, 0x174, 0, 0)
-
- // 13. "0x00000000000001234" (hex image exceeding maximal; no matter that zeros)
- CH03("", 0, 0x175, 0, 0)
- ToInteger("0x00000000000001234", Local0)
- CH04("", 0, 0xff, 0, 0x176, 0, 0)
-
- CH03("", 0, 0x178, 0, 0)
- ToInteger("0x0000000000000000000001234", Local0)
- CH04("", 0, 0xff, 0, 0x179, 0, 0)
-
- // 14. "0x123456789" (hex image exceeding maximal; for 32-bit mode only)
- if (LNot(F64)) {
- CH03("", 0, 0x17a, 0, 0)
- ToInteger("0x123456789", Local0)
- CH04("", 0, 0xff, 0, 0x17b, 0, 0)
- }
-
- // 15. "0x" (incomplete '0x' image)
- CH03("", 0, 0x17c, 0, 0)
- ToInteger("0x", Local0)
- CH04("", 0, 0xff, 0, 0x17d, 0, 0)
-
- CH03("", 0, 0x17e, 0, 0)
- ToInteger("0x ", Local0)
- CH04("", 0, 0xff, 0, 0x17f, 0, 0)
-
- CH03("", 0, 0x180, 0, 0)
- ToInteger("0x ", Local0)
- CH04("", 0, 0xff, 0, 0x181, 0, 0)
-
- CH03("", 0, 0x182, 0, 0)
- ToInteger("0x 1234", Local0)
- CH04("", 0, 0xff, 0, 0x183, 0, 0)
-
- CH03("", 0, 0x184, 0, 0)
- ToInteger("0x 1234", Local0)
- CH04("", 0, 0xff, 0, 0x185, 0, 0)
-
- // 16. Empty string
- CH03("", 0, 0x186, 0, 0)
- ToInteger("", Local0)
- CH04("", 0, 0xff, 0, 0x187, 0, 0)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * ToInteger(<0x-hex-dec>)
+ */
+Method(mf92) {
+
+ // Hex: 0x - dec
+
+ CH03("", 0, 0x100, 0, 0)
+
+ ToInteger("0x0", Local0)
+ if (LNotEqual(Local0, 0x0)) {
+ err("", zFFF, 0x101, 0, 0, Local0, 0x0)
+ }
+
+ ToInteger("0x0000000", Local0)
+ if (LNotEqual(Local0, 0x0)) {
+ err("", zFFF, 0x102, 0, 0, Local0, 0x0)
+ }
+
+ ToInteger("0x1", Local0)
+ if (LNotEqual(Local0, 0x1)) {
+ err("", zFFF, 0x103, 0, 0, Local0, 0x1)
+ }
+
+ ToInteger("0x12345678", Local0)
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x104, 0, 0, Local0, 0x12345678)
+ }
+
+ ToInteger("0x12345", Local0)
+ if (LNotEqual(Local0, 0x12345)) {
+ err("", zFFF, 0x105, 0, 0, Local0, 0x12345)
+ }
+
+ if (F64) {
+ ToInteger("0x1234567890123456", Local0)
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x106, 0, 0, Local0, 0x1234567890123456)
+ }
+
+ ToInteger("0x123456789012345", Local0)
+ if (LNotEqual(Local0, 0x123456789012345)) {
+ err("", zFFF, 0x107, 0, 0, Local0, 0x123456789012345)
+ }
+ }
+
+ // Hex: 0x - hex
+
+ ToInteger("0xabcdefef", Local0)
+ if (LNotEqual(Local0, 0xabcdefef)) {
+ err("", zFFF, 0x108, 0, 0, Local0, 0xabcdefef)
+ }
+
+ ToInteger("0xabcdef", Local0)
+ if (LNotEqual(Local0, 0xabcdef)) {
+ err("", zFFF, 0x109, 0, 0, Local0, 0xabcdef)
+ }
+
+ if (F64) {
+ ToInteger("0xabcdefefadefbcdf", Local0)
+ if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
+ err("", zFFF, 0x10a, 0, 0, Local0, 0xabcdefefadefbcdf)
+ }
+
+ ToInteger("0xabcdefefadefbcd", Local0)
+ if (LNotEqual(Local0, 0xabcdefefadefbcd)) {
+ err("", zFFF, 0x10b, 0, 0, Local0, 0xabcdefefadefbcd)
+ }
+ }
+
+ // Hex: 0x - dec/hex
+
+ ToInteger("0x1ab2cd34", Local0)
+ if (LNotEqual(Local0, 0x1ab2cd34)) {
+ err("", zFFF, 0x10c, 0, 0, Local0, 0x1ab2cd34)
+ }
+
+ if (F64) {
+ ToInteger("0x1ab2cd340fe05678", Local0)
+ if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
+ err("", zFFF, 0x10d, 0, 0, Local0, 0x1ab2cd340fe05678)
+ }
+
+ ToInteger("0x1ab2cd340fe0", Local0)
+ if (LNotEqual(Local0, 0x1ab2cd340fe0)) {
+ err("", zFFF, 0x10e, 0, 0, Local0, 0x1ab2cd340fe0)
+ }
+ }
+
+ CH03("", 0, 0x219, 0, 0)
+}
+
+/*
+ * ToInteger(<dec>)
+ */
+Method(mf93) {
+
+ CH03("", 0, 0x10f, 0, 0)
+
+ ToInteger("0", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x110, 0, 0, Local0, 0)
+ }
+
+ ToInteger("0000000", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x111, 0, 0, Local0, 0)
+ }
+
+ ToInteger("000000000000000", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x112, 0, 0, Local0, 0)
+ }
+
+ ToInteger("000000000000000000000000000000000000000000", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x113, 0, 0, Local0, 0)
+ }
+
+ ToInteger("1", Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x114, 0, 0, Local0, 1)
+ }
+
+ ToInteger("1234567890", Local0)
+ if (LNotEqual(Local0, 1234567890)) {
+ err("", zFFF, 0x115, 0, 0, Local0, 1234567890)
+ }
+
+ ToInteger("1234567", Local0)
+ if (LNotEqual(Local0, 1234567)) {
+ err("", zFFF, 0x116, 0, 0, Local0, 1234567)
+ }
+
+ ToInteger("4294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x117, 0, 0, Local0, 4294967295)
+ }
+
+ if (F64) {
+ ToInteger("18446744073709551615", Local0)
+ if (LNotEqual(Local0, 18446744073709551615)) {
+ err("", zFFF, 0x118, 0, 0, Local0, 18446744073709551615)
+ }
+ }
+
+ CH03("", 0, 0x119, 0, 0)
+}
+
+/*
+ * White space before image of Data is skipped
+ * (all examples above).
+ */
+Method(mf94) {
+
+ CH03("", 0, 0x11a, 0, 0)
+
+ ToInteger(" 0x0", Local0)
+ if (LNotEqual(Local0, 0x0)) {
+ err("", zFFF, 0x11b, 0, 0, Local0, 0x0)
+ }
+
+ ToInteger(" 0x00000", Local0)
+ if (LNotEqual(Local0, 0x0)) {
+ err("", zFFF, 0x11c, 0, 0, Local0, 0x0)
+ }
+
+ ToInteger(" 0x1", Local0)
+ if (LNotEqual(Local0, 0x1)) {
+ err("", zFFF, 0x11d, 0, 0, Local0, 0x1)
+ }
+
+ ToInteger(" 0x12345678", Local0)
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x11e, 0, 0, Local0, 0x12345678)
+ }
+
+ ToInteger(" 0x12345", Local0)
+ if (LNotEqual(Local0, 0x12345)) {
+ err("", zFFF, 0x11f, 0, 0, Local0, 0x12345)
+ }
+
+ if (F64) {
+ ToInteger(" 0x1234567890123456", Local0)
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x120, 0, 0, Local0, 0x1234567890123456)
+ }
+
+ ToInteger(" 0x123456789012345", Local0)
+ if (LNotEqual(Local0, 0x123456789012345)) {
+ err("", zFFF, 0x121, 0, 0, Local0, 0x123456789012345)
+ }
+ }
+
+ ToInteger(" 0xabcdefef", Local0)
+ if (LNotEqual(Local0, 0xabcdefef)) {
+ err("", zFFF, 0x122, 0, 0, Local0, 0xabcdefef)
+ }
+
+ ToInteger(" 0xabcdef", Local0)
+ if (LNotEqual(Local0, 0xabcdef)) {
+ err("", zFFF, 0x123, 0, 0, Local0, 0xabcdef)
+ }
+
+ ToInteger(" 0xabcdef", Local0)
+ if (LNotEqual(Local0, 0xabcdef)) {
+ err("", zFFF, 0x124, 0, 0, Local0, 0xabcdef)
+ }
+
+ if (F64) {
+ ToInteger(" 0xabcdefefadefbcdf", Local0)
+ if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
+ err("", zFFF, 0x125, 0, 0, Local0, 0xabcdefefadefbcdf)
+ }
+
+ ToInteger(" 0xabcdefefadefbcd", Local0)
+ if (LNotEqual(Local0, 0xabcdefefadefbcd)) {
+ err("", zFFF, 0x126, 0, 0, Local0, 0xabcdefefadefbcd)
+ }
+ }
+
+ ToInteger(" 0x1ab2cd34", Local0)
+ if (LNotEqual(Local0, 0x1ab2cd34)) {
+ err("", zFFF, 0x127, 0, 0, Local0, 0x1ab2cd34)
+ }
+
+ if (F64) {
+ ToInteger(" 0x1ab2cd340fe05678", Local0)
+ if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
+ err("", zFFF, 0x128, 0, 0, Local0, 0x1ab2cd340fe05678)
+ }
+
+ ToInteger(" 0x1ab2cd340fe0", Local0)
+ if (LNotEqual(Local0, 0x1ab2cd340fe0)) {
+ err("", zFFF, 0x129, 0, 0, Local0, 0x1ab2cd340fe0)
+ }
+ }
+
+ ToInteger(" 0", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x12a, 0, 0, Local0, 0)
+ }
+
+ ToInteger(" 0000000", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x12b, 0, 0, Local0, 0)
+ }
+
+ ToInteger(" 000000000000000", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x12c, 0, 0, Local0, 0)
+ }
+
+ ToInteger(" 000000000000000000000000000000000000000000", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x12d, 0, 0, Local0, 0)
+ }
+
+ ToInteger(" 1", Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x12e, 0, 0, Local0, 1)
+ }
+
+ ToInteger(" 1234567890", Local0)
+ if (LNotEqual(Local0, 1234567890)) {
+ err("", zFFF, 0x12f, 0, 0, Local0, 1234567890)
+ }
+
+ ToInteger(" 1234567890", Local0)
+ if (LNotEqual(Local0, 1234567890)) {
+ err("", zFFF, 0x130, 0, 0, Local0, 1234567890)
+ }
+
+ ToInteger(" 1234567890", Local0)
+ if (LNotEqual(Local0, 1234567890)) {
+ err("", zFFF, 0x131, 0, 0, Local0, 1234567890)
+ }
+
+ ToInteger(" 1234567", Local0)
+ if (LNotEqual(Local0, 1234567)) {
+ err("", zFFF, 0x132, 0, 0, Local0, 1234567)
+ }
+
+ ToInteger(" 4294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x133, 0, 0, Local0, 4294967295)
+ }
+
+ if (F64) {
+ ToInteger(" 18446744073709551615", Local0)
+ if (LNotEqual(Local0, 18446744073709551615)) {
+ err("", zFFF, 0x134, 0, 0, Local0, 18446744073709551615)
+ }
+ }
+
+ CH03("", 0, 0x135, 0, 0)
+}
+
+/*
+ * Zeros before significant characters in image without '0x' are skipped).
+ */
+Method(mf95) {
+
+ CH03("", 0, 0x136, 0, 0)
+
+ ToInteger(" 0", Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x137, 0, 0, Local0, 0)
+ }
+
+ ToInteger(" 2", Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x138, 0, 0, Local0, 2)
+ }
+
+ ToInteger(" 0xa", Local0)
+ if (LNotEqual(Local0, 0xa)) {
+ err("", zFFF, 0x139, 0, 0, Local0, 0xa)
+ }
+
+ ToInteger(" 04294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x13a, 0, 0, Local0, 4294967295)
+ }
+
+ ToInteger("04294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x13b, 0, 0, Local0, 4294967295)
+ }
+
+ ToInteger("000000000000000000004294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x13c, 0, 0, Local0, 4294967295)
+ }
+
+ ToInteger(" 000000000000000000004294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x13d, 0, 0, Local0, 4294967295)
+ }
+
+ ToInteger(" 000000000000000000004294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x13e, 0, 0, Local0, 4294967295)
+ }
+
+ ToInteger(" 000000000000000000004294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x13f, 0, 0, Local0, 4294967295)
+ }
+
+ ToInteger(" 04294967295", Local0)
+ if (LNotEqual(Local0, 4294967295)) {
+ err("", zFFF, 0x140, 0, 0, Local0, 4294967295)
+ }
+
+ ToInteger(" 0123456789", Local0)
+ if (LNotEqual(Local0, 123456789)) {
+ err("", zFFF, 0x141, 0, 0, Local0, 123456789)
+ }
+
+ ToInteger("0123456789", Local0)
+ if (LNotEqual(Local0, 123456789)) {
+ err("", zFFF, 0x142, 0, 0, Local0, 123456789)
+ }
+
+ ToInteger("00123456789", Local0)
+ if (LNotEqual(Local0, 123456789)) {
+ err("", zFFF, 0x143, 0, 0, Local0, 123456789)
+ }
+
+ if (F64) {
+ ToInteger(" 018446744073709551615", Local0)
+ if (LNotEqual(Local0, 18446744073709551615)) {
+ err("", zFFF, 0x144, 0, 0, Local0, 18446744073709551615)
+ }
+
+ ToInteger("018446744073709551615", Local0)
+ if (LNotEqual(Local0, 18446744073709551615)) {
+ err("", zFFF, 0x145, 0, 0, Local0, 18446744073709551615)
+ }
+
+ ToInteger("000000000000000000000000000000000000000018446744073709551615", Local0)
+ if (LNotEqual(Local0, 18446744073709551615)) {
+ err("", zFFF, 0x146, 0, 0, Local0, 18446744073709551615)
+ }
+ }
+
+ CH03("", 0, 0x219, 0, 0)
+}
+
+/*
+ * ToInteger, exceptions
+ */
+Method(mf96) {
+
+ // 5. "1234cd" (non-decimal character in dec-image)
+ CH03("", 0, 0x147, 0, 0)
+ ToInteger("1234cd", Local0)
+ CH04("", 0, 0xff, 0, 0x148, 0, 0)
+
+ // 6. "000x1234" (non-decimal character in dec-image)
+ CH03("", 0, 0x149, 0, 0)
+ ToInteger("000x1234", Local0)
+ CH04("", 0, 0xff, 0, 0x14a, 0, 0)
+
+ // 7. "0x1234cdQ" (non-hex character in '0x'-image)
+ CH03("", 0, 0x14b, 0, 0)
+ ToInteger("0x1234cdQ", Local0)
+ CH04("", 0, 0xff, 0, 0x14c, 0, 0)
+
+ CH03("", 0, 0x14d, 0, 0)
+ ToInteger("0x0x12345", Local0)
+ CH04("", 0, 0xff, 0, 0x14e, 0, 0)
+
+ // 8. "1234 " (white space in dec image)
+ CH03("", 0, 0x14f, 0, 0)
+ ToInteger("1234 ", Local0)
+ CH04("", 0, 0xff, 0, 0x150, 0, 0)
+
+ // 9. "0x1234cd " (white space in '0x'-image)
+ CH03("", 0, 0x151, 0, 0)
+ ToInteger("0x1234cd ", Local0)
+ CH04("", 0, 0xff, 0, 0x152, 0, 0)
+
+ // 10. "0x 1234cdQ" (white space after '0x')
+ CH03("", 0, 0x153, 0, 0)
+ ToInteger("0x 1234", Local0)
+ CH04("", 0, 0xff, 0, 0x154, 0, 0)
+
+ CH03("", 0, 0x155, 0, 0)
+ ToInteger("0x0x 1234", Local0)
+ CH04("", 0, 0xff, 0, 0x156, 0, 0)
+
+ CH03("", 0, 0x157, 0, 0)
+ ToInteger("0x0x 0x 1234", Local0)
+ CH04("", 0, 0xff, 0, 0x158, 0, 0)
+
+ CH03("", 0, 0x159, 0, 0)
+ ToInteger("0x 0x 1234", Local0)
+ CH04("", 0, 0xff, 0, 0x15a, 0, 0)
+
+ // 11. (decimal image exceeding maximal)
+ // 32-bit mode – the value exceeding "4294967295"
+ if (LNot(F64)) {
+ CH03("", 0, 0x15b, 0, 0)
+ ToInteger("4294967296", Local0)
+ CH04("", 0, 0xff, 0, 0x15c, 0, 0)
+
+ CH03("", 0, 0x15d, 0, 0)
+ ToInteger("123456789012345678904294967296", Local0)
+ CH04("", 0, 0xff, 0, 0x15e, 0, 0)
+
+ CH03("", 0, 0x15f, 0, 0)
+ ToInteger(" 00004294967296", Local0)
+ CH04("", 0, 0xff, 0, 0x160, 0, 0)
+
+ CH03("", 0, 0x161, 0, 0)
+ ToInteger(" 0123456789012345678904294967296", Local0)
+ CH04("", 0, 0xff, 0, 0x162, 0, 0)
+
+ CH03("", 0, 0x163, 0, 0)
+ ToInteger("0123456789012345678904294967296", Local0)
+ CH04("", 0, 0xff, 0, 0x164, 0, 0)
+
+ CH03("", 0, 0x165, 0, 0)
+ ToInteger(" 123456789012345678904294967296", Local0)
+ CH04("", 0, 0xff, 0, 0x166, 0, 0)
+
+ CH03("", 0, 0x167, 0, 0)
+ ToInteger(" 123456789012345678904294967296", Local0)
+ CH04("", 0, 0xff, 0, 0x168, 0, 0)
+ }
+
+ // 64-bit mode – the value exceeding "18446744073709551615"
+ CH03("", 0, 0x169, 0, 0)
+ ToInteger("18446744073709551616", Local0)
+ CH04("", 0, 0xff, 0, 0x16a, 0, 0)
+
+ CH03("", 0, 0x16b, 0, 0)
+ ToInteger(" 18446744073709551616", Local0)
+ CH04("", 0, 0xff, 0, 0x16c, 0, 0)
+
+ CH03("", 0, 0x16d, 0, 0)
+ ToInteger(" 18446744073709551616", Local0)
+ CH04("", 0, 0xff, 0, 0x16e, 0, 0)
+
+ CH03("", 0, 0x16f, 0, 0)
+ ToInteger("018446744073709551616", Local0)
+ CH04("", 0, 0xff, 0, 0x170, 0, 0)
+
+ CH03("", 0, 0x171, 0, 0)
+ ToInteger(" 000000000018446744073709551616", Local0)
+ CH04("", 0, 0xff, 0, 0x172, 0, 0)
+
+ // 12. "0x12345678901234567" (hex image exceeding maximal)
+ CH03("", 0, 0x173, 0, 0)
+ ToInteger("0x12345678901234567", Local0)
+ CH04("", 0, 0xff, 0, 0x174, 0, 0)
+
+ // 13. "0x00000000000001234" (hex image exceeding maximal; no matter that zeros)
+ CH03("", 0, 0x175, 0, 0)
+ ToInteger("0x00000000000001234", Local0)
+ CH04("", 0, 0xff, 0, 0x176, 0, 0)
+
+ CH03("", 0, 0x178, 0, 0)
+ ToInteger("0x0000000000000000000001234", Local0)
+ CH04("", 0, 0xff, 0, 0x179, 0, 0)
+
+ // 14. "0x123456789" (hex image exceeding maximal; for 32-bit mode only)
+ if (LNot(F64)) {
+ CH03("", 0, 0x17a, 0, 0)
+ ToInteger("0x123456789", Local0)
+ CH04("", 0, 0xff, 0, 0x17b, 0, 0)
+ }
+
+ // 15. "0x" (incomplete '0x' image)
+ CH03("", 0, 0x17c, 0, 0)
+ ToInteger("0x", Local0)
+ CH04("", 0, 0xff, 0, 0x17d, 0, 0)
+
+ CH03("", 0, 0x17e, 0, 0)
+ ToInteger("0x ", Local0)
+ CH04("", 0, 0xff, 0, 0x17f, 0, 0)
+
+ CH03("", 0, 0x180, 0, 0)
+ ToInteger("0x ", Local0)
+ CH04("", 0, 0xff, 0, 0x181, 0, 0)
+
+ CH03("", 0, 0x182, 0, 0)
+ ToInteger("0x 1234", Local0)
+ CH04("", 0, 0xff, 0, 0x183, 0, 0)
+
+ CH03("", 0, 0x184, 0, 0)
+ ToInteger("0x 1234", Local0)
+ CH04("", 0, 0xff, 0, 0x185, 0, 0)
+
+ // 16. Empty string
+ CH03("", 0, 0x186, 0, 0)
+ ToInteger("", Local0)
+ CH04("", 0, 0xff, 0, 0x187, 0, 0)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File1.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File1.asl
index c7c2e83fb..f7a66489b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File1.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/File1.asl
@@ -1,1389 +1,1389 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Implicit String to Integer (<0x-hex-dec>)
- */
-Method(mf97) {
-
- // Hex: 0x - dec
-
- CH03("", 0, 0x200, 0, 0)
-
- Add("", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x201, 0, 0, Local0, 0)
- }
-
- Add("0x0", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x201, 0, 0, Local0, 0)
- }
-
- Add("0x1", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x202, 0, 0, Local0, 0)
- }
-
- Add("0x12345678", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x203, 0, 0, Local0, 0)
- }
-
- Add("0x1234567890123456", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x204, 0, 0, Local0, 0)
- }
-
- // Hex: 0x - hex
-
- Add("0xabcdefef", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x205, 0, 0, Local0, 0)
- }
-
- Add("0xabcdefefadefbcdf", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x206, 0, 0, Local0, 0)
- }
-
- // Hex: 0x - dec/hex
-
- Add("0x1ab2cd340fe05678", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x207, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x208, 0, 0)
- Add("0x1ab2cd340fe0567823456789123456789987", 0, Local0)
- CH03("", 0, 0x209, 0, 0)
-
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x20a, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x20b, 0, 0)
-}
-
-/*
- * Implicit String to Integer (<dec>)
- */
-Method(mf98) {
-
- CH03("", 0, 0x200, 0, 0)
-
- Add("0", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x20d, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x201, 0, 0)
-
- Add("0000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x20e, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x202, 0, 0)
-
- Add("000000000000000000000000000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x20f, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x203, 0, 0)
-
- Add("1", 0, Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x210, 0, 0, Local0, 1)
- }
-
- CH03("", 0, 0x204, 0, 0)
-
- Add("12345678", 0, Local0)
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x211, 0, 0, Local0, 0x12345678)
- }
-
- CH03("", 0, 0x205, 0, 0)
-}
-
-/*
- * Implicit String to Integer (<hex-dec>)
- */
-Method(mf99) {
-
- CH03("", 0, 0x213, 0, 0)
-
- // Hex: 0x - dec
-
- Add("1234567890123456", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x214, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x215, 0, 0, Local0, 0x12345678)
- }
- }
-
- // Hex: 0x - hex
-
- Add("abcdefef", 0, Local0)
- if (LNotEqual(Local0, 0xabcdefef)) {
- err("", zFFF, 0x216, 0, 0, Local0, 0xabcdefef)
- }
-
- Add("abcdefe", 0, Local0)
- if (LNotEqual(Local0, 0xabcdefe)) {
- err("", zFFF, 0x217, 0, 0, Local0, 0xabcdefe)
- }
-
- Add("abcdefefadefbcdf", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
- err("", zFFF, 0x218, 0, 0, Local0, 0xabcdefefadefbcdf)
- }
- } else {
- if (LNotEqual(Local0, 0xabcdefef)) {
- err("", zFFF, 0x219, 0, 0, Local0, 0xabcdefef)
- }
- }
-
- // Hex: 0x - dec/hex
-
- Add("1ab2cd340fe05678", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
- err("", zFFF, 0x21a, 0, 0, Local0, 0x1ab2cd340fe05678)
- }
- } else {
- if (LNotEqual(Local0, 0x1ab2cd34)) {
- err("", zFFF, 0x21b, 0, 0, Local0, 0x1ab2cd34)
- }
- }
-
- Add("1ab2cd340fe05", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1ab2cd340fe05)) {
- err("", zFFF, 0x21c, 0, 0, Local0, 0x1ab2cd340fe05)
- }
- } else {
- if (LNotEqual(Local0, 0x1ab2cd34)) {
- err("", zFFF, 0x21d, 0, 0, Local0, 0x1ab2cd34)
- }
- }
-
- Add("1a", 0, Local0)
- if (LNotEqual(Local0, 0x1a)) {
- err("", zFFF, 0x21e, 0, 0, Local0, 0x1a)
- }
-
- CH03("", 0, 0x219, 0, 0)
-}
-
-/*
- * No exceptions in special cases which force exceptions on ToInteger
- */
-Method(mf9a) {
-
- // 5. "1234cd" (non-decimal character in dec-image)
- CH03("", 0, 0x220, 0, 0)
- Add("1234cd", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x221, 0, 0, Local0, 0x1234cd)
- }
-
- // 6. "000x1234" (non-decimal character in dec-image)
- CH03("", 0, 0x223, 0, 0)
- Add("000x1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x224, 0, 0, Local0, 0)
- }
-
- // 7. "0x1234cdQ" (non-hex character in '0x'-image)
- CH03("", 0, 0x225, 0, 0)
- Add("0x1234cdQ", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x226, 0, 0, Local0, 0)
- }
- CH03("", 0, 0x227, 0, 0)
- Add("1234cdQ", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x228, 0, 0, Local0, 0x1234cd)
- }
-
- CH03("", 0, 0x229, 0, 0)
- Add("0x0x12345", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x22a, 0, 0, Local0, 0)
- }
-
- // 8. "1234 " (white space in dec image)
- CH03("", 0, 0x22b, 0, 0)
- Add("1234 ", 0, Local0)
- if (LNotEqual(Local0, 0x1234)) {
- err("", zFFF, 0x22c, 0, 0, Local0, 0x1234)
- }
-
- // 9. "0x1234cd " (white space in '0x'-image)
- CH03("", 0, 0x22d, 0, 0)
- Add("1234cd ", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x22e, 0, 0, Local0, 0x1234cd)
- }
-
- // 10. "0x 1234cdQ" (white space after '0x')
- CH03("", 0, 0x22f, 0, 0)
- Add("0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x230, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x231, 0, 0)
- Add("0x0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x232, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x233, 0, 0)
- Add("0x0x 0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x234, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x235, 0, 0)
- Add("0x 0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x236, 0, 0, Local0, 0)
- }
-
- // 11. (decimal image exceeding maximal)
- // 32-bit mode – the value exceeding "4294967295"
- if (1) {
- CH03("", 0, 0x237, 0, 0)
- Add("4294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x4294967296)) {
- err("", zFFF, 0x238, 0, 0, Local0, 0x4294967296)
- }
- } else {
- if (LNotEqual(Local0, 0x42949672)) {
- err("", zFFF, 0x239, 0, 0, Local0, 0x42949672)
- }
- }
-
- CH03("", 0, 0x23a, 0, 0)
- Add("123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x23b, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x23c, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x23d, 0, 0)
- Add(" 00004294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x4294967296)) {
- err("", zFFF, 0x23e, 0, 0, Local0, 0x4294967296)
- }
- } else {
- if (LNotEqual(Local0, 0x42949672)) {
- err("", zFFF, 0x23f, 0, 0, Local0, 0x42949672)
- }
- }
-
- CH03("", 0, 0x240, 0, 0)
- Add(" 0123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x241, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x242, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x243, 0, 0)
- Add("0123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x244, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x245, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x246, 0, 0)
- Add(" 123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x247, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x248, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x249, 0, 0)
- Add(" 123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x24a, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x24b, 0, 0, Local0, 0x12345678)
- }
- }
- }
-
- // 64-bit mode – the value exceeding "18446744073709551615"
- CH03("", 0, 0x24c, 0, 0)
- Add("18446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x24d, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x24e, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x24f, 0, 0)
- Add(" 18446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x250, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x251, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x252, 0, 0)
- Add(" 18446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x253, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x254, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x255, 0, 0)
- Add("018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x256, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x257, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x258, 0, 0)
- Add(" 000000000018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x259, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x25a, 0, 0, Local0, 0x18446744)
- }
- }
-
- // 12. "0x12345678901234567" (hex image exceeding maximal)
- CH03("", 0, 0x25b, 0, 0)
- Add("0x12345678901234567", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x25c, 0, 0, Local0, 0)
- }
-
- // 13. "0x00000000000001234" (hex image exceeding maximal; no matter that zeros)
- CH03("", 0, 0x25e, 0, 0)
- Add("0x00000000000001234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x25f, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x260, 0, 0)
- Add("0x0000000000000000000001234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x261, 0, 0, Local0, 0)
- }
-
- // 14. "0x123456789" (hex image exceeding maximal; for 32-bit mode only)
- if (1) {
- CH03("", 0, 0x262, 0, 0)
- Add("0x123456789", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x263, 0, 0, Local0, 0)
- }
- }
-
- // 15. "0x" (incomplete '0x' image)
- CH03("", 0, 0x264, 0, 0)
- Add("0x", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x265, 0, 0, Local0, 0)
- }
- CH03("", 0, 0x266, 0, 0)
-}
-
-/*
- * 2. " 0x1234cd" (white space before image of Data is skipped)
- *
- * All the above examples but with the white space before image of Data.
- */
-Method(mf9b) {
-
- // Hex: 0x - dec
-
- CH03("", 0, 0x267, 0, 0)
-
- Add(" 0x0", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x268, 0, 0, Local0, 0)
- }
-
- Add(" 0x1", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x269, 0, 0, Local0, 0)
- }
-
- Add(" 0x12345678", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x26a, 0, 0, Local0, 0)
- }
-
- Add(" 0x1234567890123456", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x26b, 0, 0, Local0, 0)
- }
-
- // Hex: 0x - hex
-
- Add(" 0xabcdefef", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x26c, 0, 0, Local0, 0)
- }
-
- Add(" 0xabcdefefadefbcdf", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x26d, 0, 0, Local0, 0)
- }
-
- // Hex: 0x - dec/hex
-
- Add(" 0x1ab2cd340fe05678", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x26e, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x26f, 0, 0)
- Add(" 0x1ab2cd340fe0567823456789123456789987", 0, Local0)
- CH03("", 0, 0x270, 0, 0)
-
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x271, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x272, 0, 0)
-
- /*
- * Implicit String to Integer (<dec>)
- *
- * Method(mf98)
- */
-
- CH03("", 0, 0x273, 0, 0)
-
- Add(" 0", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x274, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x275, 0, 0)
-
- Add(" 0000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x276, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x277, 0, 0)
-
- Add(" 000000000000000000000000000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x278, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x279, 0, 0)
-
- Add(" 000000000000000000000000000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x27a, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x27b, 0, 0)
-
- Add(" 1", 0, Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x27c, 0, 0, Local0, 1)
- }
-
- CH03("", 0, 0x27d, 0, 0)
-
- Add(" 12345678", 0, Local0)
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x27e, 0, 0, Local0, 0x12345678)
- }
-
- CH03("", 0, 0x27f, 0, 0)
-
- /*
- * Implicit String to Integer (<hex-dec>)
- *
- * Method(mf99)
- */
-
- CH03("", 0, 0x280, 0, 0)
-
- // Hex: 0x - dec
-
- Add(" 1234567890123456", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x281, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x282, 0, 0, Local0, 0x12345678)
- }
- }
-
- // Hex: 0x - hex
-
- Add(" abcdefef", 0, Local0)
- if (LNotEqual(Local0, 0xabcdefef)) {
- err("", zFFF, 0x283, 0, 0, Local0, 0xabcdefef)
- }
-
- Add(" abcdefe", 0, Local0)
- if (LNotEqual(Local0, 0xabcdefe)) {
- err("", zFFF, 0x284, 0, 0, Local0, 0xabcdefe)
- }
-
- Add(" abcdefefadefbcdf", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
- err("", zFFF, 0x285, 0, 0, Local0, 0xabcdefefadefbcdf)
- }
- } else {
- if (LNotEqual(Local0, 0xabcdefef)) {
- err("", zFFF, 0x286, 0, 0, Local0, 0xabcdefef)
- }
- }
-
- // Hex: 0x - dec/hex
-
- Add(" 1ab2cd340fe05678", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
- err("", zFFF, 0x287, 0, 0, Local0, 0x1ab2cd340fe05678)
- }
- } else {
- if (LNotEqual(Local0, 0x1ab2cd34)) {
- err("", zFFF, 0x288, 0, 0, Local0, 0x1ab2cd34)
- }
- }
-
- Add(" 1ab2cd340fe05", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1ab2cd340fe05)) {
- err("", zFFF, 0x289, 0, 0, Local0, 0x1ab2cd340fe05)
- }
- } else {
- if (LNotEqual(Local0, 0x1ab2cd34)) {
- err("", zFFF, 0x28a, 0, 0, Local0, 0x1ab2cd34)
- }
- }
-
- Add(" 1a", 0, Local0)
- if (LNotEqual(Local0, 0x1a)) {
- err("", zFFF, 0x28b, 0, 0, Local0, 0x1a)
- }
-
- CH03("", 0, 0x28d, 0, 0)
-
- /*
- * No exceptions in special cases which force exceptions on ToInteger
- *
- * Method(mf9a)
- */
-
- // 5. "1234cd" (non-decimal character in dec-image)
- CH03("", 0, 0x28e, 0, 0)
- Add(" 1234cd", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x28f, 0, 0, Local0, 0x1234cd)
- }
-
- // 6. "000x1234" (non-decimal character in dec-image)
- CH03("", 0, 0x290, 0, 0)
- Add(" 000x1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x291, 0, 0, Local0, 0)
- }
-
- // 7. "0x1234cdQ" (non-hex character in '0x'-image)
- CH03("", 0, 0x292, 0, 0)
- Add(" 0x1234cdQ", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x293, 0, 0, Local0, 0)
- }
- CH03("", 0, 0x294, 0, 0)
- Add(" 1234cdQ", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x295, 0, 0, Local0, 0x1234cd)
- }
-
- CH03("", 0, 0x296, 0, 0)
- Add(" 0x0x12345", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x297, 0, 0, Local0, 0)
- }
-
- // 8. "1234 " (white space in dec image)
- CH03("", 0, 0x298, 0, 0)
- Add(" 1234 ", 0, Local0)
- if (LNotEqual(Local0, 0x1234)) {
- err("", zFFF, 0x299, 0, 0, Local0, 0x1234)
- }
-
- // 9. "0x1234cd " (white space in '0x'-image)
- CH03("", 0, 0x29a, 0, 0)
- Add(" 1234cd ", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x29b, 0, 0, Local0, 0x1234cd)
- }
-
- // 10. "0x 1234cdQ" (white space after '0x')
- CH03("", 0, 0x29c, 0, 0)
- Add(" 0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x29d, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x29e, 0, 0)
- Add(" 0x0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x29f, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x2a0, 0, 0)
- Add(" 0x0x 0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x2a1, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x2a2, 0, 0)
- Add(" 0x 0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x2a3, 0, 0, Local0, 0)
- }
-
- // 11. (decimal image exceeding maximal)
- // 32-bit mode – the value exceeding "4294967295"
- if (1) {
- CH03("", 0, 0x2a4, 0, 0)
- Add(" 4294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x4294967296)) {
- err("", zFFF, 0x2a5, 0, 0, Local0, 0x4294967296)
- }
- } else {
- if (LNotEqual(Local0, 0x42949672)) {
- err("", zFFF, 0x2a6, 0, 0, Local0, 0x42949672)
- }
- }
-
- CH03("", 0, 0x2a7, 0, 0)
- Add(" 123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x2a8, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x2a9, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x2aa, 0, 0)
- Add(" 00004294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x4294967296)) {
- err("", zFFF, 0x2ab, 0, 0, Local0, 0x4294967296)
- }
- } else {
- if (LNotEqual(Local0, 0x42949672)) {
- err("", zFFF, 0x2ac, 0, 0, Local0, 0x42949672)
- }
- }
-
- CH03("", 0, 0x2ad, 0, 0)
- Add(" 0123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x2ae, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x2af, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x2b0, 0, 0)
- Add(" 0123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x2b1, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x2b2, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x2b3, 0, 0)
- Add(" 123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x2b4, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x2b5, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x2b6, 0, 0)
- Add(" 123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x2b7, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x2b8, 0, 0, Local0, 0x12345678)
- }
- }
- }
-
- // 64-bit mode – the value exceeding "18446744073709551615"
- CH03("", 0, 0x2b8, 0, 0)
- Add(" 18446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x2b9, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x2ba, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x2bb, 0, 0)
- Add(" 18446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x2bc, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x2bd, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x2be, 0, 0)
- Add(" 18446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x2bf, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x2c0, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x2c1, 0, 0)
- Add(" 018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x2c2, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x2c3, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x2c4, 0, 0)
- Add(" 000000000018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x2c5, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x2c6, 0, 0, Local0, 0x18446744)
- }
- }
-
- // 12. "0x12345678901234567" (hex image exceeding maximal)
- CH03("", 0, 0x2c7, 0, 0)
- Add(" 0x12345678901234567", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x2c8, 0, 0, Local0, 0)
- }
-
- // 13. "0x00000000000001234" (hex image exceeding maximal; no matter that zeros)
- CH03("", 0, 0x2ca, 0, 0)
- Add(" 0x00000000000001234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x2cb, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x2cc, 0, 0)
- Add(" 0x0000000000000000000001234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x2cd, 0, 0, Local0, 0)
- }
-
- // 14. "0x123456789" (hex image exceeding maximal; for 32-bit mode only)
- if (1) {
- CH03("", 0, 0x2ce, 0, 0)
- Add("0x123456789", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x2cf, 0, 0, Local0, 0)
- }
- }
-
- // 15. "0x" (incomplete '0x' image)
- CH03("", 0, 0x2d0, 0, 0)
- Add(" 0x", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x2d1, 0, 0, Local0, 0)
- }
- CH03("", 0, 0x2d2, 0, 0)
-
- Add(" 0x", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x2d3, 0, 0, Local0, 0)
- }
- CH03("", 0, 0x2d4, 0, 0)
-}
-
-/*
- * 4. "0000000000000000000000001234"
- * (zeros before significant characters in image without '0x' are skipped).
- *
- * Exampples: mf9b + 000000000
- *
- * All the above examples but
- *
- * with the white space before image of Data
- * + 000000000 zeros before image
- */
-Method(mf9c) {
-
- // Hex: 0x - dec
-
- CH03("", 0, 0x367, 0, 0)
-
- Add(" 0000000000x0", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x368, 0, 0, Local0, 0)
- }
-
- Add(" 0000000000x1", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x369, 0, 0, Local0, 0)
- }
-
- Add(" 0000000000x12345678", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x36a, 0, 0, Local0, 0)
- }
-
- Add(" 0000000000x1234567890123456", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x36b, 0, 0, Local0, 0)
- }
-
- // Hex: 0x - hex
-
- Add(" 0000000000xabcdefef", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x36c, 0, 0, Local0, 0)
- }
-
- Add(" 0000000000xabcdefefadefbcdf", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x36d, 0, 0, Local0, 0)
- }
-
- // Hex: 0x - dec/hex
-
- Add(" 0000000000x1ab2cd340fe05678", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x36e, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x36f, 0, 0)
- Add(" 0000000000x1ab2cd340fe0567823456789123456789987", 0, Local0)
- CH03("", 0, 0x370, 0, 0)
-
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x371, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x372, 0, 0)
-
- /*
- * Implicit String to Integer (<dec>)
- *
- * Method(mf98)
- */
-
- CH03("", 0, 0x373, 0, 0)
-
- Add(" 0000000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x374, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x375, 0, 0)
-
- Add(" 0000000000000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x376, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x377, 0, 0)
-
- Add(" 000000000000000000000000000000000000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x378, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x379, 0, 0)
-
- Add(" 000000000000000000000000000000000000000", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x37a, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x37b, 0, 0)
-
- Add(" 0000000001", 0, Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x37c, 0, 0, Local0, 1)
- }
-
- CH03("", 0, 0x37d, 0, 0)
-
- Add(" 00000000012345678", 0, Local0)
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x37e, 0, 0, Local0, 0x12345678)
- }
-
- CH03("", 0, 0x37f, 0, 0)
-
- /*
- * Implicit String to Integer (<hex-dec>)
- *
- * Method(mf99)
- */
-
- CH03("", 0, 0x380, 0, 0)
-
- // Hex: 0x - dec
-
- Add(" 0000000001234567890123456", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x381, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x382, 0, 0, Local0, 0x12345678)
- }
- }
-
- // Hex: 0x - hex
-
- Add(" 000000000abcdefef", 0, Local0)
- if (LNotEqual(Local0, 0xabcdefef)) {
- err("", zFFF, 0x383, 0, 0, Local0, 0xabcdefef)
- }
-
- Add(" 000000000abcdefe", 0, Local0)
- if (LNotEqual(Local0, 0xabcdefe)) {
- err("", zFFF, 0x384, 0, 0, Local0, 0xabcdefe)
- }
-
- Add(" 000000000abcdefefadefbcdf", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
- err("", zFFF, 0x385, 0, 0, Local0, 0xabcdefefadefbcdf)
- }
- } else {
- if (LNotEqual(Local0, 0xabcdefef)) {
- err("", zFFF, 0x386, 0, 0, Local0, 0xabcdefef)
- }
- }
-
- // Hex: 0x - dec/hex
-
- Add(" 0000000001ab2cd340fe05678", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
- err("", zFFF, 0x387, 0, 0, Local0, 0x1ab2cd340fe05678)
- }
- } else {
- if (LNotEqual(Local0, 0x1ab2cd34)) {
- err("", zFFF, 0x388, 0, 0, Local0, 0x1ab2cd34)
- }
- }
-
- Add(" 0000000001ab2cd340fe05", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1ab2cd340fe05)) {
- err("", zFFF, 0x389, 0, 0, Local0, 0x1ab2cd340fe05)
- }
- } else {
- if (LNotEqual(Local0, 0x1ab2cd34)) {
- err("", zFFF, 0x38a, 0, 0, Local0, 0x1ab2cd34)
- }
- }
-
- Add(" 0000000001a", 0, Local0)
- if (LNotEqual(Local0, 0x1a)) {
- err("", zFFF, 0x38b, 0, 0, Local0, 0x1a)
- }
-
- CH03("", 0, 0x38d, 0, 0)
-
- /*
- * No exceptions in special cases which force exceptions on ToInteger
- *
- * Method(mf9a)
- */
-
- // 5. "1234cd" (non-decimal character in dec-image)
- CH03("", 0, 0x38e, 0, 0)
- Add(" 0000000001234cd", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x38f, 0, 0, Local0, 0x1234cd)
- }
-
- // 6. "000x1234" (non-decimal character in dec-image)
- CH03("", 0, 0x390, 0, 0)
- Add(" 000000000000x1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x391, 0, 0, Local0, 0)
- }
-
- // 7. "0x1234cdQ" (non-hex character in '0x'-image)
- CH03("", 0, 0x392, 0, 0)
- Add(" 0000000000x1234cdQ", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x393, 0, 0, Local0, 0)
- }
- CH03("", 0, 0x394, 0, 0)
- Add(" 0000000001234cdQ", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x395, 0, 0, Local0, 0x1234cd)
- }
-
- CH03("", 0, 0x396, 0, 0)
- Add(" 0000000000x0x12345", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x397, 0, 0, Local0, 0)
- }
-
- // 8. "1234 " (white space in dec image)
- CH03("", 0, 0x398, 0, 0)
- Add(" 0000000001234 ", 0, Local0)
- if (LNotEqual(Local0, 0x1234)) {
- err("", zFFF, 0x399, 0, 0, Local0, 0x1234)
- }
-
- // 9. "0x1234cd " (white space in '0x'-image)
- CH03("", 0, 0x39a, 0, 0)
- Add(" 0000000001234cd ", 0, Local0)
- if (LNotEqual(Local0, 0x1234cd)) {
- err("", zFFF, 0x39b, 0, 0, Local0, 0x1234cd)
- }
-
- // 10. "0x 1234cdQ" (white space after '0x')
- CH03("", 0, 0x39c, 0, 0)
- Add(" 0000000000x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x39d, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x39e, 0, 0)
- Add(" 0000000000x0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x39f, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x3a0, 0, 0)
- Add(" 0000000000x0x 0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x3a1, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x3a2, 0, 0)
- Add(" 0000000000x 0x 1234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x3a3, 0, 0, Local0, 0)
- }
-
- // 11. (decimal image exceeding maximal)
- // 32-bit mode – the value exceeding "4294967295"
- if (1) {
- CH03("", 0, 0x3a4, 0, 0)
- Add(" 0000000004294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x4294967296)) {
- err("", zFFF, 0x3a5, 0, 0, Local0, 0x4294967296)
- }
- } else {
- if (LNotEqual(Local0, 0x42949672)) {
- err("", zFFF, 0x3a6, 0, 0, Local0, 0x42949672)
- }
- }
-
- CH03("", 0, 0x3a7, 0, 0)
- Add(" 000000000123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x3a8, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x3a9, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x3aa, 0, 0)
- Add(" 00000000000004294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x4294967296)) {
- err("", zFFF, 0x3ab, 0, 0, Local0, 0x4294967296)
- }
- } else {
- if (LNotEqual(Local0, 0x42949672)) {
- err("", zFFF, 0x3ac, 0, 0, Local0, 0x42949672)
- }
- }
-
- CH03("", 0, 0x3ad, 0, 0)
- Add(" 0000000000123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x3ae, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x3af, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x3b0, 0, 0)
- Add(" 0000000000123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x3b1, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x3b2, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x3b3, 0, 0)
- Add(" 000000000123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x3b4, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x3b5, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03("", 0, 0x3b6, 0, 0)
- Add(" 000000000123456789012345678904294967296", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x3b7, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x3b8, 0, 0, Local0, 0x12345678)
- }
- }
- }
-
- // 64-bit mode – the value exceeding "18446744073709551615"
- CH03("", 0, 0x3b8, 0, 0)
- Add(" 00000000018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x3b9, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x3ba, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x3bb, 0, 0)
- Add(" 00000000018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x3bc, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x3bd, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x3be, 0, 0)
- Add(" 00000000018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x3bf, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x3c0, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x3c1, 0, 0)
- Add(" 000000000018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x3c2, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x3c3, 0, 0, Local0, 0x18446744)
- }
- }
-
- CH03("", 0, 0x3c4, 0, 0)
- Add(" 000000000000000000018446744073709551616", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0x1844674407370955)) {
- err("", zFFF, 0x3c5, 0, 0, Local0, 0x1844674407370955)
- }
- } else {
- if (LNotEqual(Local0, 0x18446744)) {
- err("", zFFF, 0x3c6, 0, 0, Local0, 0x18446744)
- }
- }
-
- // 12. "0x12345678901234567" (hex image exceeding maximal)
- CH03("", 0, 0x3c7, 0, 0)
- Add(" 0000000000x12345678901234567", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x3c8, 0, 0, Local0, 0)
- }
-
- // 13. "0x00000000000001234" (hex image exceeding maximal; no matter that zeros)
- CH03("", 0, 0x3ca, 0, 0)
- Add(" 0000000000x00000000000001234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x3cb, 0, 0, Local0, 0)
- }
-
- CH03("", 0, 0x3cc, 0, 0)
- Add(" 0000000000x0000000000000000000001234", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x3cd, 0, 0, Local0, 0)
- }
-
- // 14. "0x123456789" (hex image exceeding maximal; for 32-bit mode only)
- if (1) {
- CH03("", 0, 0x3ce, 0, 0)
- Add("0x123456789", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x3cf, 0, 0, Local0, 0)
- }
- }
-
- // 15. "0x" (incomplete '0x' image)
- CH03("", 0, 0x3d0, 0, 0)
- Add(" 0000000000x", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x3d1, 0, 0, Local0, 0)
- }
- CH03("", 0, 0x3d2, 0, 0)
-
- Add(" 0000000000x", 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x3d3, 0, 0, Local0, 0)
- }
- CH03("", 0, 0x3d4, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Implicit String to Integer (<0x-hex-dec>)
+ */
+Method(mf97) {
+
+ // Hex: 0x - dec
+
+ CH03("", 0, 0x200, 0, 0)
+
+ Add("", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x201, 0, 0, Local0, 0)
+ }
+
+ Add("0x0", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x201, 0, 0, Local0, 0)
+ }
+
+ Add("0x1", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x202, 0, 0, Local0, 0)
+ }
+
+ Add("0x12345678", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x203, 0, 0, Local0, 0)
+ }
+
+ Add("0x1234567890123456", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x204, 0, 0, Local0, 0)
+ }
+
+ // Hex: 0x - hex
+
+ Add("0xabcdefef", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x205, 0, 0, Local0, 0)
+ }
+
+ Add("0xabcdefefadefbcdf", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x206, 0, 0, Local0, 0)
+ }
+
+ // Hex: 0x - dec/hex
+
+ Add("0x1ab2cd340fe05678", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x207, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x208, 0, 0)
+ Add("0x1ab2cd340fe0567823456789123456789987", 0, Local0)
+ CH03("", 0, 0x209, 0, 0)
+
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x20a, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x20b, 0, 0)
+}
+
+/*
+ * Implicit String to Integer (<dec>)
+ */
+Method(mf98) {
+
+ CH03("", 0, 0x200, 0, 0)
+
+ Add("0", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x20d, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x201, 0, 0)
+
+ Add("0000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x20e, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x202, 0, 0)
+
+ Add("000000000000000000000000000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x20f, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x203, 0, 0)
+
+ Add("1", 0, Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x210, 0, 0, Local0, 1)
+ }
+
+ CH03("", 0, 0x204, 0, 0)
+
+ Add("12345678", 0, Local0)
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x211, 0, 0, Local0, 0x12345678)
+ }
+
+ CH03("", 0, 0x205, 0, 0)
+}
+
+/*
+ * Implicit String to Integer (<hex-dec>)
+ */
+Method(mf99) {
+
+ CH03("", 0, 0x213, 0, 0)
+
+ // Hex: 0x - dec
+
+ Add("1234567890123456", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x214, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x215, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ // Hex: 0x - hex
+
+ Add("abcdefef", 0, Local0)
+ if (LNotEqual(Local0, 0xabcdefef)) {
+ err("", zFFF, 0x216, 0, 0, Local0, 0xabcdefef)
+ }
+
+ Add("abcdefe", 0, Local0)
+ if (LNotEqual(Local0, 0xabcdefe)) {
+ err("", zFFF, 0x217, 0, 0, Local0, 0xabcdefe)
+ }
+
+ Add("abcdefefadefbcdf", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
+ err("", zFFF, 0x218, 0, 0, Local0, 0xabcdefefadefbcdf)
+ }
+ } else {
+ if (LNotEqual(Local0, 0xabcdefef)) {
+ err("", zFFF, 0x219, 0, 0, Local0, 0xabcdefef)
+ }
+ }
+
+ // Hex: 0x - dec/hex
+
+ Add("1ab2cd340fe05678", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
+ err("", zFFF, 0x21a, 0, 0, Local0, 0x1ab2cd340fe05678)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x1ab2cd34)) {
+ err("", zFFF, 0x21b, 0, 0, Local0, 0x1ab2cd34)
+ }
+ }
+
+ Add("1ab2cd340fe05", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1ab2cd340fe05)) {
+ err("", zFFF, 0x21c, 0, 0, Local0, 0x1ab2cd340fe05)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x1ab2cd34)) {
+ err("", zFFF, 0x21d, 0, 0, Local0, 0x1ab2cd34)
+ }
+ }
+
+ Add("1a", 0, Local0)
+ if (LNotEqual(Local0, 0x1a)) {
+ err("", zFFF, 0x21e, 0, 0, Local0, 0x1a)
+ }
+
+ CH03("", 0, 0x219, 0, 0)
+}
+
+/*
+ * No exceptions in special cases which force exceptions on ToInteger
+ */
+Method(mf9a) {
+
+ // 5. "1234cd" (non-decimal character in dec-image)
+ CH03("", 0, 0x220, 0, 0)
+ Add("1234cd", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x221, 0, 0, Local0, 0x1234cd)
+ }
+
+ // 6. "000x1234" (non-decimal character in dec-image)
+ CH03("", 0, 0x223, 0, 0)
+ Add("000x1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x224, 0, 0, Local0, 0)
+ }
+
+ // 7. "0x1234cdQ" (non-hex character in '0x'-image)
+ CH03("", 0, 0x225, 0, 0)
+ Add("0x1234cdQ", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x226, 0, 0, Local0, 0)
+ }
+ CH03("", 0, 0x227, 0, 0)
+ Add("1234cdQ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x228, 0, 0, Local0, 0x1234cd)
+ }
+
+ CH03("", 0, 0x229, 0, 0)
+ Add("0x0x12345", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x22a, 0, 0, Local0, 0)
+ }
+
+ // 8. "1234 " (white space in dec image)
+ CH03("", 0, 0x22b, 0, 0)
+ Add("1234 ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234)) {
+ err("", zFFF, 0x22c, 0, 0, Local0, 0x1234)
+ }
+
+ // 9. "0x1234cd " (white space in '0x'-image)
+ CH03("", 0, 0x22d, 0, 0)
+ Add("1234cd ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x22e, 0, 0, Local0, 0x1234cd)
+ }
+
+ // 10. "0x 1234cdQ" (white space after '0x')
+ CH03("", 0, 0x22f, 0, 0)
+ Add("0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x230, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x231, 0, 0)
+ Add("0x0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x232, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x233, 0, 0)
+ Add("0x0x 0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x234, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x235, 0, 0)
+ Add("0x 0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x236, 0, 0, Local0, 0)
+ }
+
+ // 11. (decimal image exceeding maximal)
+ // 32-bit mode – the value exceeding "4294967295"
+ if (1) {
+ CH03("", 0, 0x237, 0, 0)
+ Add("4294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x4294967296)) {
+ err("", zFFF, 0x238, 0, 0, Local0, 0x4294967296)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x42949672)) {
+ err("", zFFF, 0x239, 0, 0, Local0, 0x42949672)
+ }
+ }
+
+ CH03("", 0, 0x23a, 0, 0)
+ Add("123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x23b, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x23c, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x23d, 0, 0)
+ Add(" 00004294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x4294967296)) {
+ err("", zFFF, 0x23e, 0, 0, Local0, 0x4294967296)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x42949672)) {
+ err("", zFFF, 0x23f, 0, 0, Local0, 0x42949672)
+ }
+ }
+
+ CH03("", 0, 0x240, 0, 0)
+ Add(" 0123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x241, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x242, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x243, 0, 0)
+ Add("0123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x244, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x245, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x246, 0, 0)
+ Add(" 123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x247, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x248, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x249, 0, 0)
+ Add(" 123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x24a, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x24b, 0, 0, Local0, 0x12345678)
+ }
+ }
+ }
+
+ // 64-bit mode – the value exceeding "18446744073709551615"
+ CH03("", 0, 0x24c, 0, 0)
+ Add("18446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x24d, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x24e, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x24f, 0, 0)
+ Add(" 18446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x250, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x251, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x252, 0, 0)
+ Add(" 18446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x253, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x254, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x255, 0, 0)
+ Add("018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x256, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x257, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x258, 0, 0)
+ Add(" 000000000018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x259, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x25a, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ // 12. "0x12345678901234567" (hex image exceeding maximal)
+ CH03("", 0, 0x25b, 0, 0)
+ Add("0x12345678901234567", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x25c, 0, 0, Local0, 0)
+ }
+
+ // 13. "0x00000000000001234" (hex image exceeding maximal; no matter that zeros)
+ CH03("", 0, 0x25e, 0, 0)
+ Add("0x00000000000001234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x25f, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x260, 0, 0)
+ Add("0x0000000000000000000001234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x261, 0, 0, Local0, 0)
+ }
+
+ // 14. "0x123456789" (hex image exceeding maximal; for 32-bit mode only)
+ if (1) {
+ CH03("", 0, 0x262, 0, 0)
+ Add("0x123456789", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x263, 0, 0, Local0, 0)
+ }
+ }
+
+ // 15. "0x" (incomplete '0x' image)
+ CH03("", 0, 0x264, 0, 0)
+ Add("0x", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x265, 0, 0, Local0, 0)
+ }
+ CH03("", 0, 0x266, 0, 0)
+}
+
+/*
+ * 2. " 0x1234cd" (white space before image of Data is skipped)
+ *
+ * All the above examples but with the white space before image of Data.
+ */
+Method(mf9b) {
+
+ // Hex: 0x - dec
+
+ CH03("", 0, 0x267, 0, 0)
+
+ Add(" 0x0", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x268, 0, 0, Local0, 0)
+ }
+
+ Add(" 0x1", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x269, 0, 0, Local0, 0)
+ }
+
+ Add(" 0x12345678", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x26a, 0, 0, Local0, 0)
+ }
+
+ Add(" 0x1234567890123456", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x26b, 0, 0, Local0, 0)
+ }
+
+ // Hex: 0x - hex
+
+ Add(" 0xabcdefef", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x26c, 0, 0, Local0, 0)
+ }
+
+ Add(" 0xabcdefefadefbcdf", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x26d, 0, 0, Local0, 0)
+ }
+
+ // Hex: 0x - dec/hex
+
+ Add(" 0x1ab2cd340fe05678", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x26e, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x26f, 0, 0)
+ Add(" 0x1ab2cd340fe0567823456789123456789987", 0, Local0)
+ CH03("", 0, 0x270, 0, 0)
+
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x271, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x272, 0, 0)
+
+ /*
+ * Implicit String to Integer (<dec>)
+ *
+ * Method(mf98)
+ */
+
+ CH03("", 0, 0x273, 0, 0)
+
+ Add(" 0", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x274, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x275, 0, 0)
+
+ Add(" 0000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x276, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x277, 0, 0)
+
+ Add(" 000000000000000000000000000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x278, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x279, 0, 0)
+
+ Add(" 000000000000000000000000000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x27a, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x27b, 0, 0)
+
+ Add(" 1", 0, Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x27c, 0, 0, Local0, 1)
+ }
+
+ CH03("", 0, 0x27d, 0, 0)
+
+ Add(" 12345678", 0, Local0)
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x27e, 0, 0, Local0, 0x12345678)
+ }
+
+ CH03("", 0, 0x27f, 0, 0)
+
+ /*
+ * Implicit String to Integer (<hex-dec>)
+ *
+ * Method(mf99)
+ */
+
+ CH03("", 0, 0x280, 0, 0)
+
+ // Hex: 0x - dec
+
+ Add(" 1234567890123456", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x281, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x282, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ // Hex: 0x - hex
+
+ Add(" abcdefef", 0, Local0)
+ if (LNotEqual(Local0, 0xabcdefef)) {
+ err("", zFFF, 0x283, 0, 0, Local0, 0xabcdefef)
+ }
+
+ Add(" abcdefe", 0, Local0)
+ if (LNotEqual(Local0, 0xabcdefe)) {
+ err("", zFFF, 0x284, 0, 0, Local0, 0xabcdefe)
+ }
+
+ Add(" abcdefefadefbcdf", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
+ err("", zFFF, 0x285, 0, 0, Local0, 0xabcdefefadefbcdf)
+ }
+ } else {
+ if (LNotEqual(Local0, 0xabcdefef)) {
+ err("", zFFF, 0x286, 0, 0, Local0, 0xabcdefef)
+ }
+ }
+
+ // Hex: 0x - dec/hex
+
+ Add(" 1ab2cd340fe05678", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
+ err("", zFFF, 0x287, 0, 0, Local0, 0x1ab2cd340fe05678)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x1ab2cd34)) {
+ err("", zFFF, 0x288, 0, 0, Local0, 0x1ab2cd34)
+ }
+ }
+
+ Add(" 1ab2cd340fe05", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1ab2cd340fe05)) {
+ err("", zFFF, 0x289, 0, 0, Local0, 0x1ab2cd340fe05)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x1ab2cd34)) {
+ err("", zFFF, 0x28a, 0, 0, Local0, 0x1ab2cd34)
+ }
+ }
+
+ Add(" 1a", 0, Local0)
+ if (LNotEqual(Local0, 0x1a)) {
+ err("", zFFF, 0x28b, 0, 0, Local0, 0x1a)
+ }
+
+ CH03("", 0, 0x28d, 0, 0)
+
+ /*
+ * No exceptions in special cases which force exceptions on ToInteger
+ *
+ * Method(mf9a)
+ */
+
+ // 5. "1234cd" (non-decimal character in dec-image)
+ CH03("", 0, 0x28e, 0, 0)
+ Add(" 1234cd", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x28f, 0, 0, Local0, 0x1234cd)
+ }
+
+ // 6. "000x1234" (non-decimal character in dec-image)
+ CH03("", 0, 0x290, 0, 0)
+ Add(" 000x1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x291, 0, 0, Local0, 0)
+ }
+
+ // 7. "0x1234cdQ" (non-hex character in '0x'-image)
+ CH03("", 0, 0x292, 0, 0)
+ Add(" 0x1234cdQ", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x293, 0, 0, Local0, 0)
+ }
+ CH03("", 0, 0x294, 0, 0)
+ Add(" 1234cdQ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x295, 0, 0, Local0, 0x1234cd)
+ }
+
+ CH03("", 0, 0x296, 0, 0)
+ Add(" 0x0x12345", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x297, 0, 0, Local0, 0)
+ }
+
+ // 8. "1234 " (white space in dec image)
+ CH03("", 0, 0x298, 0, 0)
+ Add(" 1234 ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234)) {
+ err("", zFFF, 0x299, 0, 0, Local0, 0x1234)
+ }
+
+ // 9. "0x1234cd " (white space in '0x'-image)
+ CH03("", 0, 0x29a, 0, 0)
+ Add(" 1234cd ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x29b, 0, 0, Local0, 0x1234cd)
+ }
+
+ // 10. "0x 1234cdQ" (white space after '0x')
+ CH03("", 0, 0x29c, 0, 0)
+ Add(" 0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x29d, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x29e, 0, 0)
+ Add(" 0x0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x29f, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x2a0, 0, 0)
+ Add(" 0x0x 0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x2a1, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x2a2, 0, 0)
+ Add(" 0x 0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x2a3, 0, 0, Local0, 0)
+ }
+
+ // 11. (decimal image exceeding maximal)
+ // 32-bit mode – the value exceeding "4294967295"
+ if (1) {
+ CH03("", 0, 0x2a4, 0, 0)
+ Add(" 4294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x4294967296)) {
+ err("", zFFF, 0x2a5, 0, 0, Local0, 0x4294967296)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x42949672)) {
+ err("", zFFF, 0x2a6, 0, 0, Local0, 0x42949672)
+ }
+ }
+
+ CH03("", 0, 0x2a7, 0, 0)
+ Add(" 123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x2a8, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x2a9, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x2aa, 0, 0)
+ Add(" 00004294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x4294967296)) {
+ err("", zFFF, 0x2ab, 0, 0, Local0, 0x4294967296)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x42949672)) {
+ err("", zFFF, 0x2ac, 0, 0, Local0, 0x42949672)
+ }
+ }
+
+ CH03("", 0, 0x2ad, 0, 0)
+ Add(" 0123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x2ae, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x2af, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x2b0, 0, 0)
+ Add(" 0123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x2b1, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x2b2, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x2b3, 0, 0)
+ Add(" 123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x2b4, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x2b5, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x2b6, 0, 0)
+ Add(" 123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x2b7, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x2b8, 0, 0, Local0, 0x12345678)
+ }
+ }
+ }
+
+ // 64-bit mode – the value exceeding "18446744073709551615"
+ CH03("", 0, 0x2b8, 0, 0)
+ Add(" 18446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x2b9, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x2ba, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x2bb, 0, 0)
+ Add(" 18446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x2bc, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x2bd, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x2be, 0, 0)
+ Add(" 18446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x2bf, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x2c0, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x2c1, 0, 0)
+ Add(" 018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x2c2, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x2c3, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x2c4, 0, 0)
+ Add(" 000000000018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x2c5, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x2c6, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ // 12. "0x12345678901234567" (hex image exceeding maximal)
+ CH03("", 0, 0x2c7, 0, 0)
+ Add(" 0x12345678901234567", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x2c8, 0, 0, Local0, 0)
+ }
+
+ // 13. "0x00000000000001234" (hex image exceeding maximal; no matter that zeros)
+ CH03("", 0, 0x2ca, 0, 0)
+ Add(" 0x00000000000001234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x2cb, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x2cc, 0, 0)
+ Add(" 0x0000000000000000000001234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x2cd, 0, 0, Local0, 0)
+ }
+
+ // 14. "0x123456789" (hex image exceeding maximal; for 32-bit mode only)
+ if (1) {
+ CH03("", 0, 0x2ce, 0, 0)
+ Add("0x123456789", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x2cf, 0, 0, Local0, 0)
+ }
+ }
+
+ // 15. "0x" (incomplete '0x' image)
+ CH03("", 0, 0x2d0, 0, 0)
+ Add(" 0x", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x2d1, 0, 0, Local0, 0)
+ }
+ CH03("", 0, 0x2d2, 0, 0)
+
+ Add(" 0x", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x2d3, 0, 0, Local0, 0)
+ }
+ CH03("", 0, 0x2d4, 0, 0)
+}
+
+/*
+ * 4. "0000000000000000000000001234"
+ * (zeros before significant characters in image without '0x' are skipped).
+ *
+ * Exampples: mf9b + 000000000
+ *
+ * All the above examples but
+ *
+ * with the white space before image of Data
+ * + 000000000 zeros before image
+ */
+Method(mf9c) {
+
+ // Hex: 0x - dec
+
+ CH03("", 0, 0x367, 0, 0)
+
+ Add(" 0000000000x0", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x368, 0, 0, Local0, 0)
+ }
+
+ Add(" 0000000000x1", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x369, 0, 0, Local0, 0)
+ }
+
+ Add(" 0000000000x12345678", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x36a, 0, 0, Local0, 0)
+ }
+
+ Add(" 0000000000x1234567890123456", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x36b, 0, 0, Local0, 0)
+ }
+
+ // Hex: 0x - hex
+
+ Add(" 0000000000xabcdefef", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x36c, 0, 0, Local0, 0)
+ }
+
+ Add(" 0000000000xabcdefefadefbcdf", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x36d, 0, 0, Local0, 0)
+ }
+
+ // Hex: 0x - dec/hex
+
+ Add(" 0000000000x1ab2cd340fe05678", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x36e, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x36f, 0, 0)
+ Add(" 0000000000x1ab2cd340fe0567823456789123456789987", 0, Local0)
+ CH03("", 0, 0x370, 0, 0)
+
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x371, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x372, 0, 0)
+
+ /*
+ * Implicit String to Integer (<dec>)
+ *
+ * Method(mf98)
+ */
+
+ CH03("", 0, 0x373, 0, 0)
+
+ Add(" 0000000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x374, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x375, 0, 0)
+
+ Add(" 0000000000000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x376, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x377, 0, 0)
+
+ Add(" 000000000000000000000000000000000000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x378, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x379, 0, 0)
+
+ Add(" 000000000000000000000000000000000000000", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x37a, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x37b, 0, 0)
+
+ Add(" 0000000001", 0, Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x37c, 0, 0, Local0, 1)
+ }
+
+ CH03("", 0, 0x37d, 0, 0)
+
+ Add(" 00000000012345678", 0, Local0)
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x37e, 0, 0, Local0, 0x12345678)
+ }
+
+ CH03("", 0, 0x37f, 0, 0)
+
+ /*
+ * Implicit String to Integer (<hex-dec>)
+ *
+ * Method(mf99)
+ */
+
+ CH03("", 0, 0x380, 0, 0)
+
+ // Hex: 0x - dec
+
+ Add(" 0000000001234567890123456", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x381, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x382, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ // Hex: 0x - hex
+
+ Add(" 000000000abcdefef", 0, Local0)
+ if (LNotEqual(Local0, 0xabcdefef)) {
+ err("", zFFF, 0x383, 0, 0, Local0, 0xabcdefef)
+ }
+
+ Add(" 000000000abcdefe", 0, Local0)
+ if (LNotEqual(Local0, 0xabcdefe)) {
+ err("", zFFF, 0x384, 0, 0, Local0, 0xabcdefe)
+ }
+
+ Add(" 000000000abcdefefadefbcdf", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0xabcdefefadefbcdf)) {
+ err("", zFFF, 0x385, 0, 0, Local0, 0xabcdefefadefbcdf)
+ }
+ } else {
+ if (LNotEqual(Local0, 0xabcdefef)) {
+ err("", zFFF, 0x386, 0, 0, Local0, 0xabcdefef)
+ }
+ }
+
+ // Hex: 0x - dec/hex
+
+ Add(" 0000000001ab2cd340fe05678", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1ab2cd340fe05678)) {
+ err("", zFFF, 0x387, 0, 0, Local0, 0x1ab2cd340fe05678)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x1ab2cd34)) {
+ err("", zFFF, 0x388, 0, 0, Local0, 0x1ab2cd34)
+ }
+ }
+
+ Add(" 0000000001ab2cd340fe05", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1ab2cd340fe05)) {
+ err("", zFFF, 0x389, 0, 0, Local0, 0x1ab2cd340fe05)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x1ab2cd34)) {
+ err("", zFFF, 0x38a, 0, 0, Local0, 0x1ab2cd34)
+ }
+ }
+
+ Add(" 0000000001a", 0, Local0)
+ if (LNotEqual(Local0, 0x1a)) {
+ err("", zFFF, 0x38b, 0, 0, Local0, 0x1a)
+ }
+
+ CH03("", 0, 0x38d, 0, 0)
+
+ /*
+ * No exceptions in special cases which force exceptions on ToInteger
+ *
+ * Method(mf9a)
+ */
+
+ // 5. "1234cd" (non-decimal character in dec-image)
+ CH03("", 0, 0x38e, 0, 0)
+ Add(" 0000000001234cd", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x38f, 0, 0, Local0, 0x1234cd)
+ }
+
+ // 6. "000x1234" (non-decimal character in dec-image)
+ CH03("", 0, 0x390, 0, 0)
+ Add(" 000000000000x1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x391, 0, 0, Local0, 0)
+ }
+
+ // 7. "0x1234cdQ" (non-hex character in '0x'-image)
+ CH03("", 0, 0x392, 0, 0)
+ Add(" 0000000000x1234cdQ", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x393, 0, 0, Local0, 0)
+ }
+ CH03("", 0, 0x394, 0, 0)
+ Add(" 0000000001234cdQ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x395, 0, 0, Local0, 0x1234cd)
+ }
+
+ CH03("", 0, 0x396, 0, 0)
+ Add(" 0000000000x0x12345", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x397, 0, 0, Local0, 0)
+ }
+
+ // 8. "1234 " (white space in dec image)
+ CH03("", 0, 0x398, 0, 0)
+ Add(" 0000000001234 ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234)) {
+ err("", zFFF, 0x399, 0, 0, Local0, 0x1234)
+ }
+
+ // 9. "0x1234cd " (white space in '0x'-image)
+ CH03("", 0, 0x39a, 0, 0)
+ Add(" 0000000001234cd ", 0, Local0)
+ if (LNotEqual(Local0, 0x1234cd)) {
+ err("", zFFF, 0x39b, 0, 0, Local0, 0x1234cd)
+ }
+
+ // 10. "0x 1234cdQ" (white space after '0x')
+ CH03("", 0, 0x39c, 0, 0)
+ Add(" 0000000000x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x39d, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x39e, 0, 0)
+ Add(" 0000000000x0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x39f, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x3a0, 0, 0)
+ Add(" 0000000000x0x 0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x3a1, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x3a2, 0, 0)
+ Add(" 0000000000x 0x 1234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x3a3, 0, 0, Local0, 0)
+ }
+
+ // 11. (decimal image exceeding maximal)
+ // 32-bit mode – the value exceeding "4294967295"
+ if (1) {
+ CH03("", 0, 0x3a4, 0, 0)
+ Add(" 0000000004294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x4294967296)) {
+ err("", zFFF, 0x3a5, 0, 0, Local0, 0x4294967296)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x42949672)) {
+ err("", zFFF, 0x3a6, 0, 0, Local0, 0x42949672)
+ }
+ }
+
+ CH03("", 0, 0x3a7, 0, 0)
+ Add(" 000000000123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x3a8, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x3a9, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x3aa, 0, 0)
+ Add(" 00000000000004294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x4294967296)) {
+ err("", zFFF, 0x3ab, 0, 0, Local0, 0x4294967296)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x42949672)) {
+ err("", zFFF, 0x3ac, 0, 0, Local0, 0x42949672)
+ }
+ }
+
+ CH03("", 0, 0x3ad, 0, 0)
+ Add(" 0000000000123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x3ae, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x3af, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x3b0, 0, 0)
+ Add(" 0000000000123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x3b1, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x3b2, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x3b3, 0, 0)
+ Add(" 000000000123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x3b4, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x3b5, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03("", 0, 0x3b6, 0, 0)
+ Add(" 000000000123456789012345678904294967296", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x3b7, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x3b8, 0, 0, Local0, 0x12345678)
+ }
+ }
+ }
+
+ // 64-bit mode – the value exceeding "18446744073709551615"
+ CH03("", 0, 0x3b8, 0, 0)
+ Add(" 00000000018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x3b9, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x3ba, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x3bb, 0, 0)
+ Add(" 00000000018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x3bc, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x3bd, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x3be, 0, 0)
+ Add(" 00000000018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x3bf, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x3c0, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x3c1, 0, 0)
+ Add(" 000000000018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x3c2, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x3c3, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ CH03("", 0, 0x3c4, 0, 0)
+ Add(" 000000000000000000018446744073709551616", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1844674407370955)) {
+ err("", zFFF, 0x3c5, 0, 0, Local0, 0x1844674407370955)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x18446744)) {
+ err("", zFFF, 0x3c6, 0, 0, Local0, 0x18446744)
+ }
+ }
+
+ // 12. "0x12345678901234567" (hex image exceeding maximal)
+ CH03("", 0, 0x3c7, 0, 0)
+ Add(" 0000000000x12345678901234567", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x3c8, 0, 0, Local0, 0)
+ }
+
+ // 13. "0x00000000000001234" (hex image exceeding maximal; no matter that zeros)
+ CH03("", 0, 0x3ca, 0, 0)
+ Add(" 0000000000x00000000000001234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x3cb, 0, 0, Local0, 0)
+ }
+
+ CH03("", 0, 0x3cc, 0, 0)
+ Add(" 0000000000x0000000000000000000001234", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x3cd, 0, 0, Local0, 0)
+ }
+
+ // 14. "0x123456789" (hex image exceeding maximal; for 32-bit mode only)
+ if (1) {
+ CH03("", 0, 0x3ce, 0, 0)
+ Add("0x123456789", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x3cf, 0, 0, Local0, 0)
+ }
+ }
+
+ // 15. "0x" (incomplete '0x' image)
+ CH03("", 0, 0x3d0, 0, 0)
+ Add(" 0000000000x", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x3d1, 0, 0, Local0, 0)
+ }
+ CH03("", 0, 0x3d2, 0, 0)
+
+ Add(" 0000000000x", 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x3d3, 0, 0, Local0, 0)
+ }
+ CH03("", 0, 0x3d4, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/MAIN.asl
index c0c170a3a..b782d495a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B63.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0063/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0063/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B63.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0063/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0063/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/Misc.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/Misc.asl
index 733b76a26..a81aa3b69 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/Misc.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/Misc.asl
@@ -1,400 +1,400 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 63:
- *
- * SUMMARY
- *
- * String to Integer conversion contradicts new April 2005 Conversion Rules
- *
- * EXAMPLES
- *
- * Add("0x1111", 0) returns 0x1111 but 0 is expected
- * Add("12345678901234560", 0x1111111111111111) causes AE_BAD_HEX_CONSTANT
- * Add("00000000000012345678", 0) returns 0x12345678 but 0x1234 is expected
- *
- * ROOT CAUSE
- *
- * SPECS (NEW, March 12 2005)
- *
- * String --> Integer
- *
- * If no integer object exists, a new integer is created.
- * The integer is initialized to the value zero and the ASCII
- * string is interpreted as a hexadecimal constant. Each string
- * character is interpreted as a hexadecimal value (‘0’-‘9’, ‘A’-‘F’, ‘a’-‘f’),
- * starting with the first character as the most significant digit and ending
- * with the first non-hexadecimal character, end-of-string, or when the size
- * of an integer is reached (8 characters for 32-bit integers and 16 characters
- * for 64-bit integers). Note: the first non-hex character terminates the
- * conversion without error, and a “0x” prefix is not allowed.
- */
-
-/*
- * To be completed !!!!!!!
- *
- * What to do else below:
- *
- * 1. Set correct results in 32 and 64 bit modes (now it is not done!)
- * 2. Change places of operands, that is use both:
- Add("12345678", 0x11111111, Local0)
- Add(0x11111111, "12345678", Local0)
-
- * 3. Pass operators by parameters !!!!
- * 4. Issues:
- * 1) octal - 01232211
- * 2) zeros at the beginning - 0000000abcdef
- * 3) large hex image - abcdef123456789123456789
- */
-/*
-Store("VVVVVVVVVVVVVVVVVVVVVVVVVV", Debug)
-Store(0123, Debug)
-Store(83, Debug)
-Add(0x1234, 83, Local0)
-Store(Local0, Debug)
-return
-*/
-
-/*
- * All the possible attempts to confuse calculation
- */
-Method(md74,, Serialized) {
-
- Name(ts, "md74")
-
- // 8 decimal
- Add("12345678", 0x11111111, Local0)
- if (LNotEqual(Local0, 0x23456789)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0x23456789)
- }
-
- // 8 hex
- Add("abcdefab", 0x11111111, Local0)
- if (LNotEqual(Local0, 0xbcdf00bc)) {
- err("", zFFF, 0x001, 0, 0, Local0, 0xbcdf00bc)
- }
-
- // 16 decimal
- Add("1234567890876543", 0x1111111111111111, Local0)
- if (LNotEqual(Local0, 0x23456789a1987654)) {
- err("", zFFF, 0x002, 0, 0, Local0, 0x23456789a1987654)
- }
-
- // 16 hex
- Add("abcdefababcdfead", 0x1111111111111111, Local0)
- if (LNotEqual(Local0, 0xbcdf00bcbcdf0fbe)) {
- err("", zFFF, 0x003, 0, 0, Local0, 0xbcdf00bcbcdf0fbe)
- }
-
- // 17 hex
- Add("1234567890123456z", 0x1111111111111111, Local0)
- if (LNotEqual(Local0, 0x23456789a1234567)) {
- err("", zFFF, 0x004, 0, 0, Local0, 0x23456789a1234567)
- }
-
- // 17 hex (caused AE_BAD_HEX_CONSTANT, 28.09.2005)
- Add("12345678901234560", 0x1111111111111111, Local0)
- if (LNotEqual(Local0, 0x23456789a1234567)) {
- err("", zFFF, 0x005, 0, 0, Local0, 0x23456789a1234567)
- }
-
- // Looks like octal, but should be treated as hex
- Add("01111", 0x2222, Local0)
- if (LNotEqual(Local0, 0x3333)) {
- err("", zFFF, 0x006, 0, 0, Local0, 0x3333)
- }
-
- // The first zeros each must be put into value
-
- Add("000010234", 0, Local0)
- if (LNotEqual(Local0, 0x10234)) {
- err("", zFFF, 0x007, 0, 0, Local0, 0x10234)
- }
-
- Add("000000000000000010234", 0, Local0)
- if (LNotEqual(Local0, 0x10234)) {
- err("", zFFF, 0x008, 0, 0, Local0, 0x10234)
- }
-
- Add("00000000000000010234", 0, Local0)
- if (LNotEqual(Local0, 0x10234)) {
- err("", zFFF, 0x009, 0, 0, Local0, 0x10234)
- }
-
- Add("0000000010234", 0, Local0)
- if (LNotEqual(Local0, 0x10234)) {
- err("", zFFF, 0x00a, 0, 0, Local0, 0x10234)
- }
-
- Add("000000010234", 0, Local0)
- if (LNotEqual(Local0, 0x10234)) {
- err("", zFFF, 0x00b, 0, 0, Local0, 0x10234)
- }
-
- // Non-complete 4 hex, should be extended with zeros
- Add("abcd", 0x1111, Local0)
- if (LNotEqual(Local0, 0xbcde)) {
- err("", zFFF, 0x00c, 0, 0, Local0, 0xbcde)
- }
-
- // Non-complete 5 decimal, should be extended with zeros
- Add("12345", 0x1111, Local0)
- if (LNotEqual(Local0, 0x13456)) {
- err("", zFFF, 0x00d, 0, 0, Local0, 0x13456)
- }
-
- CH03(ts, zFFF, 0x100, 0, 0)
-
- // Too large, all hex, should be trancated
- Add("abcdef0123456789112233445566778890", 0, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0xabcdef0123456789)) {
- err("", zFFF, 0x00e, 0, 0, Local0, 0xabcdef0123456789)
- }
- } else {
- if (LNotEqual(Local0, 0xabcdef01)) {
- err("", zFFF, 0x00f, 0, 0, Local0, 0xabcdef01)
- }
- }
-
- CH03(ts, zFFF, 0x101, 0, 0)
-
- // Large, all hex, looks like octal, should be trancated
- Add("0abcdef0123456789112233445566778890", 0x1234, Local0)
- if (F64) {
- if (LNotEqual(Local0, 0xabcdef0123456789)) {
- err("", zFFF, 0x010, 0, 0, Local0, 0xabcdef0123456789)
- }
- } else {
- if (LNotEqual(Local0, 0xabcdef01)) {
- err("", zFFF, 0x011, 0, 0, Local0, 0xabcdef01)
- }
- }
-
- CH03(ts, zFFF, 0x102, 0, 0)
-
- // Looks like usual hex, but 'x' terminates conversion
- Add("0x1111", 0x2222, Local0)
- if (LNotEqual(Local0, 0x2222)) {
- err("", zFFF, 0x012, 0, 0, Local0, 0x2222)
- }
-
- CH03(ts, zFFF, 0x103, 0, 0)
-
- // Empty string, no action - the relevant parameter of Add remains zero
- Add("", 222, Local0)
- if (LNotEqual(Local0, 222)) {
- err("", zFFF, 0x013, 0, 0, Local0, 222)
- }
-
- CH03(ts, zFFF, 0x104, 0, 0)
-
- // Blank string, no action - the relevant parameter of Add remains zero
- Add(" ", 0x333, Local0)
- if (LNotEqual(Local0, 0x333)) {
- err("", zFFF, 0x014, 0, 0, Local0, 0x333)
- }
-
- CH03(ts, zFFF, 0x105, 0, 0)
-
- // Blank string, no action - the relevant parameter of Add remains zero
- Add(" ", 0222, Local0)
- if (LNotEqual(Local0, 0222)) {
- err("", zFFF, 0x015, 0, 0, Local0, 0222)
- }
-
- CH03(ts, zFFF, 0x106, 0, 0)
-
- // Conversion is terminated just by the first symbol (non-hex) though followed by hex-es, remains zero
- Add("k1234567", 489, Local0)
- if (LNotEqual(Local0, 489)) {
- err("", zFFF, 0x016, 0, 0, Local0, 489)
- }
-
- // Conversion is terminated just by the first symbol (non-hex), single
- Add("k", 0xabcdef0000, Local0)
- if (LNotEqual(Local0, 0xabcdef0000)) {
- err("", zFFF, 0x017, 0, 0, Local0, 0xabcdef0000)
- }
-
- CH03(ts, zFFF, 0x107, 0, 0)
-
- // Looks like designation of hex (terminated by x)
- Add("0x", 0x12345678, Local0)
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x018, 0, 0, Local0, 0x12345678)
- }
-
- CH03(ts, zFFF, 0x108, 0, 0)
-
- // Special symbol in the hex designation (terminated by x)
- Add("x", 12345678, Local0)
- if (LNotEqual(Local0, 12345678)) {
- err("", zFFF, 0x019, 0, 0, Local0, 12345678)
- }
-
- // Starts with the special symbol in the hex designation (terminated by x)
- Add("x12345", 111, Local0)
- if (LNotEqual(Local0, 111)) {
- err("", zFFF, 0x01a, 0, 0, Local0, 111)
- }
-
- // No one hex, conversion is terminated just by the first symbol Z
- Add("ZZZZ", 123456, Local0)
- if (LNotEqual(Local0, 123456)) {
- err("", zFFF, 0x01b, 0, 0, Local0, 123456)
- }
-
- // Short <= 8, conversion is terminated by non-hex symbol Z
- Add("abcdZZZZ", 0x11, Local0)
- if (LNotEqual(Local0, 0xabde)) {
- err("", zFFF, 0x01c, 0, 0, Local0, 0xabde)
- }
-
- // Short <= 8, hex in the middle (terminated by Z)
- Add("ZQ123MMM", 123456, Local0)
- if (LNotEqual(Local0, 123456)) {
- err("", zFFF, 0x01d, 0, 0, Local0, 123456)
- }
-
- // Short <= 8, hex at the end (terminated by Z)
- Add("ZQMMM123", 123456, Local0)
- if (LNotEqual(Local0, 123456)) {
- err("", zFFF, 0x01e, 0, 0, Local0, 123456)
- }
-
- // Long exceeding 16, no one hex
- Add("zxswqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuuuu", 123, Local0)
- if (LNotEqual(Local0, 123)) {
- err("", zFFF, 0x01f, 0, 0, Local0, 123)
- }
-
- // Long exceeding 16, hex at the beginning
- Add("1234zxswqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuuuu", 0123, Local0)
- if (LNotEqual(Local0, 0x1287)) {
- err("", zFFF, 0x020, 0, 0, Local0, 0x1287)
- }
-
- // Long exceeding 16, hex everywhere
- Add("123z4s5qr6rr7rrrrrrrrr8ttttttt9ttttttattttbttttcyyyydyyeyyyyyyyyuuuuuuuuuuuuuuuuuuuuf", 0123, Local0)
- if (LNotEqual(Local0, 0x176)) {
- err("", zFFF, 0x021, 0, 0, Local0, 0x176)
- }
-
- // Long exceeding 16, hex at the end
- Add("zxswqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuuuu1234", 012321, Local0)
- if (LNotEqual(Local0, 012321)) {
- err("", zFFF, 0x022, 0, 0, Local0, 012321)
- }
-
- // Long exceeding 16, hex in the middle inside the possible Integer
- Add("zx1234swqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuuuu", 0x12321, Local0)
- if (LNotEqual(Local0, 0x12321)) {
- err("", zFFF, 0x023, 0, 0, Local0, 0x12321)
- }
-
- // Long exceeding 16, hex in the middle beyond the bounds of the possible Integer
- Add("zxswqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuu1234uu", 12321, Local0)
- if (LNotEqual(Local0, 12321)) {
- err("", zFFF, 0x024, 0, 0, Local0, 12321)
- }
-
- CH03(ts, zFFF, 0x109, 0, 0)
-
- // Only decimal, much more than 16
- Store(Add("123456789012345601112223334446667788990087654", 0), Local1)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x025, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x026, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03(ts, zFFF, 0x10a, 0, 0)
-
- // Only hex, much more than 16
- Store(Add("abcdefabcdefabcdefabcdefabcdefabcdefabcdefabc", 0), Local1)
- if (F64) {
- if (LNotEqual(Local0, 0xabcdefabcdefabcd)) {
- err("", zFFF, 0x027, 0, 0, Local0, 0xabcdefabcdefabcd)
- }
- } else {
- if (LNotEqual(Local0, 0xabcdefab)) {
- err("", zFFF, 0x028, 0, 0, Local0, 0xabcdefab)
- }
- }
-
- CH03(ts, zFFF, 0x10b, 0, 0)
-
- // Only decimal, much more than 16, non-hex at the end
- Store(Add("123456789012345601112223334446667788990087654ZZZZ", 0), Local1)
- if (F64) {
- if (LNotEqual(Local0, 0x1234567890123456)) {
- err("", zFFF, 0x029, 0, 0, Local0, 0x1234567890123456)
- }
- } else {
- if (LNotEqual(Local0, 0x12345678)) {
- err("", zFFF, 0x02a, 0, 0, Local0, 0x12345678)
- }
- }
-
- CH03(ts, zFFF, 0x10c, 0, 0)
-
- // Only hex, much more than 16, non-hex at the end
- Store(Add("abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcZZZZ", 0), Local1)
- if (F64) {
- if (LNotEqual(Local0, 0xabcdefabcdefabcd)) {
- err("", zFFF, 0x02b, 0, 0, Local0, 0xabcdefabcdefabcd)
- }
- } else {
- if (LNotEqual(Local0, 0xabcdefab)) {
- err("", zFFF, 0x02c, 0, 0, Local0, 0xabcdefab)
- }
- }
-
- CH03(ts, zFFF, 0x10d, 0, 0)
-}
-
-Method(md75) {
- // Do here the same as md74 but store Result by Store
-}
-
-Method(md76,, Serialized) {
-
- Name(ts, "md76")
-
- CH03(ts, zFFF, 0x10e, 0, 0)
- md74()
- CH03(ts, zFFF, 0x10f, 0, 0)
- md75()
- CH03(ts, zFFF, 0x110, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 63:
+ *
+ * SUMMARY
+ *
+ * String to Integer conversion contradicts new April 2005 Conversion Rules
+ *
+ * EXAMPLES
+ *
+ * Add("0x1111", 0) returns 0x1111 but 0 is expected
+ * Add("12345678901234560", 0x1111111111111111) causes AE_BAD_HEX_CONSTANT
+ * Add("00000000000012345678", 0) returns 0x12345678 but 0x1234 is expected
+ *
+ * ROOT CAUSE
+ *
+ * SPECS (NEW, March 12 2005)
+ *
+ * String --> Integer
+ *
+ * If no integer object exists, a new integer is created.
+ * The integer is initialized to the value zero and the ASCII
+ * string is interpreted as a hexadecimal constant. Each string
+ * character is interpreted as a hexadecimal value (‘0’-‘9’, ‘A’-‘F’, ‘a’-‘f’),
+ * starting with the first character as the most significant digit and ending
+ * with the first non-hexadecimal character, end-of-string, or when the size
+ * of an integer is reached (8 characters for 32-bit integers and 16 characters
+ * for 64-bit integers). Note: the first non-hex character terminates the
+ * conversion without error, and a “0x” prefix is not allowed.
+ */
+
+/*
+ * To be completed !!!!!!!
+ *
+ * What to do else below:
+ *
+ * 1. Set correct results in 32 and 64 bit modes (now it is not done!)
+ * 2. Change places of operands, that is use both:
+ Add("12345678", 0x11111111, Local0)
+ Add(0x11111111, "12345678", Local0)
+
+ * 3. Pass operators by parameters !!!!
+ * 4. Issues:
+ * 1) octal - 01232211
+ * 2) zeros at the beginning - 0000000abcdef
+ * 3) large hex image - abcdef123456789123456789
+ */
+/*
+Store("VVVVVVVVVVVVVVVVVVVVVVVVVV", Debug)
+Store(0123, Debug)
+Store(83, Debug)
+Add(0x1234, 83, Local0)
+Store(Local0, Debug)
+return
+*/
+
+/*
+ * All the possible attempts to confuse calculation
+ */
+Method(md74,, Serialized) {
+
+ Name(ts, "md74")
+
+ // 8 decimal
+ Add("12345678", 0x11111111, Local0)
+ if (LNotEqual(Local0, 0x23456789)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0x23456789)
+ }
+
+ // 8 hex
+ Add("abcdefab", 0x11111111, Local0)
+ if (LNotEqual(Local0, 0xbcdf00bc)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 0xbcdf00bc)
+ }
+
+ // 16 decimal
+ Add("1234567890876543", 0x1111111111111111, Local0)
+ if (LNotEqual(Local0, 0x23456789a1987654)) {
+ err("", zFFF, 0x002, 0, 0, Local0, 0x23456789a1987654)
+ }
+
+ // 16 hex
+ Add("abcdefababcdfead", 0x1111111111111111, Local0)
+ if (LNotEqual(Local0, 0xbcdf00bcbcdf0fbe)) {
+ err("", zFFF, 0x003, 0, 0, Local0, 0xbcdf00bcbcdf0fbe)
+ }
+
+ // 17 hex
+ Add("1234567890123456z", 0x1111111111111111, Local0)
+ if (LNotEqual(Local0, 0x23456789a1234567)) {
+ err("", zFFF, 0x004, 0, 0, Local0, 0x23456789a1234567)
+ }
+
+ // 17 hex (caused AE_BAD_HEX_CONSTANT, 28.09.2005)
+ Add("12345678901234560", 0x1111111111111111, Local0)
+ if (LNotEqual(Local0, 0x23456789a1234567)) {
+ err("", zFFF, 0x005, 0, 0, Local0, 0x23456789a1234567)
+ }
+
+ // Looks like octal, but should be treated as hex
+ Add("01111", 0x2222, Local0)
+ if (LNotEqual(Local0, 0x3333)) {
+ err("", zFFF, 0x006, 0, 0, Local0, 0x3333)
+ }
+
+ // The first zeros each must be put into value
+
+ Add("000010234", 0, Local0)
+ if (LNotEqual(Local0, 0x10234)) {
+ err("", zFFF, 0x007, 0, 0, Local0, 0x10234)
+ }
+
+ Add("000000000000000010234", 0, Local0)
+ if (LNotEqual(Local0, 0x10234)) {
+ err("", zFFF, 0x008, 0, 0, Local0, 0x10234)
+ }
+
+ Add("00000000000000010234", 0, Local0)
+ if (LNotEqual(Local0, 0x10234)) {
+ err("", zFFF, 0x009, 0, 0, Local0, 0x10234)
+ }
+
+ Add("0000000010234", 0, Local0)
+ if (LNotEqual(Local0, 0x10234)) {
+ err("", zFFF, 0x00a, 0, 0, Local0, 0x10234)
+ }
+
+ Add("000000010234", 0, Local0)
+ if (LNotEqual(Local0, 0x10234)) {
+ err("", zFFF, 0x00b, 0, 0, Local0, 0x10234)
+ }
+
+ // Non-complete 4 hex, should be extended with zeros
+ Add("abcd", 0x1111, Local0)
+ if (LNotEqual(Local0, 0xbcde)) {
+ err("", zFFF, 0x00c, 0, 0, Local0, 0xbcde)
+ }
+
+ // Non-complete 5 decimal, should be extended with zeros
+ Add("12345", 0x1111, Local0)
+ if (LNotEqual(Local0, 0x13456)) {
+ err("", zFFF, 0x00d, 0, 0, Local0, 0x13456)
+ }
+
+ CH03(ts, zFFF, 0x100, 0, 0)
+
+ // Too large, all hex, should be trancated
+ Add("abcdef0123456789112233445566778890", 0, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0xabcdef0123456789)) {
+ err("", zFFF, 0x00e, 0, 0, Local0, 0xabcdef0123456789)
+ }
+ } else {
+ if (LNotEqual(Local0, 0xabcdef01)) {
+ err("", zFFF, 0x00f, 0, 0, Local0, 0xabcdef01)
+ }
+ }
+
+ CH03(ts, zFFF, 0x101, 0, 0)
+
+ // Large, all hex, looks like octal, should be trancated
+ Add("0abcdef0123456789112233445566778890", 0x1234, Local0)
+ if (F64) {
+ if (LNotEqual(Local0, 0xabcdef0123456789)) {
+ err("", zFFF, 0x010, 0, 0, Local0, 0xabcdef0123456789)
+ }
+ } else {
+ if (LNotEqual(Local0, 0xabcdef01)) {
+ err("", zFFF, 0x011, 0, 0, Local0, 0xabcdef01)
+ }
+ }
+
+ CH03(ts, zFFF, 0x102, 0, 0)
+
+ // Looks like usual hex, but 'x' terminates conversion
+ Add("0x1111", 0x2222, Local0)
+ if (LNotEqual(Local0, 0x2222)) {
+ err("", zFFF, 0x012, 0, 0, Local0, 0x2222)
+ }
+
+ CH03(ts, zFFF, 0x103, 0, 0)
+
+ // Empty string, no action - the relevant parameter of Add remains zero
+ Add("", 222, Local0)
+ if (LNotEqual(Local0, 222)) {
+ err("", zFFF, 0x013, 0, 0, Local0, 222)
+ }
+
+ CH03(ts, zFFF, 0x104, 0, 0)
+
+ // Blank string, no action - the relevant parameter of Add remains zero
+ Add(" ", 0x333, Local0)
+ if (LNotEqual(Local0, 0x333)) {
+ err("", zFFF, 0x014, 0, 0, Local0, 0x333)
+ }
+
+ CH03(ts, zFFF, 0x105, 0, 0)
+
+ // Blank string, no action - the relevant parameter of Add remains zero
+ Add(" ", 0222, Local0)
+ if (LNotEqual(Local0, 0222)) {
+ err("", zFFF, 0x015, 0, 0, Local0, 0222)
+ }
+
+ CH03(ts, zFFF, 0x106, 0, 0)
+
+ // Conversion is terminated just by the first symbol (non-hex) though followed by hex-es, remains zero
+ Add("k1234567", 489, Local0)
+ if (LNotEqual(Local0, 489)) {
+ err("", zFFF, 0x016, 0, 0, Local0, 489)
+ }
+
+ // Conversion is terminated just by the first symbol (non-hex), single
+ Add("k", 0xabcdef0000, Local0)
+ if (LNotEqual(Local0, 0xabcdef0000)) {
+ err("", zFFF, 0x017, 0, 0, Local0, 0xabcdef0000)
+ }
+
+ CH03(ts, zFFF, 0x107, 0, 0)
+
+ // Looks like designation of hex (terminated by x)
+ Add("0x", 0x12345678, Local0)
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x018, 0, 0, Local0, 0x12345678)
+ }
+
+ CH03(ts, zFFF, 0x108, 0, 0)
+
+ // Special symbol in the hex designation (terminated by x)
+ Add("x", 12345678, Local0)
+ if (LNotEqual(Local0, 12345678)) {
+ err("", zFFF, 0x019, 0, 0, Local0, 12345678)
+ }
+
+ // Starts with the special symbol in the hex designation (terminated by x)
+ Add("x12345", 111, Local0)
+ if (LNotEqual(Local0, 111)) {
+ err("", zFFF, 0x01a, 0, 0, Local0, 111)
+ }
+
+ // No one hex, conversion is terminated just by the first symbol Z
+ Add("ZZZZ", 123456, Local0)
+ if (LNotEqual(Local0, 123456)) {
+ err("", zFFF, 0x01b, 0, 0, Local0, 123456)
+ }
+
+ // Short <= 8, conversion is terminated by non-hex symbol Z
+ Add("abcdZZZZ", 0x11, Local0)
+ if (LNotEqual(Local0, 0xabde)) {
+ err("", zFFF, 0x01c, 0, 0, Local0, 0xabde)
+ }
+
+ // Short <= 8, hex in the middle (terminated by Z)
+ Add("ZQ123MMM", 123456, Local0)
+ if (LNotEqual(Local0, 123456)) {
+ err("", zFFF, 0x01d, 0, 0, Local0, 123456)
+ }
+
+ // Short <= 8, hex at the end (terminated by Z)
+ Add("ZQMMM123", 123456, Local0)
+ if (LNotEqual(Local0, 123456)) {
+ err("", zFFF, 0x01e, 0, 0, Local0, 123456)
+ }
+
+ // Long exceeding 16, no one hex
+ Add("zxswqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuuuu", 123, Local0)
+ if (LNotEqual(Local0, 123)) {
+ err("", zFFF, 0x01f, 0, 0, Local0, 123)
+ }
+
+ // Long exceeding 16, hex at the beginning
+ Add("1234zxswqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuuuu", 0123, Local0)
+ if (LNotEqual(Local0, 0x1287)) {
+ err("", zFFF, 0x020, 0, 0, Local0, 0x1287)
+ }
+
+ // Long exceeding 16, hex everywhere
+ Add("123z4s5qr6rr7rrrrrrrrr8ttttttt9ttttttattttbttttcyyyydyyeyyyyyyyyuuuuuuuuuuuuuuuuuuuuf", 0123, Local0)
+ if (LNotEqual(Local0, 0x176)) {
+ err("", zFFF, 0x021, 0, 0, Local0, 0x176)
+ }
+
+ // Long exceeding 16, hex at the end
+ Add("zxswqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuuuu1234", 012321, Local0)
+ if (LNotEqual(Local0, 012321)) {
+ err("", zFFF, 0x022, 0, 0, Local0, 012321)
+ }
+
+ // Long exceeding 16, hex in the middle inside the possible Integer
+ Add("zx1234swqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuuuu", 0x12321, Local0)
+ if (LNotEqual(Local0, 0x12321)) {
+ err("", zFFF, 0x023, 0, 0, Local0, 0x12321)
+ }
+
+ // Long exceeding 16, hex in the middle beyond the bounds of the possible Integer
+ Add("zxswqrrrrrrrrrrrrrrtttttttttttttttttttttttttyyyyyyyyyyyyyyyyyyuuuuuuuuuuuuuuuuuuuuu1234uu", 12321, Local0)
+ if (LNotEqual(Local0, 12321)) {
+ err("", zFFF, 0x024, 0, 0, Local0, 12321)
+ }
+
+ CH03(ts, zFFF, 0x109, 0, 0)
+
+ // Only decimal, much more than 16
+ Store(Add("123456789012345601112223334446667788990087654", 0), Local1)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x025, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x026, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03(ts, zFFF, 0x10a, 0, 0)
+
+ // Only hex, much more than 16
+ Store(Add("abcdefabcdefabcdefabcdefabcdefabcdefabcdefabc", 0), Local1)
+ if (F64) {
+ if (LNotEqual(Local0, 0xabcdefabcdefabcd)) {
+ err("", zFFF, 0x027, 0, 0, Local0, 0xabcdefabcdefabcd)
+ }
+ } else {
+ if (LNotEqual(Local0, 0xabcdefab)) {
+ err("", zFFF, 0x028, 0, 0, Local0, 0xabcdefab)
+ }
+ }
+
+ CH03(ts, zFFF, 0x10b, 0, 0)
+
+ // Only decimal, much more than 16, non-hex at the end
+ Store(Add("123456789012345601112223334446667788990087654ZZZZ", 0), Local1)
+ if (F64) {
+ if (LNotEqual(Local0, 0x1234567890123456)) {
+ err("", zFFF, 0x029, 0, 0, Local0, 0x1234567890123456)
+ }
+ } else {
+ if (LNotEqual(Local0, 0x12345678)) {
+ err("", zFFF, 0x02a, 0, 0, Local0, 0x12345678)
+ }
+ }
+
+ CH03(ts, zFFF, 0x10c, 0, 0)
+
+ // Only hex, much more than 16, non-hex at the end
+ Store(Add("abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcZZZZ", 0), Local1)
+ if (F64) {
+ if (LNotEqual(Local0, 0xabcdefabcdefabcd)) {
+ err("", zFFF, 0x02b, 0, 0, Local0, 0xabcdefabcdefabcd)
+ }
+ } else {
+ if (LNotEqual(Local0, 0xabcdefab)) {
+ err("", zFFF, 0x02c, 0, 0, Local0, 0xabcdefab)
+ }
+ }
+
+ CH03(ts, zFFF, 0x10d, 0, 0)
+}
+
+Method(md75) {
+ // Do here the same as md74 but store Result by Store
+}
+
+Method(md76,, Serialized) {
+
+ Name(ts, "md76")
+
+ CH03(ts, zFFF, 0x10e, 0, 0)
+ md74()
+ CH03(ts, zFFF, 0x10f, 0, 0)
+ md75()
+ CH03(ts, zFFF, 0x110, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/RUN.asl
index 832183b53..1c97c29c0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0063/RUN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 63", TCLD, 63, W017)) {
- // SRMT("md76")
- // md76()
- SRMT("mf92")
- mf92()
- SRMT("mf93")
- mf93()
- SRMT("mf94")
- mf94()
- SRMT("mf95")
- mf95()
- SRMT("mf96")
- mf96()
- SRMT("mf97")
- mf97()
- SRMT("mf98")
- mf98()
- SRMT("mf99")
- mf99()
- SRMT("mf9a")
- mf9a()
- SRMT("mf9b")
- mf9b()
- SRMT("mf9c")
- mf9c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 63", TCLD, 63, W017)) {
+ // SRMT("md76")
+ // md76()
+ SRMT("mf92")
+ mf92()
+ SRMT("mf93")
+ mf93()
+ SRMT("mf94")
+ mf94()
+ SRMT("mf95")
+ mf95()
+ SRMT("mf96")
+ mf96()
+ SRMT("mf97")
+ mf97()
+ SRMT("mf98")
+ mf98()
+ SRMT("mf99")
+ mf99()
+ SRMT("mf9a")
+ mf9a()
+ SRMT("mf9b")
+ mf9b()
+ SRMT("mf9c")
+ mf9c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/DECL.asl
index b6be2553a..4d609145b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/DECL.asl
@@ -1,81 +1,81 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 64:
- *
- * SUMMARY: Specific operations should initiate AE_BAD_HEX_CONSTANT exceptions
- */
-
-
- Method(mf61, 1)
- {
- CH03("", 0, 0x000, 0, 0)
- Add("", 0xabcd0000, Local0)
- if (LNotEqual(Local0, 0xabcd0000)) {
- err("", zFFF, 0x001, 0, 0, Local0, 0xabcd0000)
- }
- CH03("", 0, 0x002, 0, 0)
-
- CH03("", 0, 0x003, 0, 0)
- Add(" ", 0xabcd0001, Local0)
- if (LNotEqual(Local0, 0xabcd0001)) {
- err("", zFFF, 0x004, 0, 0, Local0, 0xabcd0001)
- }
- CH03("", 0, 0x005, 0, 0)
-
- CH03("", 0, 0x006, 0, 0)
- ToInteger("", Local0)
- CH04("", 0, 36, 0, 0x007, 0, 0) // AE_BAD_DECIMAL_CONSTANT
-
- CH03("", 0, 0x008, 0, 0)
- ToInteger(" ", Local0)
- CH04("", 0, 36, 0, 0x009, 0, 0) // AE_BAD_DECIMAL_CONSTANT
-
- CH03("", 0, 0x00a, 0, 0)
- Add("q", 0xabcd0002, Local0)
- if (LNotEqual(Local0, 0xabcd0002)) {
- err("", zFFF, 0x00b, 0, 0, Local0, 0xabcd0002)
- }
- CH03("", 0, 0x00c, 0, 0)
-
- CH03("", 0, 0x00d, 0, 0)
- Add("q ", 0xabcd0003, Local0)
- if (LNotEqual(Local0, 0xabcd0003)) {
- err("", zFFF, 0x00e, 0, 0, Local0, 0xabcd0003)
- }
- CH03("", 0, 0x00f, 0, 0)
-
- CH03("", 0, 0x010, 0, 0)
- ToInteger("q", Local0)
- CH04("", 0, 36, 0, 0x011, 0, 0) // AE_BAD_DECIMAL_CONSTANT
-
- CH03("", 0, 0x012, 0, 0)
- ToInteger("q ", Local0)
- CH04("", 0, 36, 0, 0x013, 0, 0) // AE_BAD_DECIMAL_CONSTANT
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 64:
+ *
+ * SUMMARY: Specific operations should initiate AE_BAD_HEX_CONSTANT exceptions
+ */
+
+
+ Method(mf61, 1)
+ {
+ CH03("", 0, 0x000, 0, 0)
+ Add("", 0xabcd0000, Local0)
+ if (LNotEqual(Local0, 0xabcd0000)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 0xabcd0000)
+ }
+ CH03("", 0, 0x002, 0, 0)
+
+ CH03("", 0, 0x003, 0, 0)
+ Add(" ", 0xabcd0001, Local0)
+ if (LNotEqual(Local0, 0xabcd0001)) {
+ err("", zFFF, 0x004, 0, 0, Local0, 0xabcd0001)
+ }
+ CH03("", 0, 0x005, 0, 0)
+
+ CH03("", 0, 0x006, 0, 0)
+ ToInteger("", Local0)
+ CH04("", 0, 36, 0, 0x007, 0, 0) // AE_BAD_DECIMAL_CONSTANT
+
+ CH03("", 0, 0x008, 0, 0)
+ ToInteger(" ", Local0)
+ CH04("", 0, 36, 0, 0x009, 0, 0) // AE_BAD_DECIMAL_CONSTANT
+
+ CH03("", 0, 0x00a, 0, 0)
+ Add("q", 0xabcd0002, Local0)
+ if (LNotEqual(Local0, 0xabcd0002)) {
+ err("", zFFF, 0x00b, 0, 0, Local0, 0xabcd0002)
+ }
+ CH03("", 0, 0x00c, 0, 0)
+
+ CH03("", 0, 0x00d, 0, 0)
+ Add("q ", 0xabcd0003, Local0)
+ if (LNotEqual(Local0, 0xabcd0003)) {
+ err("", zFFF, 0x00e, 0, 0, Local0, 0xabcd0003)
+ }
+ CH03("", 0, 0x00f, 0, 0)
+
+ CH03("", 0, 0x010, 0, 0)
+ ToInteger("q", Local0)
+ CH04("", 0, 36, 0, 0x011, 0, 0) // AE_BAD_DECIMAL_CONSTANT
+
+ CH03("", 0, 0x012, 0, 0)
+ ToInteger("q ", Local0)
+ CH04("", 0, 36, 0, 0x013, 0, 0) // AE_BAD_DECIMAL_CONSTANT
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/MAIN.asl
index 9b94b6779..8d6911cac 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B64.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0064/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0064/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B64.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0064/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0064/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/RUN.asl
index 62c910e51..92e1f29ec 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0064/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 64", TCLD, 64, W017)) {
- SRMT("mf61")
- mf61(0)
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 64", TCLD, 64, W017)) {
+ SRMT("mf61")
+ mf61(0)
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/DECL.asl
index b284dc571..31eb577b0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/DECL.asl
@@ -1,78 +1,78 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 65: CANCELED
- *
- * SUMMARY: BufferField type object should be passed to Methods without any conversion (to Buffer or Integer)
- *
- * EXAMPLES:
- *
- * ROOT CAUSE:
- *
- * SEE ALSO: bugs 65,66,67,68,118
- */
-
-
-Method(md7e, 1)
-{
- // ObjectType of the value passed to Method
- // (BufferField is converted to Integer).
- Store(ObjectType(arg0), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- }
-}
-
-Method(md7f, 1)
-{
- // ObjectType of the value passed to Method
- // (BufferField is converted to Buffer).
- Store(ObjectType(arg0), Local0)
- if (LNotEqual(Local0, c00b)) {
- err("", zFFF, 0x001, 0, 0, Local0, c00b)
- }
-}
-
-Method(md80)
-{
- // ObjectType of the BufferField immediately
-
- Store(ObjectType(bf30), Local0)
- if (LNotEqual(Local0, c016)) {
- err("", zFFF, 0x002, 0, 0, Local0, c016)
- }
-
- Store(ObjectType(bf31), Local0)
- if (LNotEqual(Local0, c016)) {
- err("", zFFF, 0x003, 0, 0, Local0, c016)
- }
-
- md7e(bf30)
- md7f(bf31)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 65: CANCELED
+ *
+ * SUMMARY: BufferField type object should be passed to Methods without any conversion (to Buffer or Integer)
+ *
+ * EXAMPLES:
+ *
+ * ROOT CAUSE:
+ *
+ * SEE ALSO: bugs 65,66,67,68,118
+ */
+
+
+Method(md7e, 1)
+{
+ // ObjectType of the value passed to Method
+ // (BufferField is converted to Integer).
+ Store(ObjectType(arg0), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ }
+}
+
+Method(md7f, 1)
+{
+ // ObjectType of the value passed to Method
+ // (BufferField is converted to Buffer).
+ Store(ObjectType(arg0), Local0)
+ if (LNotEqual(Local0, c00b)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c00b)
+ }
+}
+
+Method(md80)
+{
+ // ObjectType of the BufferField immediately
+
+ Store(ObjectType(bf30), Local0)
+ if (LNotEqual(Local0, c016)) {
+ err("", zFFF, 0x002, 0, 0, Local0, c016)
+ }
+
+ Store(ObjectType(bf31), Local0)
+ if (LNotEqual(Local0, c016)) {
+ err("", zFFF, 0x003, 0, 0, Local0, c016)
+ }
+
+ md7e(bf30)
+ md7f(bf31)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/MAIN.asl
index 91b1384f0..14304effd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B65.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0065/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0065/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B65.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0065/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0065/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/RUN.asl
index 3cdca8647..5b09bb795 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0065/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 65", TCLD, 65, W017)) {
- SRMT("md80")
- md80()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 65", TCLD, 65, W017)) {
+ SRMT("md80")
+ md80()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/DECL.asl
index cb829165b..243871cf9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/DECL.asl
@@ -1,78 +1,78 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 66: CANCELED
- *
- * SUMMARY: FieldUnit type object should be passed to Methods without any conversion (to Buffer or Integer)
- *
- * EXAMPLES:
- *
- * ROOT CAUSE:
- *
- * SEE ALSO: bugs 65,66,67,68,118
- */
-
-
-Method(md81, 1)
-{
- // ObjectType of the value passed to Method
- // (FieldUnit is converted to Integer).
- Store(ObjectType(arg0), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- }
-}
-
-Method(md82, 1)
-{
- // ObjectType of the value passed to Method
- // (FieldUnit is converted to Buffer).
- Store(ObjectType(arg0), Local0)
- if (LNotEqual(Local0, c00b)) {
- err("", zFFF, 0x001, 0, 0, Local0, c00b)
- }
-}
-
-Method(md83)
-{
- // ObjectType of the FieldUnit immediately
-
- Store(ObjectType(fd00), Local0)
- if (LNotEqual(Local0, c00d)) {
- err("", zFFF, 0x002, 0, 0, Local0, c00d)
- }
-
- Store(ObjectType(fd01), Local0)
- if (LNotEqual(Local0, c00d)) {
- err("", zFFF, 0x003, 0, 0, Local0, c00d)
- }
-
- md81(fd00)
- md82(fd01)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 66: CANCELED
+ *
+ * SUMMARY: FieldUnit type object should be passed to Methods without any conversion (to Buffer or Integer)
+ *
+ * EXAMPLES:
+ *
+ * ROOT CAUSE:
+ *
+ * SEE ALSO: bugs 65,66,67,68,118
+ */
+
+
+Method(md81, 1)
+{
+ // ObjectType of the value passed to Method
+ // (FieldUnit is converted to Integer).
+ Store(ObjectType(arg0), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ }
+}
+
+Method(md82, 1)
+{
+ // ObjectType of the value passed to Method
+ // (FieldUnit is converted to Buffer).
+ Store(ObjectType(arg0), Local0)
+ if (LNotEqual(Local0, c00b)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c00b)
+ }
+}
+
+Method(md83)
+{
+ // ObjectType of the FieldUnit immediately
+
+ Store(ObjectType(fd00), Local0)
+ if (LNotEqual(Local0, c00d)) {
+ err("", zFFF, 0x002, 0, 0, Local0, c00d)
+ }
+
+ Store(ObjectType(fd01), Local0)
+ if (LNotEqual(Local0, c00d)) {
+ err("", zFFF, 0x003, 0, 0, Local0, c00d)
+ }
+
+ md81(fd00)
+ md82(fd01)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/MAIN.asl
index 93f5fedca..df687a5dd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B66.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0066/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0066/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B66.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0066/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0066/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/RUN.asl
index ce0397867..7ae40fe5b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0066/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 66", TCLD, 66, W017)) {
- SRMT("md83")
- md83()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 66", TCLD, 66, W017)) {
+ SRMT("md83")
+ md83()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/DECL.asl
index a0b4da27f..d967e39e1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/DECL.asl
@@ -1,69 +1,69 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 67: CANCELED
- *
- * SUMMARY: BufferField type object should be returned by Methods without any conversion (to Buffer or Integer)
- *
- * EXAMPLES:
- *
- * ROOT CAUSE:
- *
- * SEE ALSO: bugs 65,66,67,68,118
- */
-
-
-Method(md84)
-{
- return (bf30)
-}
-
-Method(md85)
-{
- return (bf31)
-}
-
-Method(md86)
-{
- // BufferField converted to Integer before return
-
- Store(md84(), Local7)
- Store(ObjectType(Local7), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- }
-
- // BufferField converted to Buffer before return
-
- Store(md85(), Local7)
- Store(ObjectType(Local7), Local0)
- if (LNotEqual(Local0, c00b)) {
- err("", zFFF, 0x001, 0, 0, Local0, c00b)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 67: CANCELED
+ *
+ * SUMMARY: BufferField type object should be returned by Methods without any conversion (to Buffer or Integer)
+ *
+ * EXAMPLES:
+ *
+ * ROOT CAUSE:
+ *
+ * SEE ALSO: bugs 65,66,67,68,118
+ */
+
+
+Method(md84)
+{
+ return (bf30)
+}
+
+Method(md85)
+{
+ return (bf31)
+}
+
+Method(md86)
+{
+ // BufferField converted to Integer before return
+
+ Store(md84(), Local7)
+ Store(ObjectType(Local7), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ }
+
+ // BufferField converted to Buffer before return
+
+ Store(md85(), Local7)
+ Store(ObjectType(Local7), Local0)
+ if (LNotEqual(Local0, c00b)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c00b)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/MAIN.asl
index 1e25cfa4d..28a3f8088 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B67.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0067/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0067/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B67.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0067/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0067/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/RUN.asl
index 5fc7480b0..3a77e7054 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0067/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 67", TCLD, 67, W017)) {
- SRMT("md86")
- md86()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 67", TCLD, 67, W017)) {
+ SRMT("md86")
+ md86()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/DECL.asl
index 7e5fbaf2e..cf5a24b08 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/DECL.asl
@@ -1,69 +1,69 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 68: CANCELED
- *
- * SUMMARY: FieldUnit type object should be returned by Methods without any conversion (to Buffer or Integer)
- *
- * EXAMPLES:
- *
- * ROOT CAUSE:
- *
- * SEE ALSO: bugs 65,66,67,68,118
- */
-
-
-Method(md87)
-{
- return (fd00)
-}
-
-Method(md88)
-{
- return (fd01)
-}
-
-Method(md89)
-{
- // FiledUnit converted to Integer before return
-
- Store(md87(), Local7)
- Store(ObjectType(Local7), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- }
-
- // FiledUnit converted to Buffer before return
-
- Store(md88(), Local7)
- Store(ObjectType(Local7), Local0)
- if (LNotEqual(Local0, c00b)) {
- err("", zFFF, 0x001, 0, 0, Local0, c00b)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 68: CANCELED
+ *
+ * SUMMARY: FieldUnit type object should be returned by Methods without any conversion (to Buffer or Integer)
+ *
+ * EXAMPLES:
+ *
+ * ROOT CAUSE:
+ *
+ * SEE ALSO: bugs 65,66,67,68,118
+ */
+
+
+Method(md87)
+{
+ return (fd00)
+}
+
+Method(md88)
+{
+ return (fd01)
+}
+
+Method(md89)
+{
+ // FiledUnit converted to Integer before return
+
+ Store(md87(), Local7)
+ Store(ObjectType(Local7), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ }
+
+ // FiledUnit converted to Buffer before return
+
+ Store(md88(), Local7)
+ Store(ObjectType(Local7), Local0)
+ if (LNotEqual(Local0, c00b)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c00b)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/MAIN.asl
index a1579aedd..267421a46 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B68.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0068/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0068/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B68.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0068/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0068/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/RUN.asl
index e5b320317..e1b34b250 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0068/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 68", TCLD, 68, W017)) {
- SRMT("md89")
- md89()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 68", TCLD, 68, W017)) {
+ SRMT("md89")
+ md89()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/DECL.asl
index dd930e230..5195a33c9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/DECL.asl
@@ -1,48 +1,48 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0069:
- *
- * SUMMARY: Exception on storing the result of Mid operation
- */
-
-Method(me08,, Serialized)
-{
- Name(b000, Buffer(8) {1,2,3,4,5,6,7,8})
-
- Store("Start of test", Debug)
-
- Store(Mid(b000, 1, 1), Local0)
-
- if (LNotEqual(Local0, Buffer() {2})){
- err("", zFFF, 0x001, 0, 0, Local0, Buffer() {2})
- }
-
- Store("Finish of test", Debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0069:
+ *
+ * SUMMARY: Exception on storing the result of Mid operation
+ */
+
+Method(me08,, Serialized)
+{
+ Name(b000, Buffer(8) {1,2,3,4,5,6,7,8})
+
+ Store("Start of test", Debug)
+
+ Store(Mid(b000, 1, 1), Local0)
+
+ if (LNotEqual(Local0, Buffer() {2})){
+ err("", zFFF, 0x001, 0, 0, Local0, Buffer() {2})
+ }
+
+ Store("Finish of test", Debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/MAIN.asl
index 9e34e5238..81a6c77ae 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B69.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0069/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0069/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B69.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0069/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0069/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/RUN.asl
index 849aebe40..e3d8f7cf5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0069/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 69", TCLD, 69, W017)) {
- SRMT("me08")
- me08()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 69", TCLD, 69, W017)) {
+ SRMT("me08")
+ me08()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/DECL.asl
index 36f1ad238..2936d9fbd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/DECL.asl
@@ -1,75 +1,75 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0070:
- *
- * SUMMARY: The ASL Compiler should reject Resource Descriptors where ResourceSourceIndex is present but ResourceSource is omitted
- *
- * Compiler should return error...
- */
-
-Method(me09)
-{
- Name (RT00, ResourceTemplate () {
- DWordIO ( , , , , ,
- 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff, 0x0f)
-
- DWordMemory ( , , , , , ReadOnly,
- 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff, 0x0f)
-
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared, 0x0f)
- {0xfcfdfeff}
-
- QWordIO ( , , , , ,
- 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
- 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff, 0x0f)
-
- QWordMemory ( , , , , , ReadOnly,
- 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
- 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff, 0x0f)
-
- WordBusNumber ( , , , ,
- 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff, 0x0f)
-
- WordIO ( , , , , ,
- 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff, 0x0f)
-
- DWordSpace (0xc0, , , , , 0x5a,
- 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff, 0x0f)
-
- QWordSpace (0xc0, , , , , 0x5a,
- 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
- 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff, 0x0f)
-
- WordSpace (0xc0, , , , , 0x5a,
- 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff, 0x0f)
- })
-
- Store(RT00, Debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0070:
+ *
+ * SUMMARY: The ASL Compiler should reject Resource Descriptors where ResourceSourceIndex is present but ResourceSource is omitted
+ *
+ * Compiler should return error...
+ */
+
+Method(me09)
+{
+ Name (RT00, ResourceTemplate () {
+ DWordIO ( , , , , ,
+ 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff, 0x0f)
+
+ DWordMemory ( , , , , , ReadOnly,
+ 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff, 0x0f)
+
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared, 0x0f)
+ {0xfcfdfeff}
+
+ QWordIO ( , , , , ,
+ 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
+ 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff, 0x0f)
+
+ QWordMemory ( , , , , , ReadOnly,
+ 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
+ 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff, 0x0f)
+
+ WordBusNumber ( , , , ,
+ 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff, 0x0f)
+
+ WordIO ( , , , , ,
+ 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff, 0x0f)
+
+ DWordSpace (0xc0, , , , , 0x5a,
+ 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff, 0x0f)
+
+ QWordSpace (0xc0, , , , , 0x5a,
+ 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
+ 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff, 0x0f)
+
+ WordSpace (0xc0, , , , , 0x5a,
+ 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff, 0x0f)
+ })
+
+ Store(RT00, Debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/MAIN.asl
index f3c772d37..40cb930af 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0070_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B70.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0070_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B70.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0070_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/DECL.asl
index 890c1b7c2..1950373ef 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/DECL.asl
@@ -1,75 +1,75 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0071:
- *
- * SUMMARY: The ASL Compiler should reject Resource Descriptors where ResourceSourceIndex is omitted but ResourceSource is present
- *
- * Compiler should return error...
- */
-
-Method(me0a)
-{
- Name (RT00, ResourceTemplate () {
- DWordIO ( , , , , ,
- 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff,, "PATHPATHPATH")
-
- DWordMemory ( , , , , , ReadOnly,
- 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff,, "PATHPATHPATH")
-
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared ,, "PATHPATHPATH")
- {0xfcfdfeff}
-
- QWordIO ( , , , , ,
- 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
- 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff ,, "PATHPATHPATH")
-
- QWordMemory ( , , , , , ReadOnly,
- 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
- 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff ,, "PATHPATHPATH")
-
- WordBusNumber ( , , , ,
- 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff ,, "PATHPATHPATH")
-
- WordIO ( , , , , ,
- 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff ,, "PATHPATHPATH")
-
- DWordSpace (0xc0, , , , , 0x5a,
- 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff,, "PATHPATHPATH")
-
- QWordSpace (0xc0, , , , , 0x5a,
- 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
- 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff ,, "PATHPATHPATH")
-
- WordSpace (0xc0, , , , , 0x5a,
- 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff ,, "PATHPATHPATH")
- })
-
- Store(RT00, Debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0071:
+ *
+ * SUMMARY: The ASL Compiler should reject Resource Descriptors where ResourceSourceIndex is omitted but ResourceSource is present
+ *
+ * Compiler should return error...
+ */
+
+Method(me0a)
+{
+ Name (RT00, ResourceTemplate () {
+ DWordIO ( , , , , ,
+ 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff,, "PATHPATHPATH")
+
+ DWordMemory ( , , , , , ReadOnly,
+ 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff,, "PATHPATHPATH")
+
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared ,, "PATHPATHPATH")
+ {0xfcfdfeff}
+
+ QWordIO ( , , , , ,
+ 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
+ 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff ,, "PATHPATHPATH")
+
+ QWordMemory ( , , , , , ReadOnly,
+ 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
+ 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff ,, "PATHPATHPATH")
+
+ WordBusNumber ( , , , ,
+ 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff ,, "PATHPATHPATH")
+
+ WordIO ( , , , , ,
+ 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff ,, "PATHPATHPATH")
+
+ DWordSpace (0xc0, , , , , 0x5a,
+ 0xecedeeef, 0xf0f1f2f3, 0xf4f5f6f7, 0xf8f9fafb, 0xfcfdfeff,, "PATHPATHPATH")
+
+ QWordSpace (0xc0, , , , , 0x5a,
+ 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
+ 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff ,, "PATHPATHPATH")
+
+ WordSpace (0xc0, , , , , 0x5a,
+ 0xf6f7, 0xf8f9, 0xfafb, 0xfcfd, 0xfeff ,, "PATHPATHPATH")
+ })
+
+ Store(RT00, Debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/MAIN.asl
index d6c079863..f55f4c919 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0071_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B71.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0071_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B71.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0071_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/DECL.asl
index 97bd4df93..31106f8ad 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/DECL.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0072:
- *
- * SUMMARY: The ASL Compiler program returns improper status after compiling invalid ASL code
- *
- * Compiler should return error...
- * The ASL compiler returns zero (SUCCESS) while reporting Errors
- * of compilation but FAILURE (non-zero value) should be returned
- * in those cases.
- *
- * Strictly speaking, one more collection of tests is required
- * to check the resulting status of ASL compilation. It may be
- * a set of a little ASL-code files each forcing one specified
- * Error (or Warning or no Error/Warning) of compilation and
- * a control script run in cycle compilation of those ASL codes
- * and verifies the return code of ASL-compiler and distinguish
- * the cases:
- *
- * - no Errors or Warnings of compilation
- * - no Errors but Warnings of compilation take place
- * - has Errors of compilation
- */
-
-Method(me0a)
-{
- Store(jjjjjjjj, Debug)
- return (0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0072:
+ *
+ * SUMMARY: The ASL Compiler program returns improper status after compiling invalid ASL code
+ *
+ * Compiler should return error...
+ * The ASL compiler returns zero (SUCCESS) while reporting Errors
+ * of compilation but FAILURE (non-zero value) should be returned
+ * in those cases.
+ *
+ * Strictly speaking, one more collection of tests is required
+ * to check the resulting status of ASL compilation. It may be
+ * a set of a little ASL-code files each forcing one specified
+ * Error (or Warning or no Error/Warning) of compilation and
+ * a control script run in cycle compilation of those ASL codes
+ * and verifies the return code of ASL-compiler and distinguish
+ * the cases:
+ *
+ * - no Errors or Warnings of compilation
+ * - no Errors but Warnings of compilation take place
+ * - has Errors of compilation
+ */
+
+Method(me0a)
+{
+ Store(jjjjjjjj, Debug)
+ return (0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/MAIN.asl
index bd2816e8a..f83b3532f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0072_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B72.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0072_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B72.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0072_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/DECL.asl
index 652dffb30..ad29d8f49 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/DECL.asl
@@ -1,42 +1,42 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0073:
- *
- * SUMMARY: The ASL Compiler fails and reports a large number of "Recursive method call" remarks
- *
- * While compiling full test the ASL compiler results in Error:
- * nssearch-0397: *** Error: NsSearchAndEnter: Bad character in ACPI Name: 5B5F545F
- * nssearch-0397: *** Error: NsSearchAndEnter: Bad character in ACPI Name: 5B5F545F
- * MAIN.asl 9: 0x00000001 // OEM Revision
- * Error 1078 -^ From ACPI CA Subsystem (AE_BAD_CHARACTER Failure from lookup %s)
- * and reports a large number of "Recursive method call" remarks.
- *
- * ASL Optimizing Compiler / AML Disassembler version 20041210 [Dec 10 2004]
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0073:
+ *
+ * SUMMARY: The ASL Compiler fails and reports a large number of "Recursive method call" remarks
+ *
+ * While compiling full test the ASL compiler results in Error:
+ * nssearch-0397: *** Error: NsSearchAndEnter: Bad character in ACPI Name: 5B5F545F
+ * nssearch-0397: *** Error: NsSearchAndEnter: Bad character in ACPI Name: 5B5F545F
+ * MAIN.asl 9: 0x00000001 // OEM Revision
+ * Error 1078 -^ From ACPI CA Subsystem (AE_BAD_CHARACTER Failure from lookup %s)
+ * and reports a large number of "Recursive method call" remarks.
+ *
+ * ASL Optimizing Compiler / AML Disassembler version 20041210 [Dec 10 2004]
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/MAIN.asl
index 28b61450d..a771dca24 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/MAIN.asl
@@ -1,88 +1,88 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "full.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
-
- Include("../../../../../runtime/collections/functional/arithmetic/arithmetic.asl")
-
- Include("../../../../../runtime/collections/functional/bfield/crbuffield.asl")
-
- Include("../../../../../runtime/collections/functional/control/ctl0.asl")
- Include("../../../../../runtime/collections/functional/control/ctl1.asl")
- Include("../../../../../runtime/collections/functional/control/ctl2.asl")
- Include("../../../../../runtime/collections/functional/control/timing.asl")
- Include("../../../../../runtime/collections/functional/control/switch1.asl")
- Include("../../../../../runtime/collections/functional/control/switch2.asl")
- Include("../../../../../runtime/collections/functional/control/switch3.asl")
- Include("../../../../../runtime/collections/functional/control/switch4.asl")
- Include("../../../../../runtime/collections/functional/control/switch5.asl")
- Include("../../../../../runtime/collections/functional/control/switch6.asl")
- Include("../../../../../runtime/collections/functional/control/while.asl")
- Include("../../../../../runtime/collections/functional/control/Return/return.asl")
- Include("../../../../../runtime/collections/functional/control/ImplicitReturn/add.asl")
- Include("../../../../../runtime/collections/functional/control/ImplicitReturn/store.asl")
- Include("../../../../../runtime/collections/functional/control/ImplicitReturn/standaloneret.asl")
-
- Include("../../../../../runtime/collections/functional/manipulation/mid.asl")
- Include("../../../../../runtime/collections/functional/manipulation/concatenate.asl")
- Include("../../../../../runtime/collections/functional/manipulation/tointeger.asl")
- Include("../../../../../runtime/collections/functional/manipulation/tostring.asl")
- Include("../../../../../runtime/collections/functional/manipulation/tobuffer.asl")
- Include("../../../../../runtime/collections/functional/manipulation/todecimalstring.asl")
- Include("../../../../../runtime/collections/functional/manipulation/tohexstring.asl")
- Include("../../../../../runtime/collections/functional/manipulation/tofrombcd.asl")
- Include("../../../../../runtime/collections/functional/manipulation/eisaid.asl")
- Include("../../../../../runtime/collections/functional/manipulation/touuid.asl")
- Include("../../../../../runtime/collections/functional/manipulation/unicode.asl")
- Include("../../../../../runtime/collections/functional/manipulation/objecttype.asl")
- Include("../../../../../runtime/collections/functional/manipulation/store.asl")
- Include("../../../../../runtime/collections/functional/manipulation/match1.asl")
- Include("../../../../../runtime/collections/functional/manipulation/match2.asl")
- Include("../../../../../runtime/collections/functional/manipulation/sizeof.asl")
-
- Include("../../../../../runtime/collections/functional/logic/logical.asl")
-
- Include("../../../../../runtime/common/operations.asl")
- Include("../../../../../runtime/common/conversion/oproc.asl")
- Include("../../../../../runtime/common/conversion/otest.asl")
-
- Include("./misc.asl")
-
- Method(MAIN) {
- return (0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "full.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+
+ Include("../../../../../runtime/collections/functional/arithmetic/arithmetic.asl")
+
+ Include("../../../../../runtime/collections/functional/bfield/crbuffield.asl")
+
+ Include("../../../../../runtime/collections/functional/control/ctl0.asl")
+ Include("../../../../../runtime/collections/functional/control/ctl1.asl")
+ Include("../../../../../runtime/collections/functional/control/ctl2.asl")
+ Include("../../../../../runtime/collections/functional/control/timing.asl")
+ Include("../../../../../runtime/collections/functional/control/switch1.asl")
+ Include("../../../../../runtime/collections/functional/control/switch2.asl")
+ Include("../../../../../runtime/collections/functional/control/switch3.asl")
+ Include("../../../../../runtime/collections/functional/control/switch4.asl")
+ Include("../../../../../runtime/collections/functional/control/switch5.asl")
+ Include("../../../../../runtime/collections/functional/control/switch6.asl")
+ Include("../../../../../runtime/collections/functional/control/while.asl")
+ Include("../../../../../runtime/collections/functional/control/Return/return.asl")
+ Include("../../../../../runtime/collections/functional/control/ImplicitReturn/add.asl")
+ Include("../../../../../runtime/collections/functional/control/ImplicitReturn/store.asl")
+ Include("../../../../../runtime/collections/functional/control/ImplicitReturn/standaloneret.asl")
+
+ Include("../../../../../runtime/collections/functional/manipulation/mid.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/concatenate.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/tointeger.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/tostring.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/tobuffer.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/todecimalstring.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/tohexstring.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/tofrombcd.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/eisaid.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/touuid.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/unicode.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/objecttype.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/store.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/match1.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/match2.asl")
+ Include("../../../../../runtime/collections/functional/manipulation/sizeof.asl")
+
+ Include("../../../../../runtime/collections/functional/logic/logical.asl")
+
+ Include("../../../../../runtime/common/operations.asl")
+ Include("../../../../../runtime/common/conversion/oproc.asl")
+ Include("../../../../../runtime/common/conversion/otest.asl")
+
+ Include("./misc.asl")
+
+ Method(MAIN) {
+ return (0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.asl
index 83954455f..ffa5cec0b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.asl
@@ -1,617 +1,617 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-// Miscellaneous not systematized tests
-
-Name(z054, 54)
-
-// Looks like Default is at all not implemented
-
-Method(mZ00, 1)
-{
- Store(0, Local0)
- Store(0, Local1)
-
- // Bug XXX. This Switch code below causes ASL-compiler to fail
- // for full.asl file with the diagnostics like this:
- // nssearch-0397: *** Error: NsSearchAndEnter:
- // Bad character in ACPI Name: 5B5F545F
- // and fall into recursion:
- // Remark 3040 - Recursive method call ^ (ERR_)
- // Note: (0x5B5F545F is equal to "[_T_")
-
- Switch (Local1) {
- Case (5) {
- Store(5, Local0)
- }
- Default {
- Store(1, Local0)
- }
- }
-
- if (LNotEqual(Local0, 1)) {
- err(arg0, z054, 0, 0, 0, Local0, 0)
- }
-}
-
-// Concatenate operator affects the object passed as Source2 parameter
-
-Method(mZ01, 1) {
- Concatenate("qwertyuiop", arg0)
-}
-
-Method(mZ02, 1)
-{
- Store(0, Local0)
- mZ01(Local0)
- if (LNotequal(Local0, 0)) {
- err(arg0, z054, 1, 0, 0, Local0, 0)
- }
-
- Store(0, Local0)
- Concatenate("qwertyuiop", Local0)
- if (LNotequal(Local0, 0)) {
- err(arg0, z054, 2, 0, 0, Local0, 0)
- }
-}
-
-// Unexpected value returned by ObjectType for Field Unit objects
-
-// The field passed as explicit reference (RefOf)
-Method(mZ05, 1)
-{
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- f000, 32
- }
-
- Store(ObjectType(RefOf(f000)), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 3, 0, 0, Local0, 0)
- }
-}
-
-// The BankField corrupts the contents of OperationRegion
-
-Method(mZ06, 1)
-{
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- bnk0, 8
- }
-
- BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- Store(1, bnk0)
- if (LNotEqual(bnk0, 1)) {
- err(arg0, z054, 4, 0, 0, bnk0, 0)
- }
-
- Store(0x96, bf01)
- if (LNotEqual(bnk0, 1)) {
- err(arg0, z054, 5, 0, 0, bnk0, 0)
- }
-
- Store(0x87, bf00)
- if (LNotEqual(bnk0, 1)) {
- err(arg0, z054, 6, 0, 0, bnk0, 0)
- }
-
- if (LNotEqual(bf00, 0x87)) {
- err(arg0, z054, 7, 0, 0, bf00, 0)
- }
-
- if (LNotEqual(bf01, 0x96)) {
- err(arg0, z054, 8, 0, 0, bf01, 0)
- }
-}
-
-// ToBuffer caused destroying of source buffer passed by Data parameter
-Method(mZ07, 1)
-{
- Store(Buffer(4){10, 11, 12, 13}, Local0)
- Store(ObjectType(Local0), Local1)
-
- if (LNotEqual(Local1, c00b)) {
- err(arg0, z054, 9, 0, 0, Local1, 0)
- }
-
- ToBuffer(Local0, Local2)
-
- Store(0xaa, Local3)
-
- Store(ObjectType(Local0), Local3)
-
- if (LNotEqual(Local3, c00b)) {
- err(arg0, z054, 10, 0, 0, Local3, 0)
- }
-}
-
-// ObjectType() operator should be allowed to deal with the
-// uninitialized objects.
-
-// Uncomment this when the problem will be fixed and compile
-// will not fail in this case like it do now: "Method local
-// variable is not initialized (Local0)".
-Method(mZ08, 1)
-{
- Store(ObjectType(Local0), Local1)
-}
-
-// Now, this cause exception but should not
-Method(mZ09, 2)
-{
- if (arg1) {
- Store(0, Local0)
- }
-
- CH03("", 0, 0, 0, 0)
-
- Store(ObjectType(Local0), Local1)
-
- if (LNotEqual(Local1, 0)) {
- err(arg0, z054, 11, 0, 0, Local1, 0)
- }
-
- CH03("", 0, 0, 0, 0)
-}
-
-Method(mZ0a, 1)
-{
- mZ09(arg0, 0)
-}
-
-// DerefOf. If the Source evaluates to a string, the string is evaluated
-// as an ASL name (relative to the current scope) and the contents of that
-// object are returned.
-Method(mZ0b, 1)
-{
- Name(b000, Buffer(){ 1, 2, 3, 4, 5, 6, 7, 8 })
-
- Store("b000", Local0)
-
- Store("================ 0:", Debug)
-
- Store(DerefOf(Local0), Local1)
-
- Store("================ 1:", Debug)
-
- Store(ObjectType(Local1), Local2)
-
- if (LNotEqual(Local2, 3)) {
- err(arg0, z054, 12, 0, 0, Local2, 0)
- }
-
- Store("================ 2:", Debug)
-
- Store(Local1, Debug)
- Store(Local2, Debug)
-
- return (0)
-}
-
-/*
-// Currently, incorrect test
-// The size of Strings in Package is determined incorrectly
-Method(mZ0c, 1)
-{
- Name(p000, Package() {
- "012",
- "0123456789abcdef",
- Buffer() {17,28,69,11,22,34,35,56,67,11},
- "012345",
- })
-
- Store(DeRefOf(Index(p000, 1)), Local0)
- Store(0, Index(Local0, 5))
-
- Store(0, Index(p000, 1))
-
- Store(DeRefOf(Index(p000, 1)), Local0)
-// Store(0, Index(Local0, 5))
-
- Store("=================:", Debug)
- Store(Local0, Debug)
-
- // 0
- Store(DeRefOf(Index(p000, 0)), Local2)
- Store(SizeOf(Local2), Local3)
-
- Store(Local3, Debug)
-
- if (LNotEqual(Local3, 3)) {
- err(arg0, z054, 13, 0, 0, Local3, 3)
- }
-
- // 1
- Store(DeRefOf(Index(p000, 1)), Local2)
- Store(SizeOf(Local2), Local3)
-
- Store(Local3, Debug)
-
- if (LNotEqual(Local3, 9)) {
- err(arg0, z054, 14, 0, 0, Local3, 9)
- }
-
- // 2
- Store(DeRefOf(Index(p000, 2)), Local2)
- Store(SizeOf(Local2), Local3)
-
- Store(Local3, Debug)
-
- if (LNotEqual(Local3, 6)) {
- err(arg0, z054, 15, 0, 0, Local3, 6)
- }
-
- Store(SizeOf(p000), Local0)
-
- Store(Local0, Debug)
-
- if (LNotEqual(Local0, 3)) {
- err(arg0, z054, 16, 0, 0, Local0, 3)
- }
-}
-*/
-
-/*
-// ATTENTION: such type tests have to be added and extended
-Method(mZ0d, 1)
-{
- Name(p000, Package() {
- 0x12345678, 0x90abcdef,
- })
- Name(b000, Buffer() {0x78,0x56,0x34,0x12, 0xef,0xcd,0xab,0x90})
-
- Store(DeRefOf(Index(p000, 0)), Local7)
-
- if (LEqual(b000, Local7)) {
- err(arg0, z054, 17, 0, 0, b000, Local7)
- }
-
- if (LEqual(Local7, b000)) {
- err(arg0, z054, 18, 0, 0, Local7, b000)
- }
-
- return (0)
-}
-*/
-
-
-// Bug 54: All the ASL Operators which deal with at least two Buffer type
-// objects cause unexpected exceptions in cases when both Buffer type objects
-// are passed immediately
-Method(mZ0e, 1)
-{
- CH03("", 0, 0, 0, 0)
-
- Add( Buffer() {0x79}, Buffer() {0x79} )
-
- CH03("", 0, 0, 0, 0)
-}
-
-// Bug 57: The empty Return operator (without specifying the returning value)
-// is processed incorrectly
-Method(mZ0f, 1) {
-
- Method(mZ10, 2) {
-
- if (arg1) {
- return (0x1234)
-
- // ASL-compiler report Warning in this case
- // Store("ERROR 0: mZ13, after Return !!!", Debug)
- }
- err(arg0, z054, 19, 0, 0, 0, 0)
-
- return (0x5678)
- }
-
- Method(mZ11, 2) {
-
- if (arg1) {
-
- return
-
- // ASL-compiler DOESN'T report Warning in this case!!!
- // And the Store operator below is actually processed!!!
-
- err(arg0, z054, 20, 0, 0, 0, 0)
- }
-
- err(arg0, z054, 21, 0, 0, 0, 0)
-
- return
- }
-
- Store(mZ10(arg0, 1), Local7)
-
- mZ11(arg0, 1)
-
- return (0)
-}
-
-// Bug 59: The String to Buffer Rule from the Table 17-8 "Object Conversion
-// Rules" says "If the string is shorter than the buffer, the buffer size is
-// reduced".
-Method(mZ10, 1) {
- Name(str0, "\x01\x02")
- Name(buf0, Buffer(){0x03, 0x04, 0x05})
-
- Store(str0, buf0)
-
- if (LNotEqual(Sizeof(buf0), 2)) {
- // Error: length of the buffer not reduced to the stored string
- err(arg0, z054, 22, 0, 0, 0, 0)
- }
- return (0)
-}
-
-// Bug 65: The Buffer Field type objects should be passed
-// to Methods without any conversion, but instead
-// they are converted to Buffers or Integers depending
-// on the size of the Buffer Field object and the
-// run mode (32-bit or 64/bit mode).
-Method(mZ11, 1) {
- Name(b000, Buffer(200) {})
- CreateField(b000, 0, 8, bf00)
-
- Method(m000, 2)
- {
- Store(ObjectType(arg1), Local0)
- if (LNotEqual(Local0, 14)) {
- err(arg0, z054, 23, 0, 0, Local0, 14)
- }
- }
-
- Method(m001, 1)
- {
- Store(ObjectType(bf00), Local0)
- if (LNotEqual(Local0, 14)) {
- err(arg0, z054, 24, 0, 0, Local0, 14)
- } else {
- m000(arg0, bf00)
- }
- }
-
- m001(arg0)
-}
-
-// Bug 66: The Field Unit type objects should be passed
-// to Methods without any conversion, but instead
-// they are converted to Buffers or Integers depending
-// on the size of the Buffer Field object and the
-// run mode (32-bit or 64/bit mode).
-Method(mZ12, 1) {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { f000, 8 }
-
- Method(m000, 2)
- {
- Store(ObjectType(arg1), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 25, 0, 0, Local0, 5)
- }
- }
-
- Method(m001, 1)
- {
- Store(ObjectType(f000), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 26, 0, 0, Local0, 5)
- } else {
- m000(arg0, f000)
- }
- }
-
- m001(arg0)
-}
-
-// Bug 67: The Buffer Field type objects should be RETURNED
-// by Methods without any conversion, but instead
-// they are converted to Buffers or Integers depending
-// on the size of the Buffer Field object and the
-// run mode (32-bit or 64/bit mode).
-Method(mZ13, 1) {
- Name(b000, Buffer(200) {})
- CreateField(b000, 0, 8, bf00)
-
- Method(m000)
- {
- return (bf00)
- }
-
- Method(m001, 1)
- {
- Store(ObjectType(bf00), Local0)
- if (LNotEqual(Local0, 14)) {
- err(arg0, z054, 27, 0, 0, Local0, 14)
- } else {
- Store(m000(), Local7)
- Store(ObjectType(Local7), Local0)
- if (LNotEqual(Local0, 14)) {
- err(arg0, z054, 28, 0, 0, Local0, 14)
- }
- }
- }
-
- m001(arg0)
-}
-
-// Bug 68: The Field Unit type objects should be RETURNED
-// by Methods without any conversion, but instead
-// they are converted to Buffers or Integers depending
-// on the size of the Buffer Field object and the
-// run mode (32-bit or 64/bit mode).
-Method(mZ14, 1) {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { f000, 8 }
-
- Method(m000)
- {
- return (f000)
- }
-
- Method(m001, 1)
- {
- Store(ObjectType(f000), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 29, 0, 0, Local0, 5)
- } else {
- Store(m000(), Local7)
- Store(ObjectType(Local7), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 30, 0, 0, Local0, 5)
- }
- }
- }
-
- m001(arg0)
-}
-
-// Bug 30. This test may be removed there after
-// the Field relative tests will be implemented.
-// Caused crash.
-Method(mZ15, 1)
-{
- Method(m000)
- {
- // Field Unit
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) {
- f000, 8,
- f001, 16,
- f002, 32,
- f003, 33,
- f004, 1,
- f005, 64,
- }
-
- Store("------------ Fields:", Debug)
- Store(f000, Debug)
- Store(f001, Debug)
- Store(f002, Debug)
- Store(f003, Debug)
- Store(f004, Debug)
- Store(f005, Debug)
- Store("------------.", Debug)
-
- return (0)
- }
-
- Method(m001)
- {
- // Field Unit
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) {
- f000, 8,
- f001, 16,
- f002, 32,
- f003, 33,
- f004, 7,
- f005, 64,
- }
-
- Store("------------ Fields:", Debug)
- Store(f000, Debug)
- Store(f001, Debug)
- Store(f002, Debug)
- Store(f003, Debug)
- Store(f004, Debug)
- Store(f005, Debug)
- Store("------------.", Debug)
-
- return (0)
- }
-
- m000()
- m001()
- return (0)
-}
-
-Method(mZ16, 1)
-{
- Method(m000)
- {
- return (0x12345678)
- }
-
- Method(m001, 1)
- {
- return (0x12345678)
- }
-
- Store(ObjectType(m000), Local0)
- if (LNotEqual(Local0, c010)) {
- err(arg0, z054, 31, 0, 0, Local0, c010)
- }
-
- /* Nov. 2012: Method invocation as arg to ObjectType is now illegal */
-//
-// Store(ObjectType(m000()), Local0)
-// if (LNotEqual(Local0, c009)) {
-// err(arg0, z054, 32, 0, 0, Local0, c009)
-// }
-//
-// Store(ObjectType(m001(123)), Local1)
-// if (LNotEqual(Local1, c009)) {
-// err(arg0, z054, 33, 0, 0, Local1, c009)
-// }
-}
-
-// Run-method
-Method(MSC0)
-{
- Name(ts, "MSC0")
-
- mZ00(ts)
- mZ02(ts)
- mZ05(ts)
- mZ06(ts)
- mZ07(ts)
- mZ08(ts)
- mZ0a(ts)
- mZ0b(ts)
- mZ0e(ts)
- mZ0f(ts)
- mZ10(ts)
- mZ11(ts)
- mZ12(ts)
- mZ13(ts)
- mZ14(ts)
- mZ15(ts)
- mZ16(ts)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+// Miscellaneous not systematized tests
+
+Name(z054, 54)
+
+// Looks like Default is at all not implemented
+
+Method(mZ00, 1)
+{
+ Store(0, Local0)
+ Store(0, Local1)
+
+ // Bug XXX. This Switch code below causes ASL-compiler to fail
+ // for full.asl file with the diagnostics like this:
+ // nssearch-0397: *** Error: NsSearchAndEnter:
+ // Bad character in ACPI Name: 5B5F545F
+ // and fall into recursion:
+ // Remark 3040 - Recursive method call ^ (ERR_)
+ // Note: (0x5B5F545F is equal to "[_T_")
+
+ Switch (Local1) {
+ Case (5) {
+ Store(5, Local0)
+ }
+ Default {
+ Store(1, Local0)
+ }
+ }
+
+ if (LNotEqual(Local0, 1)) {
+ err(arg0, z054, 0, 0, 0, Local0, 0)
+ }
+}
+
+// Concatenate operator affects the object passed as Source2 parameter
+
+Method(mZ01, 1) {
+ Concatenate("qwertyuiop", arg0)
+}
+
+Method(mZ02, 1)
+{
+ Store(0, Local0)
+ mZ01(Local0)
+ if (LNotequal(Local0, 0)) {
+ err(arg0, z054, 1, 0, 0, Local0, 0)
+ }
+
+ Store(0, Local0)
+ Concatenate("qwertyuiop", Local0)
+ if (LNotequal(Local0, 0)) {
+ err(arg0, z054, 2, 0, 0, Local0, 0)
+ }
+}
+
+// Unexpected value returned by ObjectType for Field Unit objects
+
+// The field passed as explicit reference (RefOf)
+Method(mZ05, 1)
+{
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ f000, 32
+ }
+
+ Store(ObjectType(RefOf(f000)), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 3, 0, 0, Local0, 0)
+ }
+}
+
+// The BankField corrupts the contents of OperationRegion
+
+Method(mZ06, 1)
+{
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ bnk0, 8
+ }
+
+ BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ Store(1, bnk0)
+ if (LNotEqual(bnk0, 1)) {
+ err(arg0, z054, 4, 0, 0, bnk0, 0)
+ }
+
+ Store(0x96, bf01)
+ if (LNotEqual(bnk0, 1)) {
+ err(arg0, z054, 5, 0, 0, bnk0, 0)
+ }
+
+ Store(0x87, bf00)
+ if (LNotEqual(bnk0, 1)) {
+ err(arg0, z054, 6, 0, 0, bnk0, 0)
+ }
+
+ if (LNotEqual(bf00, 0x87)) {
+ err(arg0, z054, 7, 0, 0, bf00, 0)
+ }
+
+ if (LNotEqual(bf01, 0x96)) {
+ err(arg0, z054, 8, 0, 0, bf01, 0)
+ }
+}
+
+// ToBuffer caused destroying of source buffer passed by Data parameter
+Method(mZ07, 1)
+{
+ Store(Buffer(4){10, 11, 12, 13}, Local0)
+ Store(ObjectType(Local0), Local1)
+
+ if (LNotEqual(Local1, c00b)) {
+ err(arg0, z054, 9, 0, 0, Local1, 0)
+ }
+
+ ToBuffer(Local0, Local2)
+
+ Store(0xaa, Local3)
+
+ Store(ObjectType(Local0), Local3)
+
+ if (LNotEqual(Local3, c00b)) {
+ err(arg0, z054, 10, 0, 0, Local3, 0)
+ }
+}
+
+// ObjectType() operator should be allowed to deal with the
+// uninitialized objects.
+
+// Uncomment this when the problem will be fixed and compile
+// will not fail in this case like it do now: "Method local
+// variable is not initialized (Local0)".
+Method(mZ08, 1)
+{
+ Store(ObjectType(Local0), Local1)
+}
+
+// Now, this cause exception but should not
+Method(mZ09, 2)
+{
+ if (arg1) {
+ Store(0, Local0)
+ }
+
+ CH03("", 0, 0, 0, 0)
+
+ Store(ObjectType(Local0), Local1)
+
+ if (LNotEqual(Local1, 0)) {
+ err(arg0, z054, 11, 0, 0, Local1, 0)
+ }
+
+ CH03("", 0, 0, 0, 0)
+}
+
+Method(mZ0a, 1)
+{
+ mZ09(arg0, 0)
+}
+
+// DerefOf. If the Source evaluates to a string, the string is evaluated
+// as an ASL name (relative to the current scope) and the contents of that
+// object are returned.
+Method(mZ0b, 1)
+{
+ Name(b000, Buffer(){ 1, 2, 3, 4, 5, 6, 7, 8 })
+
+ Store("b000", Local0)
+
+ Store("================ 0:", Debug)
+
+ Store(DerefOf(Local0), Local1)
+
+ Store("================ 1:", Debug)
+
+ Store(ObjectType(Local1), Local2)
+
+ if (LNotEqual(Local2, 3)) {
+ err(arg0, z054, 12, 0, 0, Local2, 0)
+ }
+
+ Store("================ 2:", Debug)
+
+ Store(Local1, Debug)
+ Store(Local2, Debug)
+
+ return (0)
+}
+
+/*
+// Currently, incorrect test
+// The size of Strings in Package is determined incorrectly
+Method(mZ0c, 1)
+{
+ Name(p000, Package() {
+ "012",
+ "0123456789abcdef",
+ Buffer() {17,28,69,11,22,34,35,56,67,11},
+ "012345",
+ })
+
+ Store(DeRefOf(Index(p000, 1)), Local0)
+ Store(0, Index(Local0, 5))
+
+ Store(0, Index(p000, 1))
+
+ Store(DeRefOf(Index(p000, 1)), Local0)
+// Store(0, Index(Local0, 5))
+
+ Store("=================:", Debug)
+ Store(Local0, Debug)
+
+ // 0
+ Store(DeRefOf(Index(p000, 0)), Local2)
+ Store(SizeOf(Local2), Local3)
+
+ Store(Local3, Debug)
+
+ if (LNotEqual(Local3, 3)) {
+ err(arg0, z054, 13, 0, 0, Local3, 3)
+ }
+
+ // 1
+ Store(DeRefOf(Index(p000, 1)), Local2)
+ Store(SizeOf(Local2), Local3)
+
+ Store(Local3, Debug)
+
+ if (LNotEqual(Local3, 9)) {
+ err(arg0, z054, 14, 0, 0, Local3, 9)
+ }
+
+ // 2
+ Store(DeRefOf(Index(p000, 2)), Local2)
+ Store(SizeOf(Local2), Local3)
+
+ Store(Local3, Debug)
+
+ if (LNotEqual(Local3, 6)) {
+ err(arg0, z054, 15, 0, 0, Local3, 6)
+ }
+
+ Store(SizeOf(p000), Local0)
+
+ Store(Local0, Debug)
+
+ if (LNotEqual(Local0, 3)) {
+ err(arg0, z054, 16, 0, 0, Local0, 3)
+ }
+}
+*/
+
+/*
+// ATTENTION: such type tests have to be added and extended
+Method(mZ0d, 1)
+{
+ Name(p000, Package() {
+ 0x12345678, 0x90abcdef,
+ })
+ Name(b000, Buffer() {0x78,0x56,0x34,0x12, 0xef,0xcd,0xab,0x90})
+
+ Store(DeRefOf(Index(p000, 0)), Local7)
+
+ if (LEqual(b000, Local7)) {
+ err(arg0, z054, 17, 0, 0, b000, Local7)
+ }
+
+ if (LEqual(Local7, b000)) {
+ err(arg0, z054, 18, 0, 0, Local7, b000)
+ }
+
+ return (0)
+}
+*/
+
+
+// Bug 54: All the ASL Operators which deal with at least two Buffer type
+// objects cause unexpected exceptions in cases when both Buffer type objects
+// are passed immediately
+Method(mZ0e, 1)
+{
+ CH03("", 0, 0, 0, 0)
+
+ Add( Buffer() {0x79}, Buffer() {0x79} )
+
+ CH03("", 0, 0, 0, 0)
+}
+
+// Bug 57: The empty Return operator (without specifying the returning value)
+// is processed incorrectly
+Method(mZ0f, 1) {
+
+ Method(mZ10, 2) {
+
+ if (arg1) {
+ return (0x1234)
+
+ // ASL-compiler report Warning in this case
+ // Store("ERROR 0: mZ13, after Return !!!", Debug)
+ }
+ err(arg0, z054, 19, 0, 0, 0, 0)
+
+ return (0x5678)
+ }
+
+ Method(mZ11, 2) {
+
+ if (arg1) {
+
+ return
+
+ // ASL-compiler DOESN'T report Warning in this case!!!
+ // And the Store operator below is actually processed!!!
+
+ err(arg0, z054, 20, 0, 0, 0, 0)
+ }
+
+ err(arg0, z054, 21, 0, 0, 0, 0)
+
+ return
+ }
+
+ Store(mZ10(arg0, 1), Local7)
+
+ mZ11(arg0, 1)
+
+ return (0)
+}
+
+// Bug 59: The String to Buffer Rule from the Table 17-8 "Object Conversion
+// Rules" says "If the string is shorter than the buffer, the buffer size is
+// reduced".
+Method(mZ10, 1) {
+ Name(str0, "\x01\x02")
+ Name(buf0, Buffer(){0x03, 0x04, 0x05})
+
+ Store(str0, buf0)
+
+ if (LNotEqual(Sizeof(buf0), 2)) {
+ // Error: length of the buffer not reduced to the stored string
+ err(arg0, z054, 22, 0, 0, 0, 0)
+ }
+ return (0)
+}
+
+// Bug 65: The Buffer Field type objects should be passed
+// to Methods without any conversion, but instead
+// they are converted to Buffers or Integers depending
+// on the size of the Buffer Field object and the
+// run mode (32-bit or 64/bit mode).
+Method(mZ11, 1) {
+ Name(b000, Buffer(200) {})
+ CreateField(b000, 0, 8, bf00)
+
+ Method(m000, 2)
+ {
+ Store(ObjectType(arg1), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err(arg0, z054, 23, 0, 0, Local0, 14)
+ }
+ }
+
+ Method(m001, 1)
+ {
+ Store(ObjectType(bf00), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err(arg0, z054, 24, 0, 0, Local0, 14)
+ } else {
+ m000(arg0, bf00)
+ }
+ }
+
+ m001(arg0)
+}
+
+// Bug 66: The Field Unit type objects should be passed
+// to Methods without any conversion, but instead
+// they are converted to Buffers or Integers depending
+// on the size of the Buffer Field object and the
+// run mode (32-bit or 64/bit mode).
+Method(mZ12, 1) {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { f000, 8 }
+
+ Method(m000, 2)
+ {
+ Store(ObjectType(arg1), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 25, 0, 0, Local0, 5)
+ }
+ }
+
+ Method(m001, 1)
+ {
+ Store(ObjectType(f000), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 26, 0, 0, Local0, 5)
+ } else {
+ m000(arg0, f000)
+ }
+ }
+
+ m001(arg0)
+}
+
+// Bug 67: The Buffer Field type objects should be RETURNED
+// by Methods without any conversion, but instead
+// they are converted to Buffers or Integers depending
+// on the size of the Buffer Field object and the
+// run mode (32-bit or 64/bit mode).
+Method(mZ13, 1) {
+ Name(b000, Buffer(200) {})
+ CreateField(b000, 0, 8, bf00)
+
+ Method(m000)
+ {
+ return (bf00)
+ }
+
+ Method(m001, 1)
+ {
+ Store(ObjectType(bf00), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err(arg0, z054, 27, 0, 0, Local0, 14)
+ } else {
+ Store(m000(), Local7)
+ Store(ObjectType(Local7), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err(arg0, z054, 28, 0, 0, Local0, 14)
+ }
+ }
+ }
+
+ m001(arg0)
+}
+
+// Bug 68: The Field Unit type objects should be RETURNED
+// by Methods without any conversion, but instead
+// they are converted to Buffers or Integers depending
+// on the size of the Buffer Field object and the
+// run mode (32-bit or 64/bit mode).
+Method(mZ14, 1) {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { f000, 8 }
+
+ Method(m000)
+ {
+ return (f000)
+ }
+
+ Method(m001, 1)
+ {
+ Store(ObjectType(f000), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 29, 0, 0, Local0, 5)
+ } else {
+ Store(m000(), Local7)
+ Store(ObjectType(Local7), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 30, 0, 0, Local0, 5)
+ }
+ }
+ }
+
+ m001(arg0)
+}
+
+// Bug 30. This test may be removed there after
+// the Field relative tests will be implemented.
+// Caused crash.
+Method(mZ15, 1)
+{
+ Method(m000)
+ {
+ // Field Unit
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) {
+ f000, 8,
+ f001, 16,
+ f002, 32,
+ f003, 33,
+ f004, 1,
+ f005, 64,
+ }
+
+ Store("------------ Fields:", Debug)
+ Store(f000, Debug)
+ Store(f001, Debug)
+ Store(f002, Debug)
+ Store(f003, Debug)
+ Store(f004, Debug)
+ Store(f005, Debug)
+ Store("------------.", Debug)
+
+ return (0)
+ }
+
+ Method(m001)
+ {
+ // Field Unit
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) {
+ f000, 8,
+ f001, 16,
+ f002, 32,
+ f003, 33,
+ f004, 7,
+ f005, 64,
+ }
+
+ Store("------------ Fields:", Debug)
+ Store(f000, Debug)
+ Store(f001, Debug)
+ Store(f002, Debug)
+ Store(f003, Debug)
+ Store(f004, Debug)
+ Store(f005, Debug)
+ Store("------------.", Debug)
+
+ return (0)
+ }
+
+ m000()
+ m001()
+ return (0)
+}
+
+Method(mZ16, 1)
+{
+ Method(m000)
+ {
+ return (0x12345678)
+ }
+
+ Method(m001, 1)
+ {
+ return (0x12345678)
+ }
+
+ Store(ObjectType(m000), Local0)
+ if (LNotEqual(Local0, c010)) {
+ err(arg0, z054, 31, 0, 0, Local0, c010)
+ }
+
+ /* Nov. 2012: Method invocation as arg to ObjectType is now illegal */
+//
+// Store(ObjectType(m000()), Local0)
+// if (LNotEqual(Local0, c009)) {
+// err(arg0, z054, 32, 0, 0, Local0, c009)
+// }
+//
+// Store(ObjectType(m001(123)), Local1)
+// if (LNotEqual(Local1, c009)) {
+// err(arg0, z054, 33, 0, 0, Local1, c009)
+// }
+}
+
+// Run-method
+Method(MSC0)
+{
+ Name(ts, "MSC0")
+
+ mZ00(ts)
+ mZ02(ts)
+ mZ05(ts)
+ mZ06(ts)
+ mZ07(ts)
+ mZ08(ts)
+ mZ0a(ts)
+ mZ0b(ts)
+ mZ0e(ts)
+ mZ0f(ts)
+ mZ10(ts)
+ mZ11(ts)
+ mZ12(ts)
+ mZ13(ts)
+ mZ14(ts)
+ mZ15(ts)
+ mZ16(ts)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.old.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.old.asl
index f50cf39b2..7c6f7d4a5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.old.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0073_ASL/misc.old.asl
@@ -1,617 +1,617 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-// Miscellaneous not systematized tests
-
-Name(z054, 54)
-
-// Looks like Default is at all not implemented
-
-Method(m100, 1)
-{
- Store(0, Local0)
- Store(0, Local1)
-
- // Bug XXX. This Switch code below causes ASL-compiler to fail
- // for full.asl file with the diagnostics like this:
- // nssearch-0397: *** Error: NsSearchAndEnter:
- // Bad character in ACPI Name: 5B5F545F
- // and fall into recursion:
- // Remark 3040 - Recursive method call ^ (ERR_)
- // Note: (0x5B5F545F is equal to "[_T_")
-
- Switch (Local1) {
- Case (5) {
- Store(5, Local0)
- }
- Default {
- Store(1, Local0)
- }
- }
-
- if (LNotEqual(Local0, 1)) {
- err(arg0, z054, 0, Local0, 0)
- }
-}
-
-// Concatenate operator affects the object passed as Source2 parameter
-
-Method(m101, 1) {
- Concatenate("qwertyuiop", arg0)
-}
-
-Method(m102, 1)
-{
- Store(0, Local0)
- m101(Local0)
- if (LNotequal(Local0, 0)) {
- err(arg0, z054, 1, Local0, 0)
- }
-
- Store(0, Local0)
- Concatenate("qwertyuiop", Local0)
- if (LNotequal(Local0, 0)) {
- err(arg0, z054, 2, Local0, 0)
- }
-}
-
-// Unexpected value returned by ObjectType for Field Unit objects
-
-// The field passed as explicit reference (RefOf)
-Method(m105, 1)
-{
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- f000, 32
- }
-
- Store(ObjectType(RefOf(f000)), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 3, Local0, 0)
- }
-}
-
-// The BankField corrupts the contents of OperationRegion
-
-Method(m106, 1)
-{
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- bnk0, 8
- }
-
- BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- Store(1, bnk0)
- if (LNotEqual(bnk0, 1)) {
- err(arg0, z054, 4, bnk0, 0)
- }
-
- Store(0x96, bf01)
- if (LNotEqual(bnk0, 1)) {
- err(arg0, z054, 5, bnk0, 0)
- }
-
- Store(0x87, bf00)
- if (LNotEqual(bnk0, 1)) {
- err(arg0, z054, 6, bnk0, 0)
- }
-
- if (LNotEqual(bf00, 0x87)) {
- err(arg0, z054, 7, bf00, 0)
- }
-
- if (LNotEqual(bf01, 0x96)) {
- err(arg0, z054, 8, bf01, 0)
- }
-}
-
-// ToBuffer caused destroying of source buffer passed by Data parameter
-Method(m107, 1)
-{
- Store(Buffer(4){10, 11, 12, 13}, Local0)
- Store(ObjectType(Local0), Local1)
-
- if (LNotEqual(Local1, c00b)) {
- err(arg0, z054, 9, Local1, 0)
- }
-
- ToBuffer(Local0, Local2)
-
- Store(0xaa, Local3)
-
- Store(ObjectType(Local0), Local3)
-
- if (LNotEqual(Local3, c00b)) {
- err(arg0, z054, 10, Local3, 0)
- }
-}
-
-// ObjectType() operator should be allowed to deal with the
-// uninitialized objects.
-
-// Uncomment this when the problem will be fixed and compile
-// will not fail in this case like it do now: "Method local
-// variable is not initialized (Local0)".
-Method(m108, 1)
-{
- Store(ObjectType(Local0), Local1)
-}
-
-// Now, this cause exception but should not
-Method(m109, 2)
-{
- if (arg1) {
- Store(0, Local0)
- }
-
- CH03()
-
- Store(ObjectType(Local0), Local1)
-
- if (LNotEqual(Local1, 0)) {
- err(arg0, z054, 11, Local1, 0)
- }
-
- CH03()
-}
-
-Method(m10a, 1)
-{
- m109(arg0, 0)
-}
-
-// DerefOf. If the Source evaluates to a string, the string is evaluated
-// as an ASL name (relative to the current scope) and the contents of that
-// object are returned.
-Method(m10b, 1)
-{
- Name(b000, Buffer(){ 1, 2, 3, 4, 5, 6, 7, 8 })
-
- Store("b000", Local0)
-
- Store("================ 0:", Debug)
-
- Store(DerefOf(Local0), Local1)
-
- Store("================ 1:", Debug)
-
- Store(ObjectType(Local1), Local2)
-
- if (LNotEqual(Local2, 3)) {
- err(arg0, z054, 12, Local2, 0)
- }
-
- Store("================ 2:", Debug)
-
- Store(Local1, Debug)
- Store(Local2, Debug)
-
- return (0)
-}
-
-/*
-// Currently, incorrect test
-// The size of Strings in Package is determined incorrectly
-Method(m10c, 1)
-{
- Name(p000, Package() {
- "012",
- "0123456789abcdef",
- Buffer() {17,28,69,11,22,34,35,56,67,11},
- "012345",
- })
-
- Store(DeRefOf(Index(p000, 1)), Local0)
- Store(0, Index(Local0, 5))
-
- Store(0, Index(p000, 1))
-
- Store(DeRefOf(Index(p000, 1)), Local0)
-// Store(0, Index(Local0, 5))
-
- Store("=================:", Debug)
- Store(Local0, Debug)
-
- // 0
- Store(DeRefOf(Index(p000, 0)), Local2)
- Store(SizeOf(Local2), Local3)
-
- Store(Local3, Debug)
-
- if (LNotEqual(Local3, 3)) {
- err(arg0, z054, 13, Local3, 3)
- }
-
- // 1
- Store(DeRefOf(Index(p000, 1)), Local2)
- Store(SizeOf(Local2), Local3)
-
- Store(Local3, Debug)
-
- if (LNotEqual(Local3, 9)) {
- err(arg0, z054, 14, Local3, 9)
- }
-
- // 2
- Store(DeRefOf(Index(p000, 2)), Local2)
- Store(SizeOf(Local2), Local3)
-
- Store(Local3, Debug)
-
- if (LNotEqual(Local3, 6)) {
- err(arg0, z054, 15, Local3, 6)
- }
-
- Store(SizeOf(p000), Local0)
-
- Store(Local0, Debug)
-
- if (LNotEqual(Local0, 3)) {
- err(arg0, z054, 16, Local0, 3)
- }
-}
-*/
-
-/*
-// ATTENTION: such type tests have to be added and extended
-Method(m10d, 1)
-{
- Name(p000, Package() {
- 0x12345678, 0x90abcdef,
- })
- Name(b000, Buffer() {0x78,0x56,0x34,0x12, 0xef,0xcd,0xab,0x90})
-
- Store(DeRefOf(Index(p000, 0)), Local7)
-
- if (LEqual(b000, Local7)) {
- err(arg0, z054, 17, b000, Local7)
- }
-
- if (LEqual(Local7, b000)) {
- err(arg0, z054, 18, Local7, b000)
- }
-
- return (0)
-}
-*/
-
-
-// Bug 54: All the ASL Operators which deal with at least two Buffer type
-// objects cause unexpected exceptions in cases when both Buffer type objects
-// are passed immediately
-Method(m10e, 1)
-{
- CH03()
-
- Add( Buffer() {0x79}, Buffer() {0x79} )
-
- CH03()
-}
-
-// Bug 57: The empty Return operator (without specifying the returning value)
-// is processed incorrectly
-Method(m10f, 1) {
-
- Method(m110, 2) {
-
- if (arg1) {
- return (0x1234)
-
- // ASL-compiler report Warning in this case
- // Store("ERROR 0: m113, after Return !!!", Debug)
- }
- err(arg0, z054, 19, 0, 0)
-
- return (0x5678)
- }
-
- Method(m111, 2) {
-
- if (arg1) {
-
- return
-
- // ASL-compiler DOESN'T report Warning in this case!!!
- // And the Store operator below is actually processed!!!
-
- err(arg0, z054, 20, 0, 0)
- }
-
- err(arg0, z054, 21, 0, 0)
-
- return
- }
-
- Store(m110(arg0, 1), Local7)
-
- m111(arg0, 1)
-
- return (0)
-}
-
-// Bug 59: The String to Buffer Rule from the Table 17-8 "Object Conversion
-// Rules" says "If the string is shorter than the buffer, the buffer size is
-// reduced".
-Method(m110, 1) {
- Name(str0, "\x01\x02")
- Name(buf0, Buffer(){0x03, 0x04, 0x05})
-
- Store(str0, buf0)
-
- if (LNotEqual(Sizeof(buf0), 2)) {
- // Error: length of the buffer not reduced to the stored string
- err(arg0, z054, 22, 0, 0)
- }
- return (0)
-}
-
-// Bug 65: The Buffer Field type objects should be passed
-// to Methods without any conversion, but instead
-// they are converted to Buffers or Integers depending
-// on the size of the Buffer Field object and the
-// run mode (32-bit or 64/bit mode).
-Method(m111, 1) {
- Name(b000, Buffer(200) {})
- CreateField(b000, 0, 8, bf00)
-
- Method(m000, 2)
- {
- Store(ObjectType(arg1), Local0)
- if (LNotEqual(Local0, 14)) {
- err(arg0, z054, 23, Local0, 14)
- }
- }
-
- Method(m001, 1)
- {
- Store(ObjectType(bf00), Local0)
- if (LNotEqual(Local0, 14)) {
- err(arg0, z054, 24, Local0, 14)
- } else {
- m000(arg0, bf00)
- }
- }
-
- m001(arg0)
-}
-
-// Bug 66: The Field Unit type objects should be passed
-// to Methods without any conversion, but instead
-// they are converted to Buffers or Integers depending
-// on the size of the Buffer Field object and the
-// run mode (32-bit or 64/bit mode).
-Method(m112, 1) {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { f000, 8 }
-
- Method(m000, 2)
- {
- Store(ObjectType(arg1), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 25, Local0, 5)
- }
- }
-
- Method(m001, 1)
- {
- Store(ObjectType(f000), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 26, Local0, 5)
- } else {
- m000(arg0, f000)
- }
- }
-
- m001(arg0)
-}
-
-// Bug 67: The Buffer Field type objects should be RETURNED
-// by Methods without any conversion, but instead
-// they are converted to Buffers or Integers depending
-// on the size of the Buffer Field object and the
-// run mode (32-bit or 64/bit mode).
-Method(m113, 1) {
- Name(b000, Buffer(200) {})
- CreateField(b000, 0, 8, bf00)
-
- Method(m000)
- {
- return (bf00)
- }
-
- Method(m001, 1)
- {
- Store(ObjectType(bf00), Local0)
- if (LNotEqual(Local0, 14)) {
- err(arg0, z054, 27, Local0, 14)
- } else {
- Store(m000(), Local7)
- Store(ObjectType(Local7), Local0)
- if (LNotEqual(Local0, 14)) {
- err(arg0, z054, 28, Local0, 14)
- }
- }
- }
-
- m001(arg0)
-}
-
-// Bug 68: The Field Unit type objects should be RETURNED
-// by Methods without any conversion, but instead
-// they are converted to Buffers or Integers depending
-// on the size of the Buffer Field object and the
-// run mode (32-bit or 64/bit mode).
-Method(m114, 1) {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { f000, 8 }
-
- Method(m000)
- {
- return (f000)
- }
-
- Method(m001, 1)
- {
- Store(ObjectType(f000), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 29, Local0, 5)
- } else {
- Store(m000(), Local7)
- Store(ObjectType(Local7), Local0)
- if (LNotEqual(Local0, 5)) {
- err(arg0, z054, 30, Local0, 5)
- }
- }
- }
-
- m001(arg0)
-}
-
-// Bug 30. This test may be removed there after
-// the Field relative tests will be implemented.
-// Caused crash.
-Method(m115, 1)
-{
- Method(m000)
- {
- // Field Unit
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) {
- f000, 8,
- f001, 16,
- f002, 32,
- f003, 33,
- f004, 1,
- f005, 64,
- }
-
- Store("------------ Fields:", Debug)
- Store(f000, Debug)
- Store(f001, Debug)
- Store(f002, Debug)
- Store(f003, Debug)
- Store(f004, Debug)
- Store(f005, Debug)
- Store("------------.", Debug)
-
- return (0)
- }
-
- Method(m001)
- {
- // Field Unit
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) {
- f000, 8,
- f001, 16,
- f002, 32,
- f003, 33,
- f004, 7,
- f005, 64,
- }
-
- Store("------------ Fields:", Debug)
- Store(f000, Debug)
- Store(f001, Debug)
- Store(f002, Debug)
- Store(f003, Debug)
- Store(f004, Debug)
- Store(f005, Debug)
- Store("------------.", Debug)
-
- return (0)
- }
-
- m000()
- m001()
- return (0)
-}
-
-Method(m116, 1)
-{
- Method(m000)
- {
- return (0x12345678)
- }
-
- Method(m001, 1)
- {
- return (0x12345678)
- }
-
- Store(ObjectType(m000), Local0)
- if (LNotEqual(Local0, c010)) {
- err(arg0, z054, 31, Local0, c010)
- }
-
- /* Nov. 2012: Method invocation as arg to ObjectType is now illegal */
-//
-// Store(ObjectType(m000()), Local0)
-// if (LNotEqual(Local0, c009)) {
-// err(arg0, z054, 32, Local0, c009)
-// }
-//
-// Store(ObjectType(m001(123)), Local1)
-// if (LNotEqual(Local1, c009)) {
-// err(arg0, z054, 33, Local1, c009)
-// }
-}
-
-// Run-method
-Method(MSC0)
-{
- Name(ts, "MSC0")
-
- m100(ts)
- m102(ts)
- m105(ts)
- m106(ts)
- m107(ts)
- m108(ts)
- m10a(ts)
- m10b(ts)
- m10e(ts)
- m10f(ts)
- m110(ts)
- m111(ts)
- m112(ts)
- m113(ts)
- m114(ts)
- m115(ts)
- m116(ts)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+// Miscellaneous not systematized tests
+
+Name(z054, 54)
+
+// Looks like Default is at all not implemented
+
+Method(m100, 1)
+{
+ Store(0, Local0)
+ Store(0, Local1)
+
+ // Bug XXX. This Switch code below causes ASL-compiler to fail
+ // for full.asl file with the diagnostics like this:
+ // nssearch-0397: *** Error: NsSearchAndEnter:
+ // Bad character in ACPI Name: 5B5F545F
+ // and fall into recursion:
+ // Remark 3040 - Recursive method call ^ (ERR_)
+ // Note: (0x5B5F545F is equal to "[_T_")
+
+ Switch (Local1) {
+ Case (5) {
+ Store(5, Local0)
+ }
+ Default {
+ Store(1, Local0)
+ }
+ }
+
+ if (LNotEqual(Local0, 1)) {
+ err(arg0, z054, 0, Local0, 0)
+ }
+}
+
+// Concatenate operator affects the object passed as Source2 parameter
+
+Method(m101, 1) {
+ Concatenate("qwertyuiop", arg0)
+}
+
+Method(m102, 1)
+{
+ Store(0, Local0)
+ m101(Local0)
+ if (LNotequal(Local0, 0)) {
+ err(arg0, z054, 1, Local0, 0)
+ }
+
+ Store(0, Local0)
+ Concatenate("qwertyuiop", Local0)
+ if (LNotequal(Local0, 0)) {
+ err(arg0, z054, 2, Local0, 0)
+ }
+}
+
+// Unexpected value returned by ObjectType for Field Unit objects
+
+// The field passed as explicit reference (RefOf)
+Method(m105, 1)
+{
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ f000, 32
+ }
+
+ Store(ObjectType(RefOf(f000)), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 3, Local0, 0)
+ }
+}
+
+// The BankField corrupts the contents of OperationRegion
+
+Method(m106, 1)
+{
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ bnk0, 8
+ }
+
+ BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ Store(1, bnk0)
+ if (LNotEqual(bnk0, 1)) {
+ err(arg0, z054, 4, bnk0, 0)
+ }
+
+ Store(0x96, bf01)
+ if (LNotEqual(bnk0, 1)) {
+ err(arg0, z054, 5, bnk0, 0)
+ }
+
+ Store(0x87, bf00)
+ if (LNotEqual(bnk0, 1)) {
+ err(arg0, z054, 6, bnk0, 0)
+ }
+
+ if (LNotEqual(bf00, 0x87)) {
+ err(arg0, z054, 7, bf00, 0)
+ }
+
+ if (LNotEqual(bf01, 0x96)) {
+ err(arg0, z054, 8, bf01, 0)
+ }
+}
+
+// ToBuffer caused destroying of source buffer passed by Data parameter
+Method(m107, 1)
+{
+ Store(Buffer(4){10, 11, 12, 13}, Local0)
+ Store(ObjectType(Local0), Local1)
+
+ if (LNotEqual(Local1, c00b)) {
+ err(arg0, z054, 9, Local1, 0)
+ }
+
+ ToBuffer(Local0, Local2)
+
+ Store(0xaa, Local3)
+
+ Store(ObjectType(Local0), Local3)
+
+ if (LNotEqual(Local3, c00b)) {
+ err(arg0, z054, 10, Local3, 0)
+ }
+}
+
+// ObjectType() operator should be allowed to deal with the
+// uninitialized objects.
+
+// Uncomment this when the problem will be fixed and compile
+// will not fail in this case like it do now: "Method local
+// variable is not initialized (Local0)".
+Method(m108, 1)
+{
+ Store(ObjectType(Local0), Local1)
+}
+
+// Now, this cause exception but should not
+Method(m109, 2)
+{
+ if (arg1) {
+ Store(0, Local0)
+ }
+
+ CH03()
+
+ Store(ObjectType(Local0), Local1)
+
+ if (LNotEqual(Local1, 0)) {
+ err(arg0, z054, 11, Local1, 0)
+ }
+
+ CH03()
+}
+
+Method(m10a, 1)
+{
+ m109(arg0, 0)
+}
+
+// DerefOf. If the Source evaluates to a string, the string is evaluated
+// as an ASL name (relative to the current scope) and the contents of that
+// object are returned.
+Method(m10b, 1)
+{
+ Name(b000, Buffer(){ 1, 2, 3, 4, 5, 6, 7, 8 })
+
+ Store("b000", Local0)
+
+ Store("================ 0:", Debug)
+
+ Store(DerefOf(Local0), Local1)
+
+ Store("================ 1:", Debug)
+
+ Store(ObjectType(Local1), Local2)
+
+ if (LNotEqual(Local2, 3)) {
+ err(arg0, z054, 12, Local2, 0)
+ }
+
+ Store("================ 2:", Debug)
+
+ Store(Local1, Debug)
+ Store(Local2, Debug)
+
+ return (0)
+}
+
+/*
+// Currently, incorrect test
+// The size of Strings in Package is determined incorrectly
+Method(m10c, 1)
+{
+ Name(p000, Package() {
+ "012",
+ "0123456789abcdef",
+ Buffer() {17,28,69,11,22,34,35,56,67,11},
+ "012345",
+ })
+
+ Store(DeRefOf(Index(p000, 1)), Local0)
+ Store(0, Index(Local0, 5))
+
+ Store(0, Index(p000, 1))
+
+ Store(DeRefOf(Index(p000, 1)), Local0)
+// Store(0, Index(Local0, 5))
+
+ Store("=================:", Debug)
+ Store(Local0, Debug)
+
+ // 0
+ Store(DeRefOf(Index(p000, 0)), Local2)
+ Store(SizeOf(Local2), Local3)
+
+ Store(Local3, Debug)
+
+ if (LNotEqual(Local3, 3)) {
+ err(arg0, z054, 13, Local3, 3)
+ }
+
+ // 1
+ Store(DeRefOf(Index(p000, 1)), Local2)
+ Store(SizeOf(Local2), Local3)
+
+ Store(Local3, Debug)
+
+ if (LNotEqual(Local3, 9)) {
+ err(arg0, z054, 14, Local3, 9)
+ }
+
+ // 2
+ Store(DeRefOf(Index(p000, 2)), Local2)
+ Store(SizeOf(Local2), Local3)
+
+ Store(Local3, Debug)
+
+ if (LNotEqual(Local3, 6)) {
+ err(arg0, z054, 15, Local3, 6)
+ }
+
+ Store(SizeOf(p000), Local0)
+
+ Store(Local0, Debug)
+
+ if (LNotEqual(Local0, 3)) {
+ err(arg0, z054, 16, Local0, 3)
+ }
+}
+*/
+
+/*
+// ATTENTION: such type tests have to be added and extended
+Method(m10d, 1)
+{
+ Name(p000, Package() {
+ 0x12345678, 0x90abcdef,
+ })
+ Name(b000, Buffer() {0x78,0x56,0x34,0x12, 0xef,0xcd,0xab,0x90})
+
+ Store(DeRefOf(Index(p000, 0)), Local7)
+
+ if (LEqual(b000, Local7)) {
+ err(arg0, z054, 17, b000, Local7)
+ }
+
+ if (LEqual(Local7, b000)) {
+ err(arg0, z054, 18, Local7, b000)
+ }
+
+ return (0)
+}
+*/
+
+
+// Bug 54: All the ASL Operators which deal with at least two Buffer type
+// objects cause unexpected exceptions in cases when both Buffer type objects
+// are passed immediately
+Method(m10e, 1)
+{
+ CH03()
+
+ Add( Buffer() {0x79}, Buffer() {0x79} )
+
+ CH03()
+}
+
+// Bug 57: The empty Return operator (without specifying the returning value)
+// is processed incorrectly
+Method(m10f, 1) {
+
+ Method(m110, 2) {
+
+ if (arg1) {
+ return (0x1234)
+
+ // ASL-compiler report Warning in this case
+ // Store("ERROR 0: m113, after Return !!!", Debug)
+ }
+ err(arg0, z054, 19, 0, 0)
+
+ return (0x5678)
+ }
+
+ Method(m111, 2) {
+
+ if (arg1) {
+
+ return
+
+ // ASL-compiler DOESN'T report Warning in this case!!!
+ // And the Store operator below is actually processed!!!
+
+ err(arg0, z054, 20, 0, 0)
+ }
+
+ err(arg0, z054, 21, 0, 0)
+
+ return
+ }
+
+ Store(m110(arg0, 1), Local7)
+
+ m111(arg0, 1)
+
+ return (0)
+}
+
+// Bug 59: The String to Buffer Rule from the Table 17-8 "Object Conversion
+// Rules" says "If the string is shorter than the buffer, the buffer size is
+// reduced".
+Method(m110, 1) {
+ Name(str0, "\x01\x02")
+ Name(buf0, Buffer(){0x03, 0x04, 0x05})
+
+ Store(str0, buf0)
+
+ if (LNotEqual(Sizeof(buf0), 2)) {
+ // Error: length of the buffer not reduced to the stored string
+ err(arg0, z054, 22, 0, 0)
+ }
+ return (0)
+}
+
+// Bug 65: The Buffer Field type objects should be passed
+// to Methods without any conversion, but instead
+// they are converted to Buffers or Integers depending
+// on the size of the Buffer Field object and the
+// run mode (32-bit or 64/bit mode).
+Method(m111, 1) {
+ Name(b000, Buffer(200) {})
+ CreateField(b000, 0, 8, bf00)
+
+ Method(m000, 2)
+ {
+ Store(ObjectType(arg1), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err(arg0, z054, 23, Local0, 14)
+ }
+ }
+
+ Method(m001, 1)
+ {
+ Store(ObjectType(bf00), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err(arg0, z054, 24, Local0, 14)
+ } else {
+ m000(arg0, bf00)
+ }
+ }
+
+ m001(arg0)
+}
+
+// Bug 66: The Field Unit type objects should be passed
+// to Methods without any conversion, but instead
+// they are converted to Buffers or Integers depending
+// on the size of the Buffer Field object and the
+// run mode (32-bit or 64/bit mode).
+Method(m112, 1) {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { f000, 8 }
+
+ Method(m000, 2)
+ {
+ Store(ObjectType(arg1), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 25, Local0, 5)
+ }
+ }
+
+ Method(m001, 1)
+ {
+ Store(ObjectType(f000), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 26, Local0, 5)
+ } else {
+ m000(arg0, f000)
+ }
+ }
+
+ m001(arg0)
+}
+
+// Bug 67: The Buffer Field type objects should be RETURNED
+// by Methods without any conversion, but instead
+// they are converted to Buffers or Integers depending
+// on the size of the Buffer Field object and the
+// run mode (32-bit or 64/bit mode).
+Method(m113, 1) {
+ Name(b000, Buffer(200) {})
+ CreateField(b000, 0, 8, bf00)
+
+ Method(m000)
+ {
+ return (bf00)
+ }
+
+ Method(m001, 1)
+ {
+ Store(ObjectType(bf00), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err(arg0, z054, 27, Local0, 14)
+ } else {
+ Store(m000(), Local7)
+ Store(ObjectType(Local7), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err(arg0, z054, 28, Local0, 14)
+ }
+ }
+ }
+
+ m001(arg0)
+}
+
+// Bug 68: The Field Unit type objects should be RETURNED
+// by Methods without any conversion, but instead
+// they are converted to Buffers or Integers depending
+// on the size of the Buffer Field object and the
+// run mode (32-bit or 64/bit mode).
+Method(m114, 1) {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { f000, 8 }
+
+ Method(m000)
+ {
+ return (f000)
+ }
+
+ Method(m001, 1)
+ {
+ Store(ObjectType(f000), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 29, Local0, 5)
+ } else {
+ Store(m000(), Local7)
+ Store(ObjectType(Local7), Local0)
+ if (LNotEqual(Local0, 5)) {
+ err(arg0, z054, 30, Local0, 5)
+ }
+ }
+ }
+
+ m001(arg0)
+}
+
+// Bug 30. This test may be removed there after
+// the Field relative tests will be implemented.
+// Caused crash.
+Method(m115, 1)
+{
+ Method(m000)
+ {
+ // Field Unit
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) {
+ f000, 8,
+ f001, 16,
+ f002, 32,
+ f003, 33,
+ f004, 1,
+ f005, 64,
+ }
+
+ Store("------------ Fields:", Debug)
+ Store(f000, Debug)
+ Store(f001, Debug)
+ Store(f002, Debug)
+ Store(f003, Debug)
+ Store(f004, Debug)
+ Store(f005, Debug)
+ Store("------------.", Debug)
+
+ return (0)
+ }
+
+ Method(m001)
+ {
+ // Field Unit
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) {
+ f000, 8,
+ f001, 16,
+ f002, 32,
+ f003, 33,
+ f004, 7,
+ f005, 64,
+ }
+
+ Store("------------ Fields:", Debug)
+ Store(f000, Debug)
+ Store(f001, Debug)
+ Store(f002, Debug)
+ Store(f003, Debug)
+ Store(f004, Debug)
+ Store(f005, Debug)
+ Store("------------.", Debug)
+
+ return (0)
+ }
+
+ m000()
+ m001()
+ return (0)
+}
+
+Method(m116, 1)
+{
+ Method(m000)
+ {
+ return (0x12345678)
+ }
+
+ Method(m001, 1)
+ {
+ return (0x12345678)
+ }
+
+ Store(ObjectType(m000), Local0)
+ if (LNotEqual(Local0, c010)) {
+ err(arg0, z054, 31, Local0, c010)
+ }
+
+ /* Nov. 2012: Method invocation as arg to ObjectType is now illegal */
+//
+// Store(ObjectType(m000()), Local0)
+// if (LNotEqual(Local0, c009)) {
+// err(arg0, z054, 32, Local0, c009)
+// }
+//
+// Store(ObjectType(m001(123)), Local1)
+// if (LNotEqual(Local1, c009)) {
+// err(arg0, z054, 33, Local1, c009)
+// }
+}
+
+// Run-method
+Method(MSC0)
+{
+ Name(ts, "MSC0")
+
+ m100(ts)
+ m102(ts)
+ m105(ts)
+ m106(ts)
+ m107(ts)
+ m108(ts)
+ m10a(ts)
+ m10b(ts)
+ m10e(ts)
+ m10f(ts)
+ m110(ts)
+ m111(ts)
+ m112(ts)
+ m113(ts)
+ m114(ts)
+ m115(ts)
+ m116(ts)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/DECL.asl
index 1ed254942..628306091 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/DECL.asl
@@ -1,51 +1,51 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0074:
- *
- * SUMMARY: Ones is not equal to 0xFFFFFFFF in 32-bit mode
- *
- * COMMENT:
- *
- * The demo program shows that Ones
- * is not equal to 0xFFFFFFFF in 32-bit mode.
- *
- * The ComplianceRevision field of demo program should be 2,
- * but run ASL compiler with “-r 1” option.
- */
-Method(me0b)
-{
- if (F64){
- SKIP()
- } else {
- if (LNotEqual(Ones, 0xffffffff)){
- err("", zFFF, 0x000, 0, 0, Ones, 0xffffffff)
- }
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0074:
+ *
+ * SUMMARY: Ones is not equal to 0xFFFFFFFF in 32-bit mode
+ *
+ * COMMENT:
+ *
+ * The demo program shows that Ones
+ * is not equal to 0xFFFFFFFF in 32-bit mode.
+ *
+ * The ComplianceRevision field of demo program should be 2,
+ * but run ASL compiler with “-r 1” option.
+ */
+Method(me0b)
+{
+ if (F64){
+ SKIP()
+ } else {
+ if (LNotEqual(Ones, 0xffffffff)){
+ err("", zFFF, 0x000, 0, 0, Ones, 0xffffffff)
+ }
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/MAIN.asl
index 389bd0c01..8ea5d0310 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B74.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0074/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0074/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B74.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0074/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0074/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/RUN.asl
index a14603e80..2d1f0afb4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0074/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 74", TCLD, 74, W017)) {
- SRMT("me0b")
- me0b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 74", TCLD, 74, W017)) {
+ SRMT("me0b")
+ me0b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/DECL.asl
index 4143f9308..26f8a9ea6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/DECL.asl
@@ -1,547 +1,547 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0075:
- *
- * SUMMARY: Each scope of DefinitionBlock should be supplied with its set of _T_x objects
- *
- * Compiler should return an error...
- */
-
- Method(me0c, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (1) {
- Store(1, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (2) {
- Store(2, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (3) {
- Store(3, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (4) {
- Store(4, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (5) {
- Store(5, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (6) {
- Store(6, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (7) {
- Store(7, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (8) {
- Store(8, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (9) {
- Store(9, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (10) {
- Store(10, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (11) {
- Store(11, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (12) {
- Store(12, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (13) {
- Store(13, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (14) {
- Store(14, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (15) {
- Store(15, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (16) {
- Store(16, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (17) {
- Store(17, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (18) {
- Store(18, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (19) {
- Store(19, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (20) {
- Store(20, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (21) {
- Store(21, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (22) {
- Store(22, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (23) {
- Store(23, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (24) {
- Store(24, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (25) {
- Store(25, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (26) {
- Store(26, Local0)
- }
- }
- Switch (ToInteger (arg0)) {
- Case (27) {
- Store(27, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me0d)
- {
- Store(1, Local7)
-
- While (LLessEqual(Local7, 27)) {
- Store(me0c(Local7), Local0)
- if (LNotEqual(Local0, Local7)) {
- Store("Error:", Debug)
- Store(Local7, Debug)
- }
- Increment(Local7)
- }
-
- return (0)
- }
-
- // //////////////////////
-
- Method(me0e, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (1) {
- Store(1, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me0f, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (2) {
- Store(2, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me10, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (3) {
- Store(3, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me11, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (4) {
- Store(4, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me12, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (5) {
- Store(5, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me13, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (6) {
- Store(6, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me14, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (7) {
- Store(7, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me15, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (8) {
- Store(8, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me16, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (9) {
- Store(9, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me17, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (10) {
- Store(10, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me18, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (11) {
- Store(11, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me19, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (12) {
- Store(12, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me1a, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (13) {
- Store(13, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me1b, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (14) {
- Store(14, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me1c, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (15) {
- Store(15, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me1d, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (16) {
- Store(16, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me1e, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (17) {
- Store(17, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me1f, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (18) {
- Store(18, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me20, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (19) {
- Store(19, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me21, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (20) {
- Store(20, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me22, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (21) {
- Store(21, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me23, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (22) {
- Store(22, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me24, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (23) {
- Store(23, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me25, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (24) {
- Store(24, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me26, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (25) {
- Store(25, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me27, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (26) {
- Store(26, Local0)
- }
- }
-
- return (Local0)
- }
-
- Method(me28, 1, Serialized)
- {
- Store(0x100, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (27) {
- Store(27, Local0)
- }
- }
-
- return (Local0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0075:
+ *
+ * SUMMARY: Each scope of DefinitionBlock should be supplied with its set of _T_x objects
+ *
+ * Compiler should return an error...
+ */
+
+ Method(me0c, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (1) {
+ Store(1, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (2) {
+ Store(2, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (3) {
+ Store(3, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (4) {
+ Store(4, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (5) {
+ Store(5, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (6) {
+ Store(6, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (7) {
+ Store(7, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (8) {
+ Store(8, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (9) {
+ Store(9, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (10) {
+ Store(10, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (11) {
+ Store(11, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (12) {
+ Store(12, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (13) {
+ Store(13, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (14) {
+ Store(14, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (15) {
+ Store(15, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (16) {
+ Store(16, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (17) {
+ Store(17, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (18) {
+ Store(18, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (19) {
+ Store(19, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (20) {
+ Store(20, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (21) {
+ Store(21, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (22) {
+ Store(22, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (23) {
+ Store(23, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (24) {
+ Store(24, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (25) {
+ Store(25, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (26) {
+ Store(26, Local0)
+ }
+ }
+ Switch (ToInteger (arg0)) {
+ Case (27) {
+ Store(27, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me0d)
+ {
+ Store(1, Local7)
+
+ While (LLessEqual(Local7, 27)) {
+ Store(me0c(Local7), Local0)
+ if (LNotEqual(Local0, Local7)) {
+ Store("Error:", Debug)
+ Store(Local7, Debug)
+ }
+ Increment(Local7)
+ }
+
+ return (0)
+ }
+
+ // //////////////////////
+
+ Method(me0e, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (1) {
+ Store(1, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me0f, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (2) {
+ Store(2, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me10, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (3) {
+ Store(3, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me11, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (4) {
+ Store(4, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me12, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (5) {
+ Store(5, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me13, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (6) {
+ Store(6, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me14, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (7) {
+ Store(7, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me15, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (8) {
+ Store(8, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me16, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (9) {
+ Store(9, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me17, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (10) {
+ Store(10, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me18, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (11) {
+ Store(11, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me19, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (12) {
+ Store(12, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me1a, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (13) {
+ Store(13, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me1b, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (14) {
+ Store(14, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me1c, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (15) {
+ Store(15, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me1d, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (16) {
+ Store(16, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me1e, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (17) {
+ Store(17, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me1f, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (18) {
+ Store(18, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me20, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (19) {
+ Store(19, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me21, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (20) {
+ Store(20, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me22, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (21) {
+ Store(21, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me23, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (22) {
+ Store(22, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me24, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (23) {
+ Store(23, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me25, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (24) {
+ Store(24, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me26, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (25) {
+ Store(25, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me27, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (26) {
+ Store(26, Local0)
+ }
+ }
+
+ return (Local0)
+ }
+
+ Method(me28, 1, Serialized)
+ {
+ Store(0x100, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (27) {
+ Store(27, Local0)
+ }
+ }
+
+ return (Local0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/MAIN.asl
index f5a201f8c..ce759d0e0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B75.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0075/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0075/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B75.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0075/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0075/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/RUN.asl
index 9e35037f0..2ba27236a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0075/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 75", TCLD, 75, W017)) {
- SRMT("me0d")
- me0d()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 75", TCLD, 75, W017)) {
+ SRMT("me0d")
+ me0d()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/DECL.asl
index a577ccb13..fda31c009 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/DECL.asl
@@ -1,49 +1,49 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0076:
- *
- * SUMMARY: Unexpected dereference of Index reference in Store operator
- */
-
- Method(me29)
- {
- Index(pd01, 0, Local0)
- Store(Local0, Debug)
-
- Store(Index(pd01, 0), Local1)
- Store(Local1, Debug)
-
- CH03("", 0, 0x000, 0, 0)
- Add(Local1, 0, Local7)
- CH04("", 0, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
-
- Store(Refof(id0a), Local2)
- Store(Local2, Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0076:
+ *
+ * SUMMARY: Unexpected dereference of Index reference in Store operator
+ */
+
+ Method(me29)
+ {
+ Index(pd01, 0, Local0)
+ Store(Local0, Debug)
+
+ Store(Index(pd01, 0), Local1)
+ Store(Local1, Debug)
+
+ CH03("", 0, 0x000, 0, 0)
+ Add(Local1, 0, Local7)
+ CH04("", 0, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
+
+ Store(Refof(id0a), Local2)
+ Store(Local2, Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/MAIN.asl
index 1f8af2948..3edce1631 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B76.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0076/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0076/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B76.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0076/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0076/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/RUN.asl
index 1d74f21c1..091badb95 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0076/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 76", TCLD, 76, W017)) {
- SRMT("me29")
- me29()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 76", TCLD, 76, W017)) {
+ SRMT("me29")
+ me29()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/DECL.asl
index 4c961849d..25a4b0151 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/DECL.asl
@@ -1,50 +1,50 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0077:
- *
- * SUMMARY: Exception on ToInteger operator under specific conditions
- */
-
- Method(me2a,, Serialized)
- {
- Name (i000, 0x89abcdef)
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(ToInteger("0"), Local0) // AE_BAD_DECIMAL_CONSTANT
-
- Store(ToInteger("0x0"), Local0) // AE_BAD_HEX_CONSTANT
-
- Store(Add("0", 1), Local0) // AE_BAD_HEX_CONSTANT
-
- Store("0", i000) // AE_BAD_HEX_CONSTANT
-
- CH03("", 0, 0x000, 0, 0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0077:
+ *
+ * SUMMARY: Exception on ToInteger operator under specific conditions
+ */
+
+ Method(me2a,, Serialized)
+ {
+ Name (i000, 0x89abcdef)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(ToInteger("0"), Local0) // AE_BAD_DECIMAL_CONSTANT
+
+ Store(ToInteger("0x0"), Local0) // AE_BAD_HEX_CONSTANT
+
+ Store(Add("0", 1), Local0) // AE_BAD_HEX_CONSTANT
+
+ Store("0", i000) // AE_BAD_HEX_CONSTANT
+
+ CH03("", 0, 0x000, 0, 0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/MAIN.asl
index e6a415ff7..286bfa894 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B77.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0077/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0077/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B77.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0077/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0077/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/RUN.asl
index 09d284c29..d28e50995 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0077/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 77", TCLD, 77, W017)) {
- SRMT("me2a")
- me2a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 77", TCLD, 77, W017)) {
+ SRMT("me2a")
+ me2a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/DECL.asl
index 8d2f0e8d4..923a2f6dc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/DECL.asl
@@ -1,40 +1,40 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0078:
- *
- * SUMMARY: Specific expression Derefof(Refof(i000)) causes deletion of object (i000)
- */
-
- Method(me2b)
- {
- Store(Derefof(Refof(id0b)), Local0)
-
- Store(id0b, Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0078:
+ *
+ * SUMMARY: Specific expression Derefof(Refof(i000)) causes deletion of object (i000)
+ */
+
+ Method(me2b)
+ {
+ Store(Derefof(Refof(id0b)), Local0)
+
+ Store(id0b, Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/MAIN.asl
index b73a2e2cc..804537a0c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B78.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0078/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0078/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B78.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0078/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0078/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/RUN.asl
index d7a64af7b..7abe287cf 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0078/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 78", TCLD, 78, W017)) {
- SRMT("me2b")
- me2b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 78", TCLD, 78, W017)) {
+ SRMT("me2b")
+ me2b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/DECL.asl
index d5a237604..5d272bedb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/DECL.asl
@@ -1,41 +1,41 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0079:
- *
- * SUMMARY: Specific expression with ToBuffer causes exception
- */
-
- Method(me2c)
- {
- Store(0, Local0)
-
- Store(ToBuffer("1234567"), Local1)
- Store(ToBuffer("1234567"), Local0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0079:
+ *
+ * SUMMARY: Specific expression with ToBuffer causes exception
+ */
+
+ Method(me2c)
+ {
+ Store(0, Local0)
+
+ Store(ToBuffer("1234567"), Local1)
+ Store(ToBuffer("1234567"), Local0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/MAIN.asl
index 3bd1b29ac..31dd3a829 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B79.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0079/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0079/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B79.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0079/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0079/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/RUN.asl
index 37775e89a..f311b8868 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0079/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 79", TCLD, 79, W017)) {
- SRMT("me2c")
- me2c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 79", TCLD, 79, W017)) {
+ SRMT("me2c")
+ me2c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/DECL.asl
index 9aae69f54..a0c2bd95e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/DECL.asl
@@ -1,60 +1,60 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0080:
- *
- * SUMMARY: The ASL compiler should report Error when the name of Method (but not invocation of it) is specified in expressions
- *
- * Compiler should return error...
- */
-
- Method(me2d)
- {
- Store("Method me2d started", Debug)
-// return (0)
- }
-
- Method(me2e, 1)
- {
- Store("Method me2e started", Debug)
- return (0)
- }
-
- Method(me2f, 2)
- {
- Store("Method me2f started", Debug)
- return (0)
- }
-
-
- Method(me30)
- {
- me2f(me2d, 0)
- me2f(me2e, 1)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0080:
+ *
+ * SUMMARY: The ASL compiler should report Error when the name of Method (but not invocation of it) is specified in expressions
+ *
+ * Compiler should return error...
+ */
+
+ Method(me2d)
+ {
+ Store("Method me2d started", Debug)
+// return (0)
+ }
+
+ Method(me2e, 1)
+ {
+ Store("Method me2e started", Debug)
+ return (0)
+ }
+
+ Method(me2f, 2)
+ {
+ Store("Method me2f started", Debug)
+ return (0)
+ }
+
+
+ Method(me30)
+ {
+ me2f(me2d, 0)
+ me2f(me2e, 1)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/MAIN.asl
index 0945ba142..e00d47a42 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0080_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B80.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0080_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B80.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0080_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/DECL.asl
index d9db46a5e..0187c638d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/DECL.asl
@@ -1,69 +1,69 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0081:
- *
- * SUMMARY: Call to Method immediately passed to ObjectType is evaluated improperly
- */
-
- Method(me31)
- {
- Store("Run me31", Debug)
- return (0x12345678)
- }
-
- Method(me32, 1)
- {
- Store("Run me32", Debug)
- Store(arg0, Debug)
- return (arg0)
- }
-
- Method(me33)
- {
-// Store(me32, Local0)
-// Store(me32("String"), Local0)
-
- Store(ObjectType(me31), Local0)
- if (LNotEqual(Local0, c010)) {
- err("", zFFF, 0x000, 0, 0, Local0, c010)
- }
-
- /* Nov. 2012: Method invocation as arg to ObjectType is now illegal */
-//
-// Store(ObjectType(me31()), Local0)
-// if (LNotEqual(Local0, c009)) {
-// err("", zFFF, 0x001, 0, 0, Local0, c009)
-// }
-//
-// Store(ObjectType(me32("String")), Local0)
-// if (LNotEqual(Local0, c00a)) {
-// err("", zFFF, 0x002, 0, 0, Local0, c00a)
-// }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0081:
+ *
+ * SUMMARY: Call to Method immediately passed to ObjectType is evaluated improperly
+ */
+
+ Method(me31)
+ {
+ Store("Run me31", Debug)
+ return (0x12345678)
+ }
+
+ Method(me32, 1)
+ {
+ Store("Run me32", Debug)
+ Store(arg0, Debug)
+ return (arg0)
+ }
+
+ Method(me33)
+ {
+// Store(me32, Local0)
+// Store(me32("String"), Local0)
+
+ Store(ObjectType(me31), Local0)
+ if (LNotEqual(Local0, c010)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c010)
+ }
+
+ /* Nov. 2012: Method invocation as arg to ObjectType is now illegal */
+//
+// Store(ObjectType(me31()), Local0)
+// if (LNotEqual(Local0, c009)) {
+// err("", zFFF, 0x001, 0, 0, Local0, c009)
+// }
+//
+// Store(ObjectType(me32("String")), Local0)
+// if (LNotEqual(Local0, c00a)) {
+// err("", zFFF, 0x002, 0, 0, Local0, c00a)
+// }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/MAIN.asl
index 111b8e11e..3e131d88f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B81.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0081/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0081/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B81.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0081/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0081/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/RUN.asl
index 6fe263bdf..ad5e44f59 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0081/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 81", TCLD, 81, W017)) {
- SRMT("me33")
- me33()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 81", TCLD, 81, W017)) {
+ SRMT("me33")
+ me33()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0082_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0082_SPEC/DECL.asl
index 538c2c648..bf77f55e5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0082_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0082_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 82:
- *
- * SUMMARY: The Data Type Conversion Rules table should be updated
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 82:
+ *
+ * SUMMARY: The Data Type Conversion Rules table should be updated
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/DECL.asl
index 20f7ba9fa..015d674a8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/DECL.asl
@@ -1,141 +1,141 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0083:
- *
- * SUMMARY: No exception on DerefOf of an arbitrary Source
- */
-
- Method(me34,, Serialized)
- {
- Event(e000)
- Mutex(mx00, 0)
- ThermalZone(tz00) {}
- Processor(pr00, 0, 0xFFFFFFFF, 0) {}
- PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
-
- Name(b9Z0, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
-
- CreateField(b9Z0, 0, 8, bf90)
- Field(r9Z0, ByteAcc, NoLock, Preserve) {f900,8,f901,8,f902,8,f903,8}
- BankField(r9Z0, f901, 0, ByteAcc, NoLock, Preserve) {bn90,4}
- IndexField(f902, f903, ByteAcc, NoLock, Preserve) {if90,8,if91,8}
-
- Device(d000) {}
- Name(i000, 0x89abcdef)
- Name(b000, Buffer() {1,2,3,4})
- Name(p000, Package() {1,2,3,4})
-
-/*
- * Derefof(0x89abcdef)
- * Invalid type ^ ([Integer] found, DerefOf operator requires [String|Reference])
- */
-
-
- // Expected exception for each DerefOf below
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(i000), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(b000), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(p000), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(d000), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(e000), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(mx00), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(tz00), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(pr00), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(pw00), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(r000), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(bf90), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(f900), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(f901), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(f902), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(f903), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(bn90), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(if90), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(if91), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
-
- // And so on..
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0083:
+ *
+ * SUMMARY: No exception on DerefOf of an arbitrary Source
+ */
+
+ Method(me34,, Serialized)
+ {
+ Event(e000)
+ Mutex(mx00, 0)
+ ThermalZone(tz00) {}
+ Processor(pr00, 0, 0xFFFFFFFF, 0) {}
+ PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+
+ Name(b9Z0, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
+
+ CreateField(b9Z0, 0, 8, bf90)
+ Field(r9Z0, ByteAcc, NoLock, Preserve) {f900,8,f901,8,f902,8,f903,8}
+ BankField(r9Z0, f901, 0, ByteAcc, NoLock, Preserve) {bn90,4}
+ IndexField(f902, f903, ByteAcc, NoLock, Preserve) {if90,8,if91,8}
+
+ Device(d000) {}
+ Name(i000, 0x89abcdef)
+ Name(b000, Buffer() {1,2,3,4})
+ Name(p000, Package() {1,2,3,4})
+
+/*
+ * Derefof(0x89abcdef)
+ * Invalid type ^ ([Integer] found, DerefOf operator requires [String|Reference])
+ */
+
+
+ // Expected exception for each DerefOf below
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(i000), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(b000), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(p000), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(d000), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(e000), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(mx00), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(tz00), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(pr00), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(pw00), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(r000), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(bf90), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(f900), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(f901), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(f902), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(f903), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(bn90), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(if90), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(if91), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+
+ // And so on..
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/MAIN.asl
index 8623d1c0c..e29042b17 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B83.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0083/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0083/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B83.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0083/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0083/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/RUN.asl
index 77359ef47..68f8f4146 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0083/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 83", TCLD, 83, W017)) {
- SRMT("me34")
- me34()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 83", TCLD, 83, W017)) {
+ SRMT("me34")
+ me34()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/DECL.asl
index 4e61d8b1c..280c3e576 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/DECL.asl
@@ -1,283 +1,283 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0084:
- *
- * SUMMARY: Failed to interpret AML code alternated with Method declarations
- */
-
-Method(me35, 1)
-{
- Method(m001)
- {
- return (0)
- }
-
- Store("Before m001 run", Debug)
-
- if (arg0) {
- Store("m001 started", Debug)
- m001()
- Store("m001 finished", Debug)
- }
-
- Store("After m001 run", Debug)
-
- Method(m002)
- {
- return (0)
- }
-
- Method(m003)
- {
- return (0)
- }
-
- Store("Before return from me35", Debug)
-
- return (0)
-}
-
-Method(me36)
-{
- Store("Before me35(0) run", Debug)
- me35(0)
- Store("After me35(0) completion", Debug)
-
- Store("Before me35(1) run", Debug)
- me35(1)
- Store("After me35(1) completion", Debug)
-}
-
-Method(m803,, Serialized)
-{
- Name(i000, 0xabcd0000)
-
- Method(m000)
- {
- if (LNotEqual(i000, 0xabcd0000)) {
- err("", zFFF, 0x000, 0, 0, i000, 0xabcd0000)
- }
- Store(0xabcd0001, i000)
- return (0xabcd0002)
- }
-
- m000()
-
- Method(m001)
- {
- if (LNotEqual(i000, 0xabcd0001)) {
- err("", zFFF, 0x001, 0, 0, i000, 0xabcd0001)
- }
- Store(0xabcd0003, i000)
- return (0xabcd0004)
- }
-
- m001()
-
- Method(m002)
- {
- if (LNotEqual(i000, 0xabcd0003)) {
- err("", zFFF, 0x002, 0, 0, i000, 0xabcd0003)
- }
- Store(0xabcd0005, i000)
- return (0xabcd0006)
- }
-
- m002()
-
- Method(m003)
- {
- if (LNotEqual(i000, 0xabcd0005)) {
- err("", zFFF, 0x003, 0, 0, i000, 0xabcd0005)
- }
- Store(0xabcd0007, i000)
- return (0xabcd0008)
- }
-
- m003()
-}
-
-Method(m804,, Serialized)
-{
- Name(i000, 0xabcd0000)
-
- Method(m000)
- {
- Method(m000)
- {
- if (LNotEqual(i000, 0xabcd0000)) {
- err("", zFFF, 0x004, 0, 0, i000, 0xabcd0000)
- }
- Store(0xabcd0001, i000)
- return (0xabcd0002)
- }
-
- m000()
-
- Method(m001)
- {
- if (LNotEqual(i000, 0xabcd0001)) {
- err("", zFFF, 0x005, 0, 0, i000, 0xabcd0001)
- }
- Store(0xabcd0003, i000)
- return (0xabcd0004)
- }
-
- m001()
-
- Method(m002)
- {
- if (LNotEqual(i000, 0xabcd0003)) {
- err("", zFFF, 0x006, 0, 0, i000, 0xabcd0003)
- }
- Store(0xabcd0005, i000)
- return (0xabcd0006)
- }
-
- m002()
-
- Method(m003)
- {
- if (LNotEqual(i000, 0xabcd0005)) {
- err("", zFFF, 0x007, 0, 0, i000, 0xabcd0005)
- }
- Store(0xabcd0007, i000)
- return (0xabcd0008)
- }
-
- m003()
- }
-
- m000()
-
- Method(m001)
- {
- Method(m000)
- {
- if (LNotEqual(i000, 0xabcd0007)) {
- err("", zFFF, 0x008, 0, 0, i000, 0xabcd0007)
- }
- Store(0xabcd0008, i000)
- return (0xabcd0009)
- }
-
- m000()
-
- Method(m001)
- {
- if (LNotEqual(i000, 0xabcd0008)) {
- err("", zFFF, 0x009, 0, 0, i000, 0xabcd0008)
- }
- Store(0xabcd000a, i000)
- return (0xabcd000b)
- }
-
- m001()
-
- Method(m002)
- {
- if (LNotEqual(i000, 0xabcd000a)) {
- err("", zFFF, 0x00a, 0, 0, i000, 0xabcd000a)
- }
- Store(0xabcd000c, i000)
- return (0xabcd000d)
- }
-
- m002()
-
- Method(m003)
- {
- if (LNotEqual(i000, 0xabcd000c)) {
- err("", zFFF, 0x00b, 0, 0, i000, 0xabcd000c)
- }
- Store(0xabcd000e, i000)
- return (0xabcd000f)
- }
-
- m003()
- }
-
- m001()
-
- Method(m002)
- {
- Method(m000)
- {
- if (LNotEqual(i000, 0xabcd000e)) {
- err("", zFFF, 0x00c, 0, 0, i000, 0xabcd000e)
- }
- Store(0xabcd0010, i000)
- return (0xabcd0011)
- }
-
- m000()
-
- Method(m001)
- {
- if (LNotEqual(i000, 0xabcd0010)) {
- err("", zFFF, 0x00d, 0, 0, i000, 0xabcd0010)
- }
- Store(0xabcd0012, i000)
- return (0xabcd0013)
- }
-
- m001()
-
- Method(m002)
- {
- if (LNotEqual(i000, 0xabcd0012)) {
- err("", zFFF, 0x00e, 0, 0, i000, 0xabcd0012)
- }
- Store(0xabcd0014, i000)
- return (0xabcd0015)
- }
-
- m002()
-
- Method(m003)
- {
- if (LNotEqual(i000, 0xabcd0014)) {
- err("", zFFF, 0x00f, 0, 0, i000, 0xabcd0014)
- }
- Store(0xabcd0016, i000)
- return (0xabcd0017)
- }
-
- m003()
- }
-
- m002()
-
- if (LNotEqual(i000, 0xabcd0016)) {
- err("", zFFF, 0x010, 0, 0, i000, 0xabcd0016)
- }
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0084:
+ *
+ * SUMMARY: Failed to interpret AML code alternated with Method declarations
+ */
+
+Method(me35, 1)
+{
+ Method(m001)
+ {
+ return (0)
+ }
+
+ Store("Before m001 run", Debug)
+
+ if (arg0) {
+ Store("m001 started", Debug)
+ m001()
+ Store("m001 finished", Debug)
+ }
+
+ Store("After m001 run", Debug)
+
+ Method(m002)
+ {
+ return (0)
+ }
+
+ Method(m003)
+ {
+ return (0)
+ }
+
+ Store("Before return from me35", Debug)
+
+ return (0)
+}
+
+Method(me36)
+{
+ Store("Before me35(0) run", Debug)
+ me35(0)
+ Store("After me35(0) completion", Debug)
+
+ Store("Before me35(1) run", Debug)
+ me35(1)
+ Store("After me35(1) completion", Debug)
+}
+
+Method(m803,, Serialized)
+{
+ Name(i000, 0xabcd0000)
+
+ Method(m000)
+ {
+ if (LNotEqual(i000, 0xabcd0000)) {
+ err("", zFFF, 0x000, 0, 0, i000, 0xabcd0000)
+ }
+ Store(0xabcd0001, i000)
+ return (0xabcd0002)
+ }
+
+ m000()
+
+ Method(m001)
+ {
+ if (LNotEqual(i000, 0xabcd0001)) {
+ err("", zFFF, 0x001, 0, 0, i000, 0xabcd0001)
+ }
+ Store(0xabcd0003, i000)
+ return (0xabcd0004)
+ }
+
+ m001()
+
+ Method(m002)
+ {
+ if (LNotEqual(i000, 0xabcd0003)) {
+ err("", zFFF, 0x002, 0, 0, i000, 0xabcd0003)
+ }
+ Store(0xabcd0005, i000)
+ return (0xabcd0006)
+ }
+
+ m002()
+
+ Method(m003)
+ {
+ if (LNotEqual(i000, 0xabcd0005)) {
+ err("", zFFF, 0x003, 0, 0, i000, 0xabcd0005)
+ }
+ Store(0xabcd0007, i000)
+ return (0xabcd0008)
+ }
+
+ m003()
+}
+
+Method(m804,, Serialized)
+{
+ Name(i000, 0xabcd0000)
+
+ Method(m000)
+ {
+ Method(m000)
+ {
+ if (LNotEqual(i000, 0xabcd0000)) {
+ err("", zFFF, 0x004, 0, 0, i000, 0xabcd0000)
+ }
+ Store(0xabcd0001, i000)
+ return (0xabcd0002)
+ }
+
+ m000()
+
+ Method(m001)
+ {
+ if (LNotEqual(i000, 0xabcd0001)) {
+ err("", zFFF, 0x005, 0, 0, i000, 0xabcd0001)
+ }
+ Store(0xabcd0003, i000)
+ return (0xabcd0004)
+ }
+
+ m001()
+
+ Method(m002)
+ {
+ if (LNotEqual(i000, 0xabcd0003)) {
+ err("", zFFF, 0x006, 0, 0, i000, 0xabcd0003)
+ }
+ Store(0xabcd0005, i000)
+ return (0xabcd0006)
+ }
+
+ m002()
+
+ Method(m003)
+ {
+ if (LNotEqual(i000, 0xabcd0005)) {
+ err("", zFFF, 0x007, 0, 0, i000, 0xabcd0005)
+ }
+ Store(0xabcd0007, i000)
+ return (0xabcd0008)
+ }
+
+ m003()
+ }
+
+ m000()
+
+ Method(m001)
+ {
+ Method(m000)
+ {
+ if (LNotEqual(i000, 0xabcd0007)) {
+ err("", zFFF, 0x008, 0, 0, i000, 0xabcd0007)
+ }
+ Store(0xabcd0008, i000)
+ return (0xabcd0009)
+ }
+
+ m000()
+
+ Method(m001)
+ {
+ if (LNotEqual(i000, 0xabcd0008)) {
+ err("", zFFF, 0x009, 0, 0, i000, 0xabcd0008)
+ }
+ Store(0xabcd000a, i000)
+ return (0xabcd000b)
+ }
+
+ m001()
+
+ Method(m002)
+ {
+ if (LNotEqual(i000, 0xabcd000a)) {
+ err("", zFFF, 0x00a, 0, 0, i000, 0xabcd000a)
+ }
+ Store(0xabcd000c, i000)
+ return (0xabcd000d)
+ }
+
+ m002()
+
+ Method(m003)
+ {
+ if (LNotEqual(i000, 0xabcd000c)) {
+ err("", zFFF, 0x00b, 0, 0, i000, 0xabcd000c)
+ }
+ Store(0xabcd000e, i000)
+ return (0xabcd000f)
+ }
+
+ m003()
+ }
+
+ m001()
+
+ Method(m002)
+ {
+ Method(m000)
+ {
+ if (LNotEqual(i000, 0xabcd000e)) {
+ err("", zFFF, 0x00c, 0, 0, i000, 0xabcd000e)
+ }
+ Store(0xabcd0010, i000)
+ return (0xabcd0011)
+ }
+
+ m000()
+
+ Method(m001)
+ {
+ if (LNotEqual(i000, 0xabcd0010)) {
+ err("", zFFF, 0x00d, 0, 0, i000, 0xabcd0010)
+ }
+ Store(0xabcd0012, i000)
+ return (0xabcd0013)
+ }
+
+ m001()
+
+ Method(m002)
+ {
+ if (LNotEqual(i000, 0xabcd0012)) {
+ err("", zFFF, 0x00e, 0, 0, i000, 0xabcd0012)
+ }
+ Store(0xabcd0014, i000)
+ return (0xabcd0015)
+ }
+
+ m002()
+
+ Method(m003)
+ {
+ if (LNotEqual(i000, 0xabcd0014)) {
+ err("", zFFF, 0x00f, 0, 0, i000, 0xabcd0014)
+ }
+ Store(0xabcd0016, i000)
+ return (0xabcd0017)
+ }
+
+ m003()
+ }
+
+ m002()
+
+ if (LNotEqual(i000, 0xabcd0016)) {
+ err("", zFFF, 0x010, 0, 0, i000, 0xabcd0016)
+ }
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/MAIN.asl
index 138128597..d62bbe1d3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B84.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0084/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0084/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B84.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0084/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0084/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/RUN.asl
index aff77a3aa..52c1b58a0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0084/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 84", TCLD, 84, W017)) {
- SRMT("me36")
- me36()
- SRMT("m803")
- m803()
- SRMT("m804")
- m804()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 84", TCLD, 84, W017)) {
+ SRMT("me36")
+ me36()
+ SRMT("m803")
+ m803()
+ SRMT("m804")
+ m804()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/DECL.asl
index d80501165..a7957a31d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/DECL.asl
@@ -1,84 +1,84 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0085:
- *
- * SUMMARY: Exception on DeRefOf operator applied to IRef to Uninitialized element of Package
- */
-
- // Uninitialized element of Package
-
- Method(me37,, Serialized)
- {
- // Ref #1
-
- Name(p000, Package(1){})
-
-
- Store(DeRefOf(Index(p000, 0)), Local1)
-
-
- Index(p000, 0, Local0)
- Store(Local0, Debug)
- Store(DeRefOf(Local0), Local1)
-
-
- Index(p000, 0, Local0)
- Store(Local0, Debug)
- }
-
- // Reference to Uninitialized Local
-
- Method(me38, 1)
- {
- if (1) {
-
- // Ref #2
-
- Store(arg0, Debug)
- Store(DeRefOf(arg0), Local1)
- CH04("", 2 , 62, 1, 0, 0 ,0)
- } else {
- Increment(DeRefOf(arg0))
- }
- }
-
- Method(me39, 1)
- {
- if (arg0) {
- Store(0, Local0)
- }
- me38(RefOf(Local0))
- }
-
- Method(me3a)
- {
- me37()
- me39(0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0085:
+ *
+ * SUMMARY: Exception on DeRefOf operator applied to IRef to Uninitialized element of Package
+ */
+
+ // Uninitialized element of Package
+
+ Method(me37,, Serialized)
+ {
+ // Ref #1
+
+ Name(p000, Package(1){})
+
+
+ Store(DeRefOf(Index(p000, 0)), Local1)
+
+
+ Index(p000, 0, Local0)
+ Store(Local0, Debug)
+ Store(DeRefOf(Local0), Local1)
+
+
+ Index(p000, 0, Local0)
+ Store(Local0, Debug)
+ }
+
+ // Reference to Uninitialized Local
+
+ Method(me38, 1)
+ {
+ if (1) {
+
+ // Ref #2
+
+ Store(arg0, Debug)
+ Store(DeRefOf(arg0), Local1)
+ CH04("", 2 , 62, 1, 0, 0 ,0)
+ } else {
+ Increment(DeRefOf(arg0))
+ }
+ }
+
+ Method(me39, 1)
+ {
+ if (arg0) {
+ Store(0, Local0)
+ }
+ me38(RefOf(Local0))
+ }
+
+ Method(me3a)
+ {
+ me37()
+ me39(0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/MAIN.asl
index 15413560c..cb0cc70a2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B85.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0085/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0085/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B85.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0085/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0085/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/RUN.asl
index f8d95ac5f..fd940d07f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0085/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 85", TCLD, 85, W017)) {
- SRMT("me3a")
- me3a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 85", TCLD, 85, W017)) {
+ SRMT("me3a")
+ me3a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/DECL.asl
index e00e8d9c4..d2abce007 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/DECL.asl
@@ -1,74 +1,74 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0086:
- *
- * SUMMARY: ToString operator produces one "Outstanding allocation"
- */
-
- Method(me3b)
- {
- if (0) {
- // 1 Outstanding allocation
-
- Store(ToString("qwrtyu"), Local0)
-
- } elseif (0) {
-
- // 6 Outstanding allocations
-
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- } else {
-
- // 17 Outstanding allocations
-
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- Store(ToString("qwrtyu"), Local0)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0086:
+ *
+ * SUMMARY: ToString operator produces one "Outstanding allocation"
+ */
+
+ Method(me3b)
+ {
+ if (0) {
+ // 1 Outstanding allocation
+
+ Store(ToString("qwrtyu"), Local0)
+
+ } elseif (0) {
+
+ // 6 Outstanding allocations
+
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ } else {
+
+ // 17 Outstanding allocations
+
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ Store(ToString("qwrtyu"), Local0)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/MAIN.asl
index 347c4e435..6c4b1ebac 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B86.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0086/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0086/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B86.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0086/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0086/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/RUN.asl
index aa24fb20d..c369a75c2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0086/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 86", TCLD, 86, W017)) {
- SRMT("me3b")
- me3b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 86", TCLD, 86, W017)) {
+ SRMT("me3b")
+ me3b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/DECL.asl
index fad7ad6d6..3a812ed33 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/DECL.asl
@@ -1,101 +1,101 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0087:
- *
- * SUMMARY: Exception on Switch operator applied to the result of ToBuffer operator
- */
-
- Method(me3c, 0, Serialized)
- {
- Name(b000, Buffer(1){10})
- Name(s000, "qwrtyuiop")
-
- if (1) {
-
- // This code shows that ToBuffer() works correctly
-
- Store("======================: ToBuffer(Buffer)", Debug)
- Store(ToBuffer(b000), Local0)
- Store(Local0, Debug)
- Store(ObjectType(Local0), Local1)
- Store(Local1, Debug)
- Store(SizeOf(Local0), Local2)
- Store(Local2, Debug)
- Store("======================: ToBuffer(String)", Debug)
- Store(ToBuffer(s000), Local0)
- Store(Local0, Debug)
- Store(ObjectType(Local0), Local1)
- Store(Local1, Debug)
- Store(SizeOf(Local0), Local2)
- Store(Local2, Debug)
- Store("======================.", Debug)
- }
-
- // This code shows that ToBuffer() causes exceptions in cases #2, #3
-
-// if (0) {
-
- // Case 1
-
- Switch (Buffer(1){10}) {
- Case ("N") {
- Store("Case (A)", Debug)
- }
- Default {
- Store("Default (A)", Debug)
- }
- }
-// } elseif (1) {
-
- // Case 2
-
- Switch (ToBuffer(Buffer(1){10})) {
- Case ("N") {
- Store("Case (B)", Debug)
- }
- Default {
- Store("Default (B)", Debug)
- }
- }
-
-// } else {
-
- // Case 3
-
- Switch (ToBuffer(b000)) {
- Case ("N") {
- Store("Case (C)", Debug)
- }
- Default {
- Store("Default (C)", Debug)
- }
- }
-// }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0087:
+ *
+ * SUMMARY: Exception on Switch operator applied to the result of ToBuffer operator
+ */
+
+ Method(me3c, 0, Serialized)
+ {
+ Name(b000, Buffer(1){10})
+ Name(s000, "qwrtyuiop")
+
+ if (1) {
+
+ // This code shows that ToBuffer() works correctly
+
+ Store("======================: ToBuffer(Buffer)", Debug)
+ Store(ToBuffer(b000), Local0)
+ Store(Local0, Debug)
+ Store(ObjectType(Local0), Local1)
+ Store(Local1, Debug)
+ Store(SizeOf(Local0), Local2)
+ Store(Local2, Debug)
+ Store("======================: ToBuffer(String)", Debug)
+ Store(ToBuffer(s000), Local0)
+ Store(Local0, Debug)
+ Store(ObjectType(Local0), Local1)
+ Store(Local1, Debug)
+ Store(SizeOf(Local0), Local2)
+ Store(Local2, Debug)
+ Store("======================.", Debug)
+ }
+
+ // This code shows that ToBuffer() causes exceptions in cases #2, #3
+
+// if (0) {
+
+ // Case 1
+
+ Switch (Buffer(1){10}) {
+ Case ("N") {
+ Store("Case (A)", Debug)
+ }
+ Default {
+ Store("Default (A)", Debug)
+ }
+ }
+// } elseif (1) {
+
+ // Case 2
+
+ Switch (ToBuffer(Buffer(1){10})) {
+ Case ("N") {
+ Store("Case (B)", Debug)
+ }
+ Default {
+ Store("Default (B)", Debug)
+ }
+ }
+
+// } else {
+
+ // Case 3
+
+ Switch (ToBuffer(b000)) {
+ Case ("N") {
+ Store("Case (C)", Debug)
+ }
+ Default {
+ Store("Default (C)", Debug)
+ }
+ }
+// }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/MAIN.asl
index 6d0e516ae..64db3dbf1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B87.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0086/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0086/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B87.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0086/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0086/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/RUN.asl
index 83b65b818..4d0ee0609 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0087/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 87", TCLD, 87, W017)) {
- SRMT("me3c")
- me3c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 87", TCLD, 87, W017)) {
+ SRMT("me3c")
+ me3c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/DECL.asl
index 3094ef095..cd349bdd6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/DECL.asl
@@ -1,75 +1,75 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0088:
- *
- * SUMMARY: Spec of Match operator should be changed (conversion/null package entries)
- */
-
- Method(me3d, 1, Serialized)
- {
- Store(0, Local0)
-
- Switch (ToInteger(arg0)) {
- Case ("c179b3fe") {
- Store(1, Local0)
- }
- Default {
- Store(2, Local0)
- }
- }
-
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x000, 0, 0, Local0, 1)
- }
- }
-
- Method(me3e, 1, Serialized)
- {
- Store(0, Local0)
-
- Switch (ToInteger(arg0)) {
- Case (Package() {"c179b3fe"}) {
- Store(1, Local0)
- }
- Default {
- Store(2, Local0)
- }
- }
-
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x001, 0, 0, Local0, 1)
- }
- }
-
- Method(me3f)
- {
- me3d(0xc179b3fe)
- me3e(0xc179b3fe)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0088:
+ *
+ * SUMMARY: Spec of Match operator should be changed (conversion/null package entries)
+ */
+
+ Method(me3d, 1, Serialized)
+ {
+ Store(0, Local0)
+
+ Switch (ToInteger(arg0)) {
+ Case ("c179b3fe") {
+ Store(1, Local0)
+ }
+ Default {
+ Store(2, Local0)
+ }
+ }
+
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 1)
+ }
+ }
+
+ Method(me3e, 1, Serialized)
+ {
+ Store(0, Local0)
+
+ Switch (ToInteger(arg0)) {
+ Case (Package() {"c179b3fe"}) {
+ Store(1, Local0)
+ }
+ Default {
+ Store(2, Local0)
+ }
+ }
+
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 1)
+ }
+ }
+
+ Method(me3f)
+ {
+ me3d(0xc179b3fe)
+ me3e(0xc179b3fe)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/MAIN.asl
index f700b6ebd..55ced36f0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B88.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0088/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0088/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B88.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0088/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0088/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/RUN.asl
index 3330a4050..5a116931b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0088/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 88", TCLD, 88, W017)) {
- SRMT("me3f")
- me3f()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 88", TCLD, 88, W017)) {
+ SRMT("me3f")
+ me3f()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0089_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0089_SPEC/DECL.asl
index ef82202de..20d53192a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0089_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0089_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 89:
- *
- * SUMMARY: Clarifying what does the ASL Method as an element of Package mean
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 89:
+ *
+ * SUMMARY: Clarifying what does the ASL Method as an element of Package mean
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0090_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0090_SPEC/DECL.asl
index 6fa7a624f..ab158e765 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0090_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0090_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 90:
- *
- * SUMMARY: Spec of Match operator should be changed (conversion/null package entries)
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 90:
+ *
+ * SUMMARY: Spec of Match operator should be changed (conversion/null package entries)
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0091_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0091_SPEC/DECL.asl
index b1648b21e..6a6d2e2b2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0091_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0091_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 91:
- *
- * SUMMARY: The result of String-to-Buffer conversion should include the string null terminator
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 91:
+ *
+ * SUMMARY: The result of String-to-Buffer conversion should include the string null terminator
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/DECL.asl
index e973b24da..f6be6b99a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/DECL.asl
@@ -1,85 +1,85 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0092:
- *
- * SUMMARY: Invalid result of Index operator passed with the immediate image of Package
- */
-
- Method(me40, 1, Serialized)
- {
- Name(p000, Package() {1,2,3,4,5,6,7,8})
-
- if (LEqual(Arg0, 0)) {
-
- Store("Package as a named object:", Debug)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(Index(p000, 5)), Local0)
- if (LNotEqual(Local0, 6)) {
- err("", zFFF, 0x001, 0, 0, Local0, 6)
- }
- CH03("", 0, 0x002, 0, 0)
- } elseif (LEqual(Arg0, 1)) {
-
- Store("The same Package but substituted immediately:", Debug)
-
- CH03("", 0, 0x003, 0, 0)
- Store(Index(Package() {1,2,3,4,5,6,7,8}, 5), Local1)
- if (y900) {
- Store(DerefOf(Local1), Local0)
- if (LNotEqual(Local0, 6)) {
- err("", zFFF, 0x004, 0, 0, Local0, 6)
- }
- CH03("", 0, 0x005, 0, 0)
- } else {
- CH04("", 0, 0xff, 0, 0x006, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
- } else {
-
- CH03("", 0, 0x007, 0, 0)
- Store(DerefOf(Index(Package() {1,2,3,4,5,6,7,8}, 5)), Local0)
- if (y900) {
- if (LNotEqual(Local0, 6)) {
- err("", zFFF, 0x008, 0, 0, Local0, 6)
- }
- CH03("", 0, 0x009, 0, 0)
- } else {
- CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
- }
- }
-
- Method(me41)
- {
- // 0,1 - success, 2 - crash
- me40(0)
- me40(1)
- me40(2)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0092:
+ *
+ * SUMMARY: Invalid result of Index operator passed with the immediate image of Package
+ */
+
+ Method(me40, 1, Serialized)
+ {
+ Name(p000, Package() {1,2,3,4,5,6,7,8})
+
+ if (LEqual(Arg0, 0)) {
+
+ Store("Package as a named object:", Debug)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(Index(p000, 5)), Local0)
+ if (LNotEqual(Local0, 6)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 6)
+ }
+ CH03("", 0, 0x002, 0, 0)
+ } elseif (LEqual(Arg0, 1)) {
+
+ Store("The same Package but substituted immediately:", Debug)
+
+ CH03("", 0, 0x003, 0, 0)
+ Store(Index(Package() {1,2,3,4,5,6,7,8}, 5), Local1)
+ if (y900) {
+ Store(DerefOf(Local1), Local0)
+ if (LNotEqual(Local0, 6)) {
+ err("", zFFF, 0x004, 0, 0, Local0, 6)
+ }
+ CH03("", 0, 0x005, 0, 0)
+ } else {
+ CH04("", 0, 0xff, 0, 0x006, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+ } else {
+
+ CH03("", 0, 0x007, 0, 0)
+ Store(DerefOf(Index(Package() {1,2,3,4,5,6,7,8}, 5)), Local0)
+ if (y900) {
+ if (LNotEqual(Local0, 6)) {
+ err("", zFFF, 0x008, 0, 0, Local0, 6)
+ }
+ CH03("", 0, 0x009, 0, 0)
+ } else {
+ CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+ }
+ }
+
+ Method(me41)
+ {
+ // 0,1 - success, 2 - crash
+ me40(0)
+ me40(1)
+ me40(2)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/MAIN.asl
index 941398f4c..91bc10dac 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B92.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0092/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0092/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B92.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0092/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0092/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/RUN.asl
index 00a875ad7..a055c715e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0092/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 92", TCLD, 92, W017)) {
- SRMT("me41")
- me41()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 92", TCLD, 92, W017)) {
+ SRMT("me41")
+ me41()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/DECL.asl
index 76571b5b7..23b9360df 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/DECL.asl
@@ -1,91 +1,91 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0093:
- *
- * SUMMARY: Invalid result of Index operator passed with the immediate image of Buffer
- */
-
- Method(me42, 1, Serialized)
- {
- Name(b000, Buffer() {11,22,33,44,55,66,77,88})
-
- if (LEqual(Arg0, 0)) {
-
- Store("Buffer as a named object:", Debug)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(Index(b000, 5)), Local0)
- if (LNotEqual(Local0, 66)) {
- err("", zFFF, 0x001, 0, 0, Local0, 66)
- }
- CH03("", 0, 0x002, 0, 0)
-
- } elseif (LEqual(Arg0, 1)) {
-
- Store("The same Buffer but substituted immediately:", Debug)
-
- CH03("", 0, 0x003, 0, 0)
- Store(Index(Buffer() {11,22,33,44,55,66,77,88}, 5), Local1)
- if (y900) {
- Store(DerefOf(Local1), Local0)
- if (LNotEqual(Local0, 66)) {
- err("", zFFF, 0x004, 0, 0, Local0, 66)
- }
- CH03("", 0, 0x005, 0, 0)
- } else {
- CH04("", 0, 0xff, 0, 0x006, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
-
- } else {
-
- CH03("", 0, 0x007, 0, 0)
- Store(DerefOf(Index(Buffer() {11,22,33,44,55,66,77,88}, 5)), Local0)
- if (y900) {
- if (LNotEqual(Local0, 66)) {
- err("", zFFF, 0x008, 0, 0, Local0, 66)
- }
- CH03("", 0, 0x009, 0, 0)
- } else {
- CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
- }
- }
-
- Method(me43)
- {
- // 0,1 - success, 2 - crash
- me42(0)
- me42(1)
- me42(2)
-
- return (0)
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0093:
+ *
+ * SUMMARY: Invalid result of Index operator passed with the immediate image of Buffer
+ */
+
+ Method(me42, 1, Serialized)
+ {
+ Name(b000, Buffer() {11,22,33,44,55,66,77,88})
+
+ if (LEqual(Arg0, 0)) {
+
+ Store("Buffer as a named object:", Debug)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(Index(b000, 5)), Local0)
+ if (LNotEqual(Local0, 66)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 66)
+ }
+ CH03("", 0, 0x002, 0, 0)
+
+ } elseif (LEqual(Arg0, 1)) {
+
+ Store("The same Buffer but substituted immediately:", Debug)
+
+ CH03("", 0, 0x003, 0, 0)
+ Store(Index(Buffer() {11,22,33,44,55,66,77,88}, 5), Local1)
+ if (y900) {
+ Store(DerefOf(Local1), Local0)
+ if (LNotEqual(Local0, 66)) {
+ err("", zFFF, 0x004, 0, 0, Local0, 66)
+ }
+ CH03("", 0, 0x005, 0, 0)
+ } else {
+ CH04("", 0, 0xff, 0, 0x006, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+
+ } else {
+
+ CH03("", 0, 0x007, 0, 0)
+ Store(DerefOf(Index(Buffer() {11,22,33,44,55,66,77,88}, 5)), Local0)
+ if (y900) {
+ if (LNotEqual(Local0, 66)) {
+ err("", zFFF, 0x008, 0, 0, Local0, 66)
+ }
+ CH03("", 0, 0x009, 0, 0)
+ } else {
+ CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+ }
+ }
+
+ Method(me43)
+ {
+ // 0,1 - success, 2 - crash
+ me42(0)
+ me42(1)
+ me42(2)
+
+ return (0)
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/MAIN.asl
index bc00a48cb..59b36df53 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B93.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0093/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0093/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B93.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0093/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0093/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/RUN.asl
index aeab17d00..a6d6a4d31 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0093/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 93", TCLD, 93, W017)) {
- SRMT("me43")
- me43()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 93", TCLD, 93, W017)) {
+ SRMT("me43")
+ me43()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/DECL.asl
index 705fc45ee..1852fa728 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/DECL.asl
@@ -1,91 +1,91 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0094:
- *
- * SUMMARY: Invalid result of Index operator passed with the immediate image of String
- */
-
- Method(me44, 1, Serialized)
- {
- Name(s000, "qwrtyuiop")
-
- if (LEqual(Arg0, 0)) {
-
- Store("String as a named object:", Debug)
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(Index(s000, 5)), Local0)
- if (LNotEqual(Local0, 0x75)) {
- err("", zFFF, 0x001, 0, 0, Local0, 0x75)
- }
- CH03("", 0, 0x002, 0, 0)
-
- } elseif (LEqual(Arg0, 1)) {
-
- Store("The same String but substituted immediately:", Debug)
-
- CH03("", 0, 0x003, 0, 0)
- Store(Index("qwrtyuiop", 5), Local1)
- if (y900) {
- Store(DerefOf(Local1), Local0)
- if (LNotEqual(Local0, 0x75)) {
- err("", zFFF, 0x004, 0, 0, Local0, 0x75)
- }
- CH03("", 0, 0x005, 0, 0)
- } else {
- CH04("", 0, 0xff, 0, 0x006, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
-
- } else {
-
- CH03("", 0, 0x007, 0, 0)
- Store(DerefOf(Index("qwrtyuiop", 5)), Local0)
- if (y900) {
- if (LNotEqual(Local0, 0x75)) {
- err("", zFFF, 0x008, 0, 0, Local0, 0x75)
- }
- CH03("", 0, 0x009, 0, 0)
- } else {
- CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
- }
- }
-
- Method(me45)
- {
- // 0 - success, 1,2 - exception
- me44(0)
- me44(1)
- me44(2)
-
- return (0)
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0094:
+ *
+ * SUMMARY: Invalid result of Index operator passed with the immediate image of String
+ */
+
+ Method(me44, 1, Serialized)
+ {
+ Name(s000, "qwrtyuiop")
+
+ if (LEqual(Arg0, 0)) {
+
+ Store("String as a named object:", Debug)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(Index(s000, 5)), Local0)
+ if (LNotEqual(Local0, 0x75)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 0x75)
+ }
+ CH03("", 0, 0x002, 0, 0)
+
+ } elseif (LEqual(Arg0, 1)) {
+
+ Store("The same String but substituted immediately:", Debug)
+
+ CH03("", 0, 0x003, 0, 0)
+ Store(Index("qwrtyuiop", 5), Local1)
+ if (y900) {
+ Store(DerefOf(Local1), Local0)
+ if (LNotEqual(Local0, 0x75)) {
+ err("", zFFF, 0x004, 0, 0, Local0, 0x75)
+ }
+ CH03("", 0, 0x005, 0, 0)
+ } else {
+ CH04("", 0, 0xff, 0, 0x006, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+
+ } else {
+
+ CH03("", 0, 0x007, 0, 0)
+ Store(DerefOf(Index("qwrtyuiop", 5)), Local0)
+ if (y900) {
+ if (LNotEqual(Local0, 0x75)) {
+ err("", zFFF, 0x008, 0, 0, Local0, 0x75)
+ }
+ CH03("", 0, 0x009, 0, 0)
+ } else {
+ CH04("", 0, 0xff, 0, 0x00a, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+ }
+ }
+
+ Method(me45)
+ {
+ // 0 - success, 1,2 - exception
+ me44(0)
+ me44(1)
+ me44(2)
+
+ return (0)
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/MAIN.asl
index 4df58281e..79b267b08 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B94.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0094/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0094/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B94.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0094/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0094/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/RUN.asl
index 2a50e9018..73f928e4d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0094/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 94", TCLD, 94, W017)) {
- SRMT("me45")
- me45()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 94", TCLD, 94, W017)) {
+ SRMT("me45")
+ me45()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/DECL.asl
index 7f8332315..297dc7dc5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/DECL.asl
@@ -1,59 +1,59 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0095:
- *
- * SUMMARY: Big amount of invocations of Methods causes overlap of OwnerId counter
- */
-
- Method(me46, 1)
- {
- return (arg0)
- }
-
- Method(me47, 1, Serialized)
- {
- Name(lpN0, 0xF101)
-
- While(lpN0) {
- Store(Decrement(lpN0), Local0)
- me46(Local0)
- if (LEqual(Mod(Local0, 0x100), 1)) {
- // Store(Local0, Debug)
- Store(0, Local7)
- }
- }
- return (arg0)
- }
-
- Method(me48)
- {
- me47(1)
- return (0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0095:
+ *
+ * SUMMARY: Big amount of invocations of Methods causes overlap of OwnerId counter
+ */
+
+ Method(me46, 1)
+ {
+ return (arg0)
+ }
+
+ Method(me47, 1, Serialized)
+ {
+ Name(lpN0, 0xF101)
+
+ While(lpN0) {
+ Store(Decrement(lpN0), Local0)
+ me46(Local0)
+ if (LEqual(Mod(Local0, 0x100), 1)) {
+ // Store(Local0, Debug)
+ Store(0, Local7)
+ }
+ }
+ return (arg0)
+ }
+
+ Method(me48)
+ {
+ me47(1)
+ return (0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/MAIN.asl
index 4a6a5f87f..1b450e4f3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B95.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0095/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0095/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B95.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0095/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0095/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/RUN.asl
index 61b359257..e125cb26f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0095/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 95", TCLD, 95, W017)) {
- SRMT("me48")
- me48()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 95", TCLD, 95, W017)) {
+ SRMT("me48")
+ me48()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/DECL.asl
index 1e69f62dd..801c493f2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/DECL.asl
@@ -1,86 +1,86 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0096:
- *
- * SUMMARY: The ASL Compiler fails to recognize specific Uninitialized LocalX
- */
-
- Method(me49, 1)
- {
- Store("============= Test started:", Debug)
-
- if (Arg0) {
-
- Store(0, Local0)
-
- } else {
-
- Store("============= Before using uninitialized Local0:", Debug)
-
- Store(Local0, Debug)
- }
-
- Store("============= Test finished.", Debug)
- }
-
- Method(me4a, 1)
- {
- Store("============= Test started:", Debug)
-
- if (Arg0) {
-
- Store(0, Local0)
-
- }
-
- Store("============= Before using uninitialized Local0:", Debug)
-
- Store(Local0, Debug)
-
- Store("============= Test finished.", Debug)
- }
-
- Method(me4b)
- {
- if (SLCK) {
- CH03("", 0, 0x000, 0, 0)
- me49(0)
- CH03("", 0, 0x001, 0, 0)
- me4a(0)
- CH03("", 0, 0x002, 0, 0)
- } else {
- CH03("", 0, 0x003, 0, 0)
- me49(0)
- CH04("", 0, 49, 0, 0x004, 0, 0) // AE_AML_UNINITIALIZED_LOCAL
- CH03("", 0, 0x005, 0, 0)
- me4a(0)
- CH04("", 0, 49, 0, 0x006, 0, 0) // AE_AML_UNINITIALIZED_LOCAL
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0096:
+ *
+ * SUMMARY: The ASL Compiler fails to recognize specific Uninitialized LocalX
+ */
+
+ Method(me49, 1)
+ {
+ Store("============= Test started:", Debug)
+
+ if (Arg0) {
+
+ Store(0, Local0)
+
+ } else {
+
+ Store("============= Before using uninitialized Local0:", Debug)
+
+ Store(Local0, Debug)
+ }
+
+ Store("============= Test finished.", Debug)
+ }
+
+ Method(me4a, 1)
+ {
+ Store("============= Test started:", Debug)
+
+ if (Arg0) {
+
+ Store(0, Local0)
+
+ }
+
+ Store("============= Before using uninitialized Local0:", Debug)
+
+ Store(Local0, Debug)
+
+ Store("============= Test finished.", Debug)
+ }
+
+ Method(me4b)
+ {
+ if (SLCK) {
+ CH03("", 0, 0x000, 0, 0)
+ me49(0)
+ CH03("", 0, 0x001, 0, 0)
+ me4a(0)
+ CH03("", 0, 0x002, 0, 0)
+ } else {
+ CH03("", 0, 0x003, 0, 0)
+ me49(0)
+ CH04("", 0, 49, 0, 0x004, 0, 0) // AE_AML_UNINITIALIZED_LOCAL
+ CH03("", 0, 0x005, 0, 0)
+ me4a(0)
+ CH04("", 0, 49, 0, 0x006, 0, 0) // AE_AML_UNINITIALIZED_LOCAL
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/MAIN.asl
index c54324fb6..b79b5b960 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B96.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0096_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0096_ASL/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B96.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0096_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0096_ASL/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/RUN.asl
index b5994ebe2..b4a94fc66 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0096_ASL/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 96", TCLD, 96, W017)) {
- SRMT("me4b")
- me4b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 96", TCLD, 96, W017)) {
+ SRMT("me4b")
+ me4b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/DECL.asl
index b6a6701f4..086f4f293 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/DECL.asl
@@ -1,77 +1,77 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0097:
- *
- * SUMMARY: Crash on ObjectType passed with IRef to Method which is an element of Package
- */
-
- Method(me4c) {
- return (0)
- }
-
- Method(me4d, 1)
- {
- Store("============= Run ObjectType:", Debug)
- Store(ObjectType(arg0), Local0)
- Store("============= Print result of ObjectType:", Debug)
- Store(Local0, Debug)
- }
-
- Method(me4e,, Serialized)
- {
-
- Name(p000, Package(32) {1,2,me4c,3,4})
-
- Store("============= Test me4e started:", Debug)
-
- Store(Index(p000, 2, Local1), Local0)
- me4d(Local1)
-
- Store("============= Test me4e finished.", Debug)
- }
-
- Method(me4f,, Serialized)
- {
-
- Name(p000, Package(32) {1,2,me4c,3,4})
-
- Store("============= Test me4f started:", Debug)
-
- Store(Index(p000, 2, Local1), Local0)
- me4d(Local0)
-
- Store("============= Test me4f finished.", Debug)
- }
-
- Method(me50)
- {
- me4e()
- me4f()
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0097:
+ *
+ * SUMMARY: Crash on ObjectType passed with IRef to Method which is an element of Package
+ */
+
+ Method(me4c) {
+ return (0)
+ }
+
+ Method(me4d, 1)
+ {
+ Store("============= Run ObjectType:", Debug)
+ Store(ObjectType(arg0), Local0)
+ Store("============= Print result of ObjectType:", Debug)
+ Store(Local0, Debug)
+ }
+
+ Method(me4e,, Serialized)
+ {
+
+ Name(p000, Package(32) {1,2,me4c,3,4})
+
+ Store("============= Test me4e started:", Debug)
+
+ Store(Index(p000, 2, Local1), Local0)
+ me4d(Local1)
+
+ Store("============= Test me4e finished.", Debug)
+ }
+
+ Method(me4f,, Serialized)
+ {
+
+ Name(p000, Package(32) {1,2,me4c,3,4})
+
+ Store("============= Test me4f started:", Debug)
+
+ Store(Index(p000, 2, Local1), Local0)
+ me4d(Local0)
+
+ Store("============= Test me4f finished.", Debug)
+ }
+
+ Method(me50)
+ {
+ me4e()
+ me4f()
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/MAIN.asl
index 9798d56dd..2effe5ecd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B97.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0097/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0097/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B97.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0097/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0097/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/RUN.asl
index 9273f5518..f0a62f8d1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0097/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 97", TCLD, 97, W017)) {
- SRMT("me50")
- me50()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 97", TCLD, 97, W017)) {
+ SRMT("me50")
+ me50()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/DECL.asl
index 365a64340..f2bc602a0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/DECL.asl
@@ -1,379 +1,379 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0098:
- *
- * SUMMARY: Crash on a specific AML code
- */
-
- Method(me51, 1)
- {
- Store(ObjectType(arg0), Local0)
- Store(Local0, Debug)
- }
-
- Method(me52,, Serialized)
- {
- Name(run0, 1)
- Name(run1, 1)
- Name(run2, 1)
-
- Name(p000, Package(32) { 0, dd08, sd01, bd04, 0})
-
-
- Store("============= Test started:", Debug)
-
- if (run0) {
- Store("============= Integer:", Debug)
- Store(Index(p000, 1, Local1), Local0)
- Store(Local1, Debug)
- me51(Local1)
- Store(Local0, Debug)
- }
- if (run1) {
- Store("============= String:", Debug)
- Store(Index(p000, 2, Local1), Local0)
- Store(Local1, Debug)
- me51(Local1)
- Store(Local0, Debug)
- }
-
- if (run2) {
- Store("============= Buffer:", Debug)
- Store(Index(p000, 3, Local1), Local0)
- Store(Local1, Debug)
- me51(Local1)
- Store(Local0, Debug)
- }
-
- Store("============= Test finished.", Debug)
- }
-
- // Arg0 - the type of object
- // (for 8 (- Method) causes crash, Bug 0097)
- Method(me54, 1, Serialized)
- {
- Name(pd02, Package(32) {
- 0,
- id0c, sd02, bd05, pd02, fd02, dd09, ed01, me53,
- mxd1, rd03, pwd0, prd0, tzd0, bfd0,
- })
-
- Store("============= Test started:", Debug)
-
- Switch (ToInteger (Arg0)) {
- Case (0) {
- Store("============= Uninitialized:", Debug)
- }
- Case (1) {
- Store("============= Integer:", Debug)
- Store(Index(pd02, 1, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (2) {
- Store("============= String:", Debug)
- Store(Index(pd02, 2, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (3) {
- Store("============= Buffer:", Debug)
- Store(Index(pd02, 3, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (4) {
- Store("============= Package:", Debug)
- Store(Index(pd02, 4, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (5) {
- Store("============= Field Unit:", Debug)
- Store(Index(pd02, 5, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (6) {
- Store("============= Device:", Debug)
- Store(Index(pd02, 6, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (7) {
- Store("============= Event:", Debug)
- Store(Index(pd02, 7, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (8) {
- Store("============= Method:", Debug)
- Store(Index(pd02, 8, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (9) {
- Store("============= Mutex:", Debug)
- Store(Index(pd02, 9, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (10) {
- Store("============= OperationRegion:", Debug)
- Store(Index(pd02, 10, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (11) {
- Store("============= PowerResource:", Debug)
- Store(Index(pd02, 11, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (12) {
- Store("============= Processor:", Debug)
- Store(Index(pd02, 12, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (13) {
- Store("============= ThermalZone:", Debug)
- Store(Index(pd02, 13, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- Case (14) {
- Store("============= Buffer Field:", Debug)
- Store(Index(pd02, 14, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- }
- } // Switch
-
- Store("============= Test finished.", Debug)
- }
-
- /*
- * The same as me54 but all the cases are invoked not
- * one by one calling to the me54() Method with the next
- * in turn type of data but all the types of data are
- * exercised simultaneously during one call to me55
- * method.
- */
- Method(me55,, Serialized)
- {
- Name(pd02, Package(32) {
- 0,
- id0c, sd02, bd05, pd02, fd02, dd09, ed01, me53,
- mxd1, rd03, pwd0, prd0, tzd0, bfd0,
- })
-
- Store("============= Test started:", Debug)
-
- // Switch (Arg0) {
- // Case (0) {
- Store("============= Uninitialized:", Debug)
- // }
- // Case (1) {
- Store("============= Integer:", Debug)
- Store(Index(pd02, 1, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (2) {
- Store("============= String:", Debug)
- Store(Index(pd02, 2, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (3) {
- Store("============= Buffer:", Debug)
- Store(Index(pd02, 3, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (4) {
- Store("============= Package:", Debug)
- Store(Index(pd02, 4, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (5) {
- Store("============= Field Unit:", Debug)
- Store(Index(pd02, 5, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (6) {
- Store("============= Device:", Debug)
- Store(Index(pd02, 6, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (7) {
- Store("============= Event:", Debug)
- Store(Index(pd02, 7, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
-/*
- * Causes crash, Bug 0097
- *
- * // Case (8) {
- * Store("============= Method:", Debug)
- * Store(Index(pd02, 8, Local1), Local0)
- * Store(Local1, Debug)
- * me56(Local1)
- * Store(Local0, Debug)
- * // }
- */
- // Case (9) {
- Store("============= Mutex:", Debug)
- Store(Index(pd02, 9, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (10) {
- Store("============= OperationRegion:", Debug)
- Store(Index(pd02, 10, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (11) {
- Store("============= PowerResource:", Debug)
- Store(Index(pd02, 11, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (12) {
- Store("============= Processor:", Debug)
- Store(Index(pd02, 12, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (13) {
- Store("============= ThermalZone:", Debug)
- Store(Index(pd02, 13, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // Case (14) {
- Store("============= Buffer Field:", Debug)
- Store(Index(pd02, 14, Local1), Local0)
- Store(Local1, Debug)
- me56(Local1)
- Store(Local0, Debug)
- // }
- // } // Switch
-
- Store("============= Test finished.", Debug)
- }
-
- Method(me56, 1)
- {
- Store(ObjectType(arg0), Local0)
- Store(Local0, Debug)
- }
-
- Method(me57)
- {
- me54(0)
- me54(1)
- me54(2)
- me54(3)
- me54(4)
- me54(5)
- me54(6)
- me54(7)
-/*
- * Causes crash, Bug 0097
- * me54(8)
- */
- me54(9)
- me54(10)
- me54(11)
- me54(12)
- me54(13)
- me54(14)
- }
-
- Method(me58)
- {
- /*
- * Exercise one particular type of data
- * which is specified by Arg0.
- *
- * Arg0 - the type of object (0-14)
- * for 8 (Method) causes crash, Bug 0097
- */
- me54(14)
-
- /*
- * Call to me54 for each type of data excluding
- * 8 (Method) (causes crash, Bug 0097).
- */
- me57()
-
- /*
- * The same as me54 but all the cases are invoked not
- * one by one calling to the me54() Method with the next
- * in turn type of data but all the types of data are
- * exercised simultaneously during one call to me55
- * method.
- */
- me55()
- }
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0098:
+ *
+ * SUMMARY: Crash on a specific AML code
+ */
+
+ Method(me51, 1)
+ {
+ Store(ObjectType(arg0), Local0)
+ Store(Local0, Debug)
+ }
+
+ Method(me52,, Serialized)
+ {
+ Name(run0, 1)
+ Name(run1, 1)
+ Name(run2, 1)
+
+ Name(p000, Package(32) { 0, dd08, sd01, bd04, 0})
+
+
+ Store("============= Test started:", Debug)
+
+ if (run0) {
+ Store("============= Integer:", Debug)
+ Store(Index(p000, 1, Local1), Local0)
+ Store(Local1, Debug)
+ me51(Local1)
+ Store(Local0, Debug)
+ }
+ if (run1) {
+ Store("============= String:", Debug)
+ Store(Index(p000, 2, Local1), Local0)
+ Store(Local1, Debug)
+ me51(Local1)
+ Store(Local0, Debug)
+ }
+
+ if (run2) {
+ Store("============= Buffer:", Debug)
+ Store(Index(p000, 3, Local1), Local0)
+ Store(Local1, Debug)
+ me51(Local1)
+ Store(Local0, Debug)
+ }
+
+ Store("============= Test finished.", Debug)
+ }
+
+ // Arg0 - the type of object
+ // (for 8 (- Method) causes crash, Bug 0097)
+ Method(me54, 1, Serialized)
+ {
+ Name(pd02, Package(32) {
+ 0,
+ id0c, sd02, bd05, pd02, fd02, dd09, ed01, me53,
+ mxd1, rd03, pwd0, prd0, tzd0, bfd0,
+ })
+
+ Store("============= Test started:", Debug)
+
+ Switch (ToInteger (Arg0)) {
+ Case (0) {
+ Store("============= Uninitialized:", Debug)
+ }
+ Case (1) {
+ Store("============= Integer:", Debug)
+ Store(Index(pd02, 1, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (2) {
+ Store("============= String:", Debug)
+ Store(Index(pd02, 2, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (3) {
+ Store("============= Buffer:", Debug)
+ Store(Index(pd02, 3, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (4) {
+ Store("============= Package:", Debug)
+ Store(Index(pd02, 4, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (5) {
+ Store("============= Field Unit:", Debug)
+ Store(Index(pd02, 5, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (6) {
+ Store("============= Device:", Debug)
+ Store(Index(pd02, 6, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (7) {
+ Store("============= Event:", Debug)
+ Store(Index(pd02, 7, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (8) {
+ Store("============= Method:", Debug)
+ Store(Index(pd02, 8, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (9) {
+ Store("============= Mutex:", Debug)
+ Store(Index(pd02, 9, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (10) {
+ Store("============= OperationRegion:", Debug)
+ Store(Index(pd02, 10, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (11) {
+ Store("============= PowerResource:", Debug)
+ Store(Index(pd02, 11, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (12) {
+ Store("============= Processor:", Debug)
+ Store(Index(pd02, 12, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (13) {
+ Store("============= ThermalZone:", Debug)
+ Store(Index(pd02, 13, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ Case (14) {
+ Store("============= Buffer Field:", Debug)
+ Store(Index(pd02, 14, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ }
+ } // Switch
+
+ Store("============= Test finished.", Debug)
+ }
+
+ /*
+ * The same as me54 but all the cases are invoked not
+ * one by one calling to the me54() Method with the next
+ * in turn type of data but all the types of data are
+ * exercised simultaneously during one call to me55
+ * method.
+ */
+ Method(me55,, Serialized)
+ {
+ Name(pd02, Package(32) {
+ 0,
+ id0c, sd02, bd05, pd02, fd02, dd09, ed01, me53,
+ mxd1, rd03, pwd0, prd0, tzd0, bfd0,
+ })
+
+ Store("============= Test started:", Debug)
+
+ // Switch (Arg0) {
+ // Case (0) {
+ Store("============= Uninitialized:", Debug)
+ // }
+ // Case (1) {
+ Store("============= Integer:", Debug)
+ Store(Index(pd02, 1, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (2) {
+ Store("============= String:", Debug)
+ Store(Index(pd02, 2, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (3) {
+ Store("============= Buffer:", Debug)
+ Store(Index(pd02, 3, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (4) {
+ Store("============= Package:", Debug)
+ Store(Index(pd02, 4, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (5) {
+ Store("============= Field Unit:", Debug)
+ Store(Index(pd02, 5, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (6) {
+ Store("============= Device:", Debug)
+ Store(Index(pd02, 6, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (7) {
+ Store("============= Event:", Debug)
+ Store(Index(pd02, 7, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+/*
+ * Causes crash, Bug 0097
+ *
+ * // Case (8) {
+ * Store("============= Method:", Debug)
+ * Store(Index(pd02, 8, Local1), Local0)
+ * Store(Local1, Debug)
+ * me56(Local1)
+ * Store(Local0, Debug)
+ * // }
+ */
+ // Case (9) {
+ Store("============= Mutex:", Debug)
+ Store(Index(pd02, 9, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (10) {
+ Store("============= OperationRegion:", Debug)
+ Store(Index(pd02, 10, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (11) {
+ Store("============= PowerResource:", Debug)
+ Store(Index(pd02, 11, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (12) {
+ Store("============= Processor:", Debug)
+ Store(Index(pd02, 12, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (13) {
+ Store("============= ThermalZone:", Debug)
+ Store(Index(pd02, 13, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // Case (14) {
+ Store("============= Buffer Field:", Debug)
+ Store(Index(pd02, 14, Local1), Local0)
+ Store(Local1, Debug)
+ me56(Local1)
+ Store(Local0, Debug)
+ // }
+ // } // Switch
+
+ Store("============= Test finished.", Debug)
+ }
+
+ Method(me56, 1)
+ {
+ Store(ObjectType(arg0), Local0)
+ Store(Local0, Debug)
+ }
+
+ Method(me57)
+ {
+ me54(0)
+ me54(1)
+ me54(2)
+ me54(3)
+ me54(4)
+ me54(5)
+ me54(6)
+ me54(7)
+/*
+ * Causes crash, Bug 0097
+ * me54(8)
+ */
+ me54(9)
+ me54(10)
+ me54(11)
+ me54(12)
+ me54(13)
+ me54(14)
+ }
+
+ Method(me58)
+ {
+ /*
+ * Exercise one particular type of data
+ * which is specified by Arg0.
+ *
+ * Arg0 - the type of object (0-14)
+ * for 8 (Method) causes crash, Bug 0097
+ */
+ me54(14)
+
+ /*
+ * Call to me54 for each type of data excluding
+ * 8 (Method) (causes crash, Bug 0097).
+ */
+ me57()
+
+ /*
+ * The same as me54 but all the cases are invoked not
+ * one by one calling to the me54() Method with the next
+ * in turn type of data but all the types of data are
+ * exercised simultaneously during one call to me55
+ * method.
+ */
+ me55()
+ }
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/MAIN.asl
index 0c53cd460..644a6b329 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B98.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0098/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0098/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B98.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0098/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0098/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/RUN.asl
index cae38a131..f2de7dca8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0098/RUN.asl
@@ -1,43 +1,43 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 98", TCLD, 98, W017)) {
- SRMT("me52")
- me52()
- if (y176) {
- /*
- * Method me52 is enough to identify this bug,
- * so dont set up BLOCKED for this me58.
- * me58 will be added after bug-176 fixing.
- */
- SRMT("me58")
- me58()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 98", TCLD, 98, W017)) {
+ SRMT("me52")
+ me52()
+ if (y176) {
+ /*
+ * Method me52 is enough to identify this bug,
+ * so dont set up BLOCKED for this me58.
+ * me58 will be added after bug-176 fixing.
+ */
+ SRMT("me58")
+ me58()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/DECL.asl
index cdccc0c75..39a0b4303 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/DECL.asl
@@ -1,48 +1,48 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0099:
- *
- * SUMMARY: The specific sequence of operations dealing with IRef/ORef corrupts the source object
- */
-
- Method(me5b,, Serialized)
- {
- Name(s000, "12345678")
- Name(b000, Buffer(2) {0x11, 0x22})
- Name(p000, Package(2) {0x33, 0x44})
-
- Store(DerefOf(Index(p000, 0, Local1)), Local0)
- Store(DerefOf(RefOf(p000)), Local0)
- Store(DerefOf(RefOf(s000)), Local0)
- Store(DerefOf(RefOf(b000)), Local0)
- Store(s000, Debug)
-
- return (0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0099:
+ *
+ * SUMMARY: The specific sequence of operations dealing with IRef/ORef corrupts the source object
+ */
+
+ Method(me5b,, Serialized)
+ {
+ Name(s000, "12345678")
+ Name(b000, Buffer(2) {0x11, 0x22})
+ Name(p000, Package(2) {0x33, 0x44})
+
+ Store(DerefOf(Index(p000, 0, Local1)), Local0)
+ Store(DerefOf(RefOf(p000)), Local0)
+ Store(DerefOf(RefOf(s000)), Local0)
+ Store(DerefOf(RefOf(b000)), Local0)
+ Store(s000, Debug)
+
+ return (0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/MAIN.asl
index f0c436fd4..aaab4e487 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B99.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0099/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0099/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B99.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0099/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0099/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/RUN.asl
index 54edca932..977f522e1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0099/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 99", TCLD, 99, W017)) {
- SRMT("me5b")
- me5b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 99", TCLD, 99, W017)) {
+ SRMT("me5b")
+ me5b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/DECL.asl
index bdc4f0cbf..ab2f67892 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/DECL.asl
@@ -1,51 +1,51 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0100:
- *
- * SUMMARY: The specific combination of operators aborts execution
- */
-
- Method(me5c)
- {
- return (0)
- }
-
- Method(me5d,, Serialized)
- {
- Store("Start of test:", Debug)
-
- me5c()
-
- Device(d000) {}
-
- Name(i000, 0xabcdef)
-
- Store("Finish of test.", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0100:
+ *
+ * SUMMARY: The specific combination of operators aborts execution
+ */
+
+ Method(me5c)
+ {
+ return (0)
+ }
+
+ Method(me5d,, Serialized)
+ {
+ Store("Start of test:", Debug)
+
+ me5c()
+
+ Device(d000) {}
+
+ Name(i000, 0xabcdef)
+
+ Store("Finish of test.", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/MAIN.asl
index 26e6f4160..62f3d6a44 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B100.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0100/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0100/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B100.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0100/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0100/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/RUN.asl
index 37ed66dd7..bed27662a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0100/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 100", TCLD, 100, W017)) {
- SRMT("me5d")
- me5d()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 100", TCLD, 100, W017)) {
+ SRMT("me5d")
+ me5d()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/DECL.asl
index 873fb2062..69755e8bc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/DECL.asl
@@ -1,82 +1,82 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0101:
- *
- * SUMMARY: The ASL compiler fails to create RefOf reference to Method not returning explicitly any object
- */
-
- // ////////
-
- Method(me5e) {}
-
- Method(me5f)
- {
- Store(RefOf(me5e), Local0)
- Store(ObjectType(Local0), Debug)
-
- Store(ObjectType(Local0), Local1)
-
- if (LNotEqual(Local1, c010)) {
- err("", zFFF, 0x000, 0, 0, Local1, c010)
- }
-
- return (0)
- }
-
- // ////////
-
- Method(me60) { return (1) }
-
- Method(me61)
- {
- Store("Start of test", Debug)
-
- Store(RefOf(me60), Local0)
-
- Store("ObjectType(Local0):", Debug)
-
- Store(ObjectType(Local0), Local1)
-
- Store(Local1, Debug)
-
- if (LNotEqual(Local1, c010)) {
- err("", zFFF, 0x001, 0, 0, Local1, c010)
- }
-
- Store("Finish of test", Debug)
-
- return (0)
- }
-
- Method(me62)
- {
- me5f()
- me61()
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0101:
+ *
+ * SUMMARY: The ASL compiler fails to create RefOf reference to Method not returning explicitly any object
+ */
+
+ // ////////
+
+ Method(me5e) {}
+
+ Method(me5f)
+ {
+ Store(RefOf(me5e), Local0)
+ Store(ObjectType(Local0), Debug)
+
+ Store(ObjectType(Local0), Local1)
+
+ if (LNotEqual(Local1, c010)) {
+ err("", zFFF, 0x000, 0, 0, Local1, c010)
+ }
+
+ return (0)
+ }
+
+ // ////////
+
+ Method(me60) { return (1) }
+
+ Method(me61)
+ {
+ Store("Start of test", Debug)
+
+ Store(RefOf(me60), Local0)
+
+ Store("ObjectType(Local0):", Debug)
+
+ Store(ObjectType(Local0), Local1)
+
+ Store(Local1, Debug)
+
+ if (LNotEqual(Local1, c010)) {
+ err("", zFFF, 0x001, 0, 0, Local1, c010)
+ }
+
+ Store("Finish of test", Debug)
+
+ return (0)
+ }
+
+ Method(me62)
+ {
+ me5f()
+ me61()
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/MAIN.asl
index 72f17644e..334b679b1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B101.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0101/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0101/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B101.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0101/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0101/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/RUN.asl
index 3d72509f6..692d7e329 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0101/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 101", TCLD, 101, W017)) {
- SRMT("me62")
- me62()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 101", TCLD, 101, W017)) {
+ SRMT("me62")
+ me62()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/DECL.asl
index 2c9071671..6c4d834cd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/DECL.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0102:
- *
- * SUMMARY: The specific combination of operators produces one "Outstanding allocation"
- */
-
- Method(me63,, Serialized)
- {
- Method(m001) { return (0x12345678) }
- Name(p000, Package() {m001})
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0102:
+ *
+ * SUMMARY: The specific combination of operators produces one "Outstanding allocation"
+ */
+
+ Method(me63,, Serialized)
+ {
+ Method(m001) { return (0x12345678) }
+ Name(p000, Package() {m001})
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/MAIN.asl
index 36f72221a..27ec6493b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B102.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0102/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0102/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B102.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0102/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0102/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/RUN.asl
index 4a9a89bb7..8f7f581b5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0102/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 102", TCLD, 102, W017)) {
- SRMT("me63")
- me63()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 102", TCLD, 102, W017)) {
+ SRMT("me63")
+ me63()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/DECL.asl
index 57b3606fd..0e549a10b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/DECL.asl
@@ -1,71 +1,71 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0103:
- *
- * SUMMARY: The Method type element of Package is being invoked
- */
-
- Method(me64)
- {
- Store("me64 invoked", Debug)
- Store(1, id0d)
- return (7)
- }
-
- Method(me65)
- {
- Store("me65 invoked", Debug)
- Store(1, id0e)
- return (123)
- }
-
- Method(me66,, Serialized)
- {
- Store("Start of test", Debug)
-
- Name(p000, Package() {1,2,me64,4,me64,me65,7,me64})
-
- Store("Finish of test", Debug)
-
- return (0)
- }
-
- Method(me67)
- {
- me66()
-
- if (id0d) {
- err("", zFFF, 0x000, 0, 0, 0, 0)
- }
-
- if (id0e) {
- err("", zFFF, 0x001, 0, 0, 0, 0)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0103:
+ *
+ * SUMMARY: The Method type element of Package is being invoked
+ */
+
+ Method(me64)
+ {
+ Store("me64 invoked", Debug)
+ Store(1, id0d)
+ return (7)
+ }
+
+ Method(me65)
+ {
+ Store("me65 invoked", Debug)
+ Store(1, id0e)
+ return (123)
+ }
+
+ Method(me66,, Serialized)
+ {
+ Store("Start of test", Debug)
+
+ Name(p000, Package() {1,2,me64,4,me64,me65,7,me64})
+
+ Store("Finish of test", Debug)
+
+ return (0)
+ }
+
+ Method(me67)
+ {
+ me66()
+
+ if (id0d) {
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+ }
+
+ if (id0e) {
+ err("", zFFF, 0x001, 0, 0, 0, 0)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/MAIN.asl
index c40d3724f..430be3646 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B103.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0103/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0103/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B103.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0103/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0103/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/RUN.asl
index 649c7c265..349d29225 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0103/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 103", TCLD, 103, W017)) {
- SRMT("me67")
- me67()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 103", TCLD, 103, W017)) {
+ SRMT("me67")
+ me67()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/DECL.asl
index 7895e1685..6c2b9ebe8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/DECL.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0104:
- *
- * SUMMARY: The ObjectType operator being passed with the IRef to the Uninitialized element of Package causes crash
- */
-
- Method(me68,, Serialized)
- {
- Store("Start of test", Debug)
-
- Name(p000, Package(1) {})
-
- Store(Index(p000, 0), Local0)
-
- Store(Local0, Debug)
-
- Store("ObjectType(Local0):", Debug)
-
- Store(ObjectType(Local0), Local1)
- Store(Local1, Debug)
-
- if (LNotEqual(Local1, c008)) {
- err("", zFFF, 0x000, 0, 0, Local1, c008)
- }
-
- Store("Finish of test", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0104:
+ *
+ * SUMMARY: The ObjectType operator being passed with the IRef to the Uninitialized element of Package causes crash
+ */
+
+ Method(me68,, Serialized)
+ {
+ Store("Start of test", Debug)
+
+ Name(p000, Package(1) {})
+
+ Store(Index(p000, 0), Local0)
+
+ Store(Local0, Debug)
+
+ Store("ObjectType(Local0):", Debug)
+
+ Store(ObjectType(Local0), Local1)
+ Store(Local1, Debug)
+
+ if (LNotEqual(Local1, c008)) {
+ err("", zFFF, 0x000, 0, 0, Local1, c008)
+ }
+
+ Store("Finish of test", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/MAIN.asl
index 225f0bc9a..469b997b3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B104.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0104/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0104/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B104.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0104/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0104/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/RUN.asl
index f4565ab4f..88fdb90b6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0104/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 104", TCLD, 104, W017)) {
- SRMT("me68")
- me68()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 104", TCLD, 104, W017)) {
+ SRMT("me68")
+ me68()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/DECL.asl
index e022825fa..ff0c69601 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0105:
- *
- * SUMMARY: The ObjectType operator being passed with the IRef obtained by the specific way causes crash
- */
-
- Method(me6a)
- {
- Store("Start of test", Debug)
-
- Store(Index(pd03, 0), Local0)
-
- Store(Local0, Debug)
-
- Store("ObjectType(Local0):", Debug)
-
- Store(ObjectType(Local0), Local1)
- Store(Local1, Debug)
-
- if (LNotEqual(Local1, c010)) {
- err("", zFFF, 0x000, 0, 0, Local1, c010)
- }
-
- Store("Finish of test", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0105:
+ *
+ * SUMMARY: The ObjectType operator being passed with the IRef obtained by the specific way causes crash
+ */
+
+ Method(me6a)
+ {
+ Store("Start of test", Debug)
+
+ Store(Index(pd03, 0), Local0)
+
+ Store(Local0, Debug)
+
+ Store("ObjectType(Local0):", Debug)
+
+ Store(ObjectType(Local0), Local1)
+ Store(Local1, Debug)
+
+ if (LNotEqual(Local1, c010)) {
+ err("", zFFF, 0x000, 0, 0, Local1, c010)
+ }
+
+ Store("Finish of test", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/MAIN.asl
index fb89eb9ab..5a23a3edc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B105.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0105/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0105/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B105.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0105/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0105/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/RUN.asl
index 9b0033fb2..937b0a54f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0105/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 105", TCLD, 105, W017)) {
- SRMT("me6a")
- me6a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 105", TCLD, 105, W017)) {
+ SRMT("me6a")
+ me6a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/DECL.asl
index d5ec61d42..65427f423 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/DECL.asl
@@ -1,50 +1,50 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0106:
- *
- * SUMMARY: Crash on RefOf(Debug) operation
- */
-
- Method(me6b)
- {
- Store(RefOf(Debug), Local0)
- Store(Local0, Debug)
-
- Store("Run printing in a such way!", DerefOf(Local0))
-
- Store(DerefOf(Local0), Local1)
-
- Store(ObjectType(Local1), Local2)
- Store(Local2, Debug)
-
- if (LNotEqual(Local2, c018)) {
- err("", zFFF, 0x000, 0, 0, Local2, c018)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0106:
+ *
+ * SUMMARY: Crash on RefOf(Debug) operation
+ */
+
+ Method(me6b)
+ {
+ Store(RefOf(Debug), Local0)
+ Store(Local0, Debug)
+
+ Store("Run printing in a such way!", DerefOf(Local0))
+
+ Store(DerefOf(Local0), Local1)
+
+ Store(ObjectType(Local1), Local2)
+ Store(Local2, Debug)
+
+ if (LNotEqual(Local2, c018)) {
+ err("", zFFF, 0x000, 0, 0, Local2, c018)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/MAIN.asl
index d85da5741..fe4d44648 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B106.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0106/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0106/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B106.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0106/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0106/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/RUN.asl
index 4fa7d7565..b76a4c4a4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0106/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 106", TCLD, 106, W017)) {
- SRMT("me6b")
- if (y106) {
- me6b()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 106", TCLD, 106, W017)) {
+ SRMT("me6b")
+ if (y106) {
+ me6b()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/DECL.asl
index 1ac772715..9855c2a9e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/DECL.asl
@@ -1,69 +1,69 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0107:
- *
- * SUMMARY: The ASL Compiler crashes when tries to convert data that can not be converted
- */
-
- Method(me6c)
- {
- Store(LLess(1, "1234q"), Local0)
- Store(Local0, Debug)
-
- if (LNotEqual(Local0, Ones)) {
- err("", zFFF, 0x000, 0, 0, Local0, Ones)
- }
-
- }
- Method(me6d)
- {
- Store(Add("1234q", 1), Local0)
- Store(Local0, Debug)
-
- if (LNotEqual(Local0, 0x1235)) {
- err("", zFFF, 0x001, 0, 0, Local0, 0x1235)
- }
- }
- Method(me6e)
- {
- Store(Not("1234q"), Local0)
- Store(Local0, Debug)
-
- if (LNotEqual(Local0, 0xffffffffffffedcb)) {
- err("", zFFF, 0x002, 0, 0, Local0, 0xffffffffffffedcb)
- }
- }
-
- Method(me6f)
- {
- me6c()
- me6d()
- me6e()
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0107:
+ *
+ * SUMMARY: The ASL Compiler crashes when tries to convert data that can not be converted
+ */
+
+ Method(me6c)
+ {
+ Store(LLess(1, "1234q"), Local0)
+ Store(Local0, Debug)
+
+ if (LNotEqual(Local0, Ones)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Ones)
+ }
+
+ }
+ Method(me6d)
+ {
+ Store(Add("1234q", 1), Local0)
+ Store(Local0, Debug)
+
+ if (LNotEqual(Local0, 0x1235)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 0x1235)
+ }
+ }
+ Method(me6e)
+ {
+ Store(Not("1234q"), Local0)
+ Store(Local0, Debug)
+
+ if (LNotEqual(Local0, 0xffffffffffffedcb)) {
+ err("", zFFF, 0x002, 0, 0, Local0, 0xffffffffffffedcb)
+ }
+ }
+
+ Method(me6f)
+ {
+ me6c()
+ me6d()
+ me6e()
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/MAIN.asl
index 96d403d98..ca4d403d4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B107.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0107/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0107/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B107.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0107/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0107/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/RUN.asl
index 460e8fb54..083642409 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0107/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 107", TCLD, 107, W017)) {
- SRMT("me6f")
- me6f()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 107", TCLD, 107, W017)) {
+ SRMT("me6f")
+ me6f()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/DECL.asl
index 868777ef1..7d28e6254 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/DECL.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0108:
- *
- * SUMMARY: The ASL Compiler crashes when the result of ToBCD exceeds the current range of Integer
- *
- * Crash on compilation...
- */
-
- Method(me70)
- {
- Store(ToBCD(0x5F5E0FF), Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0)
- }
- Store(ToBCD(0x5F5E100), Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x001, 0, 0, Local0, 0)
- }
- Store(ToBCD(0x2386F26FC0FFFF), Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x002, 0, 0, Local0, 0)
- }
- Store(ToBCD(0x2386F26FC10000), Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x003, 0, 0, Local0, 0)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0108:
+ *
+ * SUMMARY: The ASL Compiler crashes when the result of ToBCD exceeds the current range of Integer
+ *
+ * Crash on compilation...
+ */
+
+ Method(me70)
+ {
+ Store(ToBCD(0x5F5E0FF), Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0)
+ }
+ Store(ToBCD(0x5F5E100), Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 0)
+ }
+ Store(ToBCD(0x2386F26FC0FFFF), Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x002, 0, 0, Local0, 0)
+ }
+ Store(ToBCD(0x2386F26FC10000), Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x003, 0, 0, Local0, 0)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/MAIN.asl
index 54941eed1..9abbeba60 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B108.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0108_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0108_ASL/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B108.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0108_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0108_ASL/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/RUN.asl
index 7412fd393..a068e2c5d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0108_ASL/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 108", TCLD, 108, W017)) {
- SRMT("me70")
- me70()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 108", TCLD, 108, W017)) {
+ SRMT("me70")
+ me70()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/DECL.asl
index ea29f911f..67e4cee4f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/DECL.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 109:
- *
- * SUMMARY: The ASL Compiler crashes on FromBCD being passed with the invalid data (hex image containing not only decimal digits)
- */
-
- Method(me71)
- {
- Store(FromBCD(0xa), Local0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 109:
+ *
+ * SUMMARY: The ASL Compiler crashes on FromBCD being passed with the invalid data (hex image containing not only decimal digits)
+ */
+
+ Method(me71)
+ {
+ Store(FromBCD(0xa), Local0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/MAIN.asl
index 3270884ed..671e08273 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0109_ASL/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B109.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0109_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-// Include("../../../../../runtime/collections/bdemo/ACPICA/0109_ASL/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B109.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0109_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+// Include("../../../../../runtime/collections/bdemo/ACPICA/0109_ASL/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/DECL.asl
index 80ce0470c..9f9e87e14 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/DECL.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 110:
- *
- * SUMMARY: The Memory Leak anomaly on a While operator (the first anomaly encountered by PMEMCV instrumentation)
- *
- * Only, to demonstrate visually the rate of execution
- * before and after the patch has been applied.
- */
-
- Method(me72)
- {
- Name(lpN0, 10000)
- Name(lpC0, 0)
-
- Store("################################# Start of test", Debug)
-
- While (lpN0) {
-
- Store(lpC0, Debug)
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Store("Finish of test", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 110:
+ *
+ * SUMMARY: The Memory Leak anomaly on a While operator (the first anomaly encountered by PMEMCV instrumentation)
+ *
+ * Only, to demonstrate visually the rate of execution
+ * before and after the patch has been applied.
+ */
+
+ Method(me72)
+ {
+ Name(lpN0, 10000)
+ Name(lpC0, 0)
+
+ Store("################################# Start of test", Debug)
+
+ While (lpN0) {
+
+ Store(lpC0, Debug)
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Store("Finish of test", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/MAIN.asl
index e9ebf7505..5edab7616 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B110.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0110_ML/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0110_ML/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B110.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0110_ML/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0110_ML/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/RUN.asl
index 633e82f97..e9a47cb85 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0110_ML/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 110", TCLD, 110, W017)) {
- SRMT("me72")
- me72()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 110", TCLD, 110, W017)) {
+ SRMT("me72")
+ me72()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/DECL.asl
index 759893264..2cac78143 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/DECL.asl
@@ -1,151 +1,151 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 111:
- *
- * SUMMARY: No String to Integer and Buffer to Integer conversions of the Predicate Value in If, ElseIf and While operators
- */
-
- Method(me73, 1)
- {
- if (arg0) {
- Store("If done", Debug)
- Store(1, id0f)
- }
- }
-
- Method(me74, 2)
- {
- if (arg1) {
- Store(1, id0f)
- } elseif (arg0) {
- Store(2, id0f)
- }
- }
-
- Method(me75, 1)
- {
- While (arg0) {
- Store(1, id0f)
- Break
- }
- }
-
- Method(me76)
- {
- // //////////
-
- Store(0, id0f)
- me73("1")
- if (LNot(id0f)) {
- err("", zFFF, 0x000, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me73(Buffer(){1})
- if (LNot(id0f)) {
- err("", zFFF, 0x001, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me73("0")
- if (id0f) {
- err("", zFFF, 0x002, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me73(Buffer(){0})
- if (id0f) {
- err("", zFFF, 0x003, 0, 0, 0, 0)
- }
-
- // //////////
-
- Store(0, id0f)
- me74("1", 0)
- if (LNotEqual(id0f, 2)) {
- err("", zFFF, 0x004, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me74(Buffer(){0,0,1,0}, 0)
- if (LNotEqual(id0f, 2)) {
- err("", zFFF, 0x005, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me74("0", 0)
- if (id0f) {
- err("", zFFF, 0x006, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me74(Buffer(){0,0,0,0}, 0)
- if (id0f) {
- err("", zFFF, 0x007, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me74("1", 1)
- if (LNotEqual(id0f, 1)) {
- err("", zFFF, 0x008, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me74(Buffer(){0,0,1,0}, 1)
- if (LNotEqual(id0f, 1)) {
- err("", zFFF, 0x009, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me75("0")
- if (id0f) {
- err("", zFFF, 0x00a, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me75(Buffer(){0})
- if (id0f) {
- err("", zFFF, 0x00b, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me75("01")
- if (LNot(id0f)) {
- err("", zFFF, 0x00c, 0, 0, 0, 0)
- }
-
- Store(0, id0f)
- me75(Buffer(){0,0,1,0})
- if (LNot(id0f)) {
- err("", zFFF, 0x00d, 0, 0, 0, 0)
- }
-
- }
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 111:
+ *
+ * SUMMARY: No String to Integer and Buffer to Integer conversions of the Predicate Value in If, ElseIf and While operators
+ */
+
+ Method(me73, 1)
+ {
+ if (arg0) {
+ Store("If done", Debug)
+ Store(1, id0f)
+ }
+ }
+
+ Method(me74, 2)
+ {
+ if (arg1) {
+ Store(1, id0f)
+ } elseif (arg0) {
+ Store(2, id0f)
+ }
+ }
+
+ Method(me75, 1)
+ {
+ While (arg0) {
+ Store(1, id0f)
+ Break
+ }
+ }
+
+ Method(me76)
+ {
+ // //////////
+
+ Store(0, id0f)
+ me73("1")
+ if (LNot(id0f)) {
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me73(Buffer(){1})
+ if (LNot(id0f)) {
+ err("", zFFF, 0x001, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me73("0")
+ if (id0f) {
+ err("", zFFF, 0x002, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me73(Buffer(){0})
+ if (id0f) {
+ err("", zFFF, 0x003, 0, 0, 0, 0)
+ }
+
+ // //////////
+
+ Store(0, id0f)
+ me74("1", 0)
+ if (LNotEqual(id0f, 2)) {
+ err("", zFFF, 0x004, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me74(Buffer(){0,0,1,0}, 0)
+ if (LNotEqual(id0f, 2)) {
+ err("", zFFF, 0x005, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me74("0", 0)
+ if (id0f) {
+ err("", zFFF, 0x006, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me74(Buffer(){0,0,0,0}, 0)
+ if (id0f) {
+ err("", zFFF, 0x007, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me74("1", 1)
+ if (LNotEqual(id0f, 1)) {
+ err("", zFFF, 0x008, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me74(Buffer(){0,0,1,0}, 1)
+ if (LNotEqual(id0f, 1)) {
+ err("", zFFF, 0x009, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me75("0")
+ if (id0f) {
+ err("", zFFF, 0x00a, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me75(Buffer(){0})
+ if (id0f) {
+ err("", zFFF, 0x00b, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me75("01")
+ if (LNot(id0f)) {
+ err("", zFFF, 0x00c, 0, 0, 0, 0)
+ }
+
+ Store(0, id0f)
+ me75(Buffer(){0,0,1,0})
+ if (LNot(id0f)) {
+ err("", zFFF, 0x00d, 0, 0, 0, 0)
+ }
+
+ }
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/MAIN.asl
index d58991a63..69d0f7f40 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B111.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0111/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0111/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B111.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0111/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0111/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/RUN.asl
index 141d90f21..fec97e4db 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0111/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 111", TCLD, 111, W017)) {
- SRMT("me76")
- me76()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 111", TCLD, 111, W017)) {
+ SRMT("me76")
+ me76()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/DECL.asl
index 6aa857e9b..779b4f1c0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/DECL.asl
@@ -1,58 +1,58 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 112:
- *
- * SUMMARY: The ASL compiler refuses passing the Named Objects and String constants as a MicroSecs operand of the Stall operator
- */
-
- Method(me77, 1)
- {
- Stall(arg0)
- }
-
- Method(me78,, Serialized)
- {
- Name(i000, 0xB)
- Store(i000, Local0)
-
- // These calls are compiled
- // and executed successfully
-
- me77(i000)
- Stall(Local0)
- Stall(Add(i000, Local0))
- Stall(ToHexString(i000))
- Stall(Buffer(){0xB})
-
- // ASL compiler results in Errors for these
-
- Stall(i000)
- Stall("B")
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 112:
+ *
+ * SUMMARY: The ASL compiler refuses passing the Named Objects and String constants as a MicroSecs operand of the Stall operator
+ */
+
+ Method(me77, 1)
+ {
+ Stall(arg0)
+ }
+
+ Method(me78,, Serialized)
+ {
+ Name(i000, 0xB)
+ Store(i000, Local0)
+
+ // These calls are compiled
+ // and executed successfully
+
+ me77(i000)
+ Stall(Local0)
+ Stall(Add(i000, Local0))
+ Stall(ToHexString(i000))
+ Stall(Buffer(){0xB})
+
+ // ASL compiler results in Errors for these
+
+ Stall(i000)
+ Stall("B")
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/MAIN.asl
index 954760be9..7c4542934 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B112.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0112/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0112/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B112.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0112/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0112/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/RUN.asl
index 513e29fbb..26316aacf 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0112/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 112", TCLD, 112, W017)) {
- SRMT("me78")
- me78()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 112", TCLD, 112, W017)) {
+ SRMT("me78")
+ me78()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/DECL.asl
index 8a4a8a36d..f731710ce 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/DECL.asl
@@ -1,94 +1,94 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 113:
- *
- * SUMMARY: Unexpected dereference of Index reference immediately passed to Method
- */
-
- Method(me79, 6)
- {
- Store(arg0, Debug)
- Store(arg1, Debug)
- Store(arg2, Debug)
- Store(arg3, Debug)
- Store(arg4, Debug)
- Store(arg5, Debug)
-
-
- Store("Test 0", Debug)
- CH03("", 0, 0x000, 0, 0)
- Store(Add(arg0, 1), Local5)
- CH04("", 1, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
-
- Store("Test 1", Debug)
- CH03("", 0, 0x002, 0, 0)
- Store(Add(arg1, 1), Local5)
- CH04("", 1, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
-
- Store("Test 2", Debug)
- CH03("", 0, 0x004, 0, 0)
- Store(Add(arg2, 1), Local5)
- CH04("", 1, 47, 0, 0x005, 0, 0) // AE_AML_OPERAND_TYPE
-
- Store("Test 3", Debug)
- CH03("", 0, 0x006, 0, 0)
- Store(Add(arg3, 1), Local5)
- CH04("", 1, 47, 0, 0x007, 0, 0) // AE_AML_OPERAND_TYPE
-
- Store("Test 4", Debug)
- CH03("", 0, 0x008, 0, 0)
- Store(Add(arg4, 1), Local5)
- CH04("", 1, 47, 0, 0x009, 0, 0) // AE_AML_OPERAND_TYPE
-
- Store("Test 5", Debug)
- CH03("", 0, 0x00a, 0, 0)
- Store(Add(arg5, 1), Local5)
- CH04("", 1, 47, 0, 0x00b, 0, 0) // AE_AML_OPERAND_TYPE
- }
-
- Method(me7a,, Serialized)
- {
- Name(p000, Package(){0x00, 0x01, 0x02, 0x03, 0x04})
- Name(p001, Package(){0x10, 0x11, 0x12, 0x13, 0x14})
- Name(p002, Package(){0x20, 0x21, 0x22, 0x23, 0x24})
- Name(p003, Package(){0x30, 0x31, 0x32, 0x33, 0x34})
- Name(p004, Package(){0x40, 0x41, 0x42, 0x43, 0x44})
-
-
- Store(Index(p002, 2), Local0)
-
- Index(p003, 3, Local1)
-
- Store(Index(p004, 4, Local2), Local3)
-
- me79(Index(p000, 0), Index(p001, 1, Local4), Local0, Local1, Local2, Local3)
-
- Store(Local4, Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 113:
+ *
+ * SUMMARY: Unexpected dereference of Index reference immediately passed to Method
+ */
+
+ Method(me79, 6)
+ {
+ Store(arg0, Debug)
+ Store(arg1, Debug)
+ Store(arg2, Debug)
+ Store(arg3, Debug)
+ Store(arg4, Debug)
+ Store(arg5, Debug)
+
+
+ Store("Test 0", Debug)
+ CH03("", 0, 0x000, 0, 0)
+ Store(Add(arg0, 1), Local5)
+ CH04("", 1, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
+
+ Store("Test 1", Debug)
+ CH03("", 0, 0x002, 0, 0)
+ Store(Add(arg1, 1), Local5)
+ CH04("", 1, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
+
+ Store("Test 2", Debug)
+ CH03("", 0, 0x004, 0, 0)
+ Store(Add(arg2, 1), Local5)
+ CH04("", 1, 47, 0, 0x005, 0, 0) // AE_AML_OPERAND_TYPE
+
+ Store("Test 3", Debug)
+ CH03("", 0, 0x006, 0, 0)
+ Store(Add(arg3, 1), Local5)
+ CH04("", 1, 47, 0, 0x007, 0, 0) // AE_AML_OPERAND_TYPE
+
+ Store("Test 4", Debug)
+ CH03("", 0, 0x008, 0, 0)
+ Store(Add(arg4, 1), Local5)
+ CH04("", 1, 47, 0, 0x009, 0, 0) // AE_AML_OPERAND_TYPE
+
+ Store("Test 5", Debug)
+ CH03("", 0, 0x00a, 0, 0)
+ Store(Add(arg5, 1), Local5)
+ CH04("", 1, 47, 0, 0x00b, 0, 0) // AE_AML_OPERAND_TYPE
+ }
+
+ Method(me7a,, Serialized)
+ {
+ Name(p000, Package(){0x00, 0x01, 0x02, 0x03, 0x04})
+ Name(p001, Package(){0x10, 0x11, 0x12, 0x13, 0x14})
+ Name(p002, Package(){0x20, 0x21, 0x22, 0x23, 0x24})
+ Name(p003, Package(){0x30, 0x31, 0x32, 0x33, 0x34})
+ Name(p004, Package(){0x40, 0x41, 0x42, 0x43, 0x44})
+
+
+ Store(Index(p002, 2), Local0)
+
+ Index(p003, 3, Local1)
+
+ Store(Index(p004, 4, Local2), Local3)
+
+ me79(Index(p000, 0), Index(p001, 1, Local4), Local0, Local1, Local2, Local3)
+
+ Store(Local4, Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/MAIN.asl
index eda026352..b6d99054b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B113.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0113/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0113/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B113.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0113/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0113/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/RUN.asl
index 7423116f0..99a2a0df9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0113/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 113", TCLD, 113, W017)) {
- SRMT("me7a")
- me7a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 113", TCLD, 113, W017)) {
+ SRMT("me7a")
+ me7a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/DECL.asl
index 824f42163..c8cd3ae5b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/DECL.asl
@@ -1,73 +1,73 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 114:
- *
- * SUMMARY: Method object as a Source of Index operation is treated by iASL mistakenly as a call to that Method
- */
-
- Method(me7b)
- {
- Store("Start of test", Debug)
-
- Method(m001) { return (0x12345678) }
-
- Store(Index(m001, 0), Local0)
-
- Store(Local0, Debug)
-
- Store("Finish of test", Debug)
-
- return (0)
- }
-
- Method(me7c)
- {
- Store("Start of test", Debug)
-
- Method(m001) { return ("zxvgswquiy") }
-
- Store(Index(m001, 0), Local0)
-
- Store(Local0, Debug)
-
- Store(DerefOf(Local0), Local1)
-
- Store(Local1, Debug)
-
- Store("Finish of test", Debug)
-
- return (0)
- }
-
- Method(me7d)
- {
- me7b()
- me7c()
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 114:
+ *
+ * SUMMARY: Method object as a Source of Index operation is treated by iASL mistakenly as a call to that Method
+ */
+
+ Method(me7b)
+ {
+ Store("Start of test", Debug)
+
+ Method(m001) { return (0x12345678) }
+
+ Store(Index(m001, 0), Local0)
+
+ Store(Local0, Debug)
+
+ Store("Finish of test", Debug)
+
+ return (0)
+ }
+
+ Method(me7c)
+ {
+ Store("Start of test", Debug)
+
+ Method(m001) { return ("zxvgswquiy") }
+
+ Store(Index(m001, 0), Local0)
+
+ Store(Local0, Debug)
+
+ Store(DerefOf(Local0), Local1)
+
+ Store(Local1, Debug)
+
+ Store("Finish of test", Debug)
+
+ return (0)
+ }
+
+ Method(me7d)
+ {
+ me7b()
+ me7c()
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/MAIN.asl
index 59e6ea01e..89e80709f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0114_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B114.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0114_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B114.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0114_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/DECL.asl
index 5b6ae01eb..c4c92aa1e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/DECL.asl
@@ -1,145 +1,145 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 115:
- *
- * SUMMARY: Unexpected dereference of Index reference returned by Method and immediately passed to another Method
- */
-
- Method(me7e, 2) {
- Store(arg0, Debug)
- Store(arg1, arg0)
- }
-
- Method(me7f) {
- Return(Index(pd04, 0))
- }
-
- Method(me80) {
- Store(Index(pd05, 0), Local0)
- Return(Local0)
- }
-
- Method(me81) {
- Return(Index(pd06, 0, Local0))
- }
-
- Method(me82) {
- Index(pd07, 0, Local0)
- Return(Local0)
- }
-
- Method(me83) {
- Store(Index(pd08, 0, Local0), Local1)
- Return(Local0)
- }
-
- Method(me84) {
- Store(Index(pd09, 0, Local0), Local1)
- Return(Local1)
- }
-
- Method(me85) {
- Return(RefOf(id10))
- }
-
- Method(me86,, Serialized)
- {
- Name(prn0, 0)
-
- // To show: the RefOf reference is actually passed to method (Ok)
-
- if (prn0) {
- Store(me85(), Debug)
- }
-
- Store(0xabcd0000, Local0)
- me7e(me85(), Local0)
- if (LNotEqual(id10, Local0)) {
- err("", zFFF, 0x000, 0, 0, id10, Local0)
- }
-
- // To show: all methods return Index references (Ok)
-
- if (prn0) {
- Store(me7f(), Debug)
- Store(me80(), Debug)
- Store(me81(), Debug)
- Store(me82(), Debug)
- Store(me83(), Debug)
- Store(me84(), Debug)
- }
-
- // To show: passed to methods are objects but
- // not Index references to them as expected (Bug)
-
- Store(0xabcd0001, Local0)
- me7e(me7f(), Local0)
- Store(DerefOf(Index(pd04, 0)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x001, 0, 0, Local1, Local0)
- }
-
- Store(0xabcd0002, Local0)
- me7e(me80(), Local0)
- Store(DerefOf(Index(pd05, 0)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x001, 0, 0, Local1, Local0)
- }
-
- Store(0xabcd0003, Local0)
- me7e(me81(), Local0)
- Store(DerefOf(Index(pd06, 0)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x001, 0, 0, Local1, Local0)
- }
-
- Store(0xabcd0004, Local0)
- me7e(me82(), Local0)
- Store(DerefOf(Index(pd07, 0)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x001, 0, 0, Local1, Local0)
- }
-
- Store(0xabcd0005, Local0)
- me7e(me83(), Local0)
- Store(DerefOf(Index(pd08, 0)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x001, 0, 0, Local1, Local0)
- }
-
- Store(0xabcd0006, Local0)
- me7e(me84(), Local0)
- Store(DerefOf(Index(pd09, 0)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x001, 0, 0, Local1, Local0)
- }
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 115:
+ *
+ * SUMMARY: Unexpected dereference of Index reference returned by Method and immediately passed to another Method
+ */
+
+ Method(me7e, 2) {
+ Store(arg0, Debug)
+ Store(arg1, arg0)
+ }
+
+ Method(me7f) {
+ Return(Index(pd04, 0))
+ }
+
+ Method(me80) {
+ Store(Index(pd05, 0), Local0)
+ Return(Local0)
+ }
+
+ Method(me81) {
+ Return(Index(pd06, 0, Local0))
+ }
+
+ Method(me82) {
+ Index(pd07, 0, Local0)
+ Return(Local0)
+ }
+
+ Method(me83) {
+ Store(Index(pd08, 0, Local0), Local1)
+ Return(Local0)
+ }
+
+ Method(me84) {
+ Store(Index(pd09, 0, Local0), Local1)
+ Return(Local1)
+ }
+
+ Method(me85) {
+ Return(RefOf(id10))
+ }
+
+ Method(me86,, Serialized)
+ {
+ Name(prn0, 0)
+
+ // To show: the RefOf reference is actually passed to method (Ok)
+
+ if (prn0) {
+ Store(me85(), Debug)
+ }
+
+ Store(0xabcd0000, Local0)
+ me7e(me85(), Local0)
+ if (LNotEqual(id10, Local0)) {
+ err("", zFFF, 0x000, 0, 0, id10, Local0)
+ }
+
+ // To show: all methods return Index references (Ok)
+
+ if (prn0) {
+ Store(me7f(), Debug)
+ Store(me80(), Debug)
+ Store(me81(), Debug)
+ Store(me82(), Debug)
+ Store(me83(), Debug)
+ Store(me84(), Debug)
+ }
+
+ // To show: passed to methods are objects but
+ // not Index references to them as expected (Bug)
+
+ Store(0xabcd0001, Local0)
+ me7e(me7f(), Local0)
+ Store(DerefOf(Index(pd04, 0)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local1, Local0)
+ }
+
+ Store(0xabcd0002, Local0)
+ me7e(me80(), Local0)
+ Store(DerefOf(Index(pd05, 0)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local1, Local0)
+ }
+
+ Store(0xabcd0003, Local0)
+ me7e(me81(), Local0)
+ Store(DerefOf(Index(pd06, 0)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local1, Local0)
+ }
+
+ Store(0xabcd0004, Local0)
+ me7e(me82(), Local0)
+ Store(DerefOf(Index(pd07, 0)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local1, Local0)
+ }
+
+ Store(0xabcd0005, Local0)
+ me7e(me83(), Local0)
+ Store(DerefOf(Index(pd08, 0)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local1, Local0)
+ }
+
+ Store(0xabcd0006, Local0)
+ me7e(me84(), Local0)
+ Store(DerefOf(Index(pd09, 0)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local1, Local0)
+ }
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/MAIN.asl
index 7ef80f8ce..395d39d69 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B115.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0115/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0115/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B115.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0115/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0115/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/RUN.asl
index 8fbac5863..fd65ed522 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0115/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 115", TCLD, 115, W017)) {
- SRMT("me86")
- me86()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 115", TCLD, 115, W017)) {
+ SRMT("me86")
+ me86()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/DECL.asl
index e91ccd66f..7fa09109f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 116:
- *
- * SUMMARY: The ASL Compiler doesn't recognize attempts to generate IRefs to arbitrary type objects
- *
- * Compiler should return error...
- */
-
- Method(me87)
- {
- Name(i000, 0xabcdef)
- Name(b000, Buffer() {1,2,3,4,5,6,7,8,9})
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) {f000,8}
- Field(r000, ByteAcc, NoLock, Preserve) {bnk0,8,f00a,8,f00b,8}
- BankField(r000, bnk0, 0, ByteAcc, NoLock, Preserve) {bkf0,4}
- IndexField(f00a, f00b, ByteAcc, NoLock, Preserve) {if00,1,if01,1}
- CreateField(b000, 0, 8, bf00)
-
- Index(i000, 0) // i000 - Integer
- Index(bf00, 0) // bf00 - Buffer Field
- Index(f000, 0) // f000 - Field Unit by Field()
- Index(bkf0, 0) // bkf0 - Field Unit by BankField()
- Index(if00, 0) // if00 - Field Unit by IndexField()
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 116:
+ *
+ * SUMMARY: The ASL Compiler doesn't recognize attempts to generate IRefs to arbitrary type objects
+ *
+ * Compiler should return error...
+ */
+
+ Method(me87)
+ {
+ Name(i000, 0xabcdef)
+ Name(b000, Buffer() {1,2,3,4,5,6,7,8,9})
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) {f000,8}
+ Field(r000, ByteAcc, NoLock, Preserve) {bnk0,8,f00a,8,f00b,8}
+ BankField(r000, bnk0, 0, ByteAcc, NoLock, Preserve) {bkf0,4}
+ IndexField(f00a, f00b, ByteAcc, NoLock, Preserve) {if00,1,if01,1}
+ CreateField(b000, 0, 8, bf00)
+
+ Index(i000, 0) // i000 - Integer
+ Index(bf00, 0) // bf00 - Buffer Field
+ Index(f000, 0) // f000 - Field Unit by Field()
+ Index(bkf0, 0) // bkf0 - Field Unit by BankField()
+ Index(if00, 0) // if00 - Field Unit by IndexField()
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/MAIN.asl
index 6f213ff39..62cb7e9f3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0116_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B116.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0116_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B116.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0116_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/DECL.asl
index a850f7455..b902a3ca5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 117:
- *
- * SUMMARY: Modifying the copy of the String obtained by the Store operator modifies the initial String Object also
- */
-
- Method(me88,, Serialized)
- {
- Name(s000, "String")
-
- Store(s000, Local0)
-
- Store(s000, Debug)
- Store(Local0, Debug)
-
- Store (0x61, Index(Local0, 3))
- Store("Modification of the copied string", Debug)
-
- if (LNotEqual(Local0, "Strang")) {
- err("", zFFF, 0x000, 0, 0, Local0, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0x001, 0, 0, s000, "String")
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 117:
+ *
+ * SUMMARY: Modifying the copy of the String obtained by the Store operator modifies the initial String Object also
+ */
+
+ Method(me88,, Serialized)
+ {
+ Name(s000, "String")
+
+ Store(s000, Local0)
+
+ Store(s000, Debug)
+ Store(Local0, Debug)
+
+ Store (0x61, Index(Local0, 3))
+ Store("Modification of the copied string", Debug)
+
+ if (LNotEqual(Local0, "Strang")) {
+ err("", zFFF, 0x000, 0, 0, Local0, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0x001, 0, 0, s000, "String")
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/MAIN.asl
index 56cf62493..f974d3b4d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B117.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0117/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0117/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B117.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0117/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0117/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/RUN.asl
index b54e6f4aa..181b0cd70 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0117/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 117", TCLD, 117, W017)) {
- SRMT("me88")
- me88()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 117", TCLD, 117, W017)) {
+ SRMT("me88")
+ me88()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.0000.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.0000.asl
index c8772cc74..b2fb15a03 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.0000.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.0000.asl
@@ -1,111 +1,111 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 118:
- *
- * SUMMARY
- *
- * EXAMPLES
- *
- * ROOT CAUSE
- *
- * SEE ALSO: bugs 65,66,67,68,118
- */
-
-// Access to the named Integer object as an element of Package
-Method(md79)
-{
- Store(Index(pd0a, 0), Local0)
- Store(DerefOf(Local0), Local1)
- Store(ObjectType(Local1), Local0)
-
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- } else {
- if (LNotEqual(Local1, 0xfe7cb391d650a284)) {
- err("", zFFF, 0x001, 0, 0, Local1, 0xfe7cb391d650a284)
- }
- }
-}
-
-// Access to the Buffer Field object as an element of Package
-Method(md7a)
-{
- Store(Index(pd0b, 0), Local0)
- Store(DerefOf(Local0), Local1)
- Store(ObjectType(Local1), Local0)
-
- if (LNotEqual(Local0, c016)) {
- err("", zFFF, 0x002, 0, 0, Local0, c016)
- } else {
-Store("=======================================", Debug)
-Store(Local1, Debug)
-Store(bfd1, Debug)
-Store(Local1, Local0)
-Store(Local0, Debug)
-Store("=======================================", Debug)
-if (1) {
- if (LNotEqual(Local1, 0x59)) {
- err("", zFFF, 0x003, 0, 0, Local1, 0x59)
- }
-}
- }
-}
-
-// Access to the Field Unit object as an element of Package
-Method(md7b)
-{
- Store(Index(pd0c, 0), Local0)
- Store(DerefOf(Local0), Local1)
- Store(ObjectType(Local1), Local0)
-
- if (LNotEqual(Local0, c00d)) {
- err("", zFFF, 0x004, 0, 0, Local0, c00d)
- } else {
-
-Store("=======================================", Debug)
-Store(Local1, Debug)
-Store(fd03, Debug)
-Store(Local1, Local0)
-Store(Local0, Debug)
-Store("=======================================", Debug)
-if (1) {
- if (LNotEqual(Local1, 0)) {
- err("", zFFF, 0x005, 0, 0, Local1, 0)
- }
-}
- }
-}
-
-Method(md7c)
-{
- md79()
- md7a()
- md7b()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 118:
+ *
+ * SUMMARY
+ *
+ * EXAMPLES
+ *
+ * ROOT CAUSE
+ *
+ * SEE ALSO: bugs 65,66,67,68,118
+ */
+
+// Access to the named Integer object as an element of Package
+Method(md79)
+{
+ Store(Index(pd0a, 0), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(ObjectType(Local1), Local0)
+
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ } else {
+ if (LNotEqual(Local1, 0xfe7cb391d650a284)) {
+ err("", zFFF, 0x001, 0, 0, Local1, 0xfe7cb391d650a284)
+ }
+ }
+}
+
+// Access to the Buffer Field object as an element of Package
+Method(md7a)
+{
+ Store(Index(pd0b, 0), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(ObjectType(Local1), Local0)
+
+ if (LNotEqual(Local0, c016)) {
+ err("", zFFF, 0x002, 0, 0, Local0, c016)
+ } else {
+Store("=======================================", Debug)
+Store(Local1, Debug)
+Store(bfd1, Debug)
+Store(Local1, Local0)
+Store(Local0, Debug)
+Store("=======================================", Debug)
+if (1) {
+ if (LNotEqual(Local1, 0x59)) {
+ err("", zFFF, 0x003, 0, 0, Local1, 0x59)
+ }
+}
+ }
+}
+
+// Access to the Field Unit object as an element of Package
+Method(md7b)
+{
+ Store(Index(pd0c, 0), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(ObjectType(Local1), Local0)
+
+ if (LNotEqual(Local0, c00d)) {
+ err("", zFFF, 0x004, 0, 0, Local0, c00d)
+ } else {
+
+Store("=======================================", Debug)
+Store(Local1, Debug)
+Store(fd03, Debug)
+Store(Local1, Local0)
+Store(Local0, Debug)
+Store("=======================================", Debug)
+if (1) {
+ if (LNotEqual(Local1, 0)) {
+ err("", zFFF, 0x005, 0, 0, Local1, 0)
+ }
+}
+ }
+}
+
+Method(md7c)
+{
+ md79()
+ md7a()
+ md7b()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.asl
index 15cf6e9ab..de7be578f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/DECL.asl
@@ -1,285 +1,285 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 118:
- *
- * SUMMARY: Access to FieldObject element of Package causes exception
- *
- * EXAMPLES:
- *
- * ROOT CAUSE:
- *
- * SEE ALSO: bugs 65,66,67,68,118
- */
-
-// Access to the named Integer object as an element of Package
-
-Method(mf80,, Serialized)
-{
- Name(i000, 0xaaaa0000)
- Name(p000, Package() {i000})
-
- Store(0xaaaa0100, i000)
-
- Store(Index(p000, 0), Local0)
-
- Store(0xaaaa0200, i000)
-
- Store(DerefOf(Local0), Local1)
-
- Store(0xaaaa0300, i000)
-
- Store(ObjectType(i000), Local2)
- Store(ObjectType(Local0), Local3)
- Store(ObjectType(Local1), Local4)
-
- Add(Local1, 0x079, Local5)
-
- if (LNotEqual(Local4, c009)) {
- err("", zFFF, 0x000, 0, 0, Local4, c009)
- } elseif (LNotEqual(Local5, 0xaaaa0279)) {
- err("", zFFF, 0x001, 0, 0, Local5, 0xaaaa0279)
- }
-
- if (LNotEqual(i000, 0xaaaa0300)) {
- err("", zFFF, 0x002, 0, 0, i000, 0xaaaa0300)
- }
-
- if (LNotEqual(Local2, c009)) {
- err("", zFFF, 0x003, 0, 0, Local2, c009)
- }
-
- if (LNotEqual(Local3, c009)) {
- err("", zFFF, 0x004, 0, 0, Local3, c009)
- }
-
- CH03("", 0, 0x005, 0, 0)
- Add(Local0, 0x079, Local5)
- CH04("", 0, 47, 0, 0x006, 0, 0) // AE_AML_OPERAND_TYPE
-}
-
-Method(mf81,, Serialized)
-{
- Name(ii00, 0)
- Name(ii01, 0)
- Name(ii02, 0)
- Name(ii03, 0)
- Name(ii04, 0)
- Name(ii05, 0)
-
- Name(i000, 0xaaaa0000)
- Name(p000, Package() {i000})
-
- Store(0xaaaa0100, i000)
-
-// Store(Index(p000, 0), ii00)
-// CopyObject(Index(p000, 0), ii00)
- Store(Index(p000, 0), Local0)
-
- Store(0xaaaa0200, i000)
-
- Store(DerefOf(Local0), ii01)
-
- Store(0xaaaa0300, i000)
-
- Store(ObjectType(i000), ii02)
- Store(ObjectType(Local0), ii03)
- Store(ObjectType(ii01), ii04)
-
- Add(ii01, 0x079, ii05)
-
- if (LNotEqual(ii04, c009)) {
- err("", zFFF, 0x007, 0, 0, ii04, c009)
- } elseif (LNotEqual(ii05, 0xaaaa0279)) {
- err("", zFFF, 0x008, 0, 0, ii05, 0xaaaa0279)
- }
-
- if (LNotEqual(i000, 0xaaaa0300)) {
- err("", zFFF, 0x009, 0, 0, i000, 0xaaaa0300)
- }
-
- if (LNotEqual(ii02, c009)) {
- err("", zFFF, 0x00a, 0, 0, ii02, c009)
- }
-
- if (LNotEqual(ii03, c009)) {
- err("", zFFF, 0x00b, 0, 0, ii03, c009)
- }
-
- CH03("", 0, 0x00c, 0, 0)
- Add(Local0, 0x079, ii05)
- CH04("", 0, 47, 0, 0x00d, 0, 0) // AE_AML_OPERAND_TYPE
-}
-
-Method(mf82,, Serialized)
-{
- Name(ii00, 0)
- Name(ii01, 0)
- Name(ii02, 0)
- Name(ii03, 0)
- Name(ii04, 0)
- Name(ii05, 0)
-
- Name(i000, 0xaaaa0000)
- Name(p000, Package() {i000})
-
- Store(0xaaaa0100, i000)
-
- CopyObject(Index(p000, 0), ii00)
-
- Store(0xaaaa0200, i000)
-
- Store(DerefOf(ii00), ii01)
-
- Store(0xaaaa0300, i000)
-
- Store(ObjectType(i000), ii02)
- Store(ObjectType(ii00), ii03)
- Store(ObjectType(ii01), ii04)
-
- Add(ii01, 0x079, ii05)
-
- if (LNotEqual(ii04, c009)) {
- err("", zFFF, 0x00e, 0, 0, ii04, c009)
- } elseif (LNotEqual(ii05, 0xaaaa0279)) {
- err("", zFFF, 0x00f, 0, 0, ii05, 0xaaaa0279)
- }
-
- if (LNotEqual(i000, 0xaaaa0300)) {
- err("", zFFF, 0x010, 0, 0, i000, 0xaaaa0300)
- }
-
- if (LNotEqual(ii02, c009)) {
- err("", zFFF, 0x011, 0, 0, ii02, c009)
- }
-
- if (LNotEqual(ii03, c009)) {
- err("", zFFF, 0x012, 0, 0, ii03, c009)
- }
-
- CH03("", 0, 0x013, 0, 0)
- Add(ii00, 0x079, ii05)
- CH04("", 0, 47, 0, 0x014, 0, 0) // AE_AML_OPERAND_TYPE
-}
-
-Method(md79)
-{
- Store(Index(pd0a, 0), Local0)
- Store(DerefOf(Local0), Local1)
- Store(ObjectType(Local1), Local0)
-
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- } else {
- if (LNotEqual(Local1, 0xfe7cb391d650a284)) {
- err("", zFFF, 0x001, 0, 0, Local1, 0xfe7cb391d650a284)
- }
- }
-}
-
-// Access to the Buffer Field object as an element of Package
-
-Method(md7a)
-{
- Store(Index(pd0b, 0), Local0)
- Store(DerefOf(Local0), Local1)
- Store(ObjectType(Local1), Local0)
-
- if (LNotEqual(Local0, c016)) {
- err("", zFFF, 0x002, 0, 0, Local0, c016)
- } else {
-Store("=======================================", Debug)
-Store(Local1, Debug)
-Store(bfd1, Debug)
-Store(Local1, Local0)
-Store(Local0, Debug)
-Store("=======================================", Debug)
-if (1) {
- if (LNotEqual(Local1, 0x59)) {
- err("", zFFF, 0x003, 0, 0, Local1, 0x59)
- }
-}
- }
-}
-
-// Access to the Field Unit object as an element of Package
-
-Method(md7b)
-{
- Store(Index(pd0c, 0), Local0)
- Store(DerefOf(Local0), Local1)
- Store(ObjectType(Local1), Local0)
-
- if (LNotEqual(Local0, c00d)) {
- err("", zFFF, 0x004, 0, 0, Local0, c00d)
- } else {
-
-Store("=======================================", Debug)
-Store(Local1, Debug)
-Store(fd03, Debug)
-Store(Local1, Local0)
-Store(Local0, Debug)
-Store("=======================================", Debug)
-if (1) {
- if (LNotEqual(Local1, 0)) {
- err("", zFFF, 0x005, 0, 0, Local1, 0)
- }
-}
- }
-}
-
-Method(md7c)
-{
- // Named Integer object as an element of Package
-
-/*
- SRMT("mf80")
- mf80()
-
- SRMT("mf81")
- mf81()
-
- SRMT("mf82")
- if (y127) {
- mf82()
- } else {
- BLCK()
- }
-
- SRMT("md79")
- md79()
-*/
-
-
- SRMT("md7a")
- md7a()
-
- SRMT("md7b")
- md7b()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 118:
+ *
+ * SUMMARY: Access to FieldObject element of Package causes exception
+ *
+ * EXAMPLES:
+ *
+ * ROOT CAUSE:
+ *
+ * SEE ALSO: bugs 65,66,67,68,118
+ */
+
+// Access to the named Integer object as an element of Package
+
+Method(mf80,, Serialized)
+{
+ Name(i000, 0xaaaa0000)
+ Name(p000, Package() {i000})
+
+ Store(0xaaaa0100, i000)
+
+ Store(Index(p000, 0), Local0)
+
+ Store(0xaaaa0200, i000)
+
+ Store(DerefOf(Local0), Local1)
+
+ Store(0xaaaa0300, i000)
+
+ Store(ObjectType(i000), Local2)
+ Store(ObjectType(Local0), Local3)
+ Store(ObjectType(Local1), Local4)
+
+ Add(Local1, 0x079, Local5)
+
+ if (LNotEqual(Local4, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local4, c009)
+ } elseif (LNotEqual(Local5, 0xaaaa0279)) {
+ err("", zFFF, 0x001, 0, 0, Local5, 0xaaaa0279)
+ }
+
+ if (LNotEqual(i000, 0xaaaa0300)) {
+ err("", zFFF, 0x002, 0, 0, i000, 0xaaaa0300)
+ }
+
+ if (LNotEqual(Local2, c009)) {
+ err("", zFFF, 0x003, 0, 0, Local2, c009)
+ }
+
+ if (LNotEqual(Local3, c009)) {
+ err("", zFFF, 0x004, 0, 0, Local3, c009)
+ }
+
+ CH03("", 0, 0x005, 0, 0)
+ Add(Local0, 0x079, Local5)
+ CH04("", 0, 47, 0, 0x006, 0, 0) // AE_AML_OPERAND_TYPE
+}
+
+Method(mf81,, Serialized)
+{
+ Name(ii00, 0)
+ Name(ii01, 0)
+ Name(ii02, 0)
+ Name(ii03, 0)
+ Name(ii04, 0)
+ Name(ii05, 0)
+
+ Name(i000, 0xaaaa0000)
+ Name(p000, Package() {i000})
+
+ Store(0xaaaa0100, i000)
+
+// Store(Index(p000, 0), ii00)
+// CopyObject(Index(p000, 0), ii00)
+ Store(Index(p000, 0), Local0)
+
+ Store(0xaaaa0200, i000)
+
+ Store(DerefOf(Local0), ii01)
+
+ Store(0xaaaa0300, i000)
+
+ Store(ObjectType(i000), ii02)
+ Store(ObjectType(Local0), ii03)
+ Store(ObjectType(ii01), ii04)
+
+ Add(ii01, 0x079, ii05)
+
+ if (LNotEqual(ii04, c009)) {
+ err("", zFFF, 0x007, 0, 0, ii04, c009)
+ } elseif (LNotEqual(ii05, 0xaaaa0279)) {
+ err("", zFFF, 0x008, 0, 0, ii05, 0xaaaa0279)
+ }
+
+ if (LNotEqual(i000, 0xaaaa0300)) {
+ err("", zFFF, 0x009, 0, 0, i000, 0xaaaa0300)
+ }
+
+ if (LNotEqual(ii02, c009)) {
+ err("", zFFF, 0x00a, 0, 0, ii02, c009)
+ }
+
+ if (LNotEqual(ii03, c009)) {
+ err("", zFFF, 0x00b, 0, 0, ii03, c009)
+ }
+
+ CH03("", 0, 0x00c, 0, 0)
+ Add(Local0, 0x079, ii05)
+ CH04("", 0, 47, 0, 0x00d, 0, 0) // AE_AML_OPERAND_TYPE
+}
+
+Method(mf82,, Serialized)
+{
+ Name(ii00, 0)
+ Name(ii01, 0)
+ Name(ii02, 0)
+ Name(ii03, 0)
+ Name(ii04, 0)
+ Name(ii05, 0)
+
+ Name(i000, 0xaaaa0000)
+ Name(p000, Package() {i000})
+
+ Store(0xaaaa0100, i000)
+
+ CopyObject(Index(p000, 0), ii00)
+
+ Store(0xaaaa0200, i000)
+
+ Store(DerefOf(ii00), ii01)
+
+ Store(0xaaaa0300, i000)
+
+ Store(ObjectType(i000), ii02)
+ Store(ObjectType(ii00), ii03)
+ Store(ObjectType(ii01), ii04)
+
+ Add(ii01, 0x079, ii05)
+
+ if (LNotEqual(ii04, c009)) {
+ err("", zFFF, 0x00e, 0, 0, ii04, c009)
+ } elseif (LNotEqual(ii05, 0xaaaa0279)) {
+ err("", zFFF, 0x00f, 0, 0, ii05, 0xaaaa0279)
+ }
+
+ if (LNotEqual(i000, 0xaaaa0300)) {
+ err("", zFFF, 0x010, 0, 0, i000, 0xaaaa0300)
+ }
+
+ if (LNotEqual(ii02, c009)) {
+ err("", zFFF, 0x011, 0, 0, ii02, c009)
+ }
+
+ if (LNotEqual(ii03, c009)) {
+ err("", zFFF, 0x012, 0, 0, ii03, c009)
+ }
+
+ CH03("", 0, 0x013, 0, 0)
+ Add(ii00, 0x079, ii05)
+ CH04("", 0, 47, 0, 0x014, 0, 0) // AE_AML_OPERAND_TYPE
+}
+
+Method(md79)
+{
+ Store(Index(pd0a, 0), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(ObjectType(Local1), Local0)
+
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ } else {
+ if (LNotEqual(Local1, 0xfe7cb391d650a284)) {
+ err("", zFFF, 0x001, 0, 0, Local1, 0xfe7cb391d650a284)
+ }
+ }
+}
+
+// Access to the Buffer Field object as an element of Package
+
+Method(md7a)
+{
+ Store(Index(pd0b, 0), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(ObjectType(Local1), Local0)
+
+ if (LNotEqual(Local0, c016)) {
+ err("", zFFF, 0x002, 0, 0, Local0, c016)
+ } else {
+Store("=======================================", Debug)
+Store(Local1, Debug)
+Store(bfd1, Debug)
+Store(Local1, Local0)
+Store(Local0, Debug)
+Store("=======================================", Debug)
+if (1) {
+ if (LNotEqual(Local1, 0x59)) {
+ err("", zFFF, 0x003, 0, 0, Local1, 0x59)
+ }
+}
+ }
+}
+
+// Access to the Field Unit object as an element of Package
+
+Method(md7b)
+{
+ Store(Index(pd0c, 0), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(ObjectType(Local1), Local0)
+
+ if (LNotEqual(Local0, c00d)) {
+ err("", zFFF, 0x004, 0, 0, Local0, c00d)
+ } else {
+
+Store("=======================================", Debug)
+Store(Local1, Debug)
+Store(fd03, Debug)
+Store(Local1, Local0)
+Store(Local0, Debug)
+Store("=======================================", Debug)
+if (1) {
+ if (LNotEqual(Local1, 0)) {
+ err("", zFFF, 0x005, 0, 0, Local1, 0)
+ }
+}
+ }
+}
+
+Method(md7c)
+{
+ // Named Integer object as an element of Package
+
+/*
+ SRMT("mf80")
+ mf80()
+
+ SRMT("mf81")
+ mf81()
+
+ SRMT("mf82")
+ if (y127) {
+ mf82()
+ } else {
+ BLCK()
+ }
+
+ SRMT("md79")
+ md79()
+*/
+
+
+ SRMT("md7a")
+ md7a()
+
+ SRMT("md7b")
+ md7b()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/MAIN.asl
index 132737a1f..bf6b33179 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B118.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0118/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0118/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B118.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0118/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0118/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/RUN.asl
index 4680245a8..0992d90c1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0118/RUN.asl
@@ -1,49 +1,49 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 118", TCLD, 118, W017)) {
-
-
-// ?????????????????????????????
-// 1. set y118 to 1
-// 2. see the test: decl.asl
-// ??????????????????????????????
-
-
-// ????
-
-
- SRMT("md7c")
- if (y118) {
- md7c()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 118", TCLD, 118, W017)) {
+
+
+// ?????????????????????????????
+// 1. set y118 to 1
+// 2. see the test: decl.asl
+// ??????????????????????????????
+
+
+// ????
+
+
+ SRMT("md7c")
+ if (y118) {
+ md7c()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/DECL.asl
index 4e9f9daa1..fa7db02c5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/DECL.asl
@@ -1,50 +1,50 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 119:
- *
- * SUMMARY: The Logical operators in 32-bit mode act with 64-bit values
- */
-
- Method(mf00)
- {
- Store (LEqual(0xffffffff, 0x1ffffffff), Local0)
- if (Local0) {
- Store ("Ok: LEqual", Debug)
- } else {
- err("", zFFF, 0x000, 0, 0, Local0, Ones)
- }
-
- Store (LLess(0xffffffff, 0x100000000), Local1)
- if (Local1) {
- err("", zFFF, 0x001, 0, 0, Local1, Zero)
- } else {
- Store ("Ok: LLess", Debug)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 119:
+ *
+ * SUMMARY: The Logical operators in 32-bit mode act with 64-bit values
+ */
+
+ Method(mf00)
+ {
+ Store (LEqual(0xffffffff, 0x1ffffffff), Local0)
+ if (Local0) {
+ Store ("Ok: LEqual", Debug)
+ } else {
+ err("", zFFF, 0x000, 0, 0, Local0, Ones)
+ }
+
+ Store (LLess(0xffffffff, 0x100000000), Local1)
+ if (Local1) {
+ err("", zFFF, 0x001, 0, 0, Local1, Zero)
+ } else {
+ Store ("Ok: LLess", Debug)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/MAIN.asl
index 3381c1154..a4fd7a3ae 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B119.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0119/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0119/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B119.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0119/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0119/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/RUN.asl
index 8e89264e5..997556c8e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0119/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 119", TCLD, 119, W017)) {
- SRMT("mf00")
- if (F64) {
- SKIP()
- } else {
- mf00()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 119", TCLD, 119, W017)) {
+ SRMT("mf00")
+ if (F64) {
+ SKIP()
+ } else {
+ mf00()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/DECL.asl
index a7098d84f..e0d89e0f1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/DECL.asl
@@ -1,135 +1,135 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 120:
- *
- * SUMMARY: Unexpected exception on Store of Device and ThermalZone elements of Package to Debug operation
- */
-
- Method(mf64,, Serialized)
- {
- Name(pp00, Package(){prd2})
- Index(pp00, 0, Local0)
- Store(ObjectType(Local0), Debug)
- Store(Derefof(Local0), Debug)
-
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c014)) {
- err("", zFFF, 0x000, 0, 0, Local1, c014)
- }
- }
-
- Method(mf65,, Serialized)
- {
- Name(pp00, Package(){rd07})
- Index(pp00, 0, Local0)
- Store(ObjectType(Local0), Debug)
- Store(Derefof(Local0), Debug)
-
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c012)) {
- err("", zFFF, 0x001, 0, 0, Local1, c012)
- }
- }
-
- Method(mf66,, Serialized)
- {
- Name(pp00, Package(){pwd2})
- Index(pp00, 0, Local0)
- Store(ObjectType(Local0), Debug)
- Store(Derefof(Local0), Debug)
-
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c013)) {
- err("", zFFF, 0x002, 0, 0, Local1, c013)
- }
- }
-
- Method(mf67,, Serialized)
- {
- Name(pp00, Package(){ed05})
- Index(pp00, 0, Local0)
- Store(ObjectType(Local0), Debug)
- Store(Derefof(Local0), Debug)
-
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c00f)) {
- err("", zFFF, 0x003, 0, 0, Local1, c00f)
- }
- }
-
- Method(mf68,, Serialized)
- {
- Name(pp00, Package(){mxd3})
- Index(pp00, 0, Local0)
- Store(ObjectType(Local0), Debug)
- Store(Derefof(Local0), Debug)
-
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c011)) {
- err("", zFFF, 0x004, 0, 0, Local1, c011)
- }
- }
-
- Method(mf69,, Serialized)
- {
- Name(pp00, Package(){dd0d})
-
- Index(pp00, 0, Local0)
-
- CH03("", 0, 0x005, 0, 0)
- Store(ObjectType(Local0), Debug)
- CH03("", 0, 0x006, 0, 0)
- Store(Derefof(Local0), Debug)
- CH03("", 0, 0x007, 0, 0)
-
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c00e)) {
- err("", zFFF, 0x008, 0, 0, Local1, c00e)
- }
- }
-
- Method(mf6a,, Serialized)
- {
- Name(pp00, Package(){tzd2})
-
- Index(pp00, 0, Local0)
-
- CH03("", 0, 0x009, 0, 0)
- Store(ObjectType(Local0), Debug)
- CH03("", 0, 0x00a, 0, 0)
- Store(Derefof(Local0), Debug)
- CH03("", 0, 0x00b, 0, 0)
-
- Store(ObjectType(Local0), Local1)
- if (LNotEqual(Local1, c015)) {
- err("", zFFF, 0x00c, 0, 0, Local1, c015)
- }
- }
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 120:
+ *
+ * SUMMARY: Unexpected exception on Store of Device and ThermalZone elements of Package to Debug operation
+ */
+
+ Method(mf64,, Serialized)
+ {
+ Name(pp00, Package(){prd2})
+ Index(pp00, 0, Local0)
+ Store(ObjectType(Local0), Debug)
+ Store(Derefof(Local0), Debug)
+
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c014)) {
+ err("", zFFF, 0x000, 0, 0, Local1, c014)
+ }
+ }
+
+ Method(mf65,, Serialized)
+ {
+ Name(pp00, Package(){rd07})
+ Index(pp00, 0, Local0)
+ Store(ObjectType(Local0), Debug)
+ Store(Derefof(Local0), Debug)
+
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c012)) {
+ err("", zFFF, 0x001, 0, 0, Local1, c012)
+ }
+ }
+
+ Method(mf66,, Serialized)
+ {
+ Name(pp00, Package(){pwd2})
+ Index(pp00, 0, Local0)
+ Store(ObjectType(Local0), Debug)
+ Store(Derefof(Local0), Debug)
+
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c013)) {
+ err("", zFFF, 0x002, 0, 0, Local1, c013)
+ }
+ }
+
+ Method(mf67,, Serialized)
+ {
+ Name(pp00, Package(){ed05})
+ Index(pp00, 0, Local0)
+ Store(ObjectType(Local0), Debug)
+ Store(Derefof(Local0), Debug)
+
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c00f)) {
+ err("", zFFF, 0x003, 0, 0, Local1, c00f)
+ }
+ }
+
+ Method(mf68,, Serialized)
+ {
+ Name(pp00, Package(){mxd3})
+ Index(pp00, 0, Local0)
+ Store(ObjectType(Local0), Debug)
+ Store(Derefof(Local0), Debug)
+
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c011)) {
+ err("", zFFF, 0x004, 0, 0, Local1, c011)
+ }
+ }
+
+ Method(mf69,, Serialized)
+ {
+ Name(pp00, Package(){dd0d})
+
+ Index(pp00, 0, Local0)
+
+ CH03("", 0, 0x005, 0, 0)
+ Store(ObjectType(Local0), Debug)
+ CH03("", 0, 0x006, 0, 0)
+ Store(Derefof(Local0), Debug)
+ CH03("", 0, 0x007, 0, 0)
+
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c00e)) {
+ err("", zFFF, 0x008, 0, 0, Local1, c00e)
+ }
+ }
+
+ Method(mf6a,, Serialized)
+ {
+ Name(pp00, Package(){tzd2})
+
+ Index(pp00, 0, Local0)
+
+ CH03("", 0, 0x009, 0, 0)
+ Store(ObjectType(Local0), Debug)
+ CH03("", 0, 0x00a, 0, 0)
+ Store(Derefof(Local0), Debug)
+ CH03("", 0, 0x00b, 0, 0)
+
+ Store(ObjectType(Local0), Local1)
+ if (LNotEqual(Local1, c015)) {
+ err("", zFFF, 0x00c, 0, 0, Local1, c015)
+ }
+ }
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/MAIN.asl
index 7b01c5d86..6221c81f1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B120.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0120/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0120/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B120.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0120/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0120/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/RUN.asl
index 4037c9e87..2ef75bbe4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0120/RUN.asl
@@ -1,46 +1,46 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 120", TCLD, 120, W017)) {
- SRMT("mf64")
- mf64()
- SRMT("mf65")
- mf65()
- SRMT("mf66")
- mf66()
- SRMT("mf67")
- mf67()
- SRMT("mf68")
- mf68()
- SRMT("mf69")
- mf69()
- SRMT("mf6a")
- mf6a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 120", TCLD, 120, W017)) {
+ SRMT("mf64")
+ mf64()
+ SRMT("mf65")
+ mf65()
+ SRMT("mf66")
+ mf66()
+ SRMT("mf67")
+ mf67()
+ SRMT("mf68")
+ mf68()
+ SRMT("mf69")
+ mf69()
+ SRMT("mf6a")
+ mf6a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.asl
index 29fc2ef27..680a59255 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.asl
@@ -1,85 +1,85 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 121:
- *
- * SUMMARY: Crash on attempt to deal with the invalid BufferFields (zero NumBits passed to CreateField)
- *
- * This DECL.asl is for AML Interpreter, it should result in exceptions for this DECL.asl.
- */
-
- Method(mf03,, Serialized)
- {
- Name(b000, Buffer(2){0xff, 0xff})
- Name(i000, 0)
-
- CH03("", 0, 0x000, 0, 0)
- CreateField(b000, 0, 16, bf00)
- CH03("", 0, 0x000, 0, 0)
-
- CH03("", 0, 0x002, 0, 0)
- CreateField(b000, 0, i000, bf01)
- CH04("", 0, 0xff, 0, 0x003, 0, 0)
-
- CH03("", 0, 0x004, 0, 0)
- CreateField(b000, 1, i000, bf02)
- CH04("", 0, 0xff, 0, 0x005, 0, 0)
-
- CH03("", 0, 0x006, 0, 0)
- CreateField(b000, 7, i000, bf03)
- CH04("", 0, 0xff, 0, 0x007, 0, 0)
-
- CH03("", 0, 0x008, 0, 0)
- CreateField(b000, 8, i000, bf04)
- CH04("", 0, 0xff, 0, 0x009, 0, 0)
-
- CH03("", 0, 0x00a, 0, 0)
- CreateField(b000, 15, i000, bf05)
- CH04("", 0, 0xff, 0, 0x00b, 0, 0)
-
- CH03("", 0, 0x00c, 0, 0)
- CreateField(b000, 16, i000, bf06)
- CH04("", 0, 0xff, 0, 0x00d, 0, 0)
-
- CH03("", 0, 0x00e, 0, 0)
-
- Store("All CreateField-s finished", Debug)
-
- Store(bf00, Debug)
- Store(bf01, Debug)
- Store(bf02, Debug)
- Store(bf03, Debug)
- Store(bf04, Debug)
- Store(bf05, Debug)
- Store(bf06, Debug)
-
- CH04("", 0, 0xff, 0, 0x00f, 0, 0)
-
- Store("All Store-to-Debug-s finished", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 121:
+ *
+ * SUMMARY: Crash on attempt to deal with the invalid BufferFields (zero NumBits passed to CreateField)
+ *
+ * This DECL.asl is for AML Interpreter, it should result in exceptions for this DECL.asl.
+ */
+
+ Method(mf03,, Serialized)
+ {
+ Name(b000, Buffer(2){0xff, 0xff})
+ Name(i000, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+ CreateField(b000, 0, 16, bf00)
+ CH03("", 0, 0x000, 0, 0)
+
+ CH03("", 0, 0x002, 0, 0)
+ CreateField(b000, 0, i000, bf01)
+ CH04("", 0, 0xff, 0, 0x003, 0, 0)
+
+ CH03("", 0, 0x004, 0, 0)
+ CreateField(b000, 1, i000, bf02)
+ CH04("", 0, 0xff, 0, 0x005, 0, 0)
+
+ CH03("", 0, 0x006, 0, 0)
+ CreateField(b000, 7, i000, bf03)
+ CH04("", 0, 0xff, 0, 0x007, 0, 0)
+
+ CH03("", 0, 0x008, 0, 0)
+ CreateField(b000, 8, i000, bf04)
+ CH04("", 0, 0xff, 0, 0x009, 0, 0)
+
+ CH03("", 0, 0x00a, 0, 0)
+ CreateField(b000, 15, i000, bf05)
+ CH04("", 0, 0xff, 0, 0x00b, 0, 0)
+
+ CH03("", 0, 0x00c, 0, 0)
+ CreateField(b000, 16, i000, bf06)
+ CH04("", 0, 0xff, 0, 0x00d, 0, 0)
+
+ CH03("", 0, 0x00e, 0, 0)
+
+ Store("All CreateField-s finished", Debug)
+
+ Store(bf00, Debug)
+ Store(bf01, Debug)
+ Store(bf02, Debug)
+ Store(bf03, Debug)
+ Store(bf04, Debug)
+ Store(bf05, Debug)
+ Store(bf06, Debug)
+
+ CH04("", 0, 0xff, 0, 0x00f, 0, 0)
+
+ Store("All Store-to-Debug-s finished", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.for_iASL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.for_iASL.asl
index 89bfdabc3..5eb8e1002 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.for_iASL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/DECL.for_iASL.asl
@@ -1,84 +1,84 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 121:
- *
- * SUMMARY: Crash on attempt to deal with the invalid BufferFields (zero NumBits passed to CreateField)
- *
- * This DECL.asl is for iASL compiler, it should result in Error for this DECL.asl.
- */
-
- Method(mf03)
- {
- Name(b000, Buffer(2){0xff, 0xff})
-
- CH03("", 0, 0x000, 0, 0)
- CreateField(b000, 0,16, bf00)
- CH03("", 0, 0x000, 0, 0)
-
- CH03("", 0, 0x002, 0, 0)
- CreateField(b000, 0, 0, bf01)
- CH04("", 0, 0xff, 0, 0x003, 0, 0)
-
- CH03("", 0, 0x004, 0, 0)
- CreateField(b000, 1, 0, bf02)
- CH04("", 0, 0xff, 0, 0x005, 0, 0)
-
- CH03("", 0, 0x006, 0, 0)
- CreateField(b000, 7, 0, bf03)
- CH04("", 0, 0xff, 0, 0x007, 0, 0)
-
- CH03("", 0, 0x008, 0, 0)
- CreateField(b000, 8, 0, bf04)
- CH04("", 0, 0xff, 0, 0x009, 0, 0)
-
- CH03("", 0, 0x00a, 0, 0)
- CreateField(b000,15, 0, bf05)
- CH04("", 0, 0xff, 0, 0x00b, 0, 0)
-
- CH03("", 0, 0x00c, 0, 0)
- CreateField(b000,16, 0, bf06)
- CH04("", 0, 0xff, 0, 0x00d, 0, 0)
-
- CH03("", 0, 0x00e, 0, 0)
-
- Store("All CreateField-s finished", Debug)
-
- Store(bf00, Debug)
- Store(bf01, Debug)
- Store(bf02, Debug)
- Store(bf03, Debug)
- Store(bf04, Debug)
- Store(bf05, Debug)
- Store(bf06, Debug)
-
- CH04("", 0, 0xff, 0, 0x00f, 0, 0)
-
- Store("All Store-to-Debug-s finished", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 121:
+ *
+ * SUMMARY: Crash on attempt to deal with the invalid BufferFields (zero NumBits passed to CreateField)
+ *
+ * This DECL.asl is for iASL compiler, it should result in Error for this DECL.asl.
+ */
+
+ Method(mf03)
+ {
+ Name(b000, Buffer(2){0xff, 0xff})
+
+ CH03("", 0, 0x000, 0, 0)
+ CreateField(b000, 0,16, bf00)
+ CH03("", 0, 0x000, 0, 0)
+
+ CH03("", 0, 0x002, 0, 0)
+ CreateField(b000, 0, 0, bf01)
+ CH04("", 0, 0xff, 0, 0x003, 0, 0)
+
+ CH03("", 0, 0x004, 0, 0)
+ CreateField(b000, 1, 0, bf02)
+ CH04("", 0, 0xff, 0, 0x005, 0, 0)
+
+ CH03("", 0, 0x006, 0, 0)
+ CreateField(b000, 7, 0, bf03)
+ CH04("", 0, 0xff, 0, 0x007, 0, 0)
+
+ CH03("", 0, 0x008, 0, 0)
+ CreateField(b000, 8, 0, bf04)
+ CH04("", 0, 0xff, 0, 0x009, 0, 0)
+
+ CH03("", 0, 0x00a, 0, 0)
+ CreateField(b000,15, 0, bf05)
+ CH04("", 0, 0xff, 0, 0x00b, 0, 0)
+
+ CH03("", 0, 0x00c, 0, 0)
+ CreateField(b000,16, 0, bf06)
+ CH04("", 0, 0xff, 0, 0x00d, 0, 0)
+
+ CH03("", 0, 0x00e, 0, 0)
+
+ Store("All CreateField-s finished", Debug)
+
+ Store(bf00, Debug)
+ Store(bf01, Debug)
+ Store(bf02, Debug)
+ Store(bf03, Debug)
+ Store(bf04, Debug)
+ Store(bf05, Debug)
+ Store(bf06, Debug)
+
+ CH04("", 0, 0xff, 0, 0x00f, 0, 0)
+
+ Store("All Store-to-Debug-s finished", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/MAIN.asl
index f29c1868c..365441af6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B121.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0121/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0121/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B121.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0121/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0121/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/RUN.asl
index 7ac485c26..f08d1884e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0121/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 121", TCLD, 121, W017)) {
- SRMT("mf03")
- if (y121) {
- mf03()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 121", TCLD, 121, W017)) {
+ SRMT("mf03")
+ if (y121) {
+ mf03()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/DECL.asl
index 244b9d993..534a20930 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/DECL.asl
@@ -1,42 +1,42 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 122:
- *
- * SUMMARY: The ASL Compiler doesn't report Error/Warning for zero NumBits parameter of CreateField operator
- *
- * Compiler should return error...
- */
-
- Method(mf04)
- {
- Name(b000, Buffer(2){0xff, 0xff})
-
- CreateField(b000, 3, 0, bf00)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 122:
+ *
+ * SUMMARY: The ASL Compiler doesn't report Error/Warning for zero NumBits parameter of CreateField operator
+ *
+ * Compiler should return error...
+ */
+
+ Method(mf04)
+ {
+ Name(b000, Buffer(2){0xff, 0xff})
+
+ CreateField(b000, 3, 0, bf00)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/MAIN.asl
index 3370d694f..8ee6994ec 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0122_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B122.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0122_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B122.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0122_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/DECL.asl
index e018aa8e0..0597f8ef1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/DECL.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 123:
- *
- * SUMMARY: No exception when StartIndex in Match operator is equal to or greater than the size of SourcePackage
- */
-
- Method(mf05,, Serialized)
- {
- Name(p000, Package(2){0, 1})
-
- // a) StartIndex > 0xffffffff
- // c) Modulo(StartIndex, 0x100000000) < Size.
-
- CH03("", 0, 0x000, 0, 0)
- Store(Match(p000, MEQ, 1, MEQ, 1, 0x100000001), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0) // AE_AML_PACKAGE_LIMIT
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 123:
+ *
+ * SUMMARY: No exception when StartIndex in Match operator is equal to or greater than the size of SourcePackage
+ */
+
+ Method(mf05,, Serialized)
+ {
+ Name(p000, Package(2){0, 1})
+
+ // a) StartIndex > 0xffffffff
+ // c) Modulo(StartIndex, 0x100000000) < Size.
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(Match(p000, MEQ, 1, MEQ, 1, 0x100000001), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0) // AE_AML_PACKAGE_LIMIT
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/MAIN.asl
index 02fc56538..c60e3a61c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B123.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0123/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0123/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B123.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0123/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0123/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/RUN.asl
index a2412856d..0d91295e2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0123/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 123", TCLD, 123, W017)) {
- SRMT("mf05")
- if (F64) {
- mf05()
- } else {
- SKIP()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 123", TCLD, 123, W017)) {
+ SRMT("mf05")
+ if (F64) {
+ mf05()
+ } else {
+ SKIP()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/DECL.asl
index 9d5a89e97..2a67e6e75 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/DECL.asl
@@ -1,57 +1,57 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 124:
- *
- * SUMMARY: No exception when the Index argument on Index() operator is out of the Source
- */
-
- Method(mf06,, Serialized)
- {
- Name(p000, Package(2){0, 1})
- Name(b000, Buffer(3){2, 3, 4})
- Name(s000, "5678")
-
- // a) Index > 0xffffffff
- // c) Modulo(Index, 0x100000000) < Size.
-
- CH03("", 0, 0x000, 0, 0)
- Store(Index(p000, 0x100000001), Local0)
- CH04("", 1, 55, 0, 0x001, 0, 0) // AE_AML_PACKAGE_LIMIT
-
- CH03("", 0, 0x002, 0, 0)
- Store(Index(b000, 0x100000002), Local0)
- CH04("", 1, 54, 0, 0x003, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x004, 0, 0)
- Store(Index(s000, 0x100000003), Local0)
- CH04("", 1, 61, 0, 0x005, 0, 0) // AE_AML_STRING_LIMIT
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 124:
+ *
+ * SUMMARY: No exception when the Index argument on Index() operator is out of the Source
+ */
+
+ Method(mf06,, Serialized)
+ {
+ Name(p000, Package(2){0, 1})
+ Name(b000, Buffer(3){2, 3, 4})
+ Name(s000, "5678")
+
+ // a) Index > 0xffffffff
+ // c) Modulo(Index, 0x100000000) < Size.
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(Index(p000, 0x100000001), Local0)
+ CH04("", 1, 55, 0, 0x001, 0, 0) // AE_AML_PACKAGE_LIMIT
+
+ CH03("", 0, 0x002, 0, 0)
+ Store(Index(b000, 0x100000002), Local0)
+ CH04("", 1, 54, 0, 0x003, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x004, 0, 0)
+ Store(Index(s000, 0x100000003), Local0)
+ CH04("", 1, 61, 0, 0x005, 0, 0) // AE_AML_STRING_LIMIT
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/MAIN.asl
index 0946c27e0..f53189c2b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B124.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0124/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0124/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B124.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0124/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0124/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/RUN.asl
index ecc9799a9..a3728ca85 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0124/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 124", TCLD, 124, W017)) {
- SRMT("mf06")
- if (F64) {
- mf06()
- } else {
- SKIP()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 124", TCLD, 124, W017)) {
+ SRMT("mf06")
+ if (F64) {
+ mf06()
+ } else {
+ SKIP()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/DECL.asl
index 167a974ab..e688d92fb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/DECL.asl
@@ -1,84 +1,84 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 125:
- *
- * SUMMARY: The Mid operator in 64-bit mode returns non-empty result for improper Index
- */
-
- Method(mf08, 5)
- {
- Store(arg0, Debug)
- Store("source", Debug)
- Store(arg1, Debug)
- Store(arg2, Debug)
- Store(arg3, Debug)
- Store("expected", Debug)
- Store(arg4, Debug)
-
- Mid(arg1, arg2, arg3, Local0)
-
- if (LNotEqual(arg4, Local0)) {
- err("", zFFF, 0x000, 0, 0, arg4, Local0)
- }
- }
-
- Method(mf09)
- {
- Store(0, Local0)
-
- // Mid (Source, Index, Length, Result)
- // a) Index >= 0x100000000
- // b) Modulo(Index, 0x100000000) < Size.
- if (0x100000000) {
- mf08("Buffer: Index >= 0x100000000, Modulo(Index, 0x100000000) < Size:",
- bd07, 0x100001fff, 0x8000, Buffer(Local0){})
-
- mf08("String: Index >= 0x100000000, Modulo(Index, 0x100000000) < Size:",
- sd03, 0x100000005, 10, "")
- }
-
- // a) Index < Size
- // b) Index + Length >= 0x100000000
- // c) Modulo(Index + Length, 0x100000000) < Size.
-
- // Now causes exception AE_NO_MEMORY
- if (1) {
- mf08("Buffer: Index < Size, Index + Length >= 0x100000000:",
- bd07, 5000, 0xfffff000, Buffer(3193){})
- }
-
- // Now causes CRASH
- if (1) {
- mf08("String: Index < Size, Index + Length >= 0x100000000:",
- sd03, 8, 0xfffffffc, "89a")
- }
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 125:
+ *
+ * SUMMARY: The Mid operator in 64-bit mode returns non-empty result for improper Index
+ */
+
+ Method(mf08, 5)
+ {
+ Store(arg0, Debug)
+ Store("source", Debug)
+ Store(arg1, Debug)
+ Store(arg2, Debug)
+ Store(arg3, Debug)
+ Store("expected", Debug)
+ Store(arg4, Debug)
+
+ Mid(arg1, arg2, arg3, Local0)
+
+ if (LNotEqual(arg4, Local0)) {
+ err("", zFFF, 0x000, 0, 0, arg4, Local0)
+ }
+ }
+
+ Method(mf09)
+ {
+ Store(0, Local0)
+
+ // Mid (Source, Index, Length, Result)
+ // a) Index >= 0x100000000
+ // b) Modulo(Index, 0x100000000) < Size.
+ if (0x100000000) {
+ mf08("Buffer: Index >= 0x100000000, Modulo(Index, 0x100000000) < Size:",
+ bd07, 0x100001fff, 0x8000, Buffer(Local0){})
+
+ mf08("String: Index >= 0x100000000, Modulo(Index, 0x100000000) < Size:",
+ sd03, 0x100000005, 10, "")
+ }
+
+ // a) Index < Size
+ // b) Index + Length >= 0x100000000
+ // c) Modulo(Index + Length, 0x100000000) < Size.
+
+ // Now causes exception AE_NO_MEMORY
+ if (1) {
+ mf08("Buffer: Index < Size, Index + Length >= 0x100000000:",
+ bd07, 5000, 0xfffff000, Buffer(3193){})
+ }
+
+ // Now causes CRASH
+ if (1) {
+ mf08("String: Index < Size, Index + Length >= 0x100000000:",
+ sd03, 8, 0xfffffffc, "89a")
+ }
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/MAIN.asl
index 5527fd30f..b799ad75a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B125.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0125/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0125/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B125.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0125/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0125/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/RUN.asl
index 5a580534c..54d34b94b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0125/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 125", TCLD, 125, W017)) {
- SRMT("mf09")
- mf09()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 125", TCLD, 125, W017)) {
+ SRMT("mf09")
+ mf09()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/DECL.asl
index e6d00c1e8..46a77190d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/DECL.asl
@@ -1,81 +1,81 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 126:
- *
- * SUMMARY: The Read access automatic dereference for RefOf reference doesn't work
- */
-
- Method(mf0f, 1)
- {
- Store("m000 started, apply DerefOf()", Debug)
-
- Store(DerefOf(arg0), Local0)
-
- Add(Local0, 1, Local7)
-
- if (LNotEqual(Local0, 7)) {
- err("", zFFF, 0x000, 0, 0, Local0, 7)
- }
- if (LNotEqual(Local7, 8)) {
- err("", zFFF, 0x000, 0, 0, Local7, 8)
- }
-
- Store("m000 finished", Debug)
- }
-
- Method(mf10, 1, Serialized)
- {
- Name(i001, 0)
-
- Store("m001 started, DONT apply DerefOf()", Debug)
-
- Add(arg0, 1, Local7)
-
- if (LNotEqual(arg0, 7)) {
- err("", zFFF, 0x000, 0, 0, arg0, 7)
- }
- if (LNotEqual(Local7, 8)) {
- err("", zFFF, 0x000, 0, 0, arg0, 8)
- }
-
- Store("m001 finished", Debug)
- }
-
- Method(mf11,, Serialized)
- {
- Name(i000, 7)
- mf0f(RefOf(i000))
- }
-
- Method(mf12,, Serialized)
- {
- Name(i000, 7)
- mf10(RefOf(i000))
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 126:
+ *
+ * SUMMARY: The Read access automatic dereference for RefOf reference doesn't work
+ */
+
+ Method(mf0f, 1)
+ {
+ Store("m000 started, apply DerefOf()", Debug)
+
+ Store(DerefOf(arg0), Local0)
+
+ Add(Local0, 1, Local7)
+
+ if (LNotEqual(Local0, 7)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 7)
+ }
+ if (LNotEqual(Local7, 8)) {
+ err("", zFFF, 0x000, 0, 0, Local7, 8)
+ }
+
+ Store("m000 finished", Debug)
+ }
+
+ Method(mf10, 1, Serialized)
+ {
+ Name(i001, 0)
+
+ Store("m001 started, DONT apply DerefOf()", Debug)
+
+ Add(arg0, 1, Local7)
+
+ if (LNotEqual(arg0, 7)) {
+ err("", zFFF, 0x000, 0, 0, arg0, 7)
+ }
+ if (LNotEqual(Local7, 8)) {
+ err("", zFFF, 0x000, 0, 0, arg0, 8)
+ }
+
+ Store("m001 finished", Debug)
+ }
+
+ Method(mf11,, Serialized)
+ {
+ Name(i000, 7)
+ mf0f(RefOf(i000))
+ }
+
+ Method(mf12,, Serialized)
+ {
+ Name(i000, 7)
+ mf10(RefOf(i000))
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/MAIN.asl
index 35fe909b7..78ffc50a0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B126.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0126/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0126/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B126.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0126/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0126/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/RUN.asl
index 833550caf..a32d5de12 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0126/RUN.asl
@@ -1,40 +1,40 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 126", TCLD, 126, W017)) {
- SRMT("mf11")
- mf11()
- SRMT("mf12")
- if (y126) {
- mf12()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 126", TCLD, 126, W017)) {
+ SRMT("mf11")
+ mf11()
+ SRMT("mf12")
+ if (y126) {
+ mf12()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/DECL.asl
index 7edbca47a..97f766c45 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/DECL.asl
@@ -1,102 +1,102 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 127:
- *
- * SUMMARY: Unexpectedly CopyObject of immediately passed Index reference is not reference
- */
-
-
- // Store
-
- Method(mf13)
- {
- Store(Index(pd11, 0, Local0), Local1)
-
- CH03("", 0, 0x000, 0, 0)
- Store(Add(Local0, 0), Local2)
- CH04("", 1, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x002, 0, 0)
- Store(Add(Local1, 0), Local2)
- CH04("", 1, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
-
- Store(Index(pd11, 1, Local0), Local1)
-
- CH03("", 0, 0x004, 0, 0)
- Store(Add(Local0, 0), Local2)
- CH04("", 1, 47, 0, 0x005, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x006, 0, 0)
- Store(Add(Local1, 0), Local2)
- CH04("", 1, 47, 0, 0x007, 0, 0) // AE_AML_OPERAND_TYPE
- }
-
- // CopyObject
-
- Method(mf14)
- {
- CopyObject(Index(pd11, 0, Local0), Local1)
-
- CH03("", 0, 0x008, 0, 0)
- Store(Add(Local0, 0), Local2)
- CH04("", 1, 47, 0, 0x009, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x00a, 0, 0)
- Store(Add(Local1, 0), Local2)
- CH04("", 1, 47, 0, 0x00b, 0, 0) // AE_AML_OPERAND_TYPE
- }
-
- Method(mf15)
- {
- CH03("", 0, 0x00c, 0, 0)
-
- CopyObject(Index(pd11, 1, Local0), Local1)
-
- CH03("", 0, 0x00d, 0, 0)
- Store(Add(Local0, 0), Local2)
- CH04("", 1, 47, 0, 0x00e, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x00f, 0, 0)
- Store(Add(Local1, 0), Local2)
- CH04("", 1, 47, 0, 0x010, 0, 0) // AE_AML_OPERAND_TYPE
- }
-
- Method(mf16)
- {
- if (1) {
- mf13()
- }
- if (1) {
- mf14()
- }
- if (1) {
- mf15()
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 127:
+ *
+ * SUMMARY: Unexpectedly CopyObject of immediately passed Index reference is not reference
+ */
+
+
+ // Store
+
+ Method(mf13)
+ {
+ Store(Index(pd11, 0, Local0), Local1)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(Add(Local0, 0), Local2)
+ CH04("", 1, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x002, 0, 0)
+ Store(Add(Local1, 0), Local2)
+ CH04("", 1, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
+
+ Store(Index(pd11, 1, Local0), Local1)
+
+ CH03("", 0, 0x004, 0, 0)
+ Store(Add(Local0, 0), Local2)
+ CH04("", 1, 47, 0, 0x005, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x006, 0, 0)
+ Store(Add(Local1, 0), Local2)
+ CH04("", 1, 47, 0, 0x007, 0, 0) // AE_AML_OPERAND_TYPE
+ }
+
+ // CopyObject
+
+ Method(mf14)
+ {
+ CopyObject(Index(pd11, 0, Local0), Local1)
+
+ CH03("", 0, 0x008, 0, 0)
+ Store(Add(Local0, 0), Local2)
+ CH04("", 1, 47, 0, 0x009, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x00a, 0, 0)
+ Store(Add(Local1, 0), Local2)
+ CH04("", 1, 47, 0, 0x00b, 0, 0) // AE_AML_OPERAND_TYPE
+ }
+
+ Method(mf15)
+ {
+ CH03("", 0, 0x00c, 0, 0)
+
+ CopyObject(Index(pd11, 1, Local0), Local1)
+
+ CH03("", 0, 0x00d, 0, 0)
+ Store(Add(Local0, 0), Local2)
+ CH04("", 1, 47, 0, 0x00e, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x00f, 0, 0)
+ Store(Add(Local1, 0), Local2)
+ CH04("", 1, 47, 0, 0x010, 0, 0) // AE_AML_OPERAND_TYPE
+ }
+
+ Method(mf16)
+ {
+ if (1) {
+ mf13()
+ }
+ if (1) {
+ mf14()
+ }
+ if (1) {
+ mf15()
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/MAIN.asl
index 6ae97f3f3..6a21908d9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B127.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0127/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0127/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B127.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0127/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0127/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/RUN.asl
index ec17f0d27..9ca0c60d3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0127/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 127", TCLD, 127, W017)) {
- SRMT("mf16")
- mf16()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 127", TCLD, 127, W017)) {
+ SRMT("mf16")
+ mf16()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/DECL.asl
index 332184a41..c64833ac5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/DECL.asl
@@ -1,148 +1,148 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 128:
- *
- * SUMMARY: Copying the RefOf reference to Named object spoils that reference
- */
-
-Method(mf17,, Serialized)
-{
- Name(i000, 0x1234)
-
- CopyObject(RefOf(i000), Local0)
- Store(Local0, Debug)
- Store(DerefOf(Local0), Local1)
- Store(Local1, Debug)
- if (LNotEqual(Local1, 0x1234)) {
- err("", zFFF, 0x000, 0, 0, Local1, 0x1234)
- }
-}
-
-Method(mf18,, Serialized)
-{
- Name(ref0, 0)
- Name(i000, 0x1234)
-
- CH03("", 0, 0x000, 0, 0)
-
- CopyObject(RefOf(i000), ref0)
- Store("Before printing ref0", Debug)
- Store(ref0, Debug)
- Store("Before DerefOf", Debug)
- Store(DerefOf(ref0), Local1)
- Store("Before printing Local1", Debug)
- Store(Local1, Debug)
- Store("Before LNotEqual", Debug)
-
- if (LNotEqual(Local1, 0x1234)) {
- err("", zFFF, 0x001, 0, 0, Local1, 0x1234)
- }
-
- CH03("", 0, 0x002, 0, 0)
-}
-
-Method(mf9e,, Serialized)
-{
- Name(i000, 0xabbc0000)
- Name(ii00, 0xabbc0000)
- Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(s000, "String")
- Name(ss00, "String")
-
- Name(p000, Package() {1,2,3,4})
-
- Name(ref0, 0)
-
- CH03("", 0, 0x000, 0, 0)
-
- CopyObject(RefOf(i000), ref0)
- mf88(DerefOf(ref0), c009, ii00, 1, 2, 1)
-
- CopyObject(RefOf(b000), ref0)
- mf88(DerefOf(ref0), c00b, bb00, 3, 4, 1)
-
- CopyObject(RefOf(s000), ref0)
- mf88(DerefOf(ref0), c00a, ss00, 3, 4, 1)
-
- CopyObject(RefOf(p000), ref0)
- mf88(DerefOf(ref0), c00c, ss00, 5, 6, 0)
-
- CH03("", 0, 0x007, 0, 0)
-}
-
-Method(mf9f,, Serialized)
-{
- Name(ref0, 0)
-
- Event(e000)
- Mutex(mx00, 0)
- Device(d000) { Name(i900, 0xabcd0017) }
- ThermalZone(tz00) {}
- Processor(pr00, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
-
- // Checkings
-
- CH03("", 0, 0x026, 0, 0)
- CopyObject(RefOf(e000), ref0)
- mf88(DerefOf(ref0), c00f, 0, 0x027, 0x028, 0)
-
- CH03("", 0, 0x029, 0, 0)
- CopyObject(RefOf(mx00), ref0)
- mf88(DerefOf(ref0), c011, 0, 0x02a, 0x02b, 0)
-
- if (y511) {
- CH03("", 0, 0x02c, 0, 0)
- CopyObject(RefOf(d000), ref0)
- mf88(DerefOf(ref0), c00e, 0, 0x02d, 0x02e, 0)
- }
-
- if (y508) {
- CH03("", 0, 0x02f, 0, 0)
- CopyObject(RefOf(tz00), ref0)
- mf88(DerefOf(ref0), c015, 0, 0x030, 0x031, 0)
- }
-
- CH03("", 0, 0x032, 0, 0)
- CopyObject(RefOf(pr00), ref0)
- mf88(DerefOf(ref0), c014, 0, 0x033, 0x034, 0)
-
- CH03("", 0, 0x035, 0, 0)
- CopyObject(RefOf(r000), ref0)
- mf88(DerefOf(ref0), c012, 0, 0x036, 0x037, 0)
-
- CH03("", 0, 0x038, 0, 0)
- CopyObject(RefOf(pw00), ref0)
- mf88(DerefOf(ref0), c013, 0, 0x039, 0x03a, 0)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 128:
+ *
+ * SUMMARY: Copying the RefOf reference to Named object spoils that reference
+ */
+
+Method(mf17,, Serialized)
+{
+ Name(i000, 0x1234)
+
+ CopyObject(RefOf(i000), Local0)
+ Store(Local0, Debug)
+ Store(DerefOf(Local0), Local1)
+ Store(Local1, Debug)
+ if (LNotEqual(Local1, 0x1234)) {
+ err("", zFFF, 0x000, 0, 0, Local1, 0x1234)
+ }
+}
+
+Method(mf18,, Serialized)
+{
+ Name(ref0, 0)
+ Name(i000, 0x1234)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ CopyObject(RefOf(i000), ref0)
+ Store("Before printing ref0", Debug)
+ Store(ref0, Debug)
+ Store("Before DerefOf", Debug)
+ Store(DerefOf(ref0), Local1)
+ Store("Before printing Local1", Debug)
+ Store(Local1, Debug)
+ Store("Before LNotEqual", Debug)
+
+ if (LNotEqual(Local1, 0x1234)) {
+ err("", zFFF, 0x001, 0, 0, Local1, 0x1234)
+ }
+
+ CH03("", 0, 0x002, 0, 0)
+}
+
+Method(mf9e,, Serialized)
+{
+ Name(i000, 0xabbc0000)
+ Name(ii00, 0xabbc0000)
+ Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(bb00, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(s000, "String")
+ Name(ss00, "String")
+
+ Name(p000, Package() {1,2,3,4})
+
+ Name(ref0, 0)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ CopyObject(RefOf(i000), ref0)
+ mf88(DerefOf(ref0), c009, ii00, 1, 2, 1)
+
+ CopyObject(RefOf(b000), ref0)
+ mf88(DerefOf(ref0), c00b, bb00, 3, 4, 1)
+
+ CopyObject(RefOf(s000), ref0)
+ mf88(DerefOf(ref0), c00a, ss00, 3, 4, 1)
+
+ CopyObject(RefOf(p000), ref0)
+ mf88(DerefOf(ref0), c00c, ss00, 5, 6, 0)
+
+ CH03("", 0, 0x007, 0, 0)
+}
+
+Method(mf9f,, Serialized)
+{
+ Name(ref0, 0)
+
+ Event(e000)
+ Mutex(mx00, 0)
+ Device(d000) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz00) {}
+ Processor(pr00, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
+
+ // Checkings
+
+ CH03("", 0, 0x026, 0, 0)
+ CopyObject(RefOf(e000), ref0)
+ mf88(DerefOf(ref0), c00f, 0, 0x027, 0x028, 0)
+
+ CH03("", 0, 0x029, 0, 0)
+ CopyObject(RefOf(mx00), ref0)
+ mf88(DerefOf(ref0), c011, 0, 0x02a, 0x02b, 0)
+
+ if (y511) {
+ CH03("", 0, 0x02c, 0, 0)
+ CopyObject(RefOf(d000), ref0)
+ mf88(DerefOf(ref0), c00e, 0, 0x02d, 0x02e, 0)
+ }
+
+ if (y508) {
+ CH03("", 0, 0x02f, 0, 0)
+ CopyObject(RefOf(tz00), ref0)
+ mf88(DerefOf(ref0), c015, 0, 0x030, 0x031, 0)
+ }
+
+ CH03("", 0, 0x032, 0, 0)
+ CopyObject(RefOf(pr00), ref0)
+ mf88(DerefOf(ref0), c014, 0, 0x033, 0x034, 0)
+
+ CH03("", 0, 0x035, 0, 0)
+ CopyObject(RefOf(r000), ref0)
+ mf88(DerefOf(ref0), c012, 0, 0x036, 0x037, 0)
+
+ CH03("", 0, 0x038, 0, 0)
+ CopyObject(RefOf(pw00), ref0)
+ mf88(DerefOf(ref0), c013, 0, 0x039, 0x03a, 0)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/MAIN.asl
index 1e697cff2..d09c4bbc7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B128.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0128/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0128/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B128.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0128/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0128/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/RUN.asl
index ae396b259..c7cae82ba 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0128/RUN.asl
@@ -1,44 +1,44 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 128", TCLD, 128, W017)) {
- if (y128) {
- SRMT("mf17")
- mf17()
- SRMT("mf18")
- mf18()
- SRMT("mf9e")
- mf9e()
- SRMT("mf9f")
- mf9f()
- } else {
- SRMT("TESTS-OF-B128")
- BLCK() }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 128", TCLD, 128, W017)) {
+ if (y128) {
+ SRMT("mf17")
+ mf17()
+ SRMT("mf18")
+ mf18()
+ SRMT("mf9e")
+ mf9e()
+ SRMT("mf9f")
+ mf9f()
+ } else {
+ SRMT("TESTS-OF-B128")
+ BLCK() }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/DECL.asl
index e876eea19..785f3ca64 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/DECL.asl
@@ -1,36 +1,36 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 129:
- *
- * SUMMARY: Creating Package of an arbitrary length, Package & VarPackage
- */
-Include("../../../../../runtime/collections/bdemo/ACPICA/0129/StaticLocal.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0129/StaticGlobal.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0129/Dynamic.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 129:
+ *
+ * SUMMARY: Creating Package of an arbitrary length, Package & VarPackage
+ */
+Include("../../../../../runtime/collections/bdemo/ACPICA/0129/StaticLocal.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0129/StaticGlobal.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0129/Dynamic.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/Dynamic.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/Dynamic.asl
index 4d175ec44..3c34fdafa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/Dynamic.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/Dynamic.asl
@@ -1,113 +1,113 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * All the Packages are declared dynamically
- * (NumElements specified by arg0) as locals
- * of Methods.
- */
-
-Method(md6e, 1, Serialized)
-{
- Name(p504, Package(arg0) {})
-
- md6a(
- p504, // Package
- 0x10000, // size of Package
- 0, // size of pre-initialized area
- 0x9345, // index of area to be written
- 57, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-}
-
-Method(md6f, 1, Serialized)
-{
- Name(p505, Package(arg0) {})
-
- md6a(
- p505, // Package
- 100, // size of Package
- 0, // size of pre-initialized area
- 73, // index of area to be written
- 19, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-}
-
-Method(md70, 1, Serialized)
-{
- Name(p506, Package(arg0) {})
-
- md6a(
- p506, // Package
- 255, // size of Package
- 0, // size of pre-initialized area
- 17, // index of area to be written
- 19, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-}
-
-Method(md71, 1, Serialized)
-{
- Name(p000, Package(arg0) {})
-
- md6a(
- p000, // Package
- 256, // size of Package
- 0, // size of pre-initialized area
- 17, // index of area to be written
- 19, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-}
-
-Method(md72, 1, Serialized)
-{
- Name(p000, Package(arg0) {})
-
- md6a(
- p000, // Package
- 257, // size of Package
- 0, // size of pre-initialized area
- Subtract(257, 55), // index of area to be written
- 55, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 55) // maximal number of written elements to be verified
-}
-
-Method(md73)
-{
- md6e(0x10000)
- md6f(100)
- md70(255)
- md71(256)
- md72(257)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * All the Packages are declared dynamically
+ * (NumElements specified by arg0) as locals
+ * of Methods.
+ */
+
+Method(md6e, 1, Serialized)
+{
+ Name(p504, Package(arg0) {})
+
+ md6a(
+ p504, // Package
+ 0x10000, // size of Package
+ 0, // size of pre-initialized area
+ 0x9345, // index of area to be written
+ 57, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+}
+
+Method(md6f, 1, Serialized)
+{
+ Name(p505, Package(arg0) {})
+
+ md6a(
+ p505, // Package
+ 100, // size of Package
+ 0, // size of pre-initialized area
+ 73, // index of area to be written
+ 19, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+}
+
+Method(md70, 1, Serialized)
+{
+ Name(p506, Package(arg0) {})
+
+ md6a(
+ p506, // Package
+ 255, // size of Package
+ 0, // size of pre-initialized area
+ 17, // index of area to be written
+ 19, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+}
+
+Method(md71, 1, Serialized)
+{
+ Name(p000, Package(arg0) {})
+
+ md6a(
+ p000, // Package
+ 256, // size of Package
+ 0, // size of pre-initialized area
+ 17, // index of area to be written
+ 19, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+}
+
+Method(md72, 1, Serialized)
+{
+ Name(p000, Package(arg0) {})
+
+ md6a(
+ p000, // Package
+ 257, // size of Package
+ 0, // size of pre-initialized area
+ Subtract(257, 55), // index of area to be written
+ 55, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 55) // maximal number of written elements to be verified
+}
+
+Method(md73)
+{
+ md6e(0x10000)
+ md6f(100)
+ md70(255)
+ md71(256)
+ md72(257)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/MAIN.asl
index 70cff3a39..d44c30edc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B129.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0129/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0129/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B129.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0129/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0129/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/RUN.asl
index adcc9537d..64dfcb38e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/RUN.asl
@@ -1,46 +1,46 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 129", TCLD, 129, W017)) {
-
-// TRC8()
-
- SRMT("StaticLocal")
- md6d()
-
- SRMT("StaticGlobal")
- md6c()
-
- SRMT("Dynamic")
- md73()
-
-// TRC9()
-
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 129", TCLD, 129, W017)) {
+
+// TRC8()
+
+ SRMT("StaticLocal")
+ md6d()
+
+ SRMT("StaticGlobal")
+ md6c()
+
+ SRMT("Dynamic")
+ md73()
+
+// TRC9()
+
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticGlobal.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticGlobal.asl
index 6411c85bb..c41c17b3b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticGlobal.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticGlobal.asl
@@ -1,206 +1,206 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * All the Packages are declared globally (statically)
- */
-
-Name(p500, Package(256) {
-
- // 0-127
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
- 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
- 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
- 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
- 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
- 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
- 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
- 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
- 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
- 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,
- 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
- 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
- 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
- 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,
- 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
-
- // 128-(255-8)
- 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
- 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
- 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,
- 0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
- 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
- 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
- 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
- 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
- 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
- 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
- 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
- 0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
- 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
- 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
-})
-
-Name(p501, Package() {
-
- // 0-127
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
- 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
- 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
- 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
- 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
- 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
- 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
- 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
- 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
- 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,
- 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
- 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
- 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
- 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,
- 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
-
- // 128-255
- 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
- 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
- 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,
- 0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
- 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
- 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
- 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
- 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
- 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
- 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
- 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
- 0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
- 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
- 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
- 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff,
-})
-
-Name(p502, Package() {
-
- // 0-8
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,
-})
-
-Name(p503, Package(11) {
-
- // 0-10
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,
-})
-
-Name(p504, Package(0x10000) {})
-
-Name(i500, 0)
-Name(i501, 255)
-
-Name(p505, Package(Add(99, 1)) {})
-Name(p506, Package(Store(i501, i500)) {})
-
-Method(md6c)
-{
- md6a(
- p500, // Package
- 256, // size of Package
- Subtract(256, 8), // size of pre-initialized area
- Subtract(256, 7), // index of area to be written
- 6, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p501, // Package
- 256, // size of Package
- 256, // size of pre-initialized area
- 0, // index of area to be written
- 0, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p501, // Package
- 256, // size of Package
- 256, // size of pre-initialized area
- 0, // index of area to be written
- 16, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p502, // Package
- 9, // size of Package
- 9, // size of pre-initialized area
- 2, // index of area to be written
- 5, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p503, // Package
- 11, // size of Package
- 9, // size of pre-initialized area
- 2, // index of area to be written
- 5, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p504, // Package
- 0x10000, // size of Package
- 0, // size of pre-initialized area
- 0x9345, // index of area to be written
- 57, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p505, // Package
- 100, // size of Package
- 0, // size of pre-initialized area
- 73, // index of area to be written
- 19, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p506, // Package
- 255, // size of Package
- 0, // size of pre-initialized area
- 17, // index of area to be written
- 19, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * All the Packages are declared globally (statically)
+ */
+
+Name(p500, Package(256) {
+
+ // 0-127
+ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
+ 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
+ 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
+ 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
+ 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
+ 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
+ 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
+ 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
+ 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
+ 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,
+ 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
+ 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
+ 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
+ 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,
+ 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
+
+ // 128-(255-8)
+ 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
+ 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
+ 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,
+ 0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
+ 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
+ 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
+ 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
+ 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
+ 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
+ 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
+ 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
+ 0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
+ 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
+ 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
+})
+
+Name(p501, Package() {
+
+ // 0-127
+ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
+ 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
+ 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
+ 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
+ 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
+ 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
+ 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
+ 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
+ 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
+ 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,
+ 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
+ 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
+ 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
+ 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,
+ 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
+
+ // 128-255
+ 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
+ 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
+ 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,
+ 0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
+ 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
+ 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
+ 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
+ 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
+ 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
+ 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
+ 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
+ 0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
+ 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
+ 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
+ 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff,
+})
+
+Name(p502, Package() {
+
+ // 0-8
+ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,
+})
+
+Name(p503, Package(11) {
+
+ // 0-10
+ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,
+})
+
+Name(p504, Package(0x10000) {})
+
+Name(i500, 0)
+Name(i501, 255)
+
+Name(p505, Package(Add(99, 1)) {})
+Name(p506, Package(Store(i501, i500)) {})
+
+Method(md6c)
+{
+ md6a(
+ p500, // Package
+ 256, // size of Package
+ Subtract(256, 8), // size of pre-initialized area
+ Subtract(256, 7), // index of area to be written
+ 6, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p501, // Package
+ 256, // size of Package
+ 256, // size of pre-initialized area
+ 0, // index of area to be written
+ 0, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p501, // Package
+ 256, // size of Package
+ 256, // size of pre-initialized area
+ 0, // index of area to be written
+ 16, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p502, // Package
+ 9, // size of Package
+ 9, // size of pre-initialized area
+ 2, // index of area to be written
+ 5, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p503, // Package
+ 11, // size of Package
+ 9, // size of pre-initialized area
+ 2, // index of area to be written
+ 5, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p504, // Package
+ 0x10000, // size of Package
+ 0, // size of pre-initialized area
+ 0x9345, // index of area to be written
+ 57, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p505, // Package
+ 100, // size of Package
+ 0, // size of pre-initialized area
+ 73, // index of area to be written
+ 19, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p506, // Package
+ 255, // size of Package
+ 0, // size of pre-initialized area
+ 17, // index of area to be written
+ 19, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticLocal.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticLocal.asl
index 70dde3d1c..d2e7b3756 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticLocal.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0129/StaticLocal.asl
@@ -1,207 +1,207 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Absolutely the same as md6c but all the Packages
- * are declared statically as locals of Method.
- */
-Method(md6d,, Serialized)
-{
-
-Name(p500, Package(256) {
-
- // 0-127
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
- 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
- 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
- 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
- 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
- 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
- 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
- 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
- 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
- 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,
- 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
- 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
- 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
- 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,
- 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
-
- // 128-(255-8)
- 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
- 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
- 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,
- 0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
- 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
- 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
- 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
- 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
- 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
- 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
- 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
- 0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
- 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
- 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
-})
-
-Name(p501, Package() {
-
- // 0-127
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
- 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
- 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
- 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
- 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
- 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
- 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
- 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
- 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
- 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,
- 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
- 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
- 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
- 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,
- 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
-
- // 128-255
- 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
- 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
- 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,
- 0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
- 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
- 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
- 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
- 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
- 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
- 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
- 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
- 0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
- 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
- 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
- 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff,
-})
-
-Name(p502, Package() {
-
- // 0-8
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,
-})
-
-Name(p503, Package(11) {
-
- // 0-10
- 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,
-})
-
-Name(p504, Package(0x10000) {})
-
-Name(i500, 0)
-Name(i501, 255)
-
-Name(p505, Package(Add(99, 1)) {})
-Name(p506, Package(Store(i501, i500)) {})
-
- md6a(
- p500, // Package
- 256, // size of Package
- Subtract(256, 8), // size of pre-initialized area
- Subtract(256, 7), // index of area to be written
- 6, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p501, // Package
- 256, // size of Package
- 256, // size of pre-initialized area
- 0, // index of area to be written
- 0, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p501, // Package
- 256, // size of Package
- 256, // size of pre-initialized area
- 0, // index of area to be written
- 16, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p502, // Package
- 9, // size of Package
- 9, // size of pre-initialized area
- 2, // index of area to be written
- 5, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p503, // Package
- 11, // size of Package
- 9, // size of pre-initialized area
- 2, // index of area to be written
- 5, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p504, // Package
- 0x10000, // size of Package
- 0, // size of pre-initialized area
- 0x9345, // index of area to be written
- 57, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p505, // Package
- 100, // size of Package
- 0, // size of pre-initialized area
- 73, // index of area to be written
- 19, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-
- md6a(
- p506, // Package
- 255, // size of Package
- 0, // size of pre-initialized area
- 17, // index of area to be written
- 19, // size of area to be written
- 10, // maximal number of pre-initialized elements to be verified
- 10) // maximal number of written elements to be verified
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Absolutely the same as md6c but all the Packages
+ * are declared statically as locals of Method.
+ */
+Method(md6d,, Serialized)
+{
+
+Name(p500, Package(256) {
+
+ // 0-127
+ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
+ 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
+ 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
+ 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
+ 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
+ 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
+ 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
+ 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
+ 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
+ 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,
+ 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
+ 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
+ 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
+ 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,
+ 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
+
+ // 128-(255-8)
+ 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
+ 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
+ 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,
+ 0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
+ 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
+ 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
+ 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
+ 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
+ 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
+ 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
+ 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
+ 0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
+ 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
+ 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
+})
+
+Name(p501, Package() {
+
+ // 0-127
+ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
+ 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
+ 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
+ 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
+ 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
+ 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
+ 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
+ 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
+ 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
+ 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,
+ 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
+ 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
+ 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
+ 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,
+ 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
+
+ // 128-255
+ 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
+ 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
+ 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,
+ 0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
+ 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
+ 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
+ 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
+ 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
+ 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
+ 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
+ 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
+ 0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,
+ 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
+ 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,
+ 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff,
+})
+
+Name(p502, Package() {
+
+ // 0-8
+ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,
+})
+
+Name(p503, Package(11) {
+
+ // 0-10
+ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,
+})
+
+Name(p504, Package(0x10000) {})
+
+Name(i500, 0)
+Name(i501, 255)
+
+Name(p505, Package(Add(99, 1)) {})
+Name(p506, Package(Store(i501, i500)) {})
+
+ md6a(
+ p500, // Package
+ 256, // size of Package
+ Subtract(256, 8), // size of pre-initialized area
+ Subtract(256, 7), // index of area to be written
+ 6, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p501, // Package
+ 256, // size of Package
+ 256, // size of pre-initialized area
+ 0, // index of area to be written
+ 0, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p501, // Package
+ 256, // size of Package
+ 256, // size of pre-initialized area
+ 0, // index of area to be written
+ 16, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p502, // Package
+ 9, // size of Package
+ 9, // size of pre-initialized area
+ 2, // index of area to be written
+ 5, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p503, // Package
+ 11, // size of Package
+ 9, // size of pre-initialized area
+ 2, // index of area to be written
+ 5, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p504, // Package
+ 0x10000, // size of Package
+ 0, // size of pre-initialized area
+ 0x9345, // index of area to be written
+ 57, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p505, // Package
+ 100, // size of Package
+ 0, // size of pre-initialized area
+ 73, // index of area to be written
+ 19, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+
+ md6a(
+ p506, // Package
+ 255, // size of Package
+ 0, // size of pre-initialized area
+ 17, // index of area to be written
+ 19, // size of area to be written
+ 10, // maximal number of pre-initialized elements to be verified
+ 10) // maximal number of written elements to be verified
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/DECL.asl
index ade2c4334..b64d8e22c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/DECL.asl
@@ -1,74 +1,74 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 130:
- *
- * SUMMARY: Reference to String works differently to like the references to Buffer and Package work
- */
-
- Method(mf19, 1)
- {
- Store(DerefOf(arg0), Local2)
- Store(0x2b, Index(Local2, 1))
-// Store(0x2b, Index(DerefOf(arg0), 1))
- }
-
- Method(mf1a, 1)
- {
- Store(RefOf(arg0), Local0)
- mf19(Local0)
- }
-
- Method(mf1b)
- {
- // Index of String
-
- mf1a(sd04)
- if (LNotEqual(sd04, "qwer0000")) {
- err("", zFFF, 0x000, 0, 0, sd04, "qwer0000")
- }
-
- // Index of Buffer
-
- mf1a(bd08)
- if (LNotEqual(bd08, Buffer(4) {1,0x77,3,4})) {
- err("", zFFF, 0x001, 0, 0, bd08, Buffer(4) {1,0x77,3,4})
- }
-
- // Index of Package
-
- mf1a(pd0d)
-
- Index(pd0d, 1, Local0)
- Store(DerefOf(Local0), Local1)
-
- if (LNotEqual(Local1, 0x77)) {
- err("", zFFF, 0x002, 0, 0, Local1, 0x77)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 130:
+ *
+ * SUMMARY: Reference to String works differently to like the references to Buffer and Package work
+ */
+
+ Method(mf19, 1)
+ {
+ Store(DerefOf(arg0), Local2)
+ Store(0x2b, Index(Local2, 1))
+// Store(0x2b, Index(DerefOf(arg0), 1))
+ }
+
+ Method(mf1a, 1)
+ {
+ Store(RefOf(arg0), Local0)
+ mf19(Local0)
+ }
+
+ Method(mf1b)
+ {
+ // Index of String
+
+ mf1a(sd04)
+ if (LNotEqual(sd04, "qwer0000")) {
+ err("", zFFF, 0x000, 0, 0, sd04, "qwer0000")
+ }
+
+ // Index of Buffer
+
+ mf1a(bd08)
+ if (LNotEqual(bd08, Buffer(4) {1,0x77,3,4})) {
+ err("", zFFF, 0x001, 0, 0, bd08, Buffer(4) {1,0x77,3,4})
+ }
+
+ // Index of Package
+
+ mf1a(pd0d)
+
+ Index(pd0d, 1, Local0)
+ Store(DerefOf(Local0), Local1)
+
+ if (LNotEqual(Local1, 0x77)) {
+ err("", zFFF, 0x002, 0, 0, Local1, 0x77)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/MAIN.asl
index 64e35df41..aadeffb6b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B130.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0130/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0130/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B130.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0130/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0130/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/RUN.asl
index 829542e1e..859706a49 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0130/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 130", TCLD, 130, W017)) {
- SRMT("mf1b")
- mf1b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 130", TCLD, 130, W017)) {
+ SRMT("mf1b")
+ mf1b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/DECL.asl
index f01ac0732..521e15ed7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/DECL.asl
@@ -1,88 +1,88 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 131:
- *
- * SUMMARY: Store to the Index reference immediately returned by Method doesn't work
- */
-
-Method(m126,, Serialized)
-{
- Name(p000, Package() {1,2,3,4,5,6,7,8})
-
- Method(m002)
- {
- Store("m002 started", Debug)
- return (Index(p000, 1))
- }
-
- Method(m003)
- {
- Store("m003 started", Debug)
- Store(Index(p000, 1), Local0)
- return (Local0)
- }
-
- Method(m004, 1)
- {
- Store("m004 started", Debug)
- Store(Index(p000, arg0), Local0)
- return (Local0)
- }
-
- Method(m005)
- {
- Store(0xabcd0001, Index(p000, 0))
- Store(DerefOf(Index(p000, 0)), Local0)
- if (LNotEqual(Local0, 0xabcd0001)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0001)
- }
-
- Store(0xabcd0004, m002())
- Store(DerefOf(Index(p000, 1)), Local0)
- if (LNotEqual(Local0, 0xabcd0004)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0004)
- }
-
- Store(0xabcd0005, m003())
- Store(DerefOf(Index(p000, 1)), Local0)
- if (LNotEqual(Local0, 0xabcd0005)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0005)
- }
-
- Store(0xabcd0006, m004(1))
- Store(DerefOf(Index(p000, 1)), Local0)
- if (LNotEqual(Local0, 0xabcd0006)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0006)
- }
- }
-
- m005()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 131:
+ *
+ * SUMMARY: Store to the Index reference immediately returned by Method doesn't work
+ */
+
+Method(m126,, Serialized)
+{
+ Name(p000, Package() {1,2,3,4,5,6,7,8})
+
+ Method(m002)
+ {
+ Store("m002 started", Debug)
+ return (Index(p000, 1))
+ }
+
+ Method(m003)
+ {
+ Store("m003 started", Debug)
+ Store(Index(p000, 1), Local0)
+ return (Local0)
+ }
+
+ Method(m004, 1)
+ {
+ Store("m004 started", Debug)
+ Store(Index(p000, arg0), Local0)
+ return (Local0)
+ }
+
+ Method(m005)
+ {
+ Store(0xabcd0001, Index(p000, 0))
+ Store(DerefOf(Index(p000, 0)), Local0)
+ if (LNotEqual(Local0, 0xabcd0001)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0001)
+ }
+
+ Store(0xabcd0004, m002())
+ Store(DerefOf(Index(p000, 1)), Local0)
+ if (LNotEqual(Local0, 0xabcd0004)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0004)
+ }
+
+ Store(0xabcd0005, m003())
+ Store(DerefOf(Index(p000, 1)), Local0)
+ if (LNotEqual(Local0, 0xabcd0005)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0005)
+ }
+
+ Store(0xabcd0006, m004(1))
+ Store(DerefOf(Index(p000, 1)), Local0)
+ if (LNotEqual(Local0, 0xabcd0006)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0006)
+ }
+ }
+
+ m005()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/MAIN.asl
index f946ad4fc..58ebd5954 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B131.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0131/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0131/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B131.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0131/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0131/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/RUN.asl
index 2323507c5..61a02fe41 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0131/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 131", TCLD, 131, W017)) {
- SRMT("m126")
- m126()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 131", TCLD, 131, W017)) {
+ SRMT("m126")
+ m126()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/DECL.asl
index 95e1deba8..8ddff2f6e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/DECL.asl
@@ -1,52 +1,52 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 132:
- *
- * SUMMARY: The Read access automatic dereference for Index reference doesn't work
- */
-
- Method(mf1f, 2)
- {
- Store(arg0, Debug)
-
- CH03("", 0, 0x000, 0, 0)
- Add(arg0, 1, Local7)
- CH03("", 0, 0x001, 0, 0)
-
- if (LNotEqual(Local7, 0x78)) {
- err("", zFFF, 0x000, 0, 0, id12, 5)
- }
- }
-
- Method(mf20)
- {
- Index(pd0e, 0, Local0)
- mf1f(Local0, 0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 132:
+ *
+ * SUMMARY: The Read access automatic dereference for Index reference doesn't work
+ */
+
+ Method(mf1f, 2)
+ {
+ Store(arg0, Debug)
+
+ CH03("", 0, 0x000, 0, 0)
+ Add(arg0, 1, Local7)
+ CH03("", 0, 0x001, 0, 0)
+
+ if (LNotEqual(Local7, 0x78)) {
+ err("", zFFF, 0x000, 0, 0, id12, 5)
+ }
+ }
+
+ Method(mf20)
+ {
+ Index(pd0e, 0, Local0)
+ mf1f(Local0, 0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/MAIN.asl
index e3f076145..0aef27e5e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B132.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0132/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0132/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B132.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0132/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0132/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/RUN.asl
index 52f22d81c..470d6dc87 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0132/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 132", TCLD, 132, W017)) {
- SRMT("mf20")
- if (y132) {
- mf20()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 132", TCLD, 132, W017)) {
+ SRMT("mf20")
+ if (y132) {
+ mf20()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/DECL.asl
index bd07b10a3..2c3ed30e5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/DECL.asl
@@ -1,77 +1,77 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 133:
- *
- * SUMMARY: The Write access automatic dereference for Index reference doesn't work
- */
-
- Method(mf21, 1)
- {
- Store(0x77, arg0)
- }
-
- Method(mf22)
- {
- // Writing by RefOf reference to Integer
-
- Store(RefOf(id13), Local0)
- mf21(Local0)
- if (LNotEqual(id13, 0x77)) {
- err("", zFFF, 0x000, 0, 0, id13, 0x77)
- }
-
- // Writing by Index to String
-
- Index(sd05, 1, Local0)
- mf21(Local0)
- if (LNotEqual(sd05, "qwer0000")) {
- err("", zFFF, 0x001, 0, 0, sd05, "qwer0000")
- }
-
- // Writing by Index to Buffer
-
- Index(bd09, 1, Local0)
- mf21(Local0)
- if (LNotEqual(bd09, Buffer(4) {1,0x77,3,4})) {
- err("", zFFF, 0x002, 0, 0, bd09, Buffer(4) {1,0x77,3,4})
- }
-
- // Writing by Index to Package
-
- Index(pd0f, 1, Local0)
- mf21(Local0)
-
- Index(pd0f, 1, Local0)
- Store(DerefOf(Local0), Local1)
-
- if (LNotEqual(Local1, 0x77)) {
- err("", zFFF, 0x003, 0, 0, Local1, 0x77)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 133:
+ *
+ * SUMMARY: The Write access automatic dereference for Index reference doesn't work
+ */
+
+ Method(mf21, 1)
+ {
+ Store(0x77, arg0)
+ }
+
+ Method(mf22)
+ {
+ // Writing by RefOf reference to Integer
+
+ Store(RefOf(id13), Local0)
+ mf21(Local0)
+ if (LNotEqual(id13, 0x77)) {
+ err("", zFFF, 0x000, 0, 0, id13, 0x77)
+ }
+
+ // Writing by Index to String
+
+ Index(sd05, 1, Local0)
+ mf21(Local0)
+ if (LNotEqual(sd05, "qwer0000")) {
+ err("", zFFF, 0x001, 0, 0, sd05, "qwer0000")
+ }
+
+ // Writing by Index to Buffer
+
+ Index(bd09, 1, Local0)
+ mf21(Local0)
+ if (LNotEqual(bd09, Buffer(4) {1,0x77,3,4})) {
+ err("", zFFF, 0x002, 0, 0, bd09, Buffer(4) {1,0x77,3,4})
+ }
+
+ // Writing by Index to Package
+
+ Index(pd0f, 1, Local0)
+ mf21(Local0)
+
+ Index(pd0f, 1, Local0)
+ Store(DerefOf(Local0), Local1)
+
+ if (LNotEqual(Local1, 0x77)) {
+ err("", zFFF, 0x003, 0, 0, Local1, 0x77)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/MAIN.asl
index aa5e3c513..ffaffff02 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B133.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0133/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0133/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B133.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0133/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0133/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/RUN.asl
index 534373788..c88c7423b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0133/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 133", TCLD, 133, W017)) {
- SRMT("mf22")
- mf22()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 133", TCLD, 133, W017)) {
+ SRMT("mf22")
+ mf22()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/DECL.asl
index cb43a4b62..1fa22c373 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/DECL.asl
@@ -1,124 +1,124 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 134:
- *
- * SUMMARY: Writing RefOf reference from inside Method breaks effectively local Arg
- */
-
- Method(mf23, 7)
- {
- Store("LocalX case of Method started:", Debug)
-
- Store(RefOf(id14), Local0)
- Store(Local0, Local1)
- Store(Local1, Local2)
- Store(Local2, Local3)
- Store(Local3, Local4)
- Store(Local4, Local5)
- Store(Local5, Local6)
-
-
- Store(DerefOf(Local0), Local6)
- Store(Local6, Debug)
-
- if (LNotEqual(Local6, 0x11)) {
- err("", zFFF, 0x000, 0, 0, Local6, 0x11)
- }
-
- Store("LocalX case of Method finished", Debug)
- }
-
- Method(mf24, 7)
- {
- Store("ArgX case (1) of Method started:", Debug)
-
- Store(RefOf(id14), arg0)
- Store(arg0, arg1)
- Store(arg1, arg2)
- Store(arg2, arg3)
- Store(arg3, arg4)
- Store(arg4, arg5)
- Store(arg5, arg6)
-
-
- Store(DerefOf(arg0), arg6)
- Store(arg6, Debug)
-
- if (LNotEqual(arg6, 0x11)) {
- err("", zFFF, 0x000, 0, 0, arg6, 0x11)
- }
-
- Store("ArgX case (1) of Method finished", Debug)
- }
-
- Method(mf25, 7)
- {
- Store("ArgX case (2) of Method started:", Debug)
-
- Store(RefOf(id14), Local0)
- Store(Local0, arg1)
- Store(Local0, arg2)
- Store(Local0, arg3)
- Store(Local0, arg4)
- Store(Local0, arg5)
- Store(Local0, arg6)
-
-
- Store(DerefOf(arg0), arg6)
- Store(arg6, Debug)
-
- if (LNotEqual(arg6, 0x11)) {
- err("", zFFF, 0x000, 0, 0, arg6, 0x11)
- }
-
- Store("ArgX case (2) of Method finished", Debug)
- }
-
- Method(mf26)
- {
- SRMT("mf23")
- mf23(id14,id15,id16,id17,id18,id19,id1a)
-
- SRMT("mf24")
- if (y134) {
- mf24(id14,id15,id16,id17,id18,id19,id1a)
- } else {
- BLCK()
- }
-
- SRMT("mf25")
- if (y134) {
- mf25(id14,id15,id16,id17,id18,id19,id1a)
- } else {
- BLCK()
- }
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 134:
+ *
+ * SUMMARY: Writing RefOf reference from inside Method breaks effectively local Arg
+ */
+
+ Method(mf23, 7)
+ {
+ Store("LocalX case of Method started:", Debug)
+
+ Store(RefOf(id14), Local0)
+ Store(Local0, Local1)
+ Store(Local1, Local2)
+ Store(Local2, Local3)
+ Store(Local3, Local4)
+ Store(Local4, Local5)
+ Store(Local5, Local6)
+
+
+ Store(DerefOf(Local0), Local6)
+ Store(Local6, Debug)
+
+ if (LNotEqual(Local6, 0x11)) {
+ err("", zFFF, 0x000, 0, 0, Local6, 0x11)
+ }
+
+ Store("LocalX case of Method finished", Debug)
+ }
+
+ Method(mf24, 7)
+ {
+ Store("ArgX case (1) of Method started:", Debug)
+
+ Store(RefOf(id14), arg0)
+ Store(arg0, arg1)
+ Store(arg1, arg2)
+ Store(arg2, arg3)
+ Store(arg3, arg4)
+ Store(arg4, arg5)
+ Store(arg5, arg6)
+
+
+ Store(DerefOf(arg0), arg6)
+ Store(arg6, Debug)
+
+ if (LNotEqual(arg6, 0x11)) {
+ err("", zFFF, 0x000, 0, 0, arg6, 0x11)
+ }
+
+ Store("ArgX case (1) of Method finished", Debug)
+ }
+
+ Method(mf25, 7)
+ {
+ Store("ArgX case (2) of Method started:", Debug)
+
+ Store(RefOf(id14), Local0)
+ Store(Local0, arg1)
+ Store(Local0, arg2)
+ Store(Local0, arg3)
+ Store(Local0, arg4)
+ Store(Local0, arg5)
+ Store(Local0, arg6)
+
+
+ Store(DerefOf(arg0), arg6)
+ Store(arg6, Debug)
+
+ if (LNotEqual(arg6, 0x11)) {
+ err("", zFFF, 0x000, 0, 0, arg6, 0x11)
+ }
+
+ Store("ArgX case (2) of Method finished", Debug)
+ }
+
+ Method(mf26)
+ {
+ SRMT("mf23")
+ mf23(id14,id15,id16,id17,id18,id19,id1a)
+
+ SRMT("mf24")
+ if (y134) {
+ mf24(id14,id15,id16,id17,id18,id19,id1a)
+ } else {
+ BLCK()
+ }
+
+ SRMT("mf25")
+ if (y134) {
+ mf25(id14,id15,id16,id17,id18,id19,id1a)
+ } else {
+ BLCK()
+ }
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/MAIN.asl
index 0cc0c1762..3bd0483bd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B134.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0134/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0134/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B134.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0134/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0134/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/RUN.asl
index 2d43c145a..4644c37f7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0134/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 134", TCLD, 134, W017)) {
- // SRMT("mf26")
- mf26()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 134", TCLD, 134, W017)) {
+ // SRMT("mf26")
+ mf26()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Common.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Common.asl
index 005369b4b..152ed5227 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Common.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Common.asl
@@ -1,4162 +1,4162 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Methods of common use.
- *
- * Note: writing to the global objects - nm03, pd12 and pd13 forces
- * outstanding allocation reports.
- */
-
-Name(id26, 8)
-Name(nm03, 0)
-Name(pd12, Package(Multiply(id26, 2)) {})
-Name(pd13, Package(Multiply(id26, 2)) {})
-
-
-/*
- * AcpiExec doesn't run the unload of the table have been processed.
- * Because of that the global objects are not forced to release. Thus,
- * if nm03, pd12 or pd13 were rewritten by the new objects during the
- * testing the outstanding allocations are reported.
- *
- * To get this known case of outstanding reports the same predictable
- * view this method could be used after completion of testing to rewrite
- * nm03, pd12 and pd13 with the same values.
- *
- * Nevertheless, these outstandings should be discussed and probably
- * eliminated by updating of AcpiExec (unload the table).
- */
-Method(mfe8)
-{
- mfe7(pd12, Multiply(id26, 2))
- mfe7(pd13, Multiply(id26, 2))
-
- Store(0, nm03)
-}
-
-/*
- * arg0 - Package
- * arg1 - number of elements in arg0
- */
-Method(mfe7, 2, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Store(arg1, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
-
- Store(0, Index(arg0, lpC0))
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Initializing the Package with the monotone increasing Integers.
- *
- * arg0 - Package
- * arg1 - index of first element to be initialized
- * arg2 - number of elements to be initialized
- * arg3 - value to be written into first element (+1 for other)
- */
-Method(mfc7, 4)
-{
- While (arg2) {
-
- Store(arg3, Index(arg0, arg1))
-
- Increment(arg1)
- Increment(arg3)
-
- Decrement(arg2)
- }
-}
-
-/*
- * Initializing the Package with the same Integer.
- *
- * arg0 - Package
- * arg1 - index of first element to be initialized
- * arg2 - number of elements to be initialized
- * arg3 - value to be written
- */
-Method(mfcd, 4)
-{
- While (arg2) {
-
- Store(arg3, Index(arg0, arg1))
- Increment(arg1)
-
- Decrement(arg2)
- }
-}
-
-/*
- * Initializing the Package with IRefs.
- *
- * arg0 - (Package), IRefs to elements of this Package
- * arg1 - (Package), are stored into elements of this Package.
- * arg2 - first element inside arg0
- * arg3 - first element inside arg1
- * arg4 - number of elements to be initialized
- * arg5 - opcode of additional assignments of References (0-12):
- * - none
- * - to NamedX
- * - to LocalX
- * - to ArgX
- *
- * Store(Index(arg0, arg2[, X0]), Index(arg1, arg3[, X1]))
- *
- * X0 X1
- *
- * none , none
- * LocalX , none
- * ArgX , none
- * none , LocalX
- * LocalX , LocalX
- * ArgX , LocalX
- * none , ArgX
- * LocalX , ArgX
- * (ArgX , ArgX) - not enough arg-variables for this
- *
- * ************* exceptions:
- * NamedX , none
- * NamedX , LocalX
- * NamedX , ArgX
- * none , NamedX
- * NamedX , NamedX
- * LocalX , NamedX
- * ArgX , NamedX
- *
- * arg6 - for auxiliary usage
- */
-Method(mfc8, 7, Serialized)
-{
- Name(i000, 0)
- Name(i001, 0)
-
- While (arg4) {
-
- Switch (ToInteger (arg5)) {
-
- /* (none, none) */
-
- Case (0) {
- Store(Index(arg0, arg2), Index(arg1, arg3))
- }
-
- /* (LocalX, none) */
-
- Case (1) {
- Index(arg0, arg2, Local0)
- Store(Local0, Index(arg1, arg3))
- }
- Case (2) {
- Store(Index(arg0, arg2, Local0), Index(arg1, arg3))
- }
-
- /* (ArgX, none) */
-
- Case (3) {
- Index(arg0, arg2, arg6)
- Store(arg6, Index(arg1, arg3))
- }
- Case (4) {
- Store(Index(arg0, arg2, arg6), Index(arg1, arg3))
- }
-
- /* (none, LocalX) */
-
- Case (5) {
- Store(Index(arg0, arg2), Index(arg1, arg3, Local0))
- }
-
- /* (LocalX, LocalX) */
-
- Case (6) {
- Index(arg0, arg2, Local0)
- Store(Local0, Index(arg1, arg3, Local1))
- }
- Case (7) {
- Store(Index(arg0, arg2, Local0), Index(arg1, arg3, Local1))
- }
-
- /* (ArgX, LocalX) */
-
- Case (8) {
- Index(arg0, arg2, arg6)
- Store(arg6, Index(arg1, arg3, Local1))
- }
- Case (9) {
- Store(Index(arg0, arg2, arg6), Index(arg1, arg3, Local1))
- }
-
- /* (none, ArgX) */
-
- Case (10) {
- Store(Index(arg0, arg2), Index(arg1, arg3, arg6))
- }
-
- /* (LocalX, ArgX) */
-
- Case (11) {
- Index(arg0, arg2, Local0)
- Store(Local0, Index(arg1, arg3, arg6))
- }
- Case (12) {
- Store(Index(arg0, arg2, Local0), Index(arg1, arg3, arg6))
- }
-
- /* (ArgX, ArgX) */
-
- Default {
- /* (none, none) */
- Store(Index(arg0, arg2), Index(arg1, arg3))
- }}
-
- Increment(arg2)
- Increment(arg3)
-
- Decrement(arg4)
- }
-}
-
-/*
- * Pack parameters for mfc6
- *
- * arg0 - opcode of additional assignments of packages Pkg0 and Pkg1
- * arg1 - different type of packages Pkg0 and Pkg1
- * arg2 - different type access through the IRefs
- * arg3 - what to do first
- * arg4 - opcode of additional assignments of References
- */
-Method(mfc9, 5)
-{
- And(arg0, 0x0ff, Local0)
- And(arg1, 0x0f, Local1)
- And(arg2, 0x0f, Local2)
- And(arg3, 0x0f, Local3)
-
- ShiftLeft(Local1, 8, Local4)
- ShiftLeft(Local2, 12, Local5)
- ShiftLeft(Local3, 16, Local6)
-
- Or(Local0, Local4, Local7)
- Or(Local7, Local5, Local0)
- Or(Local0, Local6, Local7)
-
- And(arg4, 0x0f, Local0)
- ShiftLeft(Local0, 20, Local1)
- Or(Local1, Local7, Local0)
-
- return (Local0)
-}
-
-/*
- * Self references.
- *
- * Different type packages
- *
- * arg0 - Package P0
- * arg1 - Package P1
- *
- * arg2 -
- *
-
- * 4. opcode of additional assignments of packages Pkg0 and Pkg1:
- * Pkg0 (LocalX or ArgX or NamedX)
- * Pkg1 (LocalX or ArgX or NamedX)
- *
- * 0 , , ; , ,
- *
- * 1 , , Named0; , , Named1
- * 2 , Arg5, ; , , Named1
- * 3 Loc4, , ; , , Named1
- * 4 , , Named0; , Arg6,
- * 5 , Arg5, ; , Arg6,
- * 6 Loc4, , ; , Arg6,
- * 7 , , Named0; Loc5, ,
- * 8 , Arg5, ; Loc5, ,
- * 9 Loc4, , ; Loc5, ,
- *
- * 10 Arg5 ; Arg5
- * 11 Loc4 ; Loc4
- * 12 Named0 ; Named0
- *
- * 13 , , Named0; , ,
- * 14 , Arg5, ; , ,
- * 15 Loc4, , ; , ,
- * 16 , , ; , , Named1
- * 17 , , ; , Arg6,
- * 18 , , ; Loc5, ,
-
-
- * 1. different type of packages Pkg0 and Pkg1:
- * Pkg0 (P0 or p000 or pd12)
- * Pkg1 (P1 or p001 or pd13)
- *
- * 0 , , pd12; , , pd13
- * 1 , , pd12; , p001,
- * 2 , , pd12; P1, ,
- * 3 , p000, ; , , pd13
- * 4 , p000, ; , p001,
- * 5 , p000, ; P1, ,
- * 6 P0, , ; , , pd13
- * 7 P0, , ; , p001,
- * 8 P0, , ; P1, ,
- * 9 p000 ; p000
- * 10 pd12 ; pd12
- * 11 P0 ; P0
- *
- * 2. different type access through the IRefs
- * 1 - DerefOf()
- * DerefOf()
- * 0 - DerefOf(DerefOf())
- *
- * 3. what to do first:
- * 1 - initializing elements of Pkg to be then accessed by references
- * 0 - or references to those elements.
- *
- *
- * arg3 - reserved
- * arg4 - reserved
- *
- * arg5 - for auxiliary usage (see comment to "additional assignments")
- * arg6 - for auxiliary usage (see comment to "additional assignments")
- */
-Method(mfc6, 7, Serialized)
-{
- Name(pr00, 0)
- Name(num, 0) // half-size of Package
- Name(i000, 0xabcd0000) // value of the first element of Package
- Name(i001, 0)
- Name(targ, 0)
-
- Name(b000, Buffer(1) {0})
-
- Name(nm00, 0)
-
- /* arg2 is divided to these */
- Name(AR20, 0)
- Name(AR21, 0)
- Name(AR22, 0)
- Name(AR23, 0)
- Name(AR24, 0)
-
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Store(id26, num)
-
- Name(p000, Package(Multiply(num, 2)) {})
- Name(p001, Package(Multiply(num, 2)) {})
-
- CH03("", 0, 0x000, 0, 0)
-
-
- /* Unpack arg2 */
-
- And(arg2, 0x0ff, AR23)
-
- ShiftRight(arg2, 8, Local0)
- And(Local0, 0x0f, AR20)
-
- ShiftRight(arg2, 12, Local0)
- And(Local0, 0x0f, AR21)
-
- ShiftRight(arg2, 16, Local0)
- And(Local0, 0x0f, AR22)
-
- ShiftRight(arg2, 20, Local0)
- And(Local0, 0x0f, AR24)
-
- if (pr00) {
-
- Store(AR23, b000)
- Concatenate("mfc6: assign Pkgs ", b000, Local0)
-
- Store(AR24, b000)
- Concatenate(Local0, ", assign Refs ", Local1)
- Concatenate(Local1, b000, Local0)
-
- Store(AR20, b000)
- Concatenate(Local0, ", Pkg0/Pkg1 ", Local1)
- Concatenate(Local1, b000, Local0)
-
- Store(AR21, b000)
- Concatenate(Local0, ", IRef access ", Local1)
- Concatenate(Local1, b000, Local0)
-
- Store(AR22, b000)
- Concatenate(Local0, ", first ", Local1)
- Concatenate(Local1, b000, Local0)
-
- Store(Local0, Debug)
- }
-
- /* Identical calculations for different AR20 below */
-
- Switch (ToInteger (AR23)) {
-
-
- Case (0) {
-
- /* AR23: 0 ( , ) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- /* 0 - (pd12, pd13) */
-
- /* AR22 allows to change order of execution */
-
- if (AR22) {
- /*
- * Initializing the first part of Package
- */
- mfc7(pd12, 0, num, i000)
- } else {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(pd12, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(pd12, pd13, 0, num, num, AR24, 0)
- } else {
- /*
- * Initializing the first part of Package
- */
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(pd13, Local7)
- }
- Case (1) {
-
- /* 1 - (pd12, p001) */
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(p001, Local7)
- }
- Case (2) {
-
- /* 2 - (pd12, P1) */
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(arg1, Local7)
- }
- Case (3) {
-
- /* 3 - (p000, pd13) */
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, pd13, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(pd13, Local7)
- }
- Case (4) {
-
- /* 4 - (p000, p001) */
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(p001, Local7)
- }
- Case (5) {
-
- /* 5 - (p000, P1) */
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(arg1, Local7)
- }
- Case (6) {
-
- /* 6 - (P0, pd13) */
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, pd13, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(pd13, Local7)
- }
- Case (7) {
-
- /* 7 - (P0, p001) */
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(p001, Local7)
- }
- Case (8) {
-
- /* 8 - (P0, P1) */
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(arg1, Local7)
- }
- Case (9) {
-
- /* 9 - (p000, p000) */
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, p000, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, p000, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(p000, Local7)
- }
- Case (10) {
-
- /* 10 - (pd12, pd12) */
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, pd12, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, pd12, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(pd12, Local7)
- }
- Case (11) {
-
- /* 11 - (P0, P0) */
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, arg0, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, arg0, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(arg0, Local7)
- }}
-
- } /* Case(0)/Switch(AR23) */
-
-
- Case (1) {
-
- /* AR23: 1 (Named0, Named1) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, nm00)
- CopyObject(pd13, nm03)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, nm00)
- CopyObject(p001, nm03)
-
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, nm00)
- CopyObject(arg1, nm03)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (3) {
-
- CopyObject(p000, nm00)
- CopyObject(pd13, nm03)
-
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (4) {
-
- CopyObject(p000, nm00)
- CopyObject(p001, nm03)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (5) {
-
- CopyObject(p000, nm00)
- CopyObject(arg1, nm03)
-
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, nm00)
- CopyObject(pd13, nm03)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, nm00)
- CopyObject(p001, nm03)
-
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, nm00)
- CopyObject(arg1, nm03)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (9) {
-
- CopyObject(p000, nm00)
- CopyObject(p000, nm03)
-
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, nm00)
- CopyObject(pd12, nm03)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, nm00)
- CopyObject(arg0, nm03)
-
- mfc8(nm00, nm03, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm03, Local7)
- }}
-
- } /* Case(1)/Switch(AR23) */
-
-
- Case (2) {
-
- /* AR23: 2 (arg5, Named1) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, arg5)
- CopyObject(pd13, nm03)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, arg5)
- CopyObject(p001, nm03)
-
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, arg5)
- CopyObject(arg1, nm03)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (3) {
-
- CopyObject(p000, arg5)
- CopyObject(pd13, nm03)
-
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (4) {
-
- CopyObject(p000, arg5)
- CopyObject(p001, nm03)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (5) {
-
- CopyObject(p000, arg5)
- CopyObject(arg1, nm03)
-
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, arg5)
- CopyObject(pd13, nm03)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, arg5)
- CopyObject(p001, nm03)
-
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, arg5)
- CopyObject(arg1, nm03)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (9) {
-
- CopyObject(p000, arg5)
- CopyObject(p000, nm03)
-
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, arg5)
- CopyObject(pd12, nm03)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, arg5)
- CopyObject(arg0, nm03)
-
- mfc8(arg5, nm03, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(nm03, Local7)
- }}
-
- } /* Case(2)/Switch(AR23) */
-
-
- Case (3) {
-
- /* AR23: 3 (Loc4, Named1) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, Local4)
- CopyObject(pd13, nm03)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, Local4)
- CopyObject(p001, nm03)
-
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, Local4)
- CopyObject(arg1, nm03)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (3) {
-
- CopyObject(p000, Local4)
- CopyObject(pd13, nm03)
-
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (4) {
-
- CopyObject(p000, Local4)
- CopyObject(p001, nm03)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (5) {
-
- CopyObject(p000, Local4)
- CopyObject(arg1, nm03)
-
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, Local4)
- CopyObject(pd13, nm03)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, Local4)
- CopyObject(p001, nm03)
-
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, Local4)
- CopyObject(arg1, nm03)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (9) {
-
- CopyObject(p000, Local4)
- CopyObject(p000, nm03)
-
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, Local4)
- CopyObject(pd12, nm03)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, Local4)
- CopyObject(arg0, nm03)
-
- mfc8(Local4, nm03, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(nm03, Local7)
- }}
-
- } /* Case(3)/Switch(AR23) */
-
-
- Case (4) {
-
- /* AR23: 4 (Named0, Arg6) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, nm00)
- CopyObject(pd13, arg6)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, nm00)
- CopyObject(p001, arg6)
-
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, nm00)
- CopyObject(arg1, arg6)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (3) {
-
- CopyObject(p000, nm00)
- CopyObject(pd13, arg6)
-
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (4) {
-
- CopyObject(p000, nm00)
- CopyObject(p001, arg6)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (5) {
-
- CopyObject(p000, nm00)
- CopyObject(arg1, arg6)
-
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, nm00)
- CopyObject(pd13, arg6)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, nm00)
- CopyObject(p001, arg6)
-
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, nm00)
- CopyObject(arg1, arg6)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (9) {
-
- CopyObject(p000, nm00)
- CopyObject(p000, arg6)
-
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, nm00)
- CopyObject(pd12, arg6)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, nm00)
- CopyObject(arg0, arg6)
-
- mfc8(nm00, arg6, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(arg6, Local7)
- }}
-
- } /* Case(4)/Switch(AR23) */
-
-
- Case (5) {
-
- /* AR23: 5 (Arg5, Arg6) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, arg5)
- CopyObject(pd13, arg6)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, arg5)
- CopyObject(p001, arg6)
-
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, arg5)
- CopyObject(arg1, arg6)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (3) {
-
- CopyObject(p000, arg5)
- CopyObject(pd13, arg6)
-
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (4) {
-
- CopyObject(p000, arg5)
- CopyObject(p001, arg6)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (5) {
-
- CopyObject(p000, arg5)
- CopyObject(arg1, arg6)
-
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, arg5)
- CopyObject(pd13, arg6)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, arg5)
- CopyObject(p001, arg6)
-
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, arg5)
- CopyObject(arg1, arg6)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (9) {
-
- CopyObject(p000, arg5)
- CopyObject(p000, arg6)
-
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, arg5)
- CopyObject(pd12, arg6)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, arg5)
- CopyObject(arg0, arg6)
-
- mfc8(arg5, arg6, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg6, Local7)
- }}
-
- } /* Case(5)/Switch(AR23) */
-
-
- Case (6) {
-
- /* AR23: 6 (Loc4, Arg6) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, Local4)
- CopyObject(pd13, arg6)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, Local4)
- CopyObject(p001, arg6)
-
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, Local4)
- CopyObject(arg1, arg6)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (3) {
-
- CopyObject(p000, Local4)
- CopyObject(pd13, arg6)
-
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (4) {
-
- CopyObject(p000, Local4)
- CopyObject(p001, arg6)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (5) {
-
- CopyObject(p000, Local4)
- CopyObject(arg1, arg6)
-
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, Local4)
- CopyObject(pd13, arg6)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, Local4)
- CopyObject(p001, arg6)
-
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, Local4)
- CopyObject(arg1, arg6)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (9) {
-
- CopyObject(p000, Local4)
- CopyObject(p000, arg6)
-
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, Local4)
- CopyObject(pd12, arg6)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, Local4)
- CopyObject(arg0, arg6)
-
- mfc8(Local4, arg6, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(arg6, Local7)
- }}
-
- } /* Case(6)/Switch(AR23) */
-
-
- Case (7) {
-
- /* AR23: 7 (Named0, Loc5) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, nm00)
- CopyObject(pd13, Local5)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, nm00)
- CopyObject(p001, Local5)
-
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, nm00)
- CopyObject(arg1, Local5)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (3) {
-
- CopyObject(p000, nm00)
- CopyObject(pd13, Local5)
-
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (4) {
-
- CopyObject(p000, nm00)
- CopyObject(p001, Local5)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (5) {
-
- CopyObject(p000, nm00)
- CopyObject(arg1, Local5)
-
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, nm00)
- CopyObject(pd13, Local5)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, nm00)
- CopyObject(p001, Local5)
-
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, nm00)
- CopyObject(arg1, Local5)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (9) {
-
- CopyObject(p000, nm00)
- CopyObject(p000, Local5)
-
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, nm00)
- CopyObject(pd12, Local5)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, nm00)
- CopyObject(arg0, Local5)
-
- mfc8(nm00, Local5, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(Local5, Local7)
- }}
-
- } /* Case(7)/Switch(AR23) */
-
-
- Case (8) {
-
- /* AR23: 8 (Arg5, Loc5) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, arg5)
- CopyObject(pd13, Local5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, arg5)
- CopyObject(p001, Local5)
-
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, arg5)
- CopyObject(arg1, Local5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (3) {
-
- CopyObject(p000, arg5)
- CopyObject(pd13, Local5)
-
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (4) {
-
- CopyObject(p000, arg5)
- CopyObject(p001, Local5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (5) {
-
- CopyObject(p000, arg5)
- CopyObject(arg1, Local5)
-
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, arg5)
- CopyObject(pd13, Local5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, arg5)
- CopyObject(p001, Local5)
-
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, arg5)
- CopyObject(arg1, Local5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (9) {
-
- CopyObject(p000, arg5)
- CopyObject(p000, Local5)
-
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, arg5)
- CopyObject(pd12, Local5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, arg5)
- CopyObject(arg0, Local5)
-
- mfc8(arg5, Local5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(Local5, Local7)
- }}
-
- } /* Case(8)/Switch(AR23) */
-
-
- Case (9) {
-
- /* AR23: 9 (Loc4, Loc5) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, Local4)
- CopyObject(pd13, Local5)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, Local4)
- CopyObject(p001, Local5)
-
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, Local4)
- CopyObject(arg1, Local5)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (3) {
-
- CopyObject(p000, Local4)
- CopyObject(pd13, Local5)
-
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (4) {
-
- CopyObject(p000, Local4)
- CopyObject(p001, Local5)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (5) {
-
- CopyObject(p000, Local4)
- CopyObject(arg1, Local5)
-
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, Local4)
- CopyObject(pd13, Local5)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, Local4)
- CopyObject(p001, Local5)
-
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, Local4)
- CopyObject(arg1, Local5)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (9) {
-
- CopyObject(p000, Local4)
- CopyObject(p000, Local5)
-
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, Local4)
- CopyObject(pd12, Local5)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, Local4)
- CopyObject(arg0, Local5)
-
- mfc8(Local4, Local5, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local5, Local7)
- }}
-
- } /* Case(9)/Switch(AR23) */
-
-
- Case (10) {
-
- /* AR23: 10 (Arg5, Arg5) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, arg5)
- CopyObject(pd13, arg5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, arg5)
- CopyObject(p001, arg5)
-
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, arg5)
- CopyObject(arg1, arg5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (3) {
-
- CopyObject(p000, arg5)
- CopyObject(pd13, arg5)
-
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (4) {
-
- CopyObject(p000, arg5)
- CopyObject(p001, arg5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (5) {
-
- CopyObject(p000, arg5)
- CopyObject(arg1, arg5)
-
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, arg5)
- CopyObject(pd13, arg5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, arg5)
- CopyObject(p001, arg5)
-
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, arg5)
- CopyObject(arg1, arg5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (9) {
-
- CopyObject(p000, arg5)
- CopyObject(p000, arg5)
-
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, arg5)
- CopyObject(pd12, arg5)
-
- mfc7(arg5, 0, num, i000)
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, arg5)
- CopyObject(arg0, arg5)
-
- mfc8(arg5, arg5, 0, num, num, AR24, 0)
- mfc7(arg5, 0, num, i000)
-
- Store(arg5, Local6)
- Store(arg5, Local7)
- }}
-
- } /* Case(10)/Switch(AR23) */
-
-
- Case (11) {
-
- /* AR23: 11 (Loc4, Loc4) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, Local4)
- CopyObject(pd13, Local4)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, Local4)
- CopyObject(p001, Local4)
-
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, Local4)
- CopyObject(arg1, Local4)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (3) {
-
- CopyObject(p000, Local4)
- CopyObject(pd13, Local4)
-
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (4) {
-
- CopyObject(p000, Local4)
- CopyObject(p001, Local4)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (5) {
-
- CopyObject(p000, Local4)
- CopyObject(arg1, Local4)
-
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, Local4)
- CopyObject(pd13, Local4)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, Local4)
- CopyObject(p001, Local4)
-
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, Local4)
- CopyObject(arg1, Local4)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (9) {
-
- CopyObject(p000, Local4)
- CopyObject(p000, Local4)
-
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, Local4)
- CopyObject(pd12, Local4)
-
- mfc7(Local4, 0, num, i000)
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, Local4)
- CopyObject(arg0, Local4)
-
- mfc8(Local4, Local4, 0, num, num, AR24, 0)
- mfc7(Local4, 0, num, i000)
-
- Store(Local4, Local6)
- Store(Local4, Local7)
- }}
-
- } /* Case(11)/Switch(AR23) */
-
-
- Case (12) {
-
- /* AR23: 12 (Named0, Named0) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- CopyObject(pd12, nm00)
- CopyObject(pd13, nm00)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (1) {
-
- CopyObject(pd12, nm00)
- CopyObject(p001, nm00)
-
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (2) {
-
- CopyObject(pd12, nm00)
- CopyObject(arg1, nm00)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (3) {
-
- CopyObject(p000, nm00)
- CopyObject(pd13, nm00)
-
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (4) {
-
- CopyObject(p000, nm00)
- CopyObject(p001, nm00)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (5) {
-
- CopyObject(p000, nm00)
- CopyObject(arg1, nm00)
-
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (6) {
-
- CopyObject(arg0, nm00)
- CopyObject(pd13, nm00)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (7) {
-
- CopyObject(arg0, nm00)
- CopyObject(p001, nm00)
-
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (8) {
-
- CopyObject(arg0, nm00)
- CopyObject(arg1, nm00)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (9) {
-
- CopyObject(p000, nm00)
- CopyObject(p000, nm00)
-
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (10) {
-
- CopyObject(pd12, nm00)
- CopyObject(pd12, nm00)
-
- mfc7(nm00, 0, num, i000)
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }
- Case (11) {
-
- CopyObject(arg0, nm00)
- CopyObject(arg0, nm00)
-
- mfc8(nm00, nm00, 0, num, num, AR24, 0)
- mfc7(nm00, 0, num, i000)
-
- Store(nm00, Local6)
- Store(nm00, Local7)
- }}
-
- } /* Case(12)/Switch(AR23) */
-
-
- Case (13) {
-
- /* AR23: 13 (Named0, ) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- /* 0 - (pd12, pd13) */
-
- CopyObject(pd12, nm00)
-
- /* AR22 allows to change order of execution */
-
- if (AR22) {
- /*
- * Initializing the first part of Package
- */
- mfc7(nm00, 0, num, i000)
- } else {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(nm00, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(nm00, pd13, 0, num, num, AR24, 0)
- } else {
- /*
- * Initializing the first part of Package
- */
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(pd13, Local7)
- }
- Case (1) {
-
- /* 1 - (pd12, p001) */
-
- CopyObject(pd12, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(p001, Local7)
- }
- Case (2) {
-
- /* 2 - (pd12, P1) */
-
- CopyObject(pd12, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(arg1, Local7)
- }
- Case (3) {
-
- /* 3 - (p000, pd13) */
-
- CopyObject(p000, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, pd13, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(pd13, Local7)
- }
- Case (4) {
-
- /* 4 - (p000, p001) */
-
- CopyObject(p000, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(p001, Local7)
- }
- Case (5) {
-
- /* 5 - (p000, P1) */
-
- CopyObject(p000, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(arg1, Local7)
- }
- Case (6) {
-
- /* 6 - (P0, pd13) */
-
- CopyObject(arg0, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, pd13, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(pd13, Local7)
- }
- Case (7) {
-
- /* 7 - (P0, p001) */
-
- CopyObject(arg0, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(p001, Local7)
- }
- Case (8) {
-
- /* 8 - (P0, P1) */
-
- CopyObject(arg0, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(arg1, Local7)
- }
- Case (9) {
-
- /* 9 - (p000, p000) */
-
- CopyObject(p000, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, p000, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, p000, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(p000, Local7)
- }
- Case (10) {
-
- /* 10 - (pd12, pd12) */
-
- CopyObject(pd12, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, pd12, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, pd12, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(pd12, Local7)
- }
- Case (11) {
-
- /* 11 - (P0, P0) */
-
- CopyObject(arg0, nm00)
-
- if (AR22) {
- mfc7(nm00, 0, num, i000)
- } else {
- mfc8(nm00, arg0, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(nm00, arg0, 0, num, num, AR24, 0)
- } else {
- mfc7(nm00, 0, num, i000)
- }
-
- Store(nm00, Local6)
- Store(arg0, Local7)
- }}
-
- } /* Case(13)/Switch(AR23) */
-
-
- Case (14) {
-
- /* AR23: 14 (Arg5, ) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- /* 0 - (pd12, pd13) */
-
- CopyObject(pd12, arg5)
-
- /* AR22 allows to change order of execution */
-
- if (AR22) {
- /*
- * Initializing the first part of Package
- */
- mfc7(arg5, 0, num, i000)
- } else {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(arg5, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(arg5, pd13, 0, num, num, AR24, 0)
- } else {
- /*
- * Initializing the first part of Package
- */
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(pd13, Local7)
- }
- Case (1) {
-
- /* 1 - (pd12, p001) */
-
- CopyObject(pd12, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(p001, Local7)
- }
- Case (2) {
-
- /* 2 - (pd12, P1) */
-
- CopyObject(pd12, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(arg1, Local7)
- }
- Case (3) {
-
- /* 3 - (p000, pd13) */
-
- CopyObject(p000, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, pd13, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(pd13, Local7)
- }
- Case (4) {
-
- /* 4 - (p000, p001) */
-
- CopyObject(p000, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(p001, Local7)
- }
- Case (5) {
-
- /* 5 - (p000, P1) */
-
- CopyObject(p000, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(arg1, Local7)
- }
- Case (6) {
-
- /* 6 - (P0, pd13) */
-
- CopyObject(arg0, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, pd13, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(pd13, Local7)
- }
- Case (7) {
-
- /* 7 - (P0, p001) */
-
- CopyObject(arg0, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(p001, Local7)
- }
- Case (8) {
-
- /* 8 - (P0, P1) */
-
- CopyObject(arg0, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(arg1, Local7)
- }
- Case (9) {
-
- /* 9 - (p000, p000) */
-
- CopyObject(p000, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, p000, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, p000, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(p000, Local7)
- }
- Case (10) {
-
- /* 10 - (pd12, pd12) */
-
- CopyObject(pd12, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, pd12, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, pd12, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(pd12, Local7)
- }
- Case (11) {
-
- /* 11 - (P0, P0) */
-
- CopyObject(arg0, arg5)
-
- if (AR22) {
- mfc7(arg5, 0, num, i000)
- } else {
- mfc8(arg5, arg0, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg5, arg0, 0, num, num, AR24, 0)
- } else {
- mfc7(arg5, 0, num, i000)
- }
-
- Store(arg5, Local6)
- Store(arg0, Local7)
- }}
-
- } /* Case(14)/Switch(AR23) */
-
-
- Case (15) {
-
- /* AR23: 15 (Loc4, ) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- /* 0 - (pd12, pd13) */
-
- CopyObject(pd12, Local4)
-
- /* AR22 allows to change order of execution */
-
- if (AR22) {
- /*
- * Initializing the first part of Package
- */
- mfc7(Local4, 0, num, i000)
- } else {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(Local4, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(Local4, pd13, 0, num, num, AR24, 0)
- } else {
- /*
- * Initializing the first part of Package
- */
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(pd13, Local7)
- }
- Case (1) {
-
- /* 1 - (pd12, p001) */
-
- CopyObject(pd12, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(p001, Local7)
- }
- Case (2) {
-
- /* 2 - (pd12, P1) */
-
- CopyObject(pd12, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(arg1, Local7)
- }
- Case (3) {
-
- /* 3 - (p000, pd13) */
-
- CopyObject(p000, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, pd13, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(pd13, Local7)
- }
- Case (4) {
-
- /* 4 - (p000, p001) */
-
- CopyObject(p000, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(p001, Local7)
- }
- Case (5) {
-
- /* 5 - (p000, P1) */
-
- CopyObject(p000, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(arg1, Local7)
- }
- Case (6) {
-
- /* 6 - (P0, pd13) */
-
- CopyObject(arg0, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, pd13, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, pd13, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(pd13, Local7)
- }
- Case (7) {
-
- /* 7 - (P0, p001) */
-
- CopyObject(arg0, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, p001, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, p001, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(p001, Local7)
- }
- Case (8) {
-
- /* 8 - (P0, P1) */
-
- CopyObject(arg0, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, arg1, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, arg1, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(arg1, Local7)
- }
- Case (9) {
-
- /* 9 - (p000, p000) */
-
- CopyObject(p000, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, p000, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, p000, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(p000, Local7)
- }
- Case (10) {
-
- /* 10 - (pd12, pd12) */
-
- CopyObject(pd12, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, pd12, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, pd12, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(pd12, Local7)
- }
- Case (11) {
-
- /* 11 - (P0, P0) */
-
- CopyObject(arg0, Local4)
-
- if (AR22) {
- mfc7(Local4, 0, num, i000)
- } else {
- mfc8(Local4, arg0, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(Local4, arg0, 0, num, num, AR24, 0)
- } else {
- mfc7(Local4, 0, num, i000)
- }
-
- Store(Local4, Local6)
- Store(arg0, Local7)
- }}
-
- } /* Case(15)/Switch(AR23) */
-
-
- Case (16) {
-
- /* AR23: 16 ( , Named1) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- /* 0 - (pd12, pd13) */
-
- CopyObject(pd13, nm03)
-
- /* AR22 allows to change order of execution */
-
- if (AR22) {
- /*
- * Initializing the first part of Package
- */
- mfc7(pd12, 0, num, i000)
- } else {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(pd12, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(pd12, nm03, 0, num, num, AR24, 0)
- } else {
- /*
- * Initializing the first part of Package
- */
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(nm03, Local7)
- }
- Case (1) {
-
- /* 1 - (pd12, p001) */
-
- CopyObject(p001, nm03)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(nm03, Local7)
- }
- Case (2) {
-
- /* 2 - (pd12, P1) */
-
- CopyObject(arg1, nm03)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(nm03, Local7)
- }
- Case (3) {
-
- /* 3 - (p000, pd13) */
-
- CopyObject(pd13, nm03)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(nm03, Local7)
- }
- Case (4) {
-
- /* 4 - (p000, p001) */
-
- CopyObject(p001, nm03)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(nm03, Local7)
- }
- Case (5) {
-
- /* 5 - (p000, P1) */
-
- CopyObject(arg1, nm03)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(nm03, Local7)
- }
- Case (6) {
-
- /* 6 - (P0, pd13) */
-
- CopyObject(pd13, nm03)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(nm03, Local7)
- }
- Case (7) {
-
- /* 7 - (P0, p001) */
-
- CopyObject(p001, nm03)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(nm03, Local7)
- }
- Case (8) {
-
- /* 8 - (P0, P1) */
-
- CopyObject(arg1, nm03)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(nm03, Local7)
- }
- Case (9) {
-
- /* 9 - (p000, p000) */
-
- CopyObject(p000, nm03)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(nm03, Local7)
- }
- Case (10) {
-
- /* 10 - (pd12, pd12) */
-
- CopyObject(pd12, nm03)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(nm03, Local7)
- }
- Case (11) {
-
- /* 11 - (P0, P0) */
-
- CopyObject(arg0, nm03)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, nm03, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, nm03, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(nm03, Local7)
- }}
-
- } /* Case(16)/Switch(AR23) */
-
-
- Case (17) {
-
- /* AR23: 17 ( , Arg6) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- /* 0 - (pd12, pd13) */
-
- CopyObject(pd13, arg6)
-
- /* AR22 allows to change order of execution */
-
- if (AR22) {
- /*
- * Initializing the first part of Package
- */
- mfc7(pd12, 0, num, i000)
- } else {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(pd12, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(pd12, arg6, 0, num, num, AR24, 0)
- } else {
- /*
- * Initializing the first part of Package
- */
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(arg6, Local7)
- }
- Case (1) {
-
- /* 1 - (pd12, p001) */
-
- CopyObject(p001, arg6)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(arg6, Local7)
- }
- Case (2) {
-
- /* 2 - (pd12, P1) */
-
- CopyObject(arg1, arg6)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(arg6, Local7)
- }
- Case (3) {
-
- /* 3 - (p000, pd13) */
-
- CopyObject(pd13, arg6)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(arg6, Local7)
- }
- Case (4) {
-
- /* 4 - (p000, p001) */
-
- CopyObject(p001, arg6)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(arg6, Local7)
- }
- Case (5) {
-
- /* 5 - (p000, P1) */
-
- CopyObject(arg1, arg6)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(arg6, Local7)
- }
- Case (6) {
-
- /* 6 - (P0, pd13) */
-
- CopyObject(pd13, arg6)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(arg6, Local7)
- }
- Case (7) {
-
- /* 7 - (P0, p001) */
-
- CopyObject(p001, arg6)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(arg6, Local7)
- }
- Case (8) {
-
- /* 8 - (P0, P1) */
-
- CopyObject(arg1, arg6)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(arg6, Local7)
- }
- Case (9) {
-
- /* 9 - (p000, p000) */
-
- CopyObject(p000, arg6)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(arg6, Local7)
- }
- Case (10) {
-
- /* 10 - (pd12, pd12) */
-
- CopyObject(pd12, arg6)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(arg6, Local7)
- }
- Case (11) {
-
- /* 11 - (P0, P0) */
-
- CopyObject(arg0, arg6)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, arg6, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, arg6, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(arg6, Local7)
- }}
-
- } /* Case(17)/Switch(AR23) */
-
-
- Case (18) {
-
- /* AR23: 18 ( , Loc5) */
-
- Switch (ToInteger (AR20)) {
- Case (0) {
-
- /* 0 - (pd12, pd13) */
-
- CopyObject(pd13, Local5)
-
- /* AR22 allows to change order of execution */
-
- if (AR22) {
- /*
- * Initializing the first part of Package
- */
- mfc7(pd12, 0, num, i000)
- } else {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(pd12, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- /*
- * Initializing the second part of Package with IRefs
- * to elements of its first part.
- */
- mfc8(pd12, Local5, 0, num, num, AR24, 0)
- } else {
- /*
- * Initializing the first part of Package
- */
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(Local5, Local7)
- }
- Case (1) {
-
- /* 1 - (pd12, p001) */
-
- CopyObject(p001, Local5)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(Local5, Local7)
- }
- Case (2) {
-
- /* 2 - (pd12, P1) */
-
- CopyObject(arg1, Local5)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(Local5, Local7)
- }
- Case (3) {
-
- /* 3 - (p000, pd13) */
-
- CopyObject(pd13, Local5)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(Local5, Local7)
- }
- Case (4) {
-
- /* 4 - (p000, p001) */
-
- CopyObject(p001, Local5)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(Local5, Local7)
- }
- Case (5) {
-
- /* 5 - (p000, P1) */
-
- CopyObject(arg1, Local5)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(Local5, Local7)
- }
- Case (6) {
-
- /* 6 - (P0, pd13) */
-
- CopyObject(pd13, Local5)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(Local5, Local7)
- }
- Case (7) {
-
- /* 7 - (P0, p001) */
-
- CopyObject(p001, Local5)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(Local5, Local7)
- }
- Case (8) {
-
- /* 8 - (P0, P1) */
-
- CopyObject(arg1, Local5)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(Local5, Local7)
- }
- Case (9) {
-
- /* 9 - (p000, p000) */
-
- CopyObject(p000, Local5)
-
- if (AR22) {
- mfc7(p000, 0, num, i000)
- } else {
- mfc8(p000, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(p000, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(p000, 0, num, i000)
- }
-
- Store(p000, Local6)
- Store(Local5, Local7)
- }
- Case (10) {
-
- /* 10 - (pd12, pd12) */
-
- CopyObject(pd12, Local5)
-
- if (AR22) {
- mfc7(pd12, 0, num, i000)
- } else {
- mfc8(pd12, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(pd12, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(pd12, 0, num, i000)
- }
-
- Store(pd12, Local6)
- Store(Local5, Local7)
- }
- Case (11) {
-
- /* 11 - (P0, P0) */
-
- CopyObject(arg0, Local5)
-
- if (AR22) {
- mfc7(arg0, 0, num, i000)
- } else {
- mfc8(arg0, Local5, 0, num, num, AR24, 0)
- }
-
- if (AR22) {
- mfc8(arg0, Local5, 0, num, num, AR24, 0)
- } else {
- mfc7(arg0, 0, num, i000)
- }
-
- Store(arg0, Local6)
- Store(Local5, Local7)
- }}
-
- } /* Case(18)/Switch(AR23) */
-
- } /* Switch(AR23) */
-
-
- /*
- * Verifying the contents of Package by
- * accessing elements of its first part
- * (monotone increasing Integers) through
- * the IRefs of its second part.
- */
- mfcc(Local7, num, num, i000, AR21, 0x001)
-
- CH03("", 0, 0x002, 0, 0)
-}
-
-/*
- * Verifying the contents of Package by
- * accessing elements of its first part
- * (monotone increasing Integers) through
- * the IRefs of its second part.
- *
- * arg0 - Package to be verified
- * arg1 - index inside of Package
- * arg2 - how many elements to check
- * arg3 - expected value of the first element of Package
- * arg4 - type of access through the IRefs
- * arg5 - index of error (inside the file)
- */
-Method(mfcc, 6, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Name(i000, 0)
- Name(targ, 0)
-
- Store(arg2, lpN0)
- Store(0, lpC0)
-
- Store(arg1, targ)
- Store(arg3, i000)
-
- While (lpN0) {
-
- Store(Index(arg0, targ), Local0)
-
- if (arg4) {
- Store(DerefOf(Local0), Local1)
- Store(DerefOf(Local1), Local2)
- } else {
- Store(DerefOf(DerefOf(Local0)), Local2)
- }
-
- if (LNotEqual(Local2, i000)) {
- err("", zFFF, arg5, 0, 0, Local2, i000)
- }
-
- Increment(i000)
- Increment(targ)
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Verifying the contents of Package by
- * accessing elements of its first part
- * through the IRefs of its second part.
- * All IRefs points to the same element.
- *
- * arg0 - Package to be verified
- * arg1 - index inside of Package
- * arg2 - how many elements to check
- * arg3 - excpected value of element
- * arg4 - type of access through the IRefs
- * arg5 - index of error (inside the file)
- */
-Method(mfce, 6, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
- Name(targ, 0)
-
- Store(arg2, lpN0)
- Store(0, lpC0)
-
- Store(arg1, targ)
-
- While (lpN0) {
-
- Store(Index(arg0, targ), Local0)
-
- if (arg4) {
- Store(DerefOf(Local0), Local1)
- Store(DerefOf(Local1), Local2)
- } else {
- Store(DerefOf(DerefOf(Local0)), Local2)
- }
-
- if (LNotEqual(Local2, arg3)) {
- err("", zFFF, arg5, 0, 0, Local2, arg3)
- }
-
- Increment(targ)
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Verifying the contents of value pointed to by Reference.
- *
- * arg0 - Index reference
- * arg1 - excpected value of element
- * arg2 - index of error (inside the file)
- */
-Method(mfd8, 3)
-{
- Store(DerefOf(arg0), Local0)
-
- if (LNotEqual(Local0, arg1)) {
- err("", zFFF, arg2, 0, 0, Local0, arg1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Methods of common use.
+ *
+ * Note: writing to the global objects - nm03, pd12 and pd13 forces
+ * outstanding allocation reports.
+ */
+
+Name(id26, 8)
+Name(nm03, 0)
+Name(pd12, Package(Multiply(id26, 2)) {})
+Name(pd13, Package(Multiply(id26, 2)) {})
+
+
+/*
+ * AcpiExec doesn't run the unload of the table have been processed.
+ * Because of that the global objects are not forced to release. Thus,
+ * if nm03, pd12 or pd13 were rewritten by the new objects during the
+ * testing the outstanding allocations are reported.
+ *
+ * To get this known case of outstanding reports the same predictable
+ * view this method could be used after completion of testing to rewrite
+ * nm03, pd12 and pd13 with the same values.
+ *
+ * Nevertheless, these outstandings should be discussed and probably
+ * eliminated by updating of AcpiExec (unload the table).
+ */
+Method(mfe8)
+{
+ mfe7(pd12, Multiply(id26, 2))
+ mfe7(pd13, Multiply(id26, 2))
+
+ Store(0, nm03)
+}
+
+/*
+ * arg0 - Package
+ * arg1 - number of elements in arg0
+ */
+Method(mfe7, 2, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Store(arg1, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+
+ Store(0, Index(arg0, lpC0))
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Initializing the Package with the monotone increasing Integers.
+ *
+ * arg0 - Package
+ * arg1 - index of first element to be initialized
+ * arg2 - number of elements to be initialized
+ * arg3 - value to be written into first element (+1 for other)
+ */
+Method(mfc7, 4)
+{
+ While (arg2) {
+
+ Store(arg3, Index(arg0, arg1))
+
+ Increment(arg1)
+ Increment(arg3)
+
+ Decrement(arg2)
+ }
+}
+
+/*
+ * Initializing the Package with the same Integer.
+ *
+ * arg0 - Package
+ * arg1 - index of first element to be initialized
+ * arg2 - number of elements to be initialized
+ * arg3 - value to be written
+ */
+Method(mfcd, 4)
+{
+ While (arg2) {
+
+ Store(arg3, Index(arg0, arg1))
+ Increment(arg1)
+
+ Decrement(arg2)
+ }
+}
+
+/*
+ * Initializing the Package with IRefs.
+ *
+ * arg0 - (Package), IRefs to elements of this Package
+ * arg1 - (Package), are stored into elements of this Package.
+ * arg2 - first element inside arg0
+ * arg3 - first element inside arg1
+ * arg4 - number of elements to be initialized
+ * arg5 - opcode of additional assignments of References (0-12):
+ * - none
+ * - to NamedX
+ * - to LocalX
+ * - to ArgX
+ *
+ * Store(Index(arg0, arg2[, X0]), Index(arg1, arg3[, X1]))
+ *
+ * X0 X1
+ *
+ * none , none
+ * LocalX , none
+ * ArgX , none
+ * none , LocalX
+ * LocalX , LocalX
+ * ArgX , LocalX
+ * none , ArgX
+ * LocalX , ArgX
+ * (ArgX , ArgX) - not enough arg-variables for this
+ *
+ * ************* exceptions:
+ * NamedX , none
+ * NamedX , LocalX
+ * NamedX , ArgX
+ * none , NamedX
+ * NamedX , NamedX
+ * LocalX , NamedX
+ * ArgX , NamedX
+ *
+ * arg6 - for auxiliary usage
+ */
+Method(mfc8, 7, Serialized)
+{
+ Name(i000, 0)
+ Name(i001, 0)
+
+ While (arg4) {
+
+ Switch (ToInteger (arg5)) {
+
+ /* (none, none) */
+
+ Case (0) {
+ Store(Index(arg0, arg2), Index(arg1, arg3))
+ }
+
+ /* (LocalX, none) */
+
+ Case (1) {
+ Index(arg0, arg2, Local0)
+ Store(Local0, Index(arg1, arg3))
+ }
+ Case (2) {
+ Store(Index(arg0, arg2, Local0), Index(arg1, arg3))
+ }
+
+ /* (ArgX, none) */
+
+ Case (3) {
+ Index(arg0, arg2, arg6)
+ Store(arg6, Index(arg1, arg3))
+ }
+ Case (4) {
+ Store(Index(arg0, arg2, arg6), Index(arg1, arg3))
+ }
+
+ /* (none, LocalX) */
+
+ Case (5) {
+ Store(Index(arg0, arg2), Index(arg1, arg3, Local0))
+ }
+
+ /* (LocalX, LocalX) */
+
+ Case (6) {
+ Index(arg0, arg2, Local0)
+ Store(Local0, Index(arg1, arg3, Local1))
+ }
+ Case (7) {
+ Store(Index(arg0, arg2, Local0), Index(arg1, arg3, Local1))
+ }
+
+ /* (ArgX, LocalX) */
+
+ Case (8) {
+ Index(arg0, arg2, arg6)
+ Store(arg6, Index(arg1, arg3, Local1))
+ }
+ Case (9) {
+ Store(Index(arg0, arg2, arg6), Index(arg1, arg3, Local1))
+ }
+
+ /* (none, ArgX) */
+
+ Case (10) {
+ Store(Index(arg0, arg2), Index(arg1, arg3, arg6))
+ }
+
+ /* (LocalX, ArgX) */
+
+ Case (11) {
+ Index(arg0, arg2, Local0)
+ Store(Local0, Index(arg1, arg3, arg6))
+ }
+ Case (12) {
+ Store(Index(arg0, arg2, Local0), Index(arg1, arg3, arg6))
+ }
+
+ /* (ArgX, ArgX) */
+
+ Default {
+ /* (none, none) */
+ Store(Index(arg0, arg2), Index(arg1, arg3))
+ }}
+
+ Increment(arg2)
+ Increment(arg3)
+
+ Decrement(arg4)
+ }
+}
+
+/*
+ * Pack parameters for mfc6
+ *
+ * arg0 - opcode of additional assignments of packages Pkg0 and Pkg1
+ * arg1 - different type of packages Pkg0 and Pkg1
+ * arg2 - different type access through the IRefs
+ * arg3 - what to do first
+ * arg4 - opcode of additional assignments of References
+ */
+Method(mfc9, 5)
+{
+ And(arg0, 0x0ff, Local0)
+ And(arg1, 0x0f, Local1)
+ And(arg2, 0x0f, Local2)
+ And(arg3, 0x0f, Local3)
+
+ ShiftLeft(Local1, 8, Local4)
+ ShiftLeft(Local2, 12, Local5)
+ ShiftLeft(Local3, 16, Local6)
+
+ Or(Local0, Local4, Local7)
+ Or(Local7, Local5, Local0)
+ Or(Local0, Local6, Local7)
+
+ And(arg4, 0x0f, Local0)
+ ShiftLeft(Local0, 20, Local1)
+ Or(Local1, Local7, Local0)
+
+ return (Local0)
+}
+
+/*
+ * Self references.
+ *
+ * Different type packages
+ *
+ * arg0 - Package P0
+ * arg1 - Package P1
+ *
+ * arg2 -
+ *
+
+ * 4. opcode of additional assignments of packages Pkg0 and Pkg1:
+ * Pkg0 (LocalX or ArgX or NamedX)
+ * Pkg1 (LocalX or ArgX or NamedX)
+ *
+ * 0 , , ; , ,
+ *
+ * 1 , , Named0; , , Named1
+ * 2 , Arg5, ; , , Named1
+ * 3 Loc4, , ; , , Named1
+ * 4 , , Named0; , Arg6,
+ * 5 , Arg5, ; , Arg6,
+ * 6 Loc4, , ; , Arg6,
+ * 7 , , Named0; Loc5, ,
+ * 8 , Arg5, ; Loc5, ,
+ * 9 Loc4, , ; Loc5, ,
+ *
+ * 10 Arg5 ; Arg5
+ * 11 Loc4 ; Loc4
+ * 12 Named0 ; Named0
+ *
+ * 13 , , Named0; , ,
+ * 14 , Arg5, ; , ,
+ * 15 Loc4, , ; , ,
+ * 16 , , ; , , Named1
+ * 17 , , ; , Arg6,
+ * 18 , , ; Loc5, ,
+
+
+ * 1. different type of packages Pkg0 and Pkg1:
+ * Pkg0 (P0 or p000 or pd12)
+ * Pkg1 (P1 or p001 or pd13)
+ *
+ * 0 , , pd12; , , pd13
+ * 1 , , pd12; , p001,
+ * 2 , , pd12; P1, ,
+ * 3 , p000, ; , , pd13
+ * 4 , p000, ; , p001,
+ * 5 , p000, ; P1, ,
+ * 6 P0, , ; , , pd13
+ * 7 P0, , ; , p001,
+ * 8 P0, , ; P1, ,
+ * 9 p000 ; p000
+ * 10 pd12 ; pd12
+ * 11 P0 ; P0
+ *
+ * 2. different type access through the IRefs
+ * 1 - DerefOf()
+ * DerefOf()
+ * 0 - DerefOf(DerefOf())
+ *
+ * 3. what to do first:
+ * 1 - initializing elements of Pkg to be then accessed by references
+ * 0 - or references to those elements.
+ *
+ *
+ * arg3 - reserved
+ * arg4 - reserved
+ *
+ * arg5 - for auxiliary usage (see comment to "additional assignments")
+ * arg6 - for auxiliary usage (see comment to "additional assignments")
+ */
+Method(mfc6, 7, Serialized)
+{
+ Name(pr00, 0)
+ Name(num, 0) // half-size of Package
+ Name(i000, 0xabcd0000) // value of the first element of Package
+ Name(i001, 0)
+ Name(targ, 0)
+
+ Name(b000, Buffer(1) {0})
+
+ Name(nm00, 0)
+
+ /* arg2 is divided to these */
+ Name(AR20, 0)
+ Name(AR21, 0)
+ Name(AR22, 0)
+ Name(AR23, 0)
+ Name(AR24, 0)
+
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Store(id26, num)
+
+ Name(p000, Package(Multiply(num, 2)) {})
+ Name(p001, Package(Multiply(num, 2)) {})
+
+ CH03("", 0, 0x000, 0, 0)
+
+
+ /* Unpack arg2 */
+
+ And(arg2, 0x0ff, AR23)
+
+ ShiftRight(arg2, 8, Local0)
+ And(Local0, 0x0f, AR20)
+
+ ShiftRight(arg2, 12, Local0)
+ And(Local0, 0x0f, AR21)
+
+ ShiftRight(arg2, 16, Local0)
+ And(Local0, 0x0f, AR22)
+
+ ShiftRight(arg2, 20, Local0)
+ And(Local0, 0x0f, AR24)
+
+ if (pr00) {
+
+ Store(AR23, b000)
+ Concatenate("mfc6: assign Pkgs ", b000, Local0)
+
+ Store(AR24, b000)
+ Concatenate(Local0, ", assign Refs ", Local1)
+ Concatenate(Local1, b000, Local0)
+
+ Store(AR20, b000)
+ Concatenate(Local0, ", Pkg0/Pkg1 ", Local1)
+ Concatenate(Local1, b000, Local0)
+
+ Store(AR21, b000)
+ Concatenate(Local0, ", IRef access ", Local1)
+ Concatenate(Local1, b000, Local0)
+
+ Store(AR22, b000)
+ Concatenate(Local0, ", first ", Local1)
+ Concatenate(Local1, b000, Local0)
+
+ Store(Local0, Debug)
+ }
+
+ /* Identical calculations for different AR20 below */
+
+ Switch (ToInteger (AR23)) {
+
+
+ Case (0) {
+
+ /* AR23: 0 ( , ) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ /* 0 - (pd12, pd13) */
+
+ /* AR22 allows to change order of execution */
+
+ if (AR22) {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(pd12, 0, num, i000)
+ } else {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(pd12, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(pd12, pd13, 0, num, num, AR24, 0)
+ } else {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(pd13, Local7)
+ }
+ Case (1) {
+
+ /* 1 - (pd12, p001) */
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(p001, Local7)
+ }
+ Case (2) {
+
+ /* 2 - (pd12, P1) */
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(arg1, Local7)
+ }
+ Case (3) {
+
+ /* 3 - (p000, pd13) */
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, pd13, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(pd13, Local7)
+ }
+ Case (4) {
+
+ /* 4 - (p000, p001) */
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(p001, Local7)
+ }
+ Case (5) {
+
+ /* 5 - (p000, P1) */
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(arg1, Local7)
+ }
+ Case (6) {
+
+ /* 6 - (P0, pd13) */
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, pd13, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(pd13, Local7)
+ }
+ Case (7) {
+
+ /* 7 - (P0, p001) */
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(p001, Local7)
+ }
+ Case (8) {
+
+ /* 8 - (P0, P1) */
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(arg1, Local7)
+ }
+ Case (9) {
+
+ /* 9 - (p000, p000) */
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, p000, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, p000, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(p000, Local7)
+ }
+ Case (10) {
+
+ /* 10 - (pd12, pd12) */
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, pd12, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, pd12, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(pd12, Local7)
+ }
+ Case (11) {
+
+ /* 11 - (P0, P0) */
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, arg0, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, arg0, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(arg0, Local7)
+ }}
+
+ } /* Case(0)/Switch(AR23) */
+
+
+ Case (1) {
+
+ /* AR23: 1 (Named0, Named1) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(pd13, nm03)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(p001, nm03)
+
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(arg1, nm03)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, nm00)
+ CopyObject(pd13, nm03)
+
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, nm00)
+ CopyObject(p001, nm03)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, nm00)
+ CopyObject(arg1, nm03)
+
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(pd13, nm03)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(p001, nm03)
+
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(arg1, nm03)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, nm00)
+ CopyObject(p000, nm03)
+
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(pd12, nm03)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(arg0, nm03)
+
+ mfc8(nm00, nm03, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm03, Local7)
+ }}
+
+ } /* Case(1)/Switch(AR23) */
+
+
+ Case (2) {
+
+ /* AR23: 2 (arg5, Named1) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(pd13, nm03)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(p001, nm03)
+
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(arg1, nm03)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, arg5)
+ CopyObject(pd13, nm03)
+
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, arg5)
+ CopyObject(p001, nm03)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, arg5)
+ CopyObject(arg1, nm03)
+
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(pd13, nm03)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(p001, nm03)
+
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(arg1, nm03)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, arg5)
+ CopyObject(p000, nm03)
+
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(pd12, nm03)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(arg0, nm03)
+
+ mfc8(arg5, nm03, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(nm03, Local7)
+ }}
+
+ } /* Case(2)/Switch(AR23) */
+
+
+ Case (3) {
+
+ /* AR23: 3 (Loc4, Named1) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(pd13, nm03)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(p001, nm03)
+
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(arg1, nm03)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, Local4)
+ CopyObject(pd13, nm03)
+
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, Local4)
+ CopyObject(p001, nm03)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, Local4)
+ CopyObject(arg1, nm03)
+
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(pd13, nm03)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(p001, nm03)
+
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(arg1, nm03)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, Local4)
+ CopyObject(p000, nm03)
+
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(pd12, nm03)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(arg0, nm03)
+
+ mfc8(Local4, nm03, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(nm03, Local7)
+ }}
+
+ } /* Case(3)/Switch(AR23) */
+
+
+ Case (4) {
+
+ /* AR23: 4 (Named0, Arg6) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(pd13, arg6)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(p001, arg6)
+
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(arg1, arg6)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, nm00)
+ CopyObject(pd13, arg6)
+
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, nm00)
+ CopyObject(p001, arg6)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, nm00)
+ CopyObject(arg1, arg6)
+
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(pd13, arg6)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(p001, arg6)
+
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(arg1, arg6)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, nm00)
+ CopyObject(p000, arg6)
+
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(pd12, arg6)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(arg0, arg6)
+
+ mfc8(nm00, arg6, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(arg6, Local7)
+ }}
+
+ } /* Case(4)/Switch(AR23) */
+
+
+ Case (5) {
+
+ /* AR23: 5 (Arg5, Arg6) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(pd13, arg6)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(p001, arg6)
+
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(arg1, arg6)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, arg5)
+ CopyObject(pd13, arg6)
+
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, arg5)
+ CopyObject(p001, arg6)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, arg5)
+ CopyObject(arg1, arg6)
+
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(pd13, arg6)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(p001, arg6)
+
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(arg1, arg6)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, arg5)
+ CopyObject(p000, arg6)
+
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(pd12, arg6)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(arg0, arg6)
+
+ mfc8(arg5, arg6, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg6, Local7)
+ }}
+
+ } /* Case(5)/Switch(AR23) */
+
+
+ Case (6) {
+
+ /* AR23: 6 (Loc4, Arg6) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(pd13, arg6)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(p001, arg6)
+
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(arg1, arg6)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, Local4)
+ CopyObject(pd13, arg6)
+
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, Local4)
+ CopyObject(p001, arg6)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, Local4)
+ CopyObject(arg1, arg6)
+
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(pd13, arg6)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(p001, arg6)
+
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(arg1, arg6)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, Local4)
+ CopyObject(p000, arg6)
+
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(pd12, arg6)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(arg0, arg6)
+
+ mfc8(Local4, arg6, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(arg6, Local7)
+ }}
+
+ } /* Case(6)/Switch(AR23) */
+
+
+ Case (7) {
+
+ /* AR23: 7 (Named0, Loc5) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(pd13, Local5)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(p001, Local5)
+
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(arg1, Local5)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, nm00)
+ CopyObject(pd13, Local5)
+
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, nm00)
+ CopyObject(p001, Local5)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, nm00)
+ CopyObject(arg1, Local5)
+
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(pd13, Local5)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(p001, Local5)
+
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(arg1, Local5)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, nm00)
+ CopyObject(p000, Local5)
+
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(pd12, Local5)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(arg0, Local5)
+
+ mfc8(nm00, Local5, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(Local5, Local7)
+ }}
+
+ } /* Case(7)/Switch(AR23) */
+
+
+ Case (8) {
+
+ /* AR23: 8 (Arg5, Loc5) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(pd13, Local5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(p001, Local5)
+
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(arg1, Local5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, arg5)
+ CopyObject(pd13, Local5)
+
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, arg5)
+ CopyObject(p001, Local5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, arg5)
+ CopyObject(arg1, Local5)
+
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(pd13, Local5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(p001, Local5)
+
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(arg1, Local5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, arg5)
+ CopyObject(p000, Local5)
+
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(pd12, Local5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(arg0, Local5)
+
+ mfc8(arg5, Local5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(Local5, Local7)
+ }}
+
+ } /* Case(8)/Switch(AR23) */
+
+
+ Case (9) {
+
+ /* AR23: 9 (Loc4, Loc5) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(pd13, Local5)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(p001, Local5)
+
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(arg1, Local5)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, Local4)
+ CopyObject(pd13, Local5)
+
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, Local4)
+ CopyObject(p001, Local5)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, Local4)
+ CopyObject(arg1, Local5)
+
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(pd13, Local5)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(p001, Local5)
+
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(arg1, Local5)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, Local4)
+ CopyObject(p000, Local5)
+
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(pd12, Local5)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(arg0, Local5)
+
+ mfc8(Local4, Local5, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local5, Local7)
+ }}
+
+ } /* Case(9)/Switch(AR23) */
+
+
+ Case (10) {
+
+ /* AR23: 10 (Arg5, Arg5) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(pd13, arg5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(p001, arg5)
+
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(arg1, arg5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, arg5)
+ CopyObject(pd13, arg5)
+
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, arg5)
+ CopyObject(p001, arg5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, arg5)
+ CopyObject(arg1, arg5)
+
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(pd13, arg5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(p001, arg5)
+
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(arg1, arg5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, arg5)
+ CopyObject(p000, arg5)
+
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, arg5)
+ CopyObject(pd12, arg5)
+
+ mfc7(arg5, 0, num, i000)
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, arg5)
+ CopyObject(arg0, arg5)
+
+ mfc8(arg5, arg5, 0, num, num, AR24, 0)
+ mfc7(arg5, 0, num, i000)
+
+ Store(arg5, Local6)
+ Store(arg5, Local7)
+ }}
+
+ } /* Case(10)/Switch(AR23) */
+
+
+ Case (11) {
+
+ /* AR23: 11 (Loc4, Loc4) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(pd13, Local4)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(p001, Local4)
+
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(arg1, Local4)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, Local4)
+ CopyObject(pd13, Local4)
+
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, Local4)
+ CopyObject(p001, Local4)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, Local4)
+ CopyObject(arg1, Local4)
+
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(pd13, Local4)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(p001, Local4)
+
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(arg1, Local4)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, Local4)
+ CopyObject(p000, Local4)
+
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, Local4)
+ CopyObject(pd12, Local4)
+
+ mfc7(Local4, 0, num, i000)
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, Local4)
+ CopyObject(arg0, Local4)
+
+ mfc8(Local4, Local4, 0, num, num, AR24, 0)
+ mfc7(Local4, 0, num, i000)
+
+ Store(Local4, Local6)
+ Store(Local4, Local7)
+ }}
+
+ } /* Case(11)/Switch(AR23) */
+
+
+ Case (12) {
+
+ /* AR23: 12 (Named0, Named0) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(pd13, nm00)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (1) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(p001, nm00)
+
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (2) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(arg1, nm00)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (3) {
+
+ CopyObject(p000, nm00)
+ CopyObject(pd13, nm00)
+
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (4) {
+
+ CopyObject(p000, nm00)
+ CopyObject(p001, nm00)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (5) {
+
+ CopyObject(p000, nm00)
+ CopyObject(arg1, nm00)
+
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (6) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(pd13, nm00)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (7) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(p001, nm00)
+
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (8) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(arg1, nm00)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (9) {
+
+ CopyObject(p000, nm00)
+ CopyObject(p000, nm00)
+
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (10) {
+
+ CopyObject(pd12, nm00)
+ CopyObject(pd12, nm00)
+
+ mfc7(nm00, 0, num, i000)
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }
+ Case (11) {
+
+ CopyObject(arg0, nm00)
+ CopyObject(arg0, nm00)
+
+ mfc8(nm00, nm00, 0, num, num, AR24, 0)
+ mfc7(nm00, 0, num, i000)
+
+ Store(nm00, Local6)
+ Store(nm00, Local7)
+ }}
+
+ } /* Case(12)/Switch(AR23) */
+
+
+ Case (13) {
+
+ /* AR23: 13 (Named0, ) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ /* 0 - (pd12, pd13) */
+
+ CopyObject(pd12, nm00)
+
+ /* AR22 allows to change order of execution */
+
+ if (AR22) {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(nm00, 0, num, i000)
+ } else {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(nm00, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(nm00, pd13, 0, num, num, AR24, 0)
+ } else {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(pd13, Local7)
+ }
+ Case (1) {
+
+ /* 1 - (pd12, p001) */
+
+ CopyObject(pd12, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(p001, Local7)
+ }
+ Case (2) {
+
+ /* 2 - (pd12, P1) */
+
+ CopyObject(pd12, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(arg1, Local7)
+ }
+ Case (3) {
+
+ /* 3 - (p000, pd13) */
+
+ CopyObject(p000, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, pd13, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(pd13, Local7)
+ }
+ Case (4) {
+
+ /* 4 - (p000, p001) */
+
+ CopyObject(p000, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(p001, Local7)
+ }
+ Case (5) {
+
+ /* 5 - (p000, P1) */
+
+ CopyObject(p000, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(arg1, Local7)
+ }
+ Case (6) {
+
+ /* 6 - (P0, pd13) */
+
+ CopyObject(arg0, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, pd13, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(pd13, Local7)
+ }
+ Case (7) {
+
+ /* 7 - (P0, p001) */
+
+ CopyObject(arg0, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(p001, Local7)
+ }
+ Case (8) {
+
+ /* 8 - (P0, P1) */
+
+ CopyObject(arg0, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(arg1, Local7)
+ }
+ Case (9) {
+
+ /* 9 - (p000, p000) */
+
+ CopyObject(p000, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, p000, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, p000, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(p000, Local7)
+ }
+ Case (10) {
+
+ /* 10 - (pd12, pd12) */
+
+ CopyObject(pd12, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, pd12, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, pd12, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(pd12, Local7)
+ }
+ Case (11) {
+
+ /* 11 - (P0, P0) */
+
+ CopyObject(arg0, nm00)
+
+ if (AR22) {
+ mfc7(nm00, 0, num, i000)
+ } else {
+ mfc8(nm00, arg0, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(nm00, arg0, 0, num, num, AR24, 0)
+ } else {
+ mfc7(nm00, 0, num, i000)
+ }
+
+ Store(nm00, Local6)
+ Store(arg0, Local7)
+ }}
+
+ } /* Case(13)/Switch(AR23) */
+
+
+ Case (14) {
+
+ /* AR23: 14 (Arg5, ) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ /* 0 - (pd12, pd13) */
+
+ CopyObject(pd12, arg5)
+
+ /* AR22 allows to change order of execution */
+
+ if (AR22) {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(arg5, 0, num, i000)
+ } else {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(arg5, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(arg5, pd13, 0, num, num, AR24, 0)
+ } else {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(pd13, Local7)
+ }
+ Case (1) {
+
+ /* 1 - (pd12, p001) */
+
+ CopyObject(pd12, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(p001, Local7)
+ }
+ Case (2) {
+
+ /* 2 - (pd12, P1) */
+
+ CopyObject(pd12, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(arg1, Local7)
+ }
+ Case (3) {
+
+ /* 3 - (p000, pd13) */
+
+ CopyObject(p000, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, pd13, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(pd13, Local7)
+ }
+ Case (4) {
+
+ /* 4 - (p000, p001) */
+
+ CopyObject(p000, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(p001, Local7)
+ }
+ Case (5) {
+
+ /* 5 - (p000, P1) */
+
+ CopyObject(p000, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(arg1, Local7)
+ }
+ Case (6) {
+
+ /* 6 - (P0, pd13) */
+
+ CopyObject(arg0, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, pd13, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(pd13, Local7)
+ }
+ Case (7) {
+
+ /* 7 - (P0, p001) */
+
+ CopyObject(arg0, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(p001, Local7)
+ }
+ Case (8) {
+
+ /* 8 - (P0, P1) */
+
+ CopyObject(arg0, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(arg1, Local7)
+ }
+ Case (9) {
+
+ /* 9 - (p000, p000) */
+
+ CopyObject(p000, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, p000, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, p000, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(p000, Local7)
+ }
+ Case (10) {
+
+ /* 10 - (pd12, pd12) */
+
+ CopyObject(pd12, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, pd12, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, pd12, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(pd12, Local7)
+ }
+ Case (11) {
+
+ /* 11 - (P0, P0) */
+
+ CopyObject(arg0, arg5)
+
+ if (AR22) {
+ mfc7(arg5, 0, num, i000)
+ } else {
+ mfc8(arg5, arg0, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg5, arg0, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg5, 0, num, i000)
+ }
+
+ Store(arg5, Local6)
+ Store(arg0, Local7)
+ }}
+
+ } /* Case(14)/Switch(AR23) */
+
+
+ Case (15) {
+
+ /* AR23: 15 (Loc4, ) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ /* 0 - (pd12, pd13) */
+
+ CopyObject(pd12, Local4)
+
+ /* AR22 allows to change order of execution */
+
+ if (AR22) {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(Local4, 0, num, i000)
+ } else {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(Local4, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(Local4, pd13, 0, num, num, AR24, 0)
+ } else {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(pd13, Local7)
+ }
+ Case (1) {
+
+ /* 1 - (pd12, p001) */
+
+ CopyObject(pd12, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(p001, Local7)
+ }
+ Case (2) {
+
+ /* 2 - (pd12, P1) */
+
+ CopyObject(pd12, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(arg1, Local7)
+ }
+ Case (3) {
+
+ /* 3 - (p000, pd13) */
+
+ CopyObject(p000, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, pd13, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(pd13, Local7)
+ }
+ Case (4) {
+
+ /* 4 - (p000, p001) */
+
+ CopyObject(p000, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(p001, Local7)
+ }
+ Case (5) {
+
+ /* 5 - (p000, P1) */
+
+ CopyObject(p000, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(arg1, Local7)
+ }
+ Case (6) {
+
+ /* 6 - (P0, pd13) */
+
+ CopyObject(arg0, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, pd13, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, pd13, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(pd13, Local7)
+ }
+ Case (7) {
+
+ /* 7 - (P0, p001) */
+
+ CopyObject(arg0, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, p001, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, p001, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(p001, Local7)
+ }
+ Case (8) {
+
+ /* 8 - (P0, P1) */
+
+ CopyObject(arg0, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, arg1, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, arg1, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(arg1, Local7)
+ }
+ Case (9) {
+
+ /* 9 - (p000, p000) */
+
+ CopyObject(p000, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, p000, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, p000, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(p000, Local7)
+ }
+ Case (10) {
+
+ /* 10 - (pd12, pd12) */
+
+ CopyObject(pd12, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, pd12, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, pd12, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(pd12, Local7)
+ }
+ Case (11) {
+
+ /* 11 - (P0, P0) */
+
+ CopyObject(arg0, Local4)
+
+ if (AR22) {
+ mfc7(Local4, 0, num, i000)
+ } else {
+ mfc8(Local4, arg0, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(Local4, arg0, 0, num, num, AR24, 0)
+ } else {
+ mfc7(Local4, 0, num, i000)
+ }
+
+ Store(Local4, Local6)
+ Store(arg0, Local7)
+ }}
+
+ } /* Case(15)/Switch(AR23) */
+
+
+ Case (16) {
+
+ /* AR23: 16 ( , Named1) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ /* 0 - (pd12, pd13) */
+
+ CopyObject(pd13, nm03)
+
+ /* AR22 allows to change order of execution */
+
+ if (AR22) {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(pd12, 0, num, i000)
+ } else {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(pd12, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(pd12, nm03, 0, num, num, AR24, 0)
+ } else {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(nm03, Local7)
+ }
+ Case (1) {
+
+ /* 1 - (pd12, p001) */
+
+ CopyObject(p001, nm03)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(nm03, Local7)
+ }
+ Case (2) {
+
+ /* 2 - (pd12, P1) */
+
+ CopyObject(arg1, nm03)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(nm03, Local7)
+ }
+ Case (3) {
+
+ /* 3 - (p000, pd13) */
+
+ CopyObject(pd13, nm03)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(nm03, Local7)
+ }
+ Case (4) {
+
+ /* 4 - (p000, p001) */
+
+ CopyObject(p001, nm03)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(nm03, Local7)
+ }
+ Case (5) {
+
+ /* 5 - (p000, P1) */
+
+ CopyObject(arg1, nm03)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(nm03, Local7)
+ }
+ Case (6) {
+
+ /* 6 - (P0, pd13) */
+
+ CopyObject(pd13, nm03)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(nm03, Local7)
+ }
+ Case (7) {
+
+ /* 7 - (P0, p001) */
+
+ CopyObject(p001, nm03)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(nm03, Local7)
+ }
+ Case (8) {
+
+ /* 8 - (P0, P1) */
+
+ CopyObject(arg1, nm03)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(nm03, Local7)
+ }
+ Case (9) {
+
+ /* 9 - (p000, p000) */
+
+ CopyObject(p000, nm03)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(nm03, Local7)
+ }
+ Case (10) {
+
+ /* 10 - (pd12, pd12) */
+
+ CopyObject(pd12, nm03)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(nm03, Local7)
+ }
+ Case (11) {
+
+ /* 11 - (P0, P0) */
+
+ CopyObject(arg0, nm03)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, nm03, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, nm03, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(nm03, Local7)
+ }}
+
+ } /* Case(16)/Switch(AR23) */
+
+
+ Case (17) {
+
+ /* AR23: 17 ( , Arg6) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ /* 0 - (pd12, pd13) */
+
+ CopyObject(pd13, arg6)
+
+ /* AR22 allows to change order of execution */
+
+ if (AR22) {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(pd12, 0, num, i000)
+ } else {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(pd12, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(pd12, arg6, 0, num, num, AR24, 0)
+ } else {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(arg6, Local7)
+ }
+ Case (1) {
+
+ /* 1 - (pd12, p001) */
+
+ CopyObject(p001, arg6)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(arg6, Local7)
+ }
+ Case (2) {
+
+ /* 2 - (pd12, P1) */
+
+ CopyObject(arg1, arg6)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(arg6, Local7)
+ }
+ Case (3) {
+
+ /* 3 - (p000, pd13) */
+
+ CopyObject(pd13, arg6)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(arg6, Local7)
+ }
+ Case (4) {
+
+ /* 4 - (p000, p001) */
+
+ CopyObject(p001, arg6)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(arg6, Local7)
+ }
+ Case (5) {
+
+ /* 5 - (p000, P1) */
+
+ CopyObject(arg1, arg6)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(arg6, Local7)
+ }
+ Case (6) {
+
+ /* 6 - (P0, pd13) */
+
+ CopyObject(pd13, arg6)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(arg6, Local7)
+ }
+ Case (7) {
+
+ /* 7 - (P0, p001) */
+
+ CopyObject(p001, arg6)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(arg6, Local7)
+ }
+ Case (8) {
+
+ /* 8 - (P0, P1) */
+
+ CopyObject(arg1, arg6)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(arg6, Local7)
+ }
+ Case (9) {
+
+ /* 9 - (p000, p000) */
+
+ CopyObject(p000, arg6)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(arg6, Local7)
+ }
+ Case (10) {
+
+ /* 10 - (pd12, pd12) */
+
+ CopyObject(pd12, arg6)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(arg6, Local7)
+ }
+ Case (11) {
+
+ /* 11 - (P0, P0) */
+
+ CopyObject(arg0, arg6)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, arg6, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, arg6, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(arg6, Local7)
+ }}
+
+ } /* Case(17)/Switch(AR23) */
+
+
+ Case (18) {
+
+ /* AR23: 18 ( , Loc5) */
+
+ Switch (ToInteger (AR20)) {
+ Case (0) {
+
+ /* 0 - (pd12, pd13) */
+
+ CopyObject(pd13, Local5)
+
+ /* AR22 allows to change order of execution */
+
+ if (AR22) {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(pd12, 0, num, i000)
+ } else {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(pd12, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ /*
+ * Initializing the second part of Package with IRefs
+ * to elements of its first part.
+ */
+ mfc8(pd12, Local5, 0, num, num, AR24, 0)
+ } else {
+ /*
+ * Initializing the first part of Package
+ */
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(Local5, Local7)
+ }
+ Case (1) {
+
+ /* 1 - (pd12, p001) */
+
+ CopyObject(p001, Local5)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(Local5, Local7)
+ }
+ Case (2) {
+
+ /* 2 - (pd12, P1) */
+
+ CopyObject(arg1, Local5)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(Local5, Local7)
+ }
+ Case (3) {
+
+ /* 3 - (p000, pd13) */
+
+ CopyObject(pd13, Local5)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(Local5, Local7)
+ }
+ Case (4) {
+
+ /* 4 - (p000, p001) */
+
+ CopyObject(p001, Local5)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(Local5, Local7)
+ }
+ Case (5) {
+
+ /* 5 - (p000, P1) */
+
+ CopyObject(arg1, Local5)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(Local5, Local7)
+ }
+ Case (6) {
+
+ /* 6 - (P0, pd13) */
+
+ CopyObject(pd13, Local5)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(Local5, Local7)
+ }
+ Case (7) {
+
+ /* 7 - (P0, p001) */
+
+ CopyObject(p001, Local5)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(Local5, Local7)
+ }
+ Case (8) {
+
+ /* 8 - (P0, P1) */
+
+ CopyObject(arg1, Local5)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(Local5, Local7)
+ }
+ Case (9) {
+
+ /* 9 - (p000, p000) */
+
+ CopyObject(p000, Local5)
+
+ if (AR22) {
+ mfc7(p000, 0, num, i000)
+ } else {
+ mfc8(p000, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(p000, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(p000, 0, num, i000)
+ }
+
+ Store(p000, Local6)
+ Store(Local5, Local7)
+ }
+ Case (10) {
+
+ /* 10 - (pd12, pd12) */
+
+ CopyObject(pd12, Local5)
+
+ if (AR22) {
+ mfc7(pd12, 0, num, i000)
+ } else {
+ mfc8(pd12, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(pd12, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(pd12, 0, num, i000)
+ }
+
+ Store(pd12, Local6)
+ Store(Local5, Local7)
+ }
+ Case (11) {
+
+ /* 11 - (P0, P0) */
+
+ CopyObject(arg0, Local5)
+
+ if (AR22) {
+ mfc7(arg0, 0, num, i000)
+ } else {
+ mfc8(arg0, Local5, 0, num, num, AR24, 0)
+ }
+
+ if (AR22) {
+ mfc8(arg0, Local5, 0, num, num, AR24, 0)
+ } else {
+ mfc7(arg0, 0, num, i000)
+ }
+
+ Store(arg0, Local6)
+ Store(Local5, Local7)
+ }}
+
+ } /* Case(18)/Switch(AR23) */
+
+ } /* Switch(AR23) */
+
+
+ /*
+ * Verifying the contents of Package by
+ * accessing elements of its first part
+ * (monotone increasing Integers) through
+ * the IRefs of its second part.
+ */
+ mfcc(Local7, num, num, i000, AR21, 0x001)
+
+ CH03("", 0, 0x002, 0, 0)
+}
+
+/*
+ * Verifying the contents of Package by
+ * accessing elements of its first part
+ * (monotone increasing Integers) through
+ * the IRefs of its second part.
+ *
+ * arg0 - Package to be verified
+ * arg1 - index inside of Package
+ * arg2 - how many elements to check
+ * arg3 - expected value of the first element of Package
+ * arg4 - type of access through the IRefs
+ * arg5 - index of error (inside the file)
+ */
+Method(mfcc, 6, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Name(i000, 0)
+ Name(targ, 0)
+
+ Store(arg2, lpN0)
+ Store(0, lpC0)
+
+ Store(arg1, targ)
+ Store(arg3, i000)
+
+ While (lpN0) {
+
+ Store(Index(arg0, targ), Local0)
+
+ if (arg4) {
+ Store(DerefOf(Local0), Local1)
+ Store(DerefOf(Local1), Local2)
+ } else {
+ Store(DerefOf(DerefOf(Local0)), Local2)
+ }
+
+ if (LNotEqual(Local2, i000)) {
+ err("", zFFF, arg5, 0, 0, Local2, i000)
+ }
+
+ Increment(i000)
+ Increment(targ)
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Verifying the contents of Package by
+ * accessing elements of its first part
+ * through the IRefs of its second part.
+ * All IRefs points to the same element.
+ *
+ * arg0 - Package to be verified
+ * arg1 - index inside of Package
+ * arg2 - how many elements to check
+ * arg3 - excpected value of element
+ * arg4 - type of access through the IRefs
+ * arg5 - index of error (inside the file)
+ */
+Method(mfce, 6, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+ Name(targ, 0)
+
+ Store(arg2, lpN0)
+ Store(0, lpC0)
+
+ Store(arg1, targ)
+
+ While (lpN0) {
+
+ Store(Index(arg0, targ), Local0)
+
+ if (arg4) {
+ Store(DerefOf(Local0), Local1)
+ Store(DerefOf(Local1), Local2)
+ } else {
+ Store(DerefOf(DerefOf(Local0)), Local2)
+ }
+
+ if (LNotEqual(Local2, arg3)) {
+ err("", zFFF, arg5, 0, 0, Local2, arg3)
+ }
+
+ Increment(targ)
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Verifying the contents of value pointed to by Reference.
+ *
+ * arg0 - Index reference
+ * arg1 - excpected value of element
+ * arg2 - index of error (inside the file)
+ */
+Method(mfd8, 3)
+{
+ Store(DerefOf(arg0), Local0)
+
+ if (LNotEqual(Local0, arg1)) {
+ err("", zFFF, arg2, 0, 0, Local0, arg1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/DECL.asl
index e02894b49..e25eb297e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/DECL.asl
@@ -1,52 +1,52 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 135:
- *
- * SUMMARY: Store of Index reference to another element of the same Package causes hang
- *
- * DESCRIPTION: infinite loops for self and cross Index-References
- * between Packages.
- *
- *
- * Checking the cross references of type (mostly) Index:
- *
- * 1. IRef type element of package refers to element of the same package.
- * 2. Cross references between Packages:
- * - IRef0 type element of package P0 refers to element package P1
- * - IRef1 type element of package P1 refers to element package P0
- */
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Common.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/SimplePkgs.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/PkgsHierarchy.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Misc1.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Misc2.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Mix.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Methods.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/GrInvest.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 135:
+ *
+ * SUMMARY: Store of Index reference to another element of the same Package causes hang
+ *
+ * DESCRIPTION: infinite loops for self and cross Index-References
+ * between Packages.
+ *
+ *
+ * Checking the cross references of type (mostly) Index:
+ *
+ * 1. IRef type element of package refers to element of the same package.
+ * 2. Cross references between Packages:
+ * - IRef0 type element of package P0 refers to element package P1
+ * - IRef1 type element of package P1 refers to element package P0
+ */
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Common.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/SimplePkgs.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/PkgsHierarchy.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Misc1.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Misc2.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Mix.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/Methods.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/GrInvest.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/GrInvest.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/GrInvest.asl
index 9cad48c08..f11766363 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/GrInvest.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/GrInvest.asl
@@ -1,1149 +1,1149 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Auxiliary tests used during investigating of the problem.
- * Without verification.
- *
- * 0x1 Outstanding allocations because of
- * AcpiExec doesn't run the unload of the table have been processed.
- * All they are caused by call to SRMT Method.
- *
- * Outstanding: 0x1 allocations after execution.
- */
-Method(mfe6)
-{
- Method(m000,, Serialized)
- {
- Name(p000, Package(16) {0x40,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x49,0x4a})
-
- if (1) {
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 9))
- Store(Index(p000, 2), Index(p000, 10))
- Store(Index(p000, 3), Index(p000, 11))
- Store(Index(p000, 4), Index(p000, 12))
- Store(Index(p000, 5), Index(p000, 13))
- Store(Index(p000, 6), Index(p000, 14))
- Store(Index(p000, 7), Index(p000, 15))
- }
- if (1) {
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 9))
- Store(Index(p000, 0), Index(p000, 10))
- Store(Index(p000, 0), Index(p000, 11))
- Store(Index(p000, 0), Index(p000, 12))
- Store(Index(p000, 0), Index(p000, 13))
- Store(Index(p000, 0), Index(p000, 14))
- Store(Index(p000, 0), Index(p000, 15))
- }
- if (1) {
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 2), Index(p000, 8))
- Store(Index(p000, 3), Index(p000, 8))
- Store(Index(p000, 4), Index(p000, 8))
- Store(Index(p000, 5), Index(p000, 8))
- Store(Index(p000, 6), Index(p000, 8))
- Store(Index(p000, 7), Index(p000, 8))
- }
- if (1) {
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 8))
- }
- }
-
- Method(m001,, Serialized)
- {
- Name(p000, Package() {0x54,0x55,0x56,0x57})
- // Name(p001, Package() {1,2,3,4})
-
- Store("----------------------------- 0, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 1, Local0 == Store(Index(p000, 0), Local0)", Debug)
-
- Store(Index(p000, 0), Local0)
-
- Store(Local0, Debug)
-
- Store("----------------------------- 2, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 3, p000 == Store(Local0, Index(p000, 1)):", Debug)
-
- Store(Local0, Index(p000, 1))
-
- Store(p000, Debug)
-
- Store("----------------------------- End.", Debug)
- }
-
- Method(m002,, Serialized)
- {
- Name(p000, Package() {0x68,0x69,0x6a,0x6b})
-
- Store("-----------------------------", Debug)
-
- Store(Index(p000, 1), Local0)
-
- Store("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", Debug)
-
- Store(Local0, Debug)
-
- Store("=============================", Debug)
- }
-
- Method(m003,, Serialized)
- {
- Name(p000, Package() {0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77})
- Name(p001, Package() {0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87})
- Name(p002, Package(8) {0x90})
- Name(p003, Package() {0xa0,0xa1,0xa2,0xa3})
- Name(p004, Package() {0xb0,0xb1,0xb2,0xb3})
-
- Store("----------------------------- 0, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 1, IRef to 1-th element of p000 (into Local0):", Debug)
-
- Index(p000, 1, Local0)
-
- Store(Local0, Debug)
-
- Store("----------------------------- 2, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 3, IRef to 2-th element of p000 (into Local1):", Debug)
-
- Index(p000, 2, Local1)
-
- Store(Local1, Debug)
-
- Store("----------------------------- 4, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 5, IRef to 3-th element of p000 (again into Local1):", Debug)
-
- Index(p000, 3, Local1)
-
- Store(Local1, Debug)
-
- Store("----------------------------- 6, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 7, IRef to 4-th element of p000 (into Local2):", Debug)
-
- Index(p000, 4, Local2)
-
- Store(Local2, Debug)
-
- Store("----------------------------- 8, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 9, IRef to 4-th element of p000 (into Local3):", Debug)
-
- Index(p000, 4, Local3)
-
- Store(Local3, Debug)
-
- Store("----------------------------- 10, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 11, IRef to 1-th element of p001 (into Local4):", Debug)
-
- Index(p001, 1, Local4)
-
- Store(Local4, Debug)
-
- Store("----------------------------- 12, p001:", Debug)
-
- Store(p001, Debug)
-
- Store("----------------------------- 13, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 14, IRef to 1-th element of p001 (Local4) into 5-th element of p000:", Debug)
-
- Store(Local4, Index(p000, 5))
-
- Store("----------------------------- 15, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 16, p001:", Debug)
-
- Store(p001, Debug)
-
- //////////////////////////////
-
- Store("----------------------------- 17, IRef to 2-th element of p001 (into Local5):", Debug)
-
- Index(p001, 2, Local5)
-
- Store(Local5, Debug)
-
- Store("----------------------------- 18, p001:", Debug)
-
- Store(p001, Debug)
-
- Store("----------------------------- 19, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 20, IRef to 2-th element of p001 (Local5) into 6-th element of p000:", Debug)
-
- Store(Local5, Index(p000, 6))
-
-
- Store("----------------------------- 21, p001:", Debug)
-
- Store(p001, Debug)
-
- //////////////////////////////
-
- Store("----------------------------- 22, p000:", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- 23, p000:", Debug)
-
- Store(0, Local0)
-
- Store(p000, Debug)
-
- Store("----------------------------- 24, Local2 == IRef to 4-th element of p000:", Debug)
-
- Store(Local2, Debug)
-
- //////////////////////////////
-
- Store("----------------------------- 25, p002:", Debug)
-
- Store(p002, Debug)
-
- Store("----------------------------- 26, p002:", Debug)
-
- Store(0x93, Index(p002, 3))
-
- Store(p002, Debug)
-
- Store("----------------------------- 27, p002:", Debug)
-
- Store(p003, Index(p002, 4))
-
- Store(p002, Debug)
-
- Store("----------------------------- 28, p002:", Debug)
-
- Store(p004, Index(p002, 6))
-
- Store(p002, Debug)
-
- Store("----------------------------- 29, p002:", Debug)
-
- Store(p003, Index(p002, 7))
-
- Store(p002, Debug)
-
- Store("----------------------------- 30, p003:", Debug)
-
- Store(p003, Debug)
-
- Store("----------------------------- End.", Debug)
- }
-
- Method(m004,, Serialized)
- {
- Name(p000, Package() {0x54,0x55,0x56,0x57})
-
- Store("----------------------------- 0", Debug)
-
- Store(Index(p000, 0), Local0)
-
- Store("----------------------------- 1", Debug)
-
- Store(Local0, Index(p000, 1))
-
- Store("----------------------------- 2", Debug)
-
- Store(p000, Debug)
-
- Store("----------------------------- End.", Debug)
-
- Store(0, Local0)
- }
-
- Method(m005,, Serialized)
- {
- Name(p000, Package() {0x54,0x55,0x56,0x57})
- Name(p001, Package() {0x64,0x65,0x66,0x67})
-
- Store(Index(p000, 0), Local0)
- Store(Local0, Index(p001, 1))
-
- Store(p000, Debug)
- Store(Local0, Debug)
- }
-
- Method(m006,, Serialized)
- {
- Name(p000, Package() {0x54,0x55})
- Name(p001, Package() {0x54,0x55,0x56,0x57})
-
- Store(Index(p000, 0), Index(p001, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(0x29, Index(p000, 1))
- Store(p000, Debug)
- }
-
- Method(m007,, Serialized)
- {
- Name(p000, Package(16) {0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57})
- Name(p001, Package() {0x54,0x55,0x56,0x57})
-
- Store(Index(p000, 0), Index(p000, 4))
- Store(Index(p000, 0), Index(p000, 4))
- Store(Index(p000, 1), Index(p000, 4))
- Store(Index(p000, 2), Index(p000, 5))
- Store(Index(p000, 3), Index(p000, 6))
- Store(Index(p000, 4), Index(p000, 7))
-
- Store(Index(p001, 0), Index(p000, 4))
- Store(Index(p001, 0), Index(p000, 8))
- Store(Index(p001, 0), Index(p000, 8))
- Store(Index(p001, 0), Index(p000, 9))
-
- Store(p000, Debug)
- }
-
- Method(m008,, Serialized)
- {
- Name(i000, 0xabcd0001)
- Name(p000, Package() {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
- 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f})
- Name(p001, Package() {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
- 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f})
-
- Store(RefOf(i000), Index(p000, 0))
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p001, 0), Index(p000, 1))
- }
-
- Method(m009,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
-
- Store(Index(p000, 1), Index(p001, 2))
- Store(Index(p001, 3), Index(p000, 4))
-
- Store(Index(p000, 0), Index(p001, 4))
- }
-
- Method(m00a,, Serialized)
- {
-// Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7})
-// Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
-
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb})
-
- Store(0x80, Index(p001, 3))
- Store(0x90, Index(p001, 4))
-
- Store(Index(p000, 1), Index(p001, 6))
- Store(Index(p000, 2), Index(p001, 7))
- Store(Index(p000, 3), Index(p001, 8))
- Store(Index(p000, 4), Index(p001, 9))
- Store(Index(p000, 5), Index(p001, 10))
-
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
- Store(Index(p000, 4), Index(p001, 4))
- Store(p000, Debug)
- Store(p001, Debug)
- }
-
- Method(m00b,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
- Store(Index(p000, 4), Index(p001, 4))
- Store(Index(p000, 5), Index(p001, 5))
-
- Store(Index(p000, 1), Index(p001, 2))
- Store(Index(p001, 3), Index(p000, 4))
-
- Store(p000, Debug)
- Store(p001, Debug)
- }
-
- Method(m00c,, Serialized)
- {
-// Name(i000, 0xabcd0000)
-// Name(i001, 0xabcd0001)
-// Name(i002, 0xabcd0002)
-// Name(i003, 0xabcd0003)
-
- Name(p000, Package() {0xa0,0xa1,0xa2})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4})
-
- Name(p002, Package(16) {0xc0,0xc1,0xc2})
- Store(Index(p001, 0), Index(p002, 0))
- Store(Index(p001, 0), Index(p002, 1))
- Store(Index(p001, 0), Index(p002, 2))
- Store(Index(p001, 0), Index(p002, 3))
- Store(Index(p001, 0), Index(p002, 4))
- Store(Index(p001, 0), Index(p002, 5))
- Store(Index(p001, 0), Index(p002, 6))
- Store(Index(p001, 0), Index(p002, 7))
- Store(Index(p001, 0), Index(p002, 8))
- Store(Index(p001, 0), Index(p002, 9))
- Store(Index(p001, 0), Index(p002, 10))
- Store(Index(p001, 0), Index(p002, 11))
- Store(Index(p001, 0), Index(p002, 12))
-
- Store(Index(p000, 1), Index(p001, 3))
- Store(Index(p000, 2), Index(p001, 4))
-
-// Add(Local0, Local1, Local7)
-// Add(Local2, Local3, Local7)
-// Add(Local4, Local5, Local7)
-// Add(Local6, Local7, Local7)
-// Return (Local7)
- }
-
- Method(m00d,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc})
-
- Store(Index(p001, 1), Index(p000, 2))
- Store(Index(p000, 3), Index(p001, 4))
-
- Store(Index(p000, 5), Index(p000, 6))
- Store(Index(p000, 7), Index(p000, 8))
-
- Store(Index(p001, 9), Index(p001, 10))
-
- Store(p000, Debug)
- Store(p001, Debug)
- }
-
- Method(m00e,, Serialized)
- {
- Name(p000, Package() {0x54,0x55,0x56,0x57})
- Name(p001, Package() {0x64,0x65,0x66,0x67})
-
-
- Store(Index(p000, 0), Local0)
- Store(Local0, Index(p001, 1))
-
- Store(Index(p000, 0), Index(p000, 1))
- }
-
- Method(m00f,, Serialized)
- {
- Name(p000, Package() {0x54,0x55,0x56,0x57})
-
-
- Store(Index(p000, 0), Local0)
- Store(Local0, Index(p000, 1))
-
- Store(Index(p000, 0), Index(p000, 1))
- }
-
- Method(m010,, Serialized)
- {
- Name(p000, Package() {0x54,0x55,0x56,0x57})
- Store(Index(p000, 0), Index(p000, 0))
- }
-
- Method(m011,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
-
- Store(Index(p001, 0), Index(p000, 1))
- Store(Index(p000, 2), Index(p000, 3))
- Store(Index(p000, 4), Index(p000, 5))
- Store(Index(p001, 6), Index(p001, 7))
- }
-
- Method(m012,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
-
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
- Store(Index(p000, 4), Index(p001, 4))
- Store(Index(p000, 5), Index(p001, 5))
-
- Store(Index(p000, 1), Index(p001, 2))
- Store(Index(p001, 3), Index(p000, 4))
-
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
-
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
-
- Store(p000, Debug)
- Store(p001, Debug)
- }
-
- Method(m013,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4})
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
- }
-
- Method(m014,, Serialized)
- {
- Name(p000, Package() {
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
- })
- Name(p001, Package() {
- 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
- 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
- 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
- 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
- })
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p001, 1), Index(p000, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p001, 3), Index(p000, 3))
- Store(Index(p000, 4), Index(p001, 4))
- Store(Index(p001, 5), Index(p000, 5))
- Store(Index(p000, 6), Index(p001, 6))
- Store(Index(p001, 7), Index(p000, 7))
-
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p001, 1), Index(p000, 1))
- Store(Index(p001, 1), Index(p000, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p001, 3), Index(p000, 3))
- Store(Index(p001, 3), Index(p000, 3))
- Store(Index(p000, 4), Index(p001, 4))
- Store(Index(p000, 4), Index(p001, 4))
- Store(Index(p001, 5), Index(p000, 5))
- Store(Index(p001, 5), Index(p000, 5))
- Store(Index(p000, 6), Index(p001, 6))
- Store(Index(p000, 6), Index(p001, 6))
- Store(Index(p001, 7), Index(p000, 7))
- Store(Index(p001, 7), Index(p000, 7))
-
- Store(Index(p000, 0), Local0)
- Store(Local0, Index(p001, 0))
- Store(Index(p000, 0), Local0)
- Store(Local0, Index(p001, 0))
- }
-
- Method(m015,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3})
-
- Store(p000, Index(p001, 0))
- Store(0xabcd0000, Index(p001, 1))
- Store(0xabcd0001, Index(p001, 0))
-
- Store(0xabcd0001, Local0)
- Store(Local0, Index(p001, 2))
- Store(Local0, Index(p001, 0))
- Store(Local0, Index(p001, 1))
- Store(Local0, Index(p001, 2))
-
- Store(p001, Debug)
- }
-
- Method(m016,, Serialized)
- {
- Name(p000, Package() {0xabcd0000})
- Name(p001, Package() {0xabcd0001, 0xabcd0002})
-
- CopyObject(p001, p000)
-
- Store(p001, Debug)
- }
-
- Method(m017,, Serialized)
- {
- Name(p000, Package() {0x20, 0x21})
- Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
-
- Method(m000, 1)
- {
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 1), Index(arg0, 1))
-
-// + self Store(Index(p000, 0), Index(arg0, 0)) arg0 - p000
-// Store(Index(arg0, 2), Index(p001, 2))
-// Store(Index(arg0, 3), Index(p001, 3))
-// Store(Index(arg0, 2), Index(arg1, 2))
-// Store(Index(arg0, 3), Index(arg1, 3))
-// Store(Index(arg1, 2), Index(arg0, 2))
-// Store(Index(arg1, 3), Index(arg0, 3))
-// .................
- }
- Method(m001, 1)
- {
- m000(arg0)
- }
-
- Method(m002, 1)
- {
- m001(arg0)
- }
-
-
- m000(p001)
-
- m000(Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
-
- m000(p000)
- Store(p000, Debug)
- Store(p001, Debug)
- }
-
- Method(m018,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
-
- Store(Index(p000, 0), Index(p001, 1))
- Store(Index(p001, 2), Index(p000, 3))
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
- Store(Index(p000, 4), Index(p001, 4))
- Store(Index(p000, 5), Index(p001, 5))
-
- Store(Index(p001, 2), Index(p000, 3))
- Store(Index(p000, 4), Index(p001, 5))
- }
-
- Method(m019,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
- Name(p002, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
- Method(m000)
- {
- Store(Index(p000, 0), Index(p001, 0))
- }
-
- Store(Index(p000, 0), Index(p002, 0))
- Store(Index(p000, 1), Index(p002, 1))
- Store(Index(p000, 2), Index(p002, 2))
- Store(Index(p000, 3), Index(p002, 3))
- Store(Refof(p000), Index(p002, 4))
- Store(Index(p000, 5), Index(p002, 5))
-
- m000()
-
- Store(Index(p000, 0), Index(p001, 0))
- }
-
- Method(m01a,, Serialized)
- {
- Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
- Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Refof(p000), Index(p001, 1))
- }
-
- Method(m01b,, Serialized)
- {
- Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
- Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
-
- Method(m000, 1)
- {
- Store(Index(p000, 0), Index(arg0, 0))
-
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 0))
-
- Store(Index(arg0, 0), Index(p000, 1))
- Store(Index(arg0, 0), Index(p000, 1))
- Store(Index(arg0, 0), Index(p000, 1))
-
- Store(Index(arg0, 0), Index(p000, 1))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 2), Index(p000, 1))
-
- Store(Index(arg0, 0), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 2), Index(p000, 2))
- Store(Index(arg0, 3), Index(p000, 3))
- Store(Index(arg0, 4), Index(p000, 4))
- Store(Index(arg0, 5), Index(p000, 5))
-
-
- Store(Index(arg0, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(arg0, 2), Index(p000, 2))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(arg0, 3), Index(p000, 3))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(arg0, 4), Index(p000, 4))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(arg0, 5), Index(p000, 5))
- Store(Index(p000, 0), Index(arg0, 0))
- }
- Method(m001, 1)
- {
- Store("Start m001", Debug)
- m000(arg0)
- Store("Finish m001", Debug)
- }
-
- Method(m002, 1)
- {
- m001(arg0)
- }
-
- Method(m003, 1)
- {
- m002(arg0)
- }
-
- Method(m004, 1)
- {
- Store("Start m004", Debug)
- m003(arg0)
- Store("Finish m004", Debug)
- }
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 0), Index(p001, 0))
-
- m004(p000)
- m000(p001)
- m001(p000)
- m002(p001)
- m003(p000)
- m004(p001)
- m000(p000)
- m001(p001)
- m002(p000)
- m003(p001)
- m004(p000)
- }
-
- Method(m01c,, Serialized)
- {
- Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
- Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
- Name(p002, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
-
- Method(m000, 1)
- {
- Store(Index(arg0, 0), Index(p000, 1))
- }
-
- m000(p001)
- m000(p000)
- m000(p001)
- m000(p001)
- m000(p000)
- m000(p001)
- }
-
- Method(m01d,, Serialized)
- {
- Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
- Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
-
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p001, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p001, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p001, 0), Index(p000, 0))
-
- Store(Index(p000, 1), Index(p001, 1))
- Store(p000, Index(p001, 1))
- }
-
- Method(m01e,, Serialized)
- {
- Name(p000, Package() {0x10, 0x11})
- Name(p001, Package() {0x20, 0x21})
-
- Method(m000, 1)
- {
- Store(Index(p000, 0), Index(arg0, 0))
-
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(arg0, 0), Index(p000, 0))
- Store(Index(arg0, 0), Index(p000, 1))
- Store(Index(arg0, 0), Index(arg0, 0))
- Store(Index(arg0, 0), Index(arg0, 1))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(arg0, 1))
- Store(Index(arg0, 1), Index(arg0, 1))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 1), Index(p000, 0))
- Store(Index(p000, 1), Index(p000, 1))
- Store(Index(p000, 1), Index(arg0, 0))
- Store(Index(p000, 1), Index(arg0, 1))
- Store(Index(arg0, 0), Index(p000, 0))
- Store(Index(arg0, 0), Index(p000, 0))
- Store(Index(arg0, 0), Index(p000, 0))
- Store(Index(arg0, 0), Index(p000, 1))
- Store(Index(arg0, 0), Index(p000, 1))
- Store(Index(arg0, 0), Index(p000, 1))
- Store(Index(arg0, 0), Index(arg0, 0))
- Store(Index(arg0, 0), Index(arg0, 0))
- Store(Index(arg0, 0), Index(arg0, 0))
- Store(Index(arg0, 0), Index(arg0, 1))
- Store(Index(arg0, 0), Index(arg0, 1))
- Store(Index(arg0, 0), Index(arg0, 1))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 0))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(p000, 1))
- Store(Index(arg0, 1), Index(arg0, 1))
- Store(Index(arg0, 1), Index(arg0, 1))
- Store(Index(arg0, 1), Index(arg0, 1))
- Store(Index(arg0, 1), Index(arg0, 1))
- Store(Index(arg0, 1), Index(arg0, 1))
- Store(Index(arg0, 1), Index(arg0, 1))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 0))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 0))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 0), Index(arg0, 1))
- Store(Index(p000, 1), Index(p000, 0))
- Store(Index(p000, 1), Index(p000, 0))
- Store(Index(p000, 1), Index(p000, 0))
- Store(Index(p000, 1), Index(p000, 1))
- Store(Index(p000, 1), Index(p000, 1))
- Store(Index(p000, 1), Index(p000, 1))
- Store(Index(p000, 1), Index(arg0, 0))
- Store(Index(p000, 1), Index(arg0, 0))
- Store(Index(p000, 1), Index(arg0, 0))
- Store(Index(p000, 1), Index(arg0, 1))
- Store(Index(p000, 1), Index(arg0, 1))
- Store(Index(p000, 1), Index(arg0, 1))
- }
- Method(m001, 1)
- {
- m000(arg0)
- }
-
- Method(m002, 1)
- {
- m001(arg0)
- }
-
- m000(Package(2) {0x10,0x11})
- m000(Package(4) {0x20,0x21,0x22,0x23})
-
- m000(Package(4) {0x30,0x31,0x32,0x33})
- m000(Package(4) {0x40,0x41,0x42,0x43})
- m000(Package(4) {0x50,0x51,0x52,0x53})
- m000(Package(4) {0x60,0x61,0x62,0x63})
- m000(Package(4) {0x70,0x71,0x72,0x73})
- m000(Package(4) {0x80,0x81,0x82,0x83})
- m000(Package(4) {0x40,0x41,0x42,0x43})
- m000(Package(4) {0x40,0x41,0x42,0x43})
- m000(Package(4) {0x40,0x41,0x42,0x43})
- m000(Package(4) {0x40,0x41,0x42,0x43})
- m000(Package(4) {0x40,0x41,0x42,0x43})
- m000(Package(4) {0x40,0x41,0x42,0x43})
-
- m000(Package(7) {0x40,0x41,0x42,0x43})
- m000(Package(7) {0x40,0x41,0x42,0x43})
- m000(Package(9) {0x30,0x31,0x32,0x33})
- m000(Package(18) {0x30,0x31,0x32,0x33})
- m001(Package(18) {0x30,0x31,0x32,0x33})
- m001(Package(18) {0x30,0x31,0x32,0x33})
- m001(Package(18) {0x30,0x31,0x32,0x33})
- m001(Package(18) {0x30,0x31,0x32,0x33})
- m001(Package(18) {0x30,0x31,0x32,0x33})
- m002(Package(18) {0x30,0x31,0x32,0x33})
- m002(Package(18) {0x30,0x31,0x32,0x33})
- m002(Package(18) {0x30,0x31,0x32,0x33})
- m002(Package(18) {0x30,0x31,0x32,0x33})
- m002(Package(18) {0x30,0x31,0x32,0x33})
-
-
- m000(p000)
- m000(p001)
- m001(p000)
- m001(p001)
- m002(p000)
- m002(p001)
- }
-
- Method(m01f,, Serialized)
- {
- Name(s900, "qwertyuiop")
-
- Method(m000, 1)
- {
- Store(RefOf(arg0), Local0)
- Store(DerefOf(Local0), Local7)
-
- return (Local7)
- }
-
- Method(m001, 1)
- {
- Store(RefOf(arg0), Local0)
- Store(DerefOf(Local0), Local7)
-
- Store(m000(Local7), Local0)
- }
-
- Store(Index(s900, 0), Local0)
- m001(Local0)
- Store(DerefOf(Local0), Local2)
-
- Store(Index(Package(){0xabcd0000}, 0), Local0)
- m001(Local0)
- Store(DerefOf(Local0), Local2)
- }
-
- Method(m020)
- {
- Method(m000,, Serialized)
- {
- Name(p953, Package() {0xabcd2018, 0xabcd2019})
- Name(p954, Package() {0xabcd2018, 0xabcd2019})
- CopyObject(p954, p953)
- }
- m000()
- }
-
- Method(m021)
- {
- Method(m000, 1)
- {
- Store(0xabcd0000, arg0)
- }
-
- Method(m001,, Serialized)
- {
- Name(pp00, Package() {0xabcd0001})
- Name(p000, Package() {0xabcd0002, 0xabcd0003})
- Name(p001, Package() {0xabcd0004, 0xabcd0005})
-
-
- Store(RefOf(p000), Local0)
- m000(Local0)
- CopyObject(p001, p000)
-
- }
-
- m001()
- }
-
- Method(m022,, Serialized)
- {
- Name(i000, 0xabcd0000)
- Name(p000, Package() {0xabcd0001})
-
- CopyObject(i000, p000)
- Store(i000, p000)
- }
-
- Method(m023,, Serialized)
- {
- Name(p000, Package() {0xabcd0000})
- Name(p001, Package() {0xabcd0001, 0xabcd0002})
-
- CopyObject(p000, p001)
- CopyObject(p001, p000)
- }
-
- Method(m024,, Serialized)
- {
- Name(p000, Package() {0xabcd0000})
- Name(i000, 0xabcd0000)
- CopyObject(p000, i000)
-
- m006()
- m021()
- m022()
- m023()
-
- if (1) {
- m000()
- m001()
- m002()
- m003()
- m004()
- m005()
- m006()
- m007()
- m008()
- m009()
- m00a()
- m00b()
- m00c()
- m00d()
- m00e()
- m00f()
- m010()
- m011()
- m012()
- m013()
- m014()
- m015()
- m016()
- m017()
- m018()
- m019()
- m01a()
- m01b()
- m01c()
- m01d()
- m01e()
- m01f()
- m020()
- m021()
- m022()
- m023()
- }
- }
-
- SRMT("mfe6")
- m024()
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Auxiliary tests used during investigating of the problem.
+ * Without verification.
+ *
+ * 0x1 Outstanding allocations because of
+ * AcpiExec doesn't run the unload of the table have been processed.
+ * All they are caused by call to SRMT Method.
+ *
+ * Outstanding: 0x1 allocations after execution.
+ */
+Method(mfe6)
+{
+ Method(m000,, Serialized)
+ {
+ Name(p000, Package(16) {0x40,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x49,0x4a})
+
+ if (1) {
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 9))
+ Store(Index(p000, 2), Index(p000, 10))
+ Store(Index(p000, 3), Index(p000, 11))
+ Store(Index(p000, 4), Index(p000, 12))
+ Store(Index(p000, 5), Index(p000, 13))
+ Store(Index(p000, 6), Index(p000, 14))
+ Store(Index(p000, 7), Index(p000, 15))
+ }
+ if (1) {
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 9))
+ Store(Index(p000, 0), Index(p000, 10))
+ Store(Index(p000, 0), Index(p000, 11))
+ Store(Index(p000, 0), Index(p000, 12))
+ Store(Index(p000, 0), Index(p000, 13))
+ Store(Index(p000, 0), Index(p000, 14))
+ Store(Index(p000, 0), Index(p000, 15))
+ }
+ if (1) {
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 2), Index(p000, 8))
+ Store(Index(p000, 3), Index(p000, 8))
+ Store(Index(p000, 4), Index(p000, 8))
+ Store(Index(p000, 5), Index(p000, 8))
+ Store(Index(p000, 6), Index(p000, 8))
+ Store(Index(p000, 7), Index(p000, 8))
+ }
+ if (1) {
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 8))
+ }
+ }
+
+ Method(m001,, Serialized)
+ {
+ Name(p000, Package() {0x54,0x55,0x56,0x57})
+ // Name(p001, Package() {1,2,3,4})
+
+ Store("----------------------------- 0, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 1, Local0 == Store(Index(p000, 0), Local0)", Debug)
+
+ Store(Index(p000, 0), Local0)
+
+ Store(Local0, Debug)
+
+ Store("----------------------------- 2, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 3, p000 == Store(Local0, Index(p000, 1)):", Debug)
+
+ Store(Local0, Index(p000, 1))
+
+ Store(p000, Debug)
+
+ Store("----------------------------- End.", Debug)
+ }
+
+ Method(m002,, Serialized)
+ {
+ Name(p000, Package() {0x68,0x69,0x6a,0x6b})
+
+ Store("-----------------------------", Debug)
+
+ Store(Index(p000, 1), Local0)
+
+ Store("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", Debug)
+
+ Store(Local0, Debug)
+
+ Store("=============================", Debug)
+ }
+
+ Method(m003,, Serialized)
+ {
+ Name(p000, Package() {0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77})
+ Name(p001, Package() {0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87})
+ Name(p002, Package(8) {0x90})
+ Name(p003, Package() {0xa0,0xa1,0xa2,0xa3})
+ Name(p004, Package() {0xb0,0xb1,0xb2,0xb3})
+
+ Store("----------------------------- 0, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 1, IRef to 1-th element of p000 (into Local0):", Debug)
+
+ Index(p000, 1, Local0)
+
+ Store(Local0, Debug)
+
+ Store("----------------------------- 2, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 3, IRef to 2-th element of p000 (into Local1):", Debug)
+
+ Index(p000, 2, Local1)
+
+ Store(Local1, Debug)
+
+ Store("----------------------------- 4, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 5, IRef to 3-th element of p000 (again into Local1):", Debug)
+
+ Index(p000, 3, Local1)
+
+ Store(Local1, Debug)
+
+ Store("----------------------------- 6, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 7, IRef to 4-th element of p000 (into Local2):", Debug)
+
+ Index(p000, 4, Local2)
+
+ Store(Local2, Debug)
+
+ Store("----------------------------- 8, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 9, IRef to 4-th element of p000 (into Local3):", Debug)
+
+ Index(p000, 4, Local3)
+
+ Store(Local3, Debug)
+
+ Store("----------------------------- 10, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 11, IRef to 1-th element of p001 (into Local4):", Debug)
+
+ Index(p001, 1, Local4)
+
+ Store(Local4, Debug)
+
+ Store("----------------------------- 12, p001:", Debug)
+
+ Store(p001, Debug)
+
+ Store("----------------------------- 13, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 14, IRef to 1-th element of p001 (Local4) into 5-th element of p000:", Debug)
+
+ Store(Local4, Index(p000, 5))
+
+ Store("----------------------------- 15, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 16, p001:", Debug)
+
+ Store(p001, Debug)
+
+ //////////////////////////////
+
+ Store("----------------------------- 17, IRef to 2-th element of p001 (into Local5):", Debug)
+
+ Index(p001, 2, Local5)
+
+ Store(Local5, Debug)
+
+ Store("----------------------------- 18, p001:", Debug)
+
+ Store(p001, Debug)
+
+ Store("----------------------------- 19, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 20, IRef to 2-th element of p001 (Local5) into 6-th element of p000:", Debug)
+
+ Store(Local5, Index(p000, 6))
+
+
+ Store("----------------------------- 21, p001:", Debug)
+
+ Store(p001, Debug)
+
+ //////////////////////////////
+
+ Store("----------------------------- 22, p000:", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 23, p000:", Debug)
+
+ Store(0, Local0)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- 24, Local2 == IRef to 4-th element of p000:", Debug)
+
+ Store(Local2, Debug)
+
+ //////////////////////////////
+
+ Store("----------------------------- 25, p002:", Debug)
+
+ Store(p002, Debug)
+
+ Store("----------------------------- 26, p002:", Debug)
+
+ Store(0x93, Index(p002, 3))
+
+ Store(p002, Debug)
+
+ Store("----------------------------- 27, p002:", Debug)
+
+ Store(p003, Index(p002, 4))
+
+ Store(p002, Debug)
+
+ Store("----------------------------- 28, p002:", Debug)
+
+ Store(p004, Index(p002, 6))
+
+ Store(p002, Debug)
+
+ Store("----------------------------- 29, p002:", Debug)
+
+ Store(p003, Index(p002, 7))
+
+ Store(p002, Debug)
+
+ Store("----------------------------- 30, p003:", Debug)
+
+ Store(p003, Debug)
+
+ Store("----------------------------- End.", Debug)
+ }
+
+ Method(m004,, Serialized)
+ {
+ Name(p000, Package() {0x54,0x55,0x56,0x57})
+
+ Store("----------------------------- 0", Debug)
+
+ Store(Index(p000, 0), Local0)
+
+ Store("----------------------------- 1", Debug)
+
+ Store(Local0, Index(p000, 1))
+
+ Store("----------------------------- 2", Debug)
+
+ Store(p000, Debug)
+
+ Store("----------------------------- End.", Debug)
+
+ Store(0, Local0)
+ }
+
+ Method(m005,, Serialized)
+ {
+ Name(p000, Package() {0x54,0x55,0x56,0x57})
+ Name(p001, Package() {0x64,0x65,0x66,0x67})
+
+ Store(Index(p000, 0), Local0)
+ Store(Local0, Index(p001, 1))
+
+ Store(p000, Debug)
+ Store(Local0, Debug)
+ }
+
+ Method(m006,, Serialized)
+ {
+ Name(p000, Package() {0x54,0x55})
+ Name(p001, Package() {0x54,0x55,0x56,0x57})
+
+ Store(Index(p000, 0), Index(p001, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(0x29, Index(p000, 1))
+ Store(p000, Debug)
+ }
+
+ Method(m007,, Serialized)
+ {
+ Name(p000, Package(16) {0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57})
+ Name(p001, Package() {0x54,0x55,0x56,0x57})
+
+ Store(Index(p000, 0), Index(p000, 4))
+ Store(Index(p000, 0), Index(p000, 4))
+ Store(Index(p000, 1), Index(p000, 4))
+ Store(Index(p000, 2), Index(p000, 5))
+ Store(Index(p000, 3), Index(p000, 6))
+ Store(Index(p000, 4), Index(p000, 7))
+
+ Store(Index(p001, 0), Index(p000, 4))
+ Store(Index(p001, 0), Index(p000, 8))
+ Store(Index(p001, 0), Index(p000, 8))
+ Store(Index(p001, 0), Index(p000, 9))
+
+ Store(p000, Debug)
+ }
+
+ Method(m008,, Serialized)
+ {
+ Name(i000, 0xabcd0001)
+ Name(p000, Package() {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
+ 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f})
+ Name(p001, Package() {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
+ 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f})
+
+ Store(RefOf(i000), Index(p000, 0))
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p001, 0), Index(p000, 1))
+ }
+
+ Method(m009,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
+
+ Store(Index(p000, 1), Index(p001, 2))
+ Store(Index(p001, 3), Index(p000, 4))
+
+ Store(Index(p000, 0), Index(p001, 4))
+ }
+
+ Method(m00a,, Serialized)
+ {
+// Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7})
+// Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
+
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb})
+
+ Store(0x80, Index(p001, 3))
+ Store(0x90, Index(p001, 4))
+
+ Store(Index(p000, 1), Index(p001, 6))
+ Store(Index(p000, 2), Index(p001, 7))
+ Store(Index(p000, 3), Index(p001, 8))
+ Store(Index(p000, 4), Index(p001, 9))
+ Store(Index(p000, 5), Index(p001, 10))
+
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+ Store(Index(p000, 4), Index(p001, 4))
+ Store(p000, Debug)
+ Store(p001, Debug)
+ }
+
+ Method(m00b,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+ Store(Index(p000, 4), Index(p001, 4))
+ Store(Index(p000, 5), Index(p001, 5))
+
+ Store(Index(p000, 1), Index(p001, 2))
+ Store(Index(p001, 3), Index(p000, 4))
+
+ Store(p000, Debug)
+ Store(p001, Debug)
+ }
+
+ Method(m00c,, Serialized)
+ {
+// Name(i000, 0xabcd0000)
+// Name(i001, 0xabcd0001)
+// Name(i002, 0xabcd0002)
+// Name(i003, 0xabcd0003)
+
+ Name(p000, Package() {0xa0,0xa1,0xa2})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4})
+
+ Name(p002, Package(16) {0xc0,0xc1,0xc2})
+ Store(Index(p001, 0), Index(p002, 0))
+ Store(Index(p001, 0), Index(p002, 1))
+ Store(Index(p001, 0), Index(p002, 2))
+ Store(Index(p001, 0), Index(p002, 3))
+ Store(Index(p001, 0), Index(p002, 4))
+ Store(Index(p001, 0), Index(p002, 5))
+ Store(Index(p001, 0), Index(p002, 6))
+ Store(Index(p001, 0), Index(p002, 7))
+ Store(Index(p001, 0), Index(p002, 8))
+ Store(Index(p001, 0), Index(p002, 9))
+ Store(Index(p001, 0), Index(p002, 10))
+ Store(Index(p001, 0), Index(p002, 11))
+ Store(Index(p001, 0), Index(p002, 12))
+
+ Store(Index(p000, 1), Index(p001, 3))
+ Store(Index(p000, 2), Index(p001, 4))
+
+// Add(Local0, Local1, Local7)
+// Add(Local2, Local3, Local7)
+// Add(Local4, Local5, Local7)
+// Add(Local6, Local7, Local7)
+// Return (Local7)
+ }
+
+ Method(m00d,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc})
+
+ Store(Index(p001, 1), Index(p000, 2))
+ Store(Index(p000, 3), Index(p001, 4))
+
+ Store(Index(p000, 5), Index(p000, 6))
+ Store(Index(p000, 7), Index(p000, 8))
+
+ Store(Index(p001, 9), Index(p001, 10))
+
+ Store(p000, Debug)
+ Store(p001, Debug)
+ }
+
+ Method(m00e,, Serialized)
+ {
+ Name(p000, Package() {0x54,0x55,0x56,0x57})
+ Name(p001, Package() {0x64,0x65,0x66,0x67})
+
+
+ Store(Index(p000, 0), Local0)
+ Store(Local0, Index(p001, 1))
+
+ Store(Index(p000, 0), Index(p000, 1))
+ }
+
+ Method(m00f,, Serialized)
+ {
+ Name(p000, Package() {0x54,0x55,0x56,0x57})
+
+
+ Store(Index(p000, 0), Local0)
+ Store(Local0, Index(p000, 1))
+
+ Store(Index(p000, 0), Index(p000, 1))
+ }
+
+ Method(m010,, Serialized)
+ {
+ Name(p000, Package() {0x54,0x55,0x56,0x57})
+ Store(Index(p000, 0), Index(p000, 0))
+ }
+
+ Method(m011,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
+
+ Store(Index(p001, 0), Index(p000, 1))
+ Store(Index(p000, 2), Index(p000, 3))
+ Store(Index(p000, 4), Index(p000, 5))
+ Store(Index(p001, 6), Index(p001, 7))
+ }
+
+ Method(m012,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+ Store(Index(p000, 4), Index(p001, 4))
+ Store(Index(p000, 5), Index(p001, 5))
+
+ Store(Index(p000, 1), Index(p001, 2))
+ Store(Index(p001, 3), Index(p000, 4))
+
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+
+ Store(p000, Debug)
+ Store(p001, Debug)
+ }
+
+ Method(m013,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4})
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ }
+
+ Method(m014,, Serialized)
+ {
+ Name(p000, Package() {
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
+ })
+ Name(p001, Package() {
+ 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
+ 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
+ 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
+ 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
+ })
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p001, 1), Index(p000, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p001, 3), Index(p000, 3))
+ Store(Index(p000, 4), Index(p001, 4))
+ Store(Index(p001, 5), Index(p000, 5))
+ Store(Index(p000, 6), Index(p001, 6))
+ Store(Index(p001, 7), Index(p000, 7))
+
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p001, 1), Index(p000, 1))
+ Store(Index(p001, 1), Index(p000, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p001, 3), Index(p000, 3))
+ Store(Index(p001, 3), Index(p000, 3))
+ Store(Index(p000, 4), Index(p001, 4))
+ Store(Index(p000, 4), Index(p001, 4))
+ Store(Index(p001, 5), Index(p000, 5))
+ Store(Index(p001, 5), Index(p000, 5))
+ Store(Index(p000, 6), Index(p001, 6))
+ Store(Index(p000, 6), Index(p001, 6))
+ Store(Index(p001, 7), Index(p000, 7))
+ Store(Index(p001, 7), Index(p000, 7))
+
+ Store(Index(p000, 0), Local0)
+ Store(Local0, Index(p001, 0))
+ Store(Index(p000, 0), Local0)
+ Store(Local0, Index(p001, 0))
+ }
+
+ Method(m015,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3})
+
+ Store(p000, Index(p001, 0))
+ Store(0xabcd0000, Index(p001, 1))
+ Store(0xabcd0001, Index(p001, 0))
+
+ Store(0xabcd0001, Local0)
+ Store(Local0, Index(p001, 2))
+ Store(Local0, Index(p001, 0))
+ Store(Local0, Index(p001, 1))
+ Store(Local0, Index(p001, 2))
+
+ Store(p001, Debug)
+ }
+
+ Method(m016,, Serialized)
+ {
+ Name(p000, Package() {0xabcd0000})
+ Name(p001, Package() {0xabcd0001, 0xabcd0002})
+
+ CopyObject(p001, p000)
+
+ Store(p001, Debug)
+ }
+
+ Method(m017,, Serialized)
+ {
+ Name(p000, Package() {0x20, 0x21})
+ Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+
+ Method(m000, 1)
+ {
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 1), Index(arg0, 1))
+
+// + self Store(Index(p000, 0), Index(arg0, 0)) arg0 - p000
+// Store(Index(arg0, 2), Index(p001, 2))
+// Store(Index(arg0, 3), Index(p001, 3))
+// Store(Index(arg0, 2), Index(arg1, 2))
+// Store(Index(arg0, 3), Index(arg1, 3))
+// Store(Index(arg1, 2), Index(arg0, 2))
+// Store(Index(arg1, 3), Index(arg0, 3))
+// .................
+ }
+ Method(m001, 1)
+ {
+ m000(arg0)
+ }
+
+ Method(m002, 1)
+ {
+ m001(arg0)
+ }
+
+
+ m000(p001)
+
+ m000(Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+
+ m000(p000)
+ Store(p000, Debug)
+ Store(p001, Debug)
+ }
+
+ Method(m018,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
+
+ Store(Index(p000, 0), Index(p001, 1))
+ Store(Index(p001, 2), Index(p000, 3))
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+ Store(Index(p000, 4), Index(p001, 4))
+ Store(Index(p000, 5), Index(p001, 5))
+
+ Store(Index(p001, 2), Index(p000, 3))
+ Store(Index(p000, 4), Index(p001, 5))
+ }
+
+ Method(m019,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
+ Name(p002, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
+ Method(m000)
+ {
+ Store(Index(p000, 0), Index(p001, 0))
+ }
+
+ Store(Index(p000, 0), Index(p002, 0))
+ Store(Index(p000, 1), Index(p002, 1))
+ Store(Index(p000, 2), Index(p002, 2))
+ Store(Index(p000, 3), Index(p002, 3))
+ Store(Refof(p000), Index(p002, 4))
+ Store(Index(p000, 5), Index(p002, 5))
+
+ m000()
+
+ Store(Index(p000, 0), Index(p001, 0))
+ }
+
+ Method(m01a,, Serialized)
+ {
+ Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
+ Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Refof(p000), Index(p001, 1))
+ }
+
+ Method(m01b,, Serialized)
+ {
+ Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
+ Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+
+ Method(m000, 1)
+ {
+ Store(Index(p000, 0), Index(arg0, 0))
+
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 0))
+
+ Store(Index(arg0, 0), Index(p000, 1))
+ Store(Index(arg0, 0), Index(p000, 1))
+ Store(Index(arg0, 0), Index(p000, 1))
+
+ Store(Index(arg0, 0), Index(p000, 1))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 2), Index(p000, 1))
+
+ Store(Index(arg0, 0), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 2), Index(p000, 2))
+ Store(Index(arg0, 3), Index(p000, 3))
+ Store(Index(arg0, 4), Index(p000, 4))
+ Store(Index(arg0, 5), Index(p000, 5))
+
+
+ Store(Index(arg0, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(arg0, 2), Index(p000, 2))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(arg0, 3), Index(p000, 3))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(arg0, 4), Index(p000, 4))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(arg0, 5), Index(p000, 5))
+ Store(Index(p000, 0), Index(arg0, 0))
+ }
+ Method(m001, 1)
+ {
+ Store("Start m001", Debug)
+ m000(arg0)
+ Store("Finish m001", Debug)
+ }
+
+ Method(m002, 1)
+ {
+ m001(arg0)
+ }
+
+ Method(m003, 1)
+ {
+ m002(arg0)
+ }
+
+ Method(m004, 1)
+ {
+ Store("Start m004", Debug)
+ m003(arg0)
+ Store("Finish m004", Debug)
+ }
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+
+ m004(p000)
+ m000(p001)
+ m001(p000)
+ m002(p001)
+ m003(p000)
+ m004(p001)
+ m000(p000)
+ m001(p001)
+ m002(p000)
+ m003(p001)
+ m004(p000)
+ }
+
+ Method(m01c,, Serialized)
+ {
+ Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
+ Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+ Name(p002, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+
+ Method(m000, 1)
+ {
+ Store(Index(arg0, 0), Index(p000, 1))
+ }
+
+ m000(p001)
+ m000(p000)
+ m000(p001)
+ m000(p001)
+ m000(p000)
+ m000(p001)
+ }
+
+ Method(m01d,, Serialized)
+ {
+ Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
+ Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p001, 0), Index(p000, 0))
+
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(p000, Index(p001, 1))
+ }
+
+ Method(m01e,, Serialized)
+ {
+ Name(p000, Package() {0x10, 0x11})
+ Name(p001, Package() {0x20, 0x21})
+
+ Method(m000, 1)
+ {
+ Store(Index(p000, 0), Index(arg0, 0))
+
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(arg0, 0), Index(p000, 0))
+ Store(Index(arg0, 0), Index(p000, 1))
+ Store(Index(arg0, 0), Index(arg0, 0))
+ Store(Index(arg0, 0), Index(arg0, 1))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(arg0, 1))
+ Store(Index(arg0, 1), Index(arg0, 1))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 1), Index(p000, 0))
+ Store(Index(p000, 1), Index(p000, 1))
+ Store(Index(p000, 1), Index(arg0, 0))
+ Store(Index(p000, 1), Index(arg0, 1))
+ Store(Index(arg0, 0), Index(p000, 0))
+ Store(Index(arg0, 0), Index(p000, 0))
+ Store(Index(arg0, 0), Index(p000, 0))
+ Store(Index(arg0, 0), Index(p000, 1))
+ Store(Index(arg0, 0), Index(p000, 1))
+ Store(Index(arg0, 0), Index(p000, 1))
+ Store(Index(arg0, 0), Index(arg0, 0))
+ Store(Index(arg0, 0), Index(arg0, 0))
+ Store(Index(arg0, 0), Index(arg0, 0))
+ Store(Index(arg0, 0), Index(arg0, 1))
+ Store(Index(arg0, 0), Index(arg0, 1))
+ Store(Index(arg0, 0), Index(arg0, 1))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 0))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(p000, 1))
+ Store(Index(arg0, 1), Index(arg0, 1))
+ Store(Index(arg0, 1), Index(arg0, 1))
+ Store(Index(arg0, 1), Index(arg0, 1))
+ Store(Index(arg0, 1), Index(arg0, 1))
+ Store(Index(arg0, 1), Index(arg0, 1))
+ Store(Index(arg0, 1), Index(arg0, 1))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 0))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 0))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 0), Index(arg0, 1))
+ Store(Index(p000, 1), Index(p000, 0))
+ Store(Index(p000, 1), Index(p000, 0))
+ Store(Index(p000, 1), Index(p000, 0))
+ Store(Index(p000, 1), Index(p000, 1))
+ Store(Index(p000, 1), Index(p000, 1))
+ Store(Index(p000, 1), Index(p000, 1))
+ Store(Index(p000, 1), Index(arg0, 0))
+ Store(Index(p000, 1), Index(arg0, 0))
+ Store(Index(p000, 1), Index(arg0, 0))
+ Store(Index(p000, 1), Index(arg0, 1))
+ Store(Index(p000, 1), Index(arg0, 1))
+ Store(Index(p000, 1), Index(arg0, 1))
+ }
+ Method(m001, 1)
+ {
+ m000(arg0)
+ }
+
+ Method(m002, 1)
+ {
+ m001(arg0)
+ }
+
+ m000(Package(2) {0x10,0x11})
+ m000(Package(4) {0x20,0x21,0x22,0x23})
+
+ m000(Package(4) {0x30,0x31,0x32,0x33})
+ m000(Package(4) {0x40,0x41,0x42,0x43})
+ m000(Package(4) {0x50,0x51,0x52,0x53})
+ m000(Package(4) {0x60,0x61,0x62,0x63})
+ m000(Package(4) {0x70,0x71,0x72,0x73})
+ m000(Package(4) {0x80,0x81,0x82,0x83})
+ m000(Package(4) {0x40,0x41,0x42,0x43})
+ m000(Package(4) {0x40,0x41,0x42,0x43})
+ m000(Package(4) {0x40,0x41,0x42,0x43})
+ m000(Package(4) {0x40,0x41,0x42,0x43})
+ m000(Package(4) {0x40,0x41,0x42,0x43})
+ m000(Package(4) {0x40,0x41,0x42,0x43})
+
+ m000(Package(7) {0x40,0x41,0x42,0x43})
+ m000(Package(7) {0x40,0x41,0x42,0x43})
+ m000(Package(9) {0x30,0x31,0x32,0x33})
+ m000(Package(18) {0x30,0x31,0x32,0x33})
+ m001(Package(18) {0x30,0x31,0x32,0x33})
+ m001(Package(18) {0x30,0x31,0x32,0x33})
+ m001(Package(18) {0x30,0x31,0x32,0x33})
+ m001(Package(18) {0x30,0x31,0x32,0x33})
+ m001(Package(18) {0x30,0x31,0x32,0x33})
+ m002(Package(18) {0x30,0x31,0x32,0x33})
+ m002(Package(18) {0x30,0x31,0x32,0x33})
+ m002(Package(18) {0x30,0x31,0x32,0x33})
+ m002(Package(18) {0x30,0x31,0x32,0x33})
+ m002(Package(18) {0x30,0x31,0x32,0x33})
+
+
+ m000(p000)
+ m000(p001)
+ m001(p000)
+ m001(p001)
+ m002(p000)
+ m002(p001)
+ }
+
+ Method(m01f,, Serialized)
+ {
+ Name(s900, "qwertyuiop")
+
+ Method(m000, 1)
+ {
+ Store(RefOf(arg0), Local0)
+ Store(DerefOf(Local0), Local7)
+
+ return (Local7)
+ }
+
+ Method(m001, 1)
+ {
+ Store(RefOf(arg0), Local0)
+ Store(DerefOf(Local0), Local7)
+
+ Store(m000(Local7), Local0)
+ }
+
+ Store(Index(s900, 0), Local0)
+ m001(Local0)
+ Store(DerefOf(Local0), Local2)
+
+ Store(Index(Package(){0xabcd0000}, 0), Local0)
+ m001(Local0)
+ Store(DerefOf(Local0), Local2)
+ }
+
+ Method(m020)
+ {
+ Method(m000,, Serialized)
+ {
+ Name(p953, Package() {0xabcd2018, 0xabcd2019})
+ Name(p954, Package() {0xabcd2018, 0xabcd2019})
+ CopyObject(p954, p953)
+ }
+ m000()
+ }
+
+ Method(m021)
+ {
+ Method(m000, 1)
+ {
+ Store(0xabcd0000, arg0)
+ }
+
+ Method(m001,, Serialized)
+ {
+ Name(pp00, Package() {0xabcd0001})
+ Name(p000, Package() {0xabcd0002, 0xabcd0003})
+ Name(p001, Package() {0xabcd0004, 0xabcd0005})
+
+
+ Store(RefOf(p000), Local0)
+ m000(Local0)
+ CopyObject(p001, p000)
+
+ }
+
+ m001()
+ }
+
+ Method(m022,, Serialized)
+ {
+ Name(i000, 0xabcd0000)
+ Name(p000, Package() {0xabcd0001})
+
+ CopyObject(i000, p000)
+ Store(i000, p000)
+ }
+
+ Method(m023,, Serialized)
+ {
+ Name(p000, Package() {0xabcd0000})
+ Name(p001, Package() {0xabcd0001, 0xabcd0002})
+
+ CopyObject(p000, p001)
+ CopyObject(p001, p000)
+ }
+
+ Method(m024,, Serialized)
+ {
+ Name(p000, Package() {0xabcd0000})
+ Name(i000, 0xabcd0000)
+ CopyObject(p000, i000)
+
+ m006()
+ m021()
+ m022()
+ m023()
+
+ if (1) {
+ m000()
+ m001()
+ m002()
+ m003()
+ m004()
+ m005()
+ m006()
+ m007()
+ m008()
+ m009()
+ m00a()
+ m00b()
+ m00c()
+ m00d()
+ m00e()
+ m00f()
+ m010()
+ m011()
+ m012()
+ m013()
+ m014()
+ m015()
+ m016()
+ m017()
+ m018()
+ m019()
+ m01a()
+ m01b()
+ m01c()
+ m01d()
+ m01e()
+ m01f()
+ m020()
+ m021()
+ m022()
+ m023()
+ }
+ }
+
+ SRMT("mfe6")
+ m024()
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/MAIN.asl
index 5f834535a..30fe2b0f9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B135.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0135/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0135/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B135.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0135/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0135/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Methods.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Methods.asl
index 27c475ec2..9d0708e3e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Methods.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Methods.asl
@@ -1,588 +1,588 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Method invocations do add layers of Packages processing
- *
- * 0x1 Outstanding allocations because of
- * AcpiExec doesn't run the unload of the table have been processed.
- * All they are caused by call to SRMT Method.
- *
- * Outstanding: 0x1 allocations after execution.
- */
-
-/*
- * Web of references performed by several method invocations
- */
-Method(mfd9,, Serialized)
-{
- Name(sz, 32) // full size of Package applied in algorithm
- Name(szzz, 64) // full size of Package
- Name(prt, 16) // number of different parts
- Name(nm16, 0) // 1/16 of size
- Name(i1, 0) // 1/16 of size
- Name(i2, 0) // 2/16 of size
- Name(i3, 0)
- Name(i4, 0)
- Name(i5, 0)
- Name(i6, 0)
- Name(i8, 0)
- Name(i9, 0)
- Name(i10, 0)
- Name(i11, 0)
- Name(i12, 0)
- Name(i13, 0)
- Name(i14, 0)
- Name(i16, 0)
-
- Name(p000, Package(szzz) {})
- Name(p001, Package(szzz) {})
- Name(p002, Package(szzz) {})
- Name(p003, Package(szzz) {})
- Name(p004, Package(szzz) {})
- Name(p005, Package(szzz) {})
- Name(p006, Package(szzz) {})
- Name(p007, Package(szzz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
-
- Divide(sz, prt, Local0, nm16)
-
- Store(nm16, i1)
- Multiply(nm16, 2, i2)
- Multiply(nm16, 3, i3)
- Multiply(nm16, 4, i4)
- Multiply(nm16, 5, i5)
- Multiply(nm16, 6, i6)
- Multiply(nm16, 8, i8)
- Multiply(nm16, 9, i9)
- Multiply(nm16, 10, i10)
- Multiply(nm16, 11, i11)
- Multiply(nm16, 12, i12)
- Multiply(nm16, 13, i13)
- Multiply(nm16, 14, i14)
- Multiply(nm16, 16, i16)
-
-
- /* Initializing full Packages with monotone increasing Integers */
- Method(m000,, Serialized)
- {
- Name(qq00, 0)
- Name(qq01, 0)
-
- Method(m000)
- {
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- }
- Method(m001)
- {
- if (qq00) {
- m000()
- }
-
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- }
- Method(m002)
- {
- mfc7(p005, 0, sz, i005)
- if (qq01) {
- Store("never", Debug)
- } else {
- mfc7(p006, 0, sz, i006)
- }
- }
-
- Store(1, qq00)
- if (qq00) {
- m001()
- }
- m002()
- if (qq00) {
- mfc7(p007, 0, sz, i007)
- }
- }
-
- /* Initializing the Package with IRefs */
-
- /* Generate two-directional ring of references */
-
- Method(m001,, Serialized)
- {
- Name(uu00, 0xeeff0000)
- Name(ii00, 0xabcd0000)
- Name(pp00, Package(sz) {})
-
- Name(qq00, 0)
-
- Method(m001)
- {
- mfc8(p000, p001, 0, i8, nm16, 0, 0)
- }
- Method(m002)
- {
- mfc8(p001, p002, 0, i8, nm16, 0, 0)
- }
- Method(m003)
- {
- m001()
- m002()
- mfc8(p002, p003, 0, i8, nm16, 0, 0)
- }
- Method(m004)
- {
- m003()
- mfc8(p003, p004, 0, i8, nm16, 0, 0)
- }
- Method(m005)
- {
- m004()
- mfc8(p004, p005, 0, i8, nm16, 0, 0)
- }
- Method(m006)
- {
- mfc8(p005, p006, 0, i8, nm16, 0, 0)
- }
- Method(m007)
- {
- if (qq00) {
- mfc8(p006, p007, 0, i8, nm16, 0, 0)
- }
- }
- Method(m008)
- {
- if (qq00) {
- m005()
- m006()
- m007()
- mfc8(p007, p000, 0, i8, nm16, 0, 0)
- }
- }
-
-
- Method(m009)
- {
- if (qq00) {
- mfc8(p007, p006, i1, i9, nm16, 0, 0)
- }
- }
- Method(m00a)
- {
- if (qq00) {
- mfc8(p006, p005, i1, i9, nm16, 0, 0)
- }
- }
- Method(m00b)
- {
- if (qq00) {
- mfc8(p005, p004, i1, i9, nm16, 0, 0)
- }
- }
- Method(m00c)
- {
- if (qq00) {
- mfc8(p004, p003, i1, i9, nm16, 0, 0)
- }
- }
- Method(m00d)
- {
- if (qq00) {
- mfc8(p003, p002, i1, i9, nm16, 0, 0)
- }
- }
- Method(m00e)
- {
- if (qq00) {
- mfc8(p002, p001, i1, i9, nm16, 0, 0)
- }
- }
- Method(m00f)
- {
- if (qq00) {
- mfc8(p001, p000, i1, i9, nm16, 0, 0)
- }
- }
- Method(m010)
- {
- m00b()
- m00c()
- m00d()
- m00e()
- m00f()
- mfc8(p000, p007, i1, i9, nm16, 0, 0)
- }
-
- Store(1, qq00)
-
- m000()
-
- if (qq00) {
- m008()
- m009()
- m00a()
- }
-
- mfc7(pp00, 0, sz, uu00)
-
- // Causes Outstanding allocations
- mfc8(p000, pp00, 0, i8, nm16, 0, 0)
-
- mfc8(pp00, p000, 0, i16, nm16, 0, 0)
-
- m010()
-
- mfcc(pp00, i8, nm16, ii00, 0, 0x100)
- mfcc(p000, i16, nm16, uu00, 0, 0x101)
- }
-
- /*
- * Join all other packages
- * (two directions for each two points)
- */
- Method(m002,, Serialized)
- {
- Name(qq01, 0)
-
- m001()
-
- if (qq01) {
- Store("never", Debug)
- } else {
- mfc8(p002, p000, i2, i10, nm16, 0, 0)
- mfc8(p003, p000, i3, i11, nm16, 0, 0)
- if (qq01) {
- Store("never", Debug)
- } else {
- mfc8(p004, p000, i4, i12, nm16, 0, 0)
- mfc8(p005, p000, i5, i13, nm16, 0, 0)
- }
- mfc8(p006, p000, i6, i14, nm16, 0, 0)
- }
-
- mfc8(p003, p001, i3, i11, nm16, 0, 0)
- mfc8(p004, p001, i4, i12, nm16, 0, 0)
- mfc8(p005, p001, i5, i13, nm16, 0, 0)
- mfc8(p006, p001, i6, i14, nm16, 0, 0)
- mfc8(p007, p001, i2, i10, nm16, 0, 0)
-
- mfc8(p004, p002, i4, i12, nm16, 0, 0)
- mfc8(p005, p002, i5, i13, nm16, 0, 0)
- mfc8(p006, p002, i6, i14, nm16, 0, 0)
- mfc8(p007, p002, i2, i10, nm16, 0, 0)
- mfc8(p000, p002, i3, i11, nm16, 0, 0)
-
- mfc8(p005, p003, i5, i13, nm16, 0, 0)
- mfc8(p006, p003, i6, i14, nm16, 0, 0)
- mfc8(p007, p003, i2, i10, nm16, 0, 0)
- mfc8(p000, p003, i3, i11, nm16, 0, 0)
- mfc8(p001, p003, i4, i12, nm16, 0, 0)
-
- mfc8(p006, p004, i6, i14, nm16, 0, 0)
- mfc8(p007, p004, i2, i10, nm16, 0, 0)
- mfc8(p000, p004, i3, i11, nm16, 0, 0)
- mfc8(p001, p004, i4, i12, nm16, 0, 0)
- mfc8(p002, p004, i5, i13, nm16, 0, 0)
-
- mfc8(p007, p005, i2, i10, nm16, 0, 0)
- mfc8(p000, p005, i3, i11, nm16, 0, 0)
- mfc8(p001, p005, i4, i12, nm16, 0, 0)
- mfc8(p002, p005, i5, i13, nm16, 0, 0)
- mfc8(p003, p005, i6, i14, nm16, 0, 0)
-
- mfc8(p000, p006, i3, i11, nm16, 0, 0)
- mfc8(p001, p006, i4, i12, nm16, 0, 0)
- mfc8(p002, p006, i5, i13, nm16, 0, 0)
- mfc8(p003, p006, i6, i14, nm16, 0, 0)
- mfc8(p004, p006, i2, i10, nm16, 0, 0)
-
- mfc8(p001, p007, i4, i12, nm16, 0, 0)
- mfc8(p002, p007, i5, i13, nm16, 0, 0)
- mfc8(p003, p007, i6, i14, nm16, 0, 0)
- mfc8(p004, p007, i2, i10, nm16, 0, 0)
- mfc8(p005, p007, i3, i11, nm16, 0, 0)
- }
-
- /* Verifying access to Packages through the IRefs */
-
- /* Two-directional ring of references */
-
- Method(m003)
- {
- m002()
-
- mfcc(p001, i8, nm16, i000, 0, 0x102)
- mfcc(p002, i8, nm16, i001, 0, 0x103)
- mfcc(p003, i8, nm16, i002, 0, 0x104)
- mfcc(p004, i8, nm16, i003, 0, 0x105)
- mfcc(p005, i8, nm16, i004, 0, 0x106)
- mfcc(p006, i8, nm16, i005, 0, 0x107)
- mfcc(p007, i8, nm16, i006, 0, 0x108)
- mfcc(p000, i8, nm16, i007, 0, 0x109)
- }
-
- Method(m004)
- {
- Method(m000)
- {
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p006, i9, nm16, i007, 0, 0x10a)
- mfcc(p005, i9, nm16, i006, 0, 0x10b)
- }
-
- m003()
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
-
- m000()
-
- mfcc(p004, i9, nm16, i005, 0, 0x10c)
- mfcc(p003, i9, nm16, i004, 0, 0x10d)
- mfcc(p002, i9, nm16, i003, 0, 0x10e)
- mfcc(p001, i9, nm16, i002, 0, 0x10f)
- mfcc(p000, i9, nm16, i001, 0, 0x110)
- mfcc(p007, i9, nm16, i000, 0, 0x111)
- }
-
- /* Verify other references */
-
- Method(m005)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- Method(m000)
- {
- mfcc(p006, i10, nm16, i004, 0, 0x112)
- mfcc(p007, i10, nm16, i004, 0, 0x113)
- }
- mfcc(p005, i10, nm16, i007, 0, 0x114)
- m000()
- }
- mfcc(p004, i10, nm16, i007, 0, 0x115)
- m000()
- }
- mfcc(p003, i10, nm16, i007, 0, 0x116)
- m000()
- }
- mfcc(p002, i10, nm16, i007, 0, 0x117)
- m000()
- }
- mfcc(p001, i10, nm16, i007, 0, 0x118)
- m000()
- }
- mfcc(p000, i10, nm16, i002, 0, 0x119)
- m000()
- }
- Add(i000, nm16, i000)
- m000()
- }
- Add(i001, nm16, i001)
- m000()
- }
- Add(i002, nm16, i002)
- m000()
- }
- Add(i003, nm16, i003)
- m000()
- }
- Add(i004, nm16, i004)
- m000()
- }
- Add(i005, nm16, i005)
- m000()
- }
- Add(i006, nm16, i006)
- m000()
- }
- Add(i007, nm16, i007)
- m000()
- }
-
- m004()
-
- m000()
- }
-
- Method(m006)
- {
- m005()
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i11, nm16, i003, 0, 0x11a)
- mfcc(p001, i11, nm16, i003, 0, 0x11b)
- mfcc(p002, i11, nm16, i000, 0, 0x11c)
- mfcc(p003, i11, nm16, i000, 0, 0x11d)
- mfcc(p004, i11, nm16, i000, 0, 0x11e)
- mfcc(p005, i11, nm16, i000, 0, 0x11f)
- mfcc(p006, i11, nm16, i000, 0, 0x120)
- mfcc(p007, i11, nm16, i005, 0, 0x121)
- }
-
- Method(m007,, Serialized)
- {
- Name(qq00, 0)
-
- m006()
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- if (qq00) {
- Store("never", Debug)
- } else {
- mfcc(p000, i12, nm16, i004, 0, 0x122)
- mfcc(p001, i12, nm16, i004, 0, 0x123)
- mfcc(p002, i12, nm16, i004, 0, 0x124)
- mfcc(p003, i12, nm16, i001, 0, 0x125)
- mfcc(p004, i12, nm16, i001, 0, 0x126)
- mfcc(p005, i12, nm16, i001, 0, 0x127)
- mfcc(p006, i12, nm16, i001, 0, 0x128)
- mfcc(p007, i12, nm16, i001, 0, 0x129)
- }
- }
-
- Method(m008)
- {
- m007()
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i13, nm16, i005, 0, 0x12a)
- mfcc(p001, i13, nm16, i005, 0, 0x12b)
- mfcc(p002, i13, nm16, i005, 0, 0x12c)
- mfcc(p003, i13, nm16, i005, 0, 0x12d)
- mfcc(p004, i13, nm16, i002, 0, 0x12e)
- mfcc(p005, i13, nm16, i002, 0, 0x12f)
- mfcc(p006, i13, nm16, i002, 0, 0x130)
- mfcc(p007, i13, nm16, i002, 0, 0x131)
- }
-
- Method(m009,, Serialized)
- {
- Name(uu00, 0xeeff0000)
- Name(ii00, 0xabcd0000)
- Name(pp00, Package(sz) {})
-
- m008()
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfc7(pp00, 0, sz, uu00)
- mfc8(p000, pp00, 0, i8, nm16, 0, 0)
- mfc8(pp00, p000, 0, i16, nm16, 0, 0)
-
- mfcc(p000, i14, nm16, i006, 0, 0x132)
- mfcc(p001, i14, nm16, i006, 0, 0x133)
- mfcc(p002, i14, nm16, i006, 0, 0x134)
- mfcc(p003, i14, nm16, i006, 0, 0x135)
- mfcc(p004, i14, nm16, i006, 0, 0x136)
- mfcc(p005, i14, nm16, i003, 0, 0x137)
- mfcc(p006, i14, nm16, i003, 0, 0x138)
- mfcc(p007, i14, nm16, i003, 0, 0x139)
-
- mfcc(pp00, i8, nm16, ii00, 0, 0x13a)
- mfcc(p000, i16, nm16, uu00, 0, 0x13b)
- }
-
- m009()
-}
-
-Method(mfda)
-{
- SRMT("mfd9")
- mfd9()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Method invocations do add layers of Packages processing
+ *
+ * 0x1 Outstanding allocations because of
+ * AcpiExec doesn't run the unload of the table have been processed.
+ * All they are caused by call to SRMT Method.
+ *
+ * Outstanding: 0x1 allocations after execution.
+ */
+
+/*
+ * Web of references performed by several method invocations
+ */
+Method(mfd9,, Serialized)
+{
+ Name(sz, 32) // full size of Package applied in algorithm
+ Name(szzz, 64) // full size of Package
+ Name(prt, 16) // number of different parts
+ Name(nm16, 0) // 1/16 of size
+ Name(i1, 0) // 1/16 of size
+ Name(i2, 0) // 2/16 of size
+ Name(i3, 0)
+ Name(i4, 0)
+ Name(i5, 0)
+ Name(i6, 0)
+ Name(i8, 0)
+ Name(i9, 0)
+ Name(i10, 0)
+ Name(i11, 0)
+ Name(i12, 0)
+ Name(i13, 0)
+ Name(i14, 0)
+ Name(i16, 0)
+
+ Name(p000, Package(szzz) {})
+ Name(p001, Package(szzz) {})
+ Name(p002, Package(szzz) {})
+ Name(p003, Package(szzz) {})
+ Name(p004, Package(szzz) {})
+ Name(p005, Package(szzz) {})
+ Name(p006, Package(szzz) {})
+ Name(p007, Package(szzz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+
+ Divide(sz, prt, Local0, nm16)
+
+ Store(nm16, i1)
+ Multiply(nm16, 2, i2)
+ Multiply(nm16, 3, i3)
+ Multiply(nm16, 4, i4)
+ Multiply(nm16, 5, i5)
+ Multiply(nm16, 6, i6)
+ Multiply(nm16, 8, i8)
+ Multiply(nm16, 9, i9)
+ Multiply(nm16, 10, i10)
+ Multiply(nm16, 11, i11)
+ Multiply(nm16, 12, i12)
+ Multiply(nm16, 13, i13)
+ Multiply(nm16, 14, i14)
+ Multiply(nm16, 16, i16)
+
+
+ /* Initializing full Packages with monotone increasing Integers */
+ Method(m000,, Serialized)
+ {
+ Name(qq00, 0)
+ Name(qq01, 0)
+
+ Method(m000)
+ {
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ }
+ Method(m001)
+ {
+ if (qq00) {
+ m000()
+ }
+
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ }
+ Method(m002)
+ {
+ mfc7(p005, 0, sz, i005)
+ if (qq01) {
+ Store("never", Debug)
+ } else {
+ mfc7(p006, 0, sz, i006)
+ }
+ }
+
+ Store(1, qq00)
+ if (qq00) {
+ m001()
+ }
+ m002()
+ if (qq00) {
+ mfc7(p007, 0, sz, i007)
+ }
+ }
+
+ /* Initializing the Package with IRefs */
+
+ /* Generate two-directional ring of references */
+
+ Method(m001,, Serialized)
+ {
+ Name(uu00, 0xeeff0000)
+ Name(ii00, 0xabcd0000)
+ Name(pp00, Package(sz) {})
+
+ Name(qq00, 0)
+
+ Method(m001)
+ {
+ mfc8(p000, p001, 0, i8, nm16, 0, 0)
+ }
+ Method(m002)
+ {
+ mfc8(p001, p002, 0, i8, nm16, 0, 0)
+ }
+ Method(m003)
+ {
+ m001()
+ m002()
+ mfc8(p002, p003, 0, i8, nm16, 0, 0)
+ }
+ Method(m004)
+ {
+ m003()
+ mfc8(p003, p004, 0, i8, nm16, 0, 0)
+ }
+ Method(m005)
+ {
+ m004()
+ mfc8(p004, p005, 0, i8, nm16, 0, 0)
+ }
+ Method(m006)
+ {
+ mfc8(p005, p006, 0, i8, nm16, 0, 0)
+ }
+ Method(m007)
+ {
+ if (qq00) {
+ mfc8(p006, p007, 0, i8, nm16, 0, 0)
+ }
+ }
+ Method(m008)
+ {
+ if (qq00) {
+ m005()
+ m006()
+ m007()
+ mfc8(p007, p000, 0, i8, nm16, 0, 0)
+ }
+ }
+
+
+ Method(m009)
+ {
+ if (qq00) {
+ mfc8(p007, p006, i1, i9, nm16, 0, 0)
+ }
+ }
+ Method(m00a)
+ {
+ if (qq00) {
+ mfc8(p006, p005, i1, i9, nm16, 0, 0)
+ }
+ }
+ Method(m00b)
+ {
+ if (qq00) {
+ mfc8(p005, p004, i1, i9, nm16, 0, 0)
+ }
+ }
+ Method(m00c)
+ {
+ if (qq00) {
+ mfc8(p004, p003, i1, i9, nm16, 0, 0)
+ }
+ }
+ Method(m00d)
+ {
+ if (qq00) {
+ mfc8(p003, p002, i1, i9, nm16, 0, 0)
+ }
+ }
+ Method(m00e)
+ {
+ if (qq00) {
+ mfc8(p002, p001, i1, i9, nm16, 0, 0)
+ }
+ }
+ Method(m00f)
+ {
+ if (qq00) {
+ mfc8(p001, p000, i1, i9, nm16, 0, 0)
+ }
+ }
+ Method(m010)
+ {
+ m00b()
+ m00c()
+ m00d()
+ m00e()
+ m00f()
+ mfc8(p000, p007, i1, i9, nm16, 0, 0)
+ }
+
+ Store(1, qq00)
+
+ m000()
+
+ if (qq00) {
+ m008()
+ m009()
+ m00a()
+ }
+
+ mfc7(pp00, 0, sz, uu00)
+
+ // Causes Outstanding allocations
+ mfc8(p000, pp00, 0, i8, nm16, 0, 0)
+
+ mfc8(pp00, p000, 0, i16, nm16, 0, 0)
+
+ m010()
+
+ mfcc(pp00, i8, nm16, ii00, 0, 0x100)
+ mfcc(p000, i16, nm16, uu00, 0, 0x101)
+ }
+
+ /*
+ * Join all other packages
+ * (two directions for each two points)
+ */
+ Method(m002,, Serialized)
+ {
+ Name(qq01, 0)
+
+ m001()
+
+ if (qq01) {
+ Store("never", Debug)
+ } else {
+ mfc8(p002, p000, i2, i10, nm16, 0, 0)
+ mfc8(p003, p000, i3, i11, nm16, 0, 0)
+ if (qq01) {
+ Store("never", Debug)
+ } else {
+ mfc8(p004, p000, i4, i12, nm16, 0, 0)
+ mfc8(p005, p000, i5, i13, nm16, 0, 0)
+ }
+ mfc8(p006, p000, i6, i14, nm16, 0, 0)
+ }
+
+ mfc8(p003, p001, i3, i11, nm16, 0, 0)
+ mfc8(p004, p001, i4, i12, nm16, 0, 0)
+ mfc8(p005, p001, i5, i13, nm16, 0, 0)
+ mfc8(p006, p001, i6, i14, nm16, 0, 0)
+ mfc8(p007, p001, i2, i10, nm16, 0, 0)
+
+ mfc8(p004, p002, i4, i12, nm16, 0, 0)
+ mfc8(p005, p002, i5, i13, nm16, 0, 0)
+ mfc8(p006, p002, i6, i14, nm16, 0, 0)
+ mfc8(p007, p002, i2, i10, nm16, 0, 0)
+ mfc8(p000, p002, i3, i11, nm16, 0, 0)
+
+ mfc8(p005, p003, i5, i13, nm16, 0, 0)
+ mfc8(p006, p003, i6, i14, nm16, 0, 0)
+ mfc8(p007, p003, i2, i10, nm16, 0, 0)
+ mfc8(p000, p003, i3, i11, nm16, 0, 0)
+ mfc8(p001, p003, i4, i12, nm16, 0, 0)
+
+ mfc8(p006, p004, i6, i14, nm16, 0, 0)
+ mfc8(p007, p004, i2, i10, nm16, 0, 0)
+ mfc8(p000, p004, i3, i11, nm16, 0, 0)
+ mfc8(p001, p004, i4, i12, nm16, 0, 0)
+ mfc8(p002, p004, i5, i13, nm16, 0, 0)
+
+ mfc8(p007, p005, i2, i10, nm16, 0, 0)
+ mfc8(p000, p005, i3, i11, nm16, 0, 0)
+ mfc8(p001, p005, i4, i12, nm16, 0, 0)
+ mfc8(p002, p005, i5, i13, nm16, 0, 0)
+ mfc8(p003, p005, i6, i14, nm16, 0, 0)
+
+ mfc8(p000, p006, i3, i11, nm16, 0, 0)
+ mfc8(p001, p006, i4, i12, nm16, 0, 0)
+ mfc8(p002, p006, i5, i13, nm16, 0, 0)
+ mfc8(p003, p006, i6, i14, nm16, 0, 0)
+ mfc8(p004, p006, i2, i10, nm16, 0, 0)
+
+ mfc8(p001, p007, i4, i12, nm16, 0, 0)
+ mfc8(p002, p007, i5, i13, nm16, 0, 0)
+ mfc8(p003, p007, i6, i14, nm16, 0, 0)
+ mfc8(p004, p007, i2, i10, nm16, 0, 0)
+ mfc8(p005, p007, i3, i11, nm16, 0, 0)
+ }
+
+ /* Verifying access to Packages through the IRefs */
+
+ /* Two-directional ring of references */
+
+ Method(m003)
+ {
+ m002()
+
+ mfcc(p001, i8, nm16, i000, 0, 0x102)
+ mfcc(p002, i8, nm16, i001, 0, 0x103)
+ mfcc(p003, i8, nm16, i002, 0, 0x104)
+ mfcc(p004, i8, nm16, i003, 0, 0x105)
+ mfcc(p005, i8, nm16, i004, 0, 0x106)
+ mfcc(p006, i8, nm16, i005, 0, 0x107)
+ mfcc(p007, i8, nm16, i006, 0, 0x108)
+ mfcc(p000, i8, nm16, i007, 0, 0x109)
+ }
+
+ Method(m004)
+ {
+ Method(m000)
+ {
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p006, i9, nm16, i007, 0, 0x10a)
+ mfcc(p005, i9, nm16, i006, 0, 0x10b)
+ }
+
+ m003()
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+
+ m000()
+
+ mfcc(p004, i9, nm16, i005, 0, 0x10c)
+ mfcc(p003, i9, nm16, i004, 0, 0x10d)
+ mfcc(p002, i9, nm16, i003, 0, 0x10e)
+ mfcc(p001, i9, nm16, i002, 0, 0x10f)
+ mfcc(p000, i9, nm16, i001, 0, 0x110)
+ mfcc(p007, i9, nm16, i000, 0, 0x111)
+ }
+
+ /* Verify other references */
+
+ Method(m005)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ Method(m000)
+ {
+ mfcc(p006, i10, nm16, i004, 0, 0x112)
+ mfcc(p007, i10, nm16, i004, 0, 0x113)
+ }
+ mfcc(p005, i10, nm16, i007, 0, 0x114)
+ m000()
+ }
+ mfcc(p004, i10, nm16, i007, 0, 0x115)
+ m000()
+ }
+ mfcc(p003, i10, nm16, i007, 0, 0x116)
+ m000()
+ }
+ mfcc(p002, i10, nm16, i007, 0, 0x117)
+ m000()
+ }
+ mfcc(p001, i10, nm16, i007, 0, 0x118)
+ m000()
+ }
+ mfcc(p000, i10, nm16, i002, 0, 0x119)
+ m000()
+ }
+ Add(i000, nm16, i000)
+ m000()
+ }
+ Add(i001, nm16, i001)
+ m000()
+ }
+ Add(i002, nm16, i002)
+ m000()
+ }
+ Add(i003, nm16, i003)
+ m000()
+ }
+ Add(i004, nm16, i004)
+ m000()
+ }
+ Add(i005, nm16, i005)
+ m000()
+ }
+ Add(i006, nm16, i006)
+ m000()
+ }
+ Add(i007, nm16, i007)
+ m000()
+ }
+
+ m004()
+
+ m000()
+ }
+
+ Method(m006)
+ {
+ m005()
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i11, nm16, i003, 0, 0x11a)
+ mfcc(p001, i11, nm16, i003, 0, 0x11b)
+ mfcc(p002, i11, nm16, i000, 0, 0x11c)
+ mfcc(p003, i11, nm16, i000, 0, 0x11d)
+ mfcc(p004, i11, nm16, i000, 0, 0x11e)
+ mfcc(p005, i11, nm16, i000, 0, 0x11f)
+ mfcc(p006, i11, nm16, i000, 0, 0x120)
+ mfcc(p007, i11, nm16, i005, 0, 0x121)
+ }
+
+ Method(m007,, Serialized)
+ {
+ Name(qq00, 0)
+
+ m006()
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ if (qq00) {
+ Store("never", Debug)
+ } else {
+ mfcc(p000, i12, nm16, i004, 0, 0x122)
+ mfcc(p001, i12, nm16, i004, 0, 0x123)
+ mfcc(p002, i12, nm16, i004, 0, 0x124)
+ mfcc(p003, i12, nm16, i001, 0, 0x125)
+ mfcc(p004, i12, nm16, i001, 0, 0x126)
+ mfcc(p005, i12, nm16, i001, 0, 0x127)
+ mfcc(p006, i12, nm16, i001, 0, 0x128)
+ mfcc(p007, i12, nm16, i001, 0, 0x129)
+ }
+ }
+
+ Method(m008)
+ {
+ m007()
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i13, nm16, i005, 0, 0x12a)
+ mfcc(p001, i13, nm16, i005, 0, 0x12b)
+ mfcc(p002, i13, nm16, i005, 0, 0x12c)
+ mfcc(p003, i13, nm16, i005, 0, 0x12d)
+ mfcc(p004, i13, nm16, i002, 0, 0x12e)
+ mfcc(p005, i13, nm16, i002, 0, 0x12f)
+ mfcc(p006, i13, nm16, i002, 0, 0x130)
+ mfcc(p007, i13, nm16, i002, 0, 0x131)
+ }
+
+ Method(m009,, Serialized)
+ {
+ Name(uu00, 0xeeff0000)
+ Name(ii00, 0xabcd0000)
+ Name(pp00, Package(sz) {})
+
+ m008()
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfc7(pp00, 0, sz, uu00)
+ mfc8(p000, pp00, 0, i8, nm16, 0, 0)
+ mfc8(pp00, p000, 0, i16, nm16, 0, 0)
+
+ mfcc(p000, i14, nm16, i006, 0, 0x132)
+ mfcc(p001, i14, nm16, i006, 0, 0x133)
+ mfcc(p002, i14, nm16, i006, 0, 0x134)
+ mfcc(p003, i14, nm16, i006, 0, 0x135)
+ mfcc(p004, i14, nm16, i006, 0, 0x136)
+ mfcc(p005, i14, nm16, i003, 0, 0x137)
+ mfcc(p006, i14, nm16, i003, 0, 0x138)
+ mfcc(p007, i14, nm16, i003, 0, 0x139)
+
+ mfcc(pp00, i8, nm16, ii00, 0, 0x13a)
+ mfcc(p000, i16, nm16, uu00, 0, 0x13b)
+ }
+
+ m009()
+}
+
+Method(mfda)
+{
+ SRMT("mfd9")
+ mfd9()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc1.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc1.asl
index b7caa455f..ccc99d758 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc1.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc1.asl
@@ -1,2602 +1,2602 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Check self-references
- *
- * 0xE Outstanding allocations because of
- * AcpiExec doesn't run the unload of the table have been processed.
- * All they are caused by call to SRMT Method.
- *
- * Outstanding: 0xE allocations after execution.
- */
-
-Method(mfcb,, Serialized)
-{
- Name(p000, Package(16) {})
-
- Name(num, 8) // half-size of Package
- Name(i000, 0xabcd0000) // value of the first element of Package
-
- /* 1 */
-
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 9))
- Store(Index(p000, 2), Index(p000, 10))
- Store(Index(p000, 3), Index(p000, 11))
- Store(Index(p000, 4), Index(p000, 12))
- Store(Index(p000, 5), Index(p000, 13))
- Store(Index(p000, 6), Index(p000, 14))
- Store(Index(p000, 7), Index(p000, 15))
- mfc7(p000, 0, num, i000)
- mfcc(p000, num, num, i000, 0, 0x003)
-
- /* 2 */
-
- mfcd(p000, 0, num, 0)
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 0), Index(p000, 9))
- Store(Index(p000, 0), Index(p000, 10))
- Store(Index(p000, 0), Index(p000, 11))
- Store(Index(p000, 0), Index(p000, 12))
- Store(Index(p000, 0), Index(p000, 13))
- Store(Index(p000, 0), Index(p000, 14))
- Store(Index(p000, 0), Index(p000, 15))
- Store(0xabcd0100, i000)
- Store(i000, Index(p000, 0))
- mfce(p000, num, num, i000, 0, 0x004)
-
- /* 3 */
-
- mfcd(p000, 0, num, 0)
- mfc7(p000, 0, num, 0xabcd0200)
- Store(Index(p000, 0), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 2), Index(p000, 8))
- Store(Index(p000, 3), Index(p000, 8))
- Store(Index(p000, 4), Index(p000, 8))
- Store(Index(p000, 5), Index(p000, 8))
- Store(Index(p000, 6), Index(p000, 8))
- Store(Index(p000, 7), Index(p000, 8))
- mfce(p000, num, 1, 0xabcd0207, 0, 0x005)
-
- /* 4 */
-
- mfcd(p000, 0, num, 0)
- mfc7(p000, 0, num, 0xabcd0300)
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- Store(Index(p000, 1), Index(p000, 8))
- mfce(p000, num, 1, 0xabcd0301, 0, 0x006)
-}
-
-/*
- * LocalX involved
- */
-Method(mfcf,, Serialized)
-{
- Name(p000, Package(16) {})
-
- Store(Index(p000, 0), Local0)
- Store(Local0, Index(p000, 1))
- Store(0xabcd0000, Index(p000, 0))
- Store(Index(p000, 1), Local0)
- Store(DerefOf(Local0), Local1)
- Store(DerefOf(Local1), Local0)
-
- if (LNotEqual(Local0, 0xabcd0000)) {
- err("", zFFF, 0x300, 0, 0, Local0, 0xabcd0000)
- }
-}
-
-/*
- * One-directional list of references
- */
-Method(mfd0,, Serialized)
-{
- Name(sz, 16) // full size of Package
- Name(num, 0) // half-size of Package
-
- Name(p000, Package(sz) {})
- Name(p001, Package(sz) {})
- Name(p002, Package(sz) {})
- Name(p003, Package(sz) {})
- Name(p004, Package(sz) {})
- Name(p005, Package(sz) {})
- Name(p006, Package(sz) {})
- Name(p007, Package(sz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
-
- Divide(sz, 2, Local0, num)
-
- /* Initializing Packages with monotone increasing Integers */
-
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- mfc7(p005, 0, sz, i005)
- mfc7(p006, 0, sz, i006)
- mfc7(p007, 0, sz, i007)
-
- /* Initializing the Package with IRefs */
-
- mfc8(p000, p001, 0, num, num, 0, 0)
- mfc8(p001, p002, 0, num, num, 0, 0)
- mfc8(p002, p003, 0, num, num, 0, 0)
- mfc8(p003, p004, 0, num, num, 0, 0)
- mfc8(p004, p005, 0, num, num, 0, 0)
- mfc8(p005, p006, 0, num, num, 0, 0)
- mfc8(p006, p007, 0, num, num, 0, 0)
-
- /* Verifying access to the first parts of Packages through the IRefs */
-
- mfcc(p001, num, num, i000, 0, 0x008)
- mfcc(p002, num, num, i001, 0, 0x009)
- mfcc(p003, num, num, i002, 0, 0x00a)
- mfcc(p004, num, num, i003, 0, 0x00b)
- mfcc(p005, num, num, i004, 0, 0x00c)
- mfcc(p006, num, num, i005, 0, 0x00d)
- mfcc(p007, num, num, i006, 0, 0x00e)
-}
-
-/*
- * 0-Ring of references
- */
-Method(mfd1,, Serialized)
-{
- Name(sz, 16) // full size of Package
- Name(num, 0) // half-size of Package
-
- Name(p000, Package(sz) {})
- Name(p001, Package(sz) {})
- Name(p002, Package(sz) {})
- Name(p003, Package(sz) {})
- Name(p004, Package(sz) {})
- Name(p005, Package(sz) {})
- Name(p006, Package(sz) {})
- Name(p007, Package(sz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
-
- Divide(sz, 2, Local0, num)
-
- /* Initializing Packages with monotone increasing Integers */
-
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- mfc7(p005, 0, sz, i005)
- mfc7(p006, 0, sz, i006)
- mfc7(p007, 0, sz, i007)
-
- /* Initializing the Package with IRefs */
-
- mfc8(p000, p001, 0, num, num, 0, 0)
- mfc8(p001, p002, 0, num, num, 0, 0)
- mfc8(p002, p003, 0, num, num, 0, 0)
- mfc8(p003, p004, 0, num, num, 0, 0)
- mfc8(p004, p005, 0, num, num, 0, 0)
- mfc8(p005, p006, 0, num, num, 0, 0)
- mfc8(p006, p007, 0, num, num, 0, 0)
- mfc8(p007, p000, 0, num, num, 0, 0)
-
- /* Verifying access to the first parts of Packages through the IRefs */
-
- mfcc(p001, num, num, i000, 0, 0x00f)
- mfcc(p002, num, num, i001, 0, 0x010)
- mfcc(p003, num, num, i002, 0, 0x011)
- mfcc(p004, num, num, i003, 0, 0x012)
- mfcc(p005, num, num, i004, 0, 0x013)
- mfcc(p006, num, num, i005, 0, 0x014)
- mfcc(p007, num, num, i006, 0, 0x015)
- mfcc(p000, num, num, i007, 0, 0x016)
-}
-
-/*
- * 9-Ring of references
- */
-Method(mfd2,, Serialized)
-{
- Name(sz, 16) // full size of Package
- Name(num, 0) // half-size of Package
-
- Name(p000, Package(sz) {})
- Name(p001, Package(sz) {})
- Name(p002, Package(sz) {})
- Name(p003, Package(sz) {})
- Name(p004, Package(sz) {})
- Name(p005, Package(sz) {})
- Name(p006, Package(sz) {})
- Name(p007, Package(sz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
-
- Divide(sz, 2, Local0, num)
-
- /* Initializing Packages with monotone increasing Integers */
-
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- mfc7(p005, 0, sz, i005)
- mfc7(p006, 0, sz, i006)
- mfc7(p007, 0, sz, i007)
-
- /* Initializing the Package with IRefs */
-
- mfc8(p000, p001, 0, num, num, 0, 0)
- mfc8(p001, p002, 0, num, num, 0, 0)
- mfc8(p002, p003, 0, num, num, 0, 0)
- mfc8(p003, p000, 0, num, num, 0, 0)
-
- mfc8(p003, p004, 0, num, num, 0, 0)
- mfc8(p004, p005, 0, num, num, 0, 0)
- mfc8(p005, p006, 0, num, num, 0, 0)
- mfc8(p006, p007, 0, num, num, 0, 0)
-
- /* Verifying access to the first parts of Packages through the IRefs */
-
- mfcc(p001, num, num, i000, 0, 0x017)
- mfcc(p002, num, num, i001, 0, 0x018)
- mfcc(p003, num, num, i002, 0, 0x019)
- mfcc(p000, num, num, i003, 0, 0x01a)
-
- mfcc(p004, num, num, i003, 0, 0x01b)
- mfcc(p005, num, num, i004, 0, 0x01c)
- mfcc(p006, num, num, i005, 0, 0x01d)
- mfcc(p007, num, num, i006, 0, 0x01e)
-}
-
-/*
- * Bush of references
- */
-Method(mfd3,, Serialized)
-{
- Name(sz, 16) // full size of Package
- Name(num, 0) // half-size of Package
-
- Name(p000, Package(sz) {})
- Name(p001, Package(sz) {})
- Name(p002, Package(sz) {})
- Name(p003, Package(sz) {})
- Name(p004, Package(sz) {})
- Name(p005, Package(sz) {})
- Name(p006, Package(sz) {})
- Name(p007, Package(sz) {})
- Name(p008, Package(sz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
- Name(i008, 0xabcd0800)
-
- Divide(sz, 2, Local0, num)
-
- /* Initializing Packages with monotone increasing Integers */
-
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- mfc7(p005, 0, sz, i005)
- mfc7(p006, 0, sz, i006)
- mfc7(p007, 0, sz, i007)
- mfc7(p008, 0, sz, i008)
-
- /* Initializing the Package with IRefs */
-
- mfc8(p005, p005, 0, num, num, 0, 0)
-
- mfc8(p005, p000, 0, num, num, 0, 0)
- mfc8(p000, p001, 0, num, num, 0, 0)
-
- mfc8(p005, p002, 0, num, num, 0, 0)
- mfc8(p002, p003, 0, num, num, 0, 0)
-
- mfc8(p005, p004, 0, num, num, 0, 0)
- mfc8(p004, p006, 0, num, num, 0, 0)
-
- mfc8(p005, p007, 0, num, num, 0, 0)
- mfc8(p007, p008, 0, num, num, 0, 0)
-
- /* Do self-references repeatedly */
-
- mfc8(p005, p005, 0, num, num, 0, 0)
- mfc8(p005, p005, 0, num, num, 0, 0)
- mfc8(p005, p005, 0, num, num, 0, 0)
- mfc8(p005, p005, 0, num, num, 0, 0)
- mfc8(p005, p005, 0, num, num, 0, 0)
-
- /* Verifying access to the first parts of Packages through the IRefs */
-
- mfcc(p005, num, num, i005, 0, 0x01f)
- mfcc(p000, num, num, i005, 0, 0x020)
- mfcc(p001, num, num, i000, 0, 0x021)
- mfcc(p002, num, num, i005, 0, 0x022)
- mfcc(p003, num, num, i002, 0, 0x023)
- mfcc(p004, num, num, i005, 0, 0x024)
- mfcc(p006, num, num, i004, 0, 0x025)
- mfcc(p007, num, num, i005, 0, 0x026)
- mfcc(p008, num, num, i007, 0, 0x027)
-}
-
-/*
- * Two-directional list of references
- */
-Method(mfd4,, Serialized)
-{
- Name(sz, 16) // full size of Package
- Name(nm2, 0) // half-size of Package
- Name(nm4, 0) // one fourth of size of Package
- Name(nm34, 0) // three fourth of size of Package
-
- Name(p000, Package(sz) {})
- Name(p001, Package(sz) {})
- Name(p002, Package(sz) {})
- Name(p003, Package(sz) {})
- Name(p004, Package(sz) {})
- Name(p005, Package(sz) {})
- Name(p006, Package(sz) {})
- Name(p007, Package(sz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
-
- Divide(sz, 2, Local0, nm2)
- Divide(sz, 4, Local0, nm4)
- Add(nm2, nm4, nm34)
-
- /* Initializing Packages with monotone increasing Integers */
-
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- mfc7(p005, 0, sz, i005)
- mfc7(p006, 0, sz, i006)
- mfc7(p007, 0, sz, i007)
-
- /* Initializing the Package with IRefs */
-
- mfc8(p000, p001, 0, nm2, nm4, 0, 0)
- mfc8(p001, p002, 0, nm2, nm4, 0, 0)
- mfc8(p002, p003, 0, nm2, nm4, 0, 0)
- mfc8(p003, p004, 0, nm2, nm4, 0, 0)
- mfc8(p004, p005, 0, nm2, nm4, 0, 0)
- mfc8(p005, p006, 0, nm2, nm4, 0, 0)
- mfc8(p006, p007, 0, nm2, nm4, 0, 0)
-
- mfc8(p007, p006, nm4, nm34, nm4, 0, 0)
- mfc8(p006, p005, nm4, nm34, nm4, 0, 0)
- mfc8(p005, p004, nm4, nm34, nm4, 0, 0)
- mfc8(p004, p003, nm4, nm34, nm4, 0, 0)
- mfc8(p003, p002, nm4, nm34, nm4, 0, 0)
- mfc8(p002, p001, nm4, nm34, nm4, 0, 0)
- mfc8(p001, p000, nm4, nm34, nm4, 0, 0)
-
- /* Verifying access to the first parts of Packages through the IRefs */
-
- mfcc(p001, nm2, nm4, i000, 0, 0x028)
- mfcc(p002, nm2, nm4, i001, 0, 0x029)
- mfcc(p003, nm2, nm4, i002, 0, 0x02a)
- mfcc(p004, nm2, nm4, i003, 0, 0x02b)
- mfcc(p005, nm2, nm4, i004, 0, 0x02c)
- mfcc(p006, nm2, nm4, i005, 0, 0x02d)
- mfcc(p007, nm2, nm4, i006, 0, 0x02e)
-
- Add(i007, nm4, i007)
- Add(i006, nm4, i006)
- Add(i005, nm4, i005)
- Add(i004, nm4, i004)
- Add(i003, nm4, i003)
- Add(i002, nm4, i002)
- Add(i001, nm4, i001)
-
- mfcc(p006, nm34, nm4, i007, 0, 0x02f)
- mfcc(p005, nm34, nm4, i006, 0, 0x030)
- mfcc(p004, nm34, nm4, i005, 0, 0x031)
- mfcc(p003, nm34, nm4, i004, 0, 0x032)
- mfcc(p002, nm34, nm4, i003, 0, 0x033)
- mfcc(p001, nm34, nm4, i002, 0, 0x034)
- mfcc(p000, nm34, nm4, i001, 0, 0x035)
-}
-
-/*
- * Ring of two-directional references
- */
-Method(mfd5,, Serialized)
-{
- Name(sz, 16) // full size of Package
- Name(nm2, 0) // half-size of Package
- Name(nm4, 0) // one fourth of size of Package
- Name(nm34, 0) // three fourth of size of Package
-
- Name(p000, Package(sz) {})
- Name(p001, Package(sz) {})
- Name(p002, Package(sz) {})
- Name(p003, Package(sz) {})
- Name(p004, Package(sz) {})
- Name(p005, Package(sz) {})
- Name(p006, Package(sz) {})
- Name(p007, Package(sz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
-
- Divide(sz, 2, Local0, nm2)
- Divide(sz, 4, Local0, nm4)
- Add(nm2, nm4, nm34)
-
- /* Initializing Packages with monotone increasing Integers */
-
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- mfc7(p005, 0, sz, i005)
- mfc7(p006, 0, sz, i006)
- mfc7(p007, 0, sz, i007)
-
- /* Initializing the Package with IRefs */
-
- mfc8(p000, p001, 0, nm2, nm4, 0, 0)
- mfc8(p001, p002, 0, nm2, nm4, 0, 0)
- mfc8(p002, p003, 0, nm2, nm4, 0, 0)
- mfc8(p003, p004, 0, nm2, nm4, 0, 0)
- mfc8(p004, p005, 0, nm2, nm4, 0, 0)
- mfc8(p005, p006, 0, nm2, nm4, 0, 0)
- mfc8(p006, p007, 0, nm2, nm4, 0, 0)
- mfc8(p007, p000, 0, nm2, nm4, 0, 0)
-
-
- mfc8(p007, p006, nm4, nm34, nm4, 0, 0)
- mfc8(p006, p005, nm4, nm34, nm4, 0, 0)
- mfc8(p005, p004, nm4, nm34, nm4, 0, 0)
- mfc8(p004, p003, nm4, nm34, nm4, 0, 0)
- mfc8(p003, p002, nm4, nm34, nm4, 0, 0)
- mfc8(p002, p001, nm4, nm34, nm4, 0, 0)
- mfc8(p001, p000, nm4, nm34, nm4, 0, 0)
- mfc8(p000, p007, nm4, nm34, nm4, 0, 0)
-
-
- /* Verifying access to the first parts of Packages through the IRefs */
-
- mfcc(p001, nm2, nm4, i000, 0, 0x036)
- mfcc(p002, nm2, nm4, i001, 0, 0x037)
- mfcc(p003, nm2, nm4, i002, 0, 0x038)
- mfcc(p004, nm2, nm4, i003, 0, 0x039)
- mfcc(p005, nm2, nm4, i004, 0, 0x03a)
- mfcc(p006, nm2, nm4, i005, 0, 0x03b)
- mfcc(p007, nm2, nm4, i006, 0, 0x03c)
- mfcc(p000, nm2, nm4, i007, 0, 0x03d)
-
- Add(i007, nm4, i007)
- Add(i006, nm4, i006)
- Add(i005, nm4, i005)
- Add(i004, nm4, i004)
- Add(i003, nm4, i003)
- Add(i002, nm4, i002)
- Add(i001, nm4, i001)
- Add(i000, nm4, i000)
-
- mfcc(p006, nm34, nm4, i007, 0, 0x03e)
- mfcc(p005, nm34, nm4, i006, 0, 0x03f)
- mfcc(p004, nm34, nm4, i005, 0, 0x040)
- mfcc(p003, nm34, nm4, i004, 0, 0x041)
- mfcc(p002, nm34, nm4, i003, 0, 0x042)
- mfcc(p001, nm34, nm4, i002, 0, 0x043)
- mfcc(p000, nm34, nm4, i001, 0, 0x044)
- mfcc(p007, nm34, nm4, i000, 0, 0x045)
-}
-
-/*
- * Web of references
- */
-Method(mfd6,, Serialized)
-{
- Name(sz, 32) // full size of Package
- Name(prt, 16) // number of different parts
- Name(nm16, 0) // 1/16 of size
- Name(i1, 0) // 1/16 of size
- Name(i2, 0) // 2/16 of size
- Name(i3, 0)
- Name(i4, 0)
- Name(i5, 0)
- Name(i6, 0)
- Name(i8, 0)
- Name(i9, 0)
- Name(i10, 0)
- Name(i11, 0)
- Name(i12, 0)
- Name(i13, 0)
- Name(i14, 0)
-
- Name(p000, Package(sz) {})
- Name(p001, Package(sz) {})
- Name(p002, Package(sz) {})
- Name(p003, Package(sz) {})
- Name(p004, Package(sz) {})
- Name(p005, Package(sz) {})
- Name(p006, Package(sz) {})
- Name(p007, Package(sz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
-
- Divide(sz, prt, Local0, nm16)
-
- Store(nm16, i1)
- Multiply(nm16, 2, i2)
- Multiply(nm16, 3, i3)
- Multiply(nm16, 4, i4)
- Multiply(nm16, 5, i5)
- Multiply(nm16, 6, i6)
- Multiply(nm16, 8, i8)
- Multiply(nm16, 9, i9)
- Multiply(nm16, 10, i10)
- Multiply(nm16, 11, i11)
- Multiply(nm16, 12, i12)
- Multiply(nm16, 13, i13)
- Multiply(nm16, 14, i14)
-
-
- /* Initializing full Packages with monotone increasing Integers */
-
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- mfc7(p005, 0, sz, i005)
- mfc7(p006, 0, sz, i006)
- mfc7(p007, 0, sz, i007)
-
- /* Initializing the Package with IRefs */
-
- /* Generate two-directional ring of references */
-
- mfc8(p000, p001, 0, i8, nm16, 0, 0)
- mfc8(p001, p002, 0, i8, nm16, 0, 0)
- mfc8(p002, p003, 0, i8, nm16, 0, 0)
- mfc8(p003, p004, 0, i8, nm16, 0, 0)
- mfc8(p004, p005, 0, i8, nm16, 0, 0)
- mfc8(p005, p006, 0, i8, nm16, 0, 0)
- mfc8(p006, p007, 0, i8, nm16, 0, 0)
- mfc8(p007, p000, 0, i8, nm16, 0, 0)
-
- mfc8(p007, p006, i1, i9, nm16, 0, 0)
- mfc8(p006, p005, i1, i9, nm16, 0, 0)
- mfc8(p005, p004, i1, i9, nm16, 0, 0)
- mfc8(p004, p003, i1, i9, nm16, 0, 0)
- mfc8(p003, p002, i1, i9, nm16, 0, 0)
- mfc8(p002, p001, i1, i9, nm16, 0, 0)
- mfc8(p001, p000, i1, i9, nm16, 0, 0)
- mfc8(p000, p007, i1, i9, nm16, 0, 0)
-
- /*
- * Join all other packages
- * (two directions for each two points)
- */
-
- mfc8(p002, p000, i2, i10, nm16, 0, 0)
- mfc8(p003, p000, i3, i11, nm16, 0, 0)
- mfc8(p004, p000, i4, i12, nm16, 0, 0)
- mfc8(p005, p000, i5, i13, nm16, 0, 0)
- mfc8(p006, p000, i6, i14, nm16, 0, 0)
-
- mfc8(p003, p001, i3, i11, nm16, 0, 0)
- mfc8(p004, p001, i4, i12, nm16, 0, 0)
- mfc8(p005, p001, i5, i13, nm16, 0, 0)
- mfc8(p006, p001, i6, i14, nm16, 0, 0)
- mfc8(p007, p001, i2, i10, nm16, 0, 0)
-
- mfc8(p004, p002, i4, i12, nm16, 0, 0)
- mfc8(p005, p002, i5, i13, nm16, 0, 0)
- mfc8(p006, p002, i6, i14, nm16, 0, 0)
- mfc8(p007, p002, i2, i10, nm16, 0, 0)
- mfc8(p000, p002, i3, i11, nm16, 0, 0)
-
- mfc8(p005, p003, i5, i13, nm16, 0, 0)
- mfc8(p006, p003, i6, i14, nm16, 0, 0)
- mfc8(p007, p003, i2, i10, nm16, 0, 0)
- mfc8(p000, p003, i3, i11, nm16, 0, 0)
- mfc8(p001, p003, i4, i12, nm16, 0, 0)
-
- mfc8(p006, p004, i6, i14, nm16, 0, 0)
- mfc8(p007, p004, i2, i10, nm16, 0, 0)
- mfc8(p000, p004, i3, i11, nm16, 0, 0)
- mfc8(p001, p004, i4, i12, nm16, 0, 0)
- mfc8(p002, p004, i5, i13, nm16, 0, 0)
-
- mfc8(p007, p005, i2, i10, nm16, 0, 0)
- mfc8(p000, p005, i3, i11, nm16, 0, 0)
- mfc8(p001, p005, i4, i12, nm16, 0, 0)
- mfc8(p002, p005, i5, i13, nm16, 0, 0)
- mfc8(p003, p005, i6, i14, nm16, 0, 0)
-
- mfc8(p000, p006, i3, i11, nm16, 0, 0)
- mfc8(p001, p006, i4, i12, nm16, 0, 0)
- mfc8(p002, p006, i5, i13, nm16, 0, 0)
- mfc8(p003, p006, i6, i14, nm16, 0, 0)
- mfc8(p004, p006, i2, i10, nm16, 0, 0)
-
- mfc8(p001, p007, i4, i12, nm16, 0, 0)
- mfc8(p002, p007, i5, i13, nm16, 0, 0)
- mfc8(p003, p007, i6, i14, nm16, 0, 0)
- mfc8(p004, p007, i2, i10, nm16, 0, 0)
- mfc8(p005, p007, i3, i11, nm16, 0, 0)
-
-
- /* Verifying access to Packages through the IRefs */
-
- /* Two-directional ring of references */
-
- mfcc(p001, i8, nm16, i000, 0, 0x046)
- mfcc(p002, i8, nm16, i001, 0, 0x047)
- mfcc(p003, i8, nm16, i002, 0, 0x048)
- mfcc(p004, i8, nm16, i003, 0, 0x049)
- mfcc(p005, i8, nm16, i004, 0, 0x04a)
- mfcc(p006, i8, nm16, i005, 0, 0x04b)
- mfcc(p007, i8, nm16, i006, 0, 0x04c)
- mfcc(p000, i8, nm16, i007, 0, 0x04d)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p006, i9, nm16, i007, 0, 0x04e)
- mfcc(p005, i9, nm16, i006, 0, 0x04f)
- mfcc(p004, i9, nm16, i005, 0, 0x050)
- mfcc(p003, i9, nm16, i004, 0, 0x051)
- mfcc(p002, i9, nm16, i003, 0, 0x052)
- mfcc(p001, i9, nm16, i002, 0, 0x053)
- mfcc(p000, i9, nm16, i001, 0, 0x054)
- mfcc(p007, i9, nm16, i000, 0, 0x055)
-
- /* Verify other references */
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i10, nm16, i002, 0, 0x056)
- mfcc(p001, i10, nm16, i007, 0, 0x057)
- mfcc(p002, i10, nm16, i007, 0, 0x058)
- mfcc(p003, i10, nm16, i007, 0, 0x059)
- mfcc(p004, i10, nm16, i007, 0, 0x05a)
- mfcc(p005, i10, nm16, i007, 0, 0x05b)
- mfcc(p006, i10, nm16, i004, 0, 0x05c)
- mfcc(p007, i10, nm16, i004, 0, 0x05d)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i11, nm16, i003, 0, 0x05e)
- mfcc(p001, i11, nm16, i003, 0, 0x05f)
- mfcc(p002, i11, nm16, i000, 0, 0x060)
- mfcc(p003, i11, nm16, i000, 0, 0x061)
- mfcc(p004, i11, nm16, i000, 0, 0x062)
- mfcc(p005, i11, nm16, i000, 0, 0x063)
- mfcc(p006, i11, nm16, i000, 0, 0x064)
- mfcc(p007, i11, nm16, i005, 0, 0x065)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i12, nm16, i004, 0, 0x066)
- mfcc(p001, i12, nm16, i004, 0, 0x067)
- mfcc(p002, i12, nm16, i004, 0, 0x068)
- mfcc(p003, i12, nm16, i001, 0, 0x069)
- mfcc(p004, i12, nm16, i001, 0, 0x06a)
- mfcc(p005, i12, nm16, i001, 0, 0x06b)
- mfcc(p006, i12, nm16, i001, 0, 0x06c)
- mfcc(p007, i12, nm16, i001, 0, 0x06d)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i13, nm16, i005, 0, 0x06e)
- mfcc(p001, i13, nm16, i005, 0, 0x06f)
- mfcc(p002, i13, nm16, i005, 0, 0x070)
- mfcc(p003, i13, nm16, i005, 0, 0x071)
- mfcc(p004, i13, nm16, i002, 0, 0x072)
- mfcc(p005, i13, nm16, i002, 0, 0x073)
- mfcc(p006, i13, nm16, i002, 0, 0x074)
- mfcc(p007, i13, nm16, i002, 0, 0x075)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i14, nm16, i006, 0, 0x076)
- mfcc(p001, i14, nm16, i006, 0, 0x077)
- mfcc(p002, i14, nm16, i006, 0, 0x078)
- mfcc(p003, i14, nm16, i006, 0, 0x079)
- mfcc(p004, i14, nm16, i006, 0, 0x07a)
- mfcc(p005, i14, nm16, i003, 0, 0x07b)
- mfcc(p006, i14, nm16, i003, 0, 0x07c)
- mfcc(p007, i14, nm16, i003, 0, 0x07d)
-}
-
-/*
- * Extended Web of references
- */
-Method(mfd7, 7, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Name(sz, 32) // full size of Package
- Name(prt, 16) // number of different parts
- Name(nm16, 0) // 1/16 of size
- Name(i1, 0) // 1/16 of size
- Name(i2, 0) // 2/16 of size
- Name(i3, 0)
- Name(i4, 0)
- Name(i5, 0)
- Name(i6, 0)
- Name(i8, 0)
- Name(i9, 0)
- Name(i10, 0)
- Name(i11, 0)
- Name(i12, 0)
- Name(i13, 0)
- Name(i14, 0)
-
- Name(p000, Package(sz) {})
- Name(p001, Package(sz) {})
- Name(p002, Package(sz) {})
- Name(p003, Package(sz) {})
- Name(p004, Package(sz) {})
- Name(p005, Package(sz) {})
- Name(p006, Package(sz) {})
- Name(p007, Package(sz) {})
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0100)
- Name(i002, 0xabcd0200)
- Name(i003, 0xabcd0300)
- Name(i004, 0xabcd0400)
- Name(i005, 0xabcd0500)
- Name(i006, 0xabcd0600)
- Name(i007, 0xabcd0700)
-
- Name(iii0, 0)
- Name(iii1, 0)
- Name(iii2, 0)
- Name(iii3, 0)
- Name(iii4, 0)
- Name(iii5, 0)
- Name(iii6, 0)
- Name(iii7, 0)
-
- Divide(sz, prt, Local0, nm16)
-
- Store(nm16, i1)
- Multiply(nm16, 2, i2)
- Multiply(nm16, 3, i3)
- Multiply(nm16, 4, i4)
- Multiply(nm16, 5, i5)
- Multiply(nm16, 6, i6)
- Multiply(nm16, 8, i8)
- Multiply(nm16, 9, i9)
- Multiply(nm16, 10, i10)
- Multiply(nm16, 11, i11)
- Multiply(nm16, 12, i12)
- Multiply(nm16, 13, i13)
- Multiply(nm16, 14, i14)
-
-
- /* Initializing full Packages with monotone increasing Integers */
-
- mfc7(p000, 0, sz, i000)
- mfc7(p001, 0, sz, i001)
- mfc7(p002, 0, sz, i002)
- mfc7(p003, 0, sz, i003)
- mfc7(p004, 0, sz, i004)
- mfc7(p005, 0, sz, i005)
- mfc7(p006, 0, sz, i006)
- mfc7(p007, 0, sz, i007)
-
- /* Initializing the Package with IRefs */
-
- /* Generate two-directional ring of references */
-
- mfc8(p000, p001, 0, i8, nm16, 0, 0)
- mfc8(p001, p002, 0, i8, nm16, 0, 0)
- mfc8(p002, p003, 0, i8, nm16, 0, 0)
- mfc8(p003, p004, 0, i8, nm16, 0, 0)
- mfc8(p004, p005, 0, i8, nm16, 0, 0)
- mfc8(p005, p006, 0, i8, nm16, 0, 0)
- mfc8(p006, p007, 0, i8, nm16, 0, 0)
- mfc8(p007, p000, 0, i8, nm16, 0, 0)
-
- /* Do some initialization repeatedly so writing upon references */
-
- Store(2, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
- mfc8(p007, p006, i1, i9, nm16, 0, 0)
- mfc8(p006, p005, i1, i9, nm16, 0, 0)
- mfc8(p005, p004, i1, i9, nm16, 0, 0)
- mfc8(p004, p003, i1, i9, nm16, 0, 0)
- mfc8(p003, p002, i1, i9, nm16, 0, 0)
- mfc8(p002, p001, i1, i9, nm16, 0, 0)
- mfc8(p001, p000, i1, i9, nm16, 0, 0)
- mfc8(p000, p007, i1, i9, nm16, 0, 0)
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- /* Store references additionally to LocalX */
-
- Store(Index(p000, 0), Local0)
- Store(Index(p000, 0), Local1)
- Store(Index(p000, 0), Local2)
- Store(Index(p000, 0), Local3)
- Store(Index(p000, 0), Local4)
- Store(Index(p000, 0), Local5)
- Store(Index(p000, 0), Local6)
- Store(Index(p000, 0), Local7)
-
- /* Re-write */
-
- Store(Index(p000, 0), Local0)
- Store(Index(p000, 0), Local1)
- Store(Index(p000, 0), Local2)
- Store(Index(p000, 0), Local3)
- Store(Index(p001, 0), Local4)
- Store(Index(p002, 0), Local5)
- Store(Index(p003, 0), Local6)
- Store(Index(p004, 0), Local7)
-
- /* Store references additionally to ArgX */
-
- Store(Index(p000, 0), arg0)
- Store(Index(p000, 0), arg1)
- Store(Index(p000, 0), arg2)
- Store(Index(p000, 0), arg3)
- Store(Index(p000, 0), arg4)
- Store(Index(p000, 0), arg5)
- Store(Index(p000, 0), arg6)
-
- /* Re-write */
-
- Store(Index(p000, 0), arg0)
- Store(Index(p000, 0), arg1)
- Store(Index(p000, 0), arg2)
- Store(Index(p000, 0), arg3)
- Store(Index(p001, 0), arg4)
- Store(Index(p002, 0), arg5)
- Store(Index(p003, 0), arg6)
-
- /* Store references additionally to NamedX */
-
- CopyObject(Index(p000, 0), iii0)
- CopyObject(Index(p000, 0), iii1)
- CopyObject(Index(p000, 0), iii2)
- CopyObject(Index(p000, 0), iii3)
- CopyObject(Index(p000, 0), iii4)
- CopyObject(Index(p000, 0), iii5)
- CopyObject(Index(p000, 0), iii6)
- CopyObject(Index(p000, 0), iii7)
-
- /* Re-write */
-
- CopyObject(Index(p000, 0), iii0)
- CopyObject(Index(p000, 0), iii1)
- CopyObject(Index(p000, 0), iii2)
- CopyObject(Index(p000, 0), iii3)
- CopyObject(Index(p001, 0), iii4)
- CopyObject(Index(p002, 0), iii5)
- CopyObject(Index(p003, 0), iii6)
- CopyObject(Index(p004, 0), iii7)
-
- /*
- * Join all other packages
- * (two directions for each two points)
- */
-
- mfc8(p002, p000, i2, i10, nm16, 0, 0)
- mfc8(p003, p000, i3, i11, nm16, 0, 0)
- mfc8(p004, p000, i4, i12, nm16, 0, 0)
- mfc8(p005, p000, i5, i13, nm16, 0, 0)
- mfc8(p006, p000, i6, i14, nm16, 0, 0)
-
- mfc8(p003, p001, i3, i11, nm16, 0, 0)
- mfc8(p004, p001, i4, i12, nm16, 0, 0)
- mfc8(p005, p001, i5, i13, nm16, 0, 0)
- mfc8(p006, p001, i6, i14, nm16, 0, 0)
- mfc8(p007, p001, i2, i10, nm16, 0, 0)
-
- /* Do some initialization repeatedly so writing upon references */
-
- Store(2, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
-
- mfc8(p004, p002, i4, i12, nm16, 0, 0)
- mfc8(p005, p002, i5, i13, nm16, 0, 0)
- mfc8(p006, p002, i6, i14, nm16, 0, 0)
- mfc8(p007, p002, i2, i10, nm16, 0, 0)
- mfc8(p000, p002, i3, i11, nm16, 0, 0)
-
- mfc8(p005, p003, i5, i13, nm16, 0, 0)
- mfc8(p006, p003, i6, i14, nm16, 0, 0)
- mfc8(p007, p003, i2, i10, nm16, 0, 0)
- mfc8(p000, p003, i3, i11, nm16, 0, 0)
- mfc8(p001, p003, i4, i12, nm16, 0, 0)
-
- mfc8(p006, p004, i6, i14, nm16, 0, 0)
- mfc8(p007, p004, i2, i10, nm16, 0, 0)
- mfc8(p000, p004, i3, i11, nm16, 0, 0)
- mfc8(p001, p004, i4, i12, nm16, 0, 0)
- mfc8(p002, p004, i5, i13, nm16, 0, 0)
-
- mfc8(p007, p005, i2, i10, nm16, 0, 0)
- mfc8(p000, p005, i3, i11, nm16, 0, 0)
- mfc8(p001, p005, i4, i12, nm16, 0, 0)
- mfc8(p002, p005, i5, i13, nm16, 0, 0)
- mfc8(p003, p005, i6, i14, nm16, 0, 0)
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- mfc8(p000, p006, i3, i11, nm16, 0, 0)
- mfc8(p001, p006, i4, i12, nm16, 0, 0)
- mfc8(p002, p006, i5, i13, nm16, 0, 0)
- mfc8(p003, p006, i6, i14, nm16, 0, 0)
- mfc8(p004, p006, i2, i10, nm16, 0, 0)
-
- mfc8(p001, p007, i4, i12, nm16, 0, 0)
- mfc8(p002, p007, i5, i13, nm16, 0, 0)
- mfc8(p003, p007, i6, i14, nm16, 0, 0)
- mfc8(p004, p007, i2, i10, nm16, 0, 0)
- mfc8(p005, p007, i3, i11, nm16, 0, 0)
-
-
- /* Verifying access to Packages through the IRefs */
-
- /* Two-directional ring of references */
-
- mfcc(p001, i8, nm16, i000, 0, 0x07e)
- mfcc(p002, i8, nm16, i001, 0, 0x07f)
- mfcc(p003, i8, nm16, i002, 0, 0x080)
- mfcc(p004, i8, nm16, i003, 0, 0x081)
- mfcc(p005, i8, nm16, i004, 0, 0x082)
- mfcc(p006, i8, nm16, i005, 0, 0x083)
- mfcc(p007, i8, nm16, i006, 0, 0x084)
- mfcc(p000, i8, nm16, i007, 0, 0x085)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p006, i9, nm16, i007, 0, 0x086)
- mfcc(p005, i9, nm16, i006, 0, 0x087)
- mfcc(p004, i9, nm16, i005, 0, 0x088)
- mfcc(p003, i9, nm16, i004, 0, 0x089)
- mfcc(p002, i9, nm16, i003, 0, 0x08a)
- mfcc(p001, i9, nm16, i002, 0, 0x08b)
- mfcc(p000, i9, nm16, i001, 0, 0x08c)
- mfcc(p007, i9, nm16, i000, 0, 0x08d)
-
- /* Verify other references */
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i10, nm16, i002, 0, 0x08e)
- mfcc(p001, i10, nm16, i007, 0, 0x08f)
- mfcc(p002, i10, nm16, i007, 0, 0x090)
- mfcc(p003, i10, nm16, i007, 0, 0x091)
- mfcc(p004, i10, nm16, i007, 0, 0x092)
- mfcc(p005, i10, nm16, i007, 0, 0x093)
- mfcc(p006, i10, nm16, i004, 0, 0x094)
- mfcc(p007, i10, nm16, i004, 0, 0x095)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i11, nm16, i003, 0, 0x096)
- mfcc(p001, i11, nm16, i003, 0, 0x097)
- mfcc(p002, i11, nm16, i000, 0, 0x098)
- mfcc(p003, i11, nm16, i000, 0, 0x099)
- mfcc(p004, i11, nm16, i000, 0, 0x09a)
- mfcc(p005, i11, nm16, i000, 0, 0x09b)
- mfcc(p006, i11, nm16, i000, 0, 0x09c)
- mfcc(p007, i11, nm16, i005, 0, 0x09d)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i12, nm16, i004, 0, 0x09e)
- mfcc(p001, i12, nm16, i004, 0, 0x09f)
- mfcc(p002, i12, nm16, i004, 0, 0x0a0)
- mfcc(p003, i12, nm16, i001, 0, 0x0a1)
- mfcc(p004, i12, nm16, i001, 0, 0x0a2)
- mfcc(p005, i12, nm16, i001, 0, 0x0a3)
- mfcc(p006, i12, nm16, i001, 0, 0x0a4)
- mfcc(p007, i12, nm16, i001, 0, 0x0a5)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i13, nm16, i005, 0, 0x0a6)
- mfcc(p001, i13, nm16, i005, 0, 0x0a7)
- mfcc(p002, i13, nm16, i005, 0, 0x0a8)
- mfcc(p003, i13, nm16, i005, 0, 0x0a9)
- mfcc(p004, i13, nm16, i002, 0, 0x0aa)
- mfcc(p005, i13, nm16, i002, 0, 0x0ab)
- mfcc(p006, i13, nm16, i002, 0, 0x0ac)
- mfcc(p007, i13, nm16, i002, 0, 0x0ad)
-
- Add(i007, nm16, i007)
- Add(i006, nm16, i006)
- Add(i005, nm16, i005)
- Add(i004, nm16, i004)
- Add(i003, nm16, i003)
- Add(i002, nm16, i002)
- Add(i001, nm16, i001)
- Add(i000, nm16, i000)
-
- mfcc(p000, i14, nm16, i006, 0, 0x0ae)
- mfcc(p001, i14, nm16, i006, 0, 0x0af)
- mfcc(p002, i14, nm16, i006, 0, 0x0b0)
- mfcc(p003, i14, nm16, i006, 0, 0x0b1)
- mfcc(p004, i14, nm16, i006, 0, 0x0b2)
- mfcc(p005, i14, nm16, i003, 0, 0x0b3)
- mfcc(p006, i14, nm16, i003, 0, 0x0b4)
- mfcc(p007, i14, nm16, i003, 0, 0x0b5)
-
- mfd8(Local0, 0xabcd0000, 0x0b6)
- mfd8(Local1, 0xabcd0000, 0x0b7)
- mfd8(Local2, 0xabcd0000, 0x0b8)
- mfd8(Local3, 0xabcd0000, 0x0b9)
- mfd8(Local4, 0xabcd0100, 0x0ba)
- mfd8(Local5, 0xabcd0200, 0x0bb)
- mfd8(Local6, 0xabcd0300, 0x0bc)
- mfd8(Local7, 0xabcd0400, 0x0bd)
-
- mfd8(arg0, 0xabcd0000, 0x0be)
- mfd8(arg1, 0xabcd0000, 0x0bf)
- mfd8(arg2, 0xabcd0000, 0x0c0)
- mfd8(arg3, 0xabcd0000, 0x0c1)
- mfd8(arg4, 0xabcd0100, 0x0c2)
- mfd8(arg5, 0xabcd0200, 0x0c3)
- mfd8(arg6, 0xabcd0300, 0x0c4)
-
- if (y127) {
- mfd8(iii0, 0xabcd0000, 0x0c5)
- mfd8(iii1, 0xabcd0000, 0x0c6)
- mfd8(iii2, 0xabcd0000, 0x0c7)
- mfd8(iii3, 0xabcd0000, 0x0c8)
- mfd8(iii4, 0xabcd0100, 0x0c9)
- mfd8(iii5, 0xabcd0200, 0x0ca)
- mfd8(iii6, 0xabcd0300, 0x0cb)
- mfd8(iii7, 0xabcd0400, 0x0cc)
- }
-}
-
-Method(mfe9,, Serialized)
-{
- Name(p000, Package(101) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f})
- Name(p002, Package(102) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
-
- Method(m000,, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p002, 0), Index(p001, 8))
- Store(Index(p001, 0), Index(p000, 0))
- Store(Index(p002, 0), Index(p000, 8))
-
- Store(Index(p000, 16), Index(p000, 16))
- Store(Index(p000, 16), Index(p000, 17))
- Store(Index(p000, 18), Index(p000, 19))
- Store(Index(p001, 16), Index(p001, 16))
- Store(Index(p001, 16), Index(p001, 17))
- Store(Index(p001, 18), Index(p001, 19))
- Store(Index(p002, 16), Index(p002, 16))
- Store(Index(p002, 16), Index(p002, 17))
- Store(Index(p002, 18), Index(p002, 19))
- }
-
- Method(m001,, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p002, 1), Index(p001, 9))
- Store(Index(p001, 1), Index(p000, 1))
- Store(Index(p002, 1), Index(p000, 9))
-
- Store(Index(p000, 20), Index(p000, 20))
- Store(Index(p000, 20), Index(p000, 21))
- Store(Index(p000, 22), Index(p000, 23))
- Store(Index(p001, 20), Index(p001, 20))
- Store(Index(p001, 20), Index(p001, 21))
- Store(Index(p001, 22), Index(p001, 23))
- Store(Index(p002, 20), Index(p002, 20))
- Store(Index(p002, 20), Index(p002, 21))
- Store(Index(p002, 22), Index(p002, 23))
-
- m000()
- }
-
- Method(m002,, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p002, 2), Index(p001, 10))
- Store(Index(p001, 2), Index(p000, 2))
- Store(Index(p002, 2), Index(p000, 10))
-
- Store(Index(p000, 30), Index(p000, 30))
- Store(Index(p000, 30), Index(p000, 31))
- Store(Index(p000, 32), Index(p000, 33))
- Store(Index(p001, 30), Index(p001, 30))
- Store(Index(p001, 30), Index(p001, 31))
- Store(Index(p001, 32), Index(p001, 33))
- Store(Index(p002, 30), Index(p002, 30))
- Store(Index(p002, 30), Index(p002, 31))
- Store(Index(p002, 32), Index(p002, 33))
-
- m001()
- }
-
- Method(m003,, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(p000, 3), Index(p001, 3))
- Store(Index(p002, 3), Index(p001, 11))
- Store(Index(p001, 3), Index(p000, 3))
- Store(Index(p002, 3), Index(p000, 11))
-
- Store(Index(p000, 40), Index(p000, 40))
- Store(Index(p000, 40), Index(p000, 41))
- Store(Index(p000, 42), Index(p000, 43))
- Store(Index(p001, 40), Index(p001, 40))
- Store(Index(p001, 40), Index(p001, 41))
- Store(Index(p001, 42), Index(p001, 43))
- Store(Index(p002, 40), Index(p002, 40))
- Store(Index(p002, 40), Index(p002, 41))
- Store(Index(p002, 42), Index(p002, 43))
-
- m002()
- }
-
- Method(m004,, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(p000, 4), Index(p001, 4))
- Store(Index(p002, 4), Index(p001, 12))
- Store(Index(p001, 4), Index(p000, 4))
- Store(Index(p002, 4), Index(p000, 12))
-
- Store(Index(p000, 50), Index(p000, 50))
- Store(Index(p000, 50), Index(p000, 51))
- Store(Index(p000, 52), Index(p000, 53))
- Store(Index(p001, 50), Index(p001, 50))
- Store(Index(p001, 50), Index(p001, 51))
- Store(Index(p001, 52), Index(p001, 53))
- Store(Index(p002, 50), Index(p002, 50))
- Store(Index(p002, 50), Index(p002, 51))
- Store(Index(p002, 52), Index(p002, 53))
-
- m003()
- }
-
- Method(m005,, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(p000, 5), Index(p001, 5))
- Store(Index(p002, 5), Index(p001, 13))
- Store(Index(p001, 5), Index(p000, 5))
- Store(Index(p002, 5), Index(p000, 13))
-
- Store(Index(p000, 60), Index(p000, 60))
- Store(Index(p000, 60), Index(p000, 61))
- Store(Index(p000, 62), Index(p000, 63))
- Store(Index(p001, 60), Index(p001, 60))
- Store(Index(p001, 60), Index(p001, 61))
- Store(Index(p001, 62), Index(p001, 63))
- Store(Index(p002, 60), Index(p002, 60))
- Store(Index(p002, 60), Index(p002, 61))
- Store(Index(p002, 62), Index(p002, 63))
-
- m004()
- }
-
- Method(m006,, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(p000, 6), Index(p001, 6))
- Store(Index(p002, 6), Index(p001, 14))
- Store(Index(p001, 6), Index(p000, 6))
- Store(Index(p002, 6), Index(p000, 14))
-
- Store(Index(p000, 70), Index(p000, 70))
- Store(Index(p000, 70), Index(p000, 71))
- Store(Index(p000, 72), Index(p000, 73))
- Store(Index(p001, 70), Index(p001, 70))
- Store(Index(p001, 70), Index(p001, 71))
- Store(Index(p001, 72), Index(p001, 73))
- Store(Index(p002, 70), Index(p002, 70))
- Store(Index(p002, 70), Index(p002, 71))
- Store(Index(p002, 72), Index(p002, 73))
-
- m005()
- }
-
- Method(m007,, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(p000, 7), Index(p001, 7))
- Store(Index(p002, 7), Index(p001, 15))
- Store(Index(p001, 7), Index(p000, 7))
- Store(Index(p002, 7), Index(p000, 15))
-
- Store(Index(p000, 80), Index(p000, 80))
- Store(Index(p000, 80), Index(p000, 81))
- Store(Index(p000, 82), Index(p000, 83))
- Store(Index(p001, 80), Index(p001, 80))
- Store(Index(p001, 80), Index(p001, 81))
- Store(Index(p001, 82), Index(p001, 83))
- Store(Index(p002, 80), Index(p002, 80))
- Store(Index(p002, 80), Index(p002, 81))
- Store(Index(p002, 82), Index(p002, 83))
-
- m006()
- }
-
- m007()
- m007()
-}
-
-Method(mfea,, Serialized)
-{
- Name(p000, Package(101) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f})
- Name(p002, Package(102) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
-
- Method(m000, 1, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(arg0, 0), Index(p001, 0))
- Store(Index(p002, 0), Index(p001, 8))
- Store(Index(p001, 0), Index(arg0, 0))
- Store(Index(p002, 0), Index(arg0, 8))
-
- Store(Index(arg0, 16), Index(arg0, 16))
- Store(Index(arg0, 16), Index(arg0, 17))
- Store(Index(arg0, 18), Index(arg0, 19))
- Store(Index(p001, 16), Index(p001, 16))
- Store(Index(p001, 16), Index(p001, 17))
- Store(Index(p001, 18), Index(p001, 19))
- Store(Index(p002, 16), Index(p002, 16))
- Store(Index(p002, 16), Index(p002, 17))
- Store(Index(p002, 18), Index(p002, 19))
- }
-
- Method(m001, 1, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(arg0, 1), Index(p001, 1))
- Store(Index(p002, 1), Index(p001, 9))
- Store(Index(p001, 1), Index(arg0, 1))
- Store(Index(p002, 1), Index(arg0, 9))
-
- Store(Index(arg0, 20), Index(arg0, 20))
- Store(Index(arg0, 20), Index(arg0, 21))
- Store(Index(arg0, 22), Index(arg0, 23))
- Store(Index(p001, 20), Index(p001, 20))
- Store(Index(p001, 20), Index(p001, 21))
- Store(Index(p001, 22), Index(p001, 23))
- Store(Index(p002, 20), Index(p002, 20))
- Store(Index(p002, 20), Index(p002, 21))
- Store(Index(p002, 22), Index(p002, 23))
-
- m000(arg0)
- }
-
- Method(m002, 1, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(arg0, 2), Index(p001, 2))
- Store(Index(p002, 2), Index(p001, 10))
- Store(Index(p001, 2), Index(arg0, 2))
- Store(Index(p002, 2), Index(arg0, 10))
-
- Store(Index(arg0, 30), Index(arg0, 30))
- Store(Index(arg0, 30), Index(arg0, 31))
- Store(Index(arg0, 32), Index(arg0, 33))
- Store(Index(p001, 30), Index(p001, 30))
- Store(Index(p001, 30), Index(p001, 31))
- Store(Index(p001, 32), Index(p001, 33))
- Store(Index(p002, 30), Index(p002, 30))
- Store(Index(p002, 30), Index(p002, 31))
- Store(Index(p002, 32), Index(p002, 33))
-
- m001(arg0)
- }
-
- Method(m003, 1, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(arg0, 3), Index(p001, 3))
- Store(Index(p002, 3), Index(p001, 11))
- Store(Index(p001, 3), Index(arg0, 3))
- Store(Index(p002, 3), Index(arg0, 11))
-
- Store(Index(arg0, 40), Index(arg0, 40))
- Store(Index(arg0, 40), Index(arg0, 41))
- Store(Index(arg0, 42), Index(arg0, 43))
- Store(Index(p001, 40), Index(p001, 40))
- Store(Index(p001, 40), Index(p001, 41))
- Store(Index(p001, 42), Index(p001, 43))
- Store(Index(p002, 40), Index(p002, 40))
- Store(Index(p002, 40), Index(p002, 41))
- Store(Index(p002, 42), Index(p002, 43))
-
- m002(arg0)
- }
-
- Method(m004, 1, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(arg0, 4), Index(p001, 4))
- Store(Index(p002, 4), Index(p001, 12))
- Store(Index(p001, 4), Index(arg0, 4))
- Store(Index(p002, 4), Index(arg0, 12))
-
- Store(Index(arg0, 50), Index(arg0, 50))
- Store(Index(arg0, 50), Index(arg0, 51))
- Store(Index(arg0, 52), Index(arg0, 53))
- Store(Index(p001, 50), Index(p001, 50))
- Store(Index(p001, 50), Index(p001, 51))
- Store(Index(p001, 52), Index(p001, 53))
- Store(Index(p002, 50), Index(p002, 50))
- Store(Index(p002, 50), Index(p002, 51))
- Store(Index(p002, 52), Index(p002, 53))
-
- m003(arg0)
- }
-
- Method(m005, 1, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(arg0, 5), Index(p001, 5))
- Store(Index(p002, 5), Index(p001, 13))
- Store(Index(p001, 5), Index(arg0, 5))
- Store(Index(p002, 5), Index(arg0, 13))
-
- Store(Index(arg0, 60), Index(arg0, 60))
- Store(Index(arg0, 60), Index(arg0, 61))
- Store(Index(arg0, 62), Index(arg0, 63))
- Store(Index(p001, 60), Index(p001, 60))
- Store(Index(p001, 60), Index(p001, 61))
- Store(Index(p001, 62), Index(p001, 63))
- Store(Index(p002, 60), Index(p002, 60))
- Store(Index(p002, 60), Index(p002, 61))
- Store(Index(p002, 62), Index(p002, 63))
-
- m004(arg0)
- }
-
- Method(m006, 1, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(arg0, 6), Index(p001, 6))
- Store(Index(p002, 6), Index(p001, 14))
- Store(Index(p001, 6), Index(arg0, 6))
- Store(Index(p002, 6), Index(arg0, 14))
-
- Store(Index(arg0, 70), Index(arg0, 70))
- Store(Index(arg0, 70), Index(arg0, 71))
- Store(Index(arg0, 72), Index(arg0, 73))
- Store(Index(p001, 70), Index(p001, 70))
- Store(Index(p001, 70), Index(p001, 71))
- Store(Index(p001, 72), Index(p001, 73))
- Store(Index(p002, 70), Index(p002, 70))
- Store(Index(p002, 70), Index(p002, 71))
- Store(Index(p002, 72), Index(p002, 73))
-
- m005(arg0)
- }
-
- Method(m007, 1, Serialized)
- {
- Name(p001, Package(100) {0,1})
- Store(Index(arg0, 7), Index(p001, 7))
- Store(Index(p002, 7), Index(p001, 15))
- Store(Index(p001, 7), Index(arg0, 7))
- Store(Index(p002, 7), Index(arg0, 15))
-
- Store(Index(arg0, 80), Index(arg0, 80))
- Store(Index(arg0, 80), Index(arg0, 81))
- Store(Index(arg0, 82), Index(arg0, 83))
- Store(Index(p001, 80), Index(p001, 80))
- Store(Index(p001, 80), Index(p001, 81))
- Store(Index(p001, 82), Index(p001, 83))
- Store(Index(p002, 80), Index(p002, 80))
- Store(Index(p002, 80), Index(p002, 81))
- Store(Index(p002, 82), Index(p002, 83))
-
- m006(arg0)
- }
-
- m007(p000)
- m007(p000)
-}
-
-Method(mfeb,, Serialized)
-{
- Name(cmd0, 0)
-
- Name(p000, Package(30) {0,1,2,3,4,5,6,7,8,9})
- Name(p001, Package(31) {0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79})
- Name(p002, Package(32) {0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89})
- Name(p003, Package(33) {0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99})
- Name(p004, Package(34) {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9})
- Name(p005, Package(35) {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9})
- Name(p006, Package(36) {0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9})
- Name(p007, Package(37) {0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9})
-
- Method(m000, 7, Serialized)
- {
- Name(pp00, Package(64) {0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7})
- Name(pp01, Package(64) {0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7})
-
-
- Store(Index(arg0, 0), Index(pp01, 8))
- Store(Index(arg1, 1), Index(pp01, 9))
- Store(Index(arg2, 2), Index(pp01, 10))
- Store(Index(arg3, 3), Index(pp01, 11))
- Store(Index(arg4, 4), Index(pp01, 12))
- Store(Index(arg5, 5), Index(pp01, 13))
- Store(Index(arg6, 6), Index(pp01, 14))
- Store(Index(pp00, 0), Index(pp01, 15))
- Store(Index(pp01, 0), Index(pp01, 16))
- Store(Index(pp01, 9), Index(pp01, 17))
- Store(Index(p000, 0), Index(pp01, 18))
- Store(Index(p001, 0), Index(pp01, 19))
- Store(Index(p002, 0), Index(pp01, 20))
- Store(Index(p003, 0), Index(pp01, 21))
- Store(Index(p004, 0), Index(pp01, 22))
- Store(Index(p005, 0), Index(pp01, 23))
- Store(Index(p006, 0), Index(pp01, 24))
-
- Store(Index(arg0, 0), Index(pp00, 8))
- Store(Index(arg0, 1), Index(pp00, 9))
- Store(Index(arg0, 2), Index(pp00, 10))
- Store(Index(arg0, 3), Index(pp00, 11))
- Store(Index(arg0, 4), Index(pp00, 12))
- Store(Index(arg0, 5), Index(pp00, 13))
- Store(Index(arg0, 6), Index(pp00, 14))
- Store(Index(pp00, 0), Index(pp00, 15))
- Store(Index(pp01, 0), Index(pp00, 16))
- Store(Index(pp01, 9), Index(pp00, 17))
- Store(Index(p000, 0), Index(pp00, 18))
- Store(Index(p001, 0), Index(pp00, 19))
- Store(Index(p002, 0), Index(pp00, 20))
- Store(Index(p003, 0), Index(pp00, 21))
- Store(Index(p004, 0), Index(pp00, 22))
- Store(Index(p005, 0), Index(pp00, 23))
- Store(Index(p006, 0), Index(pp00, 24))
-
- Store(Index(arg0, 0), Index(p000, 8))
- Store(Index(arg1, 1), Index(p000, 9))
- Store(Index(arg2, 2), Index(p000, 10))
- Store(Index(arg3, 3), Index(p000, 11))
- Store(Index(arg4, 4), Index(p000, 12))
- Store(Index(arg5, 5), Index(p000, 13))
- Store(Index(arg6, 6), Index(p000, 14))
- Store(Index(pp00, 0), Index(p000, 15))
- Store(Index(pp01, 0), Index(p000, 16))
- Store(Index(pp01, 9), Index(p000, 17))
- Store(Index(p000, 0), Index(p000, 18))
- Store(Index(p001, 0), Index(p000, 19))
- Store(Index(p002, 0), Index(p000, 20))
- Store(Index(p003, 0), Index(p000, 21))
- Store(Index(p004, 0), Index(p000, 22))
- Store(Index(p005, 0), Index(p000, 23))
- Store(Index(p006, 0), Index(p000, 24))
-
- Store(Index(arg0, 0), Index(p001, 8))
- Store(Index(arg0, 1), Index(p001, 9))
- Store(Index(arg0, 2), Index(p001, 10))
- Store(Index(arg0, 3), Index(p001, 11))
- Store(Index(arg0, 4), Index(p001, 12))
- Store(Index(arg0, 5), Index(p001, 13))
- Store(Index(arg0, 6), Index(p001, 14))
- Store(Index(pp00, 0), Index(p001, 15))
- Store(Index(pp01, 0), Index(p001, 16))
- Store(Index(pp01, 9), Index(p001, 17))
- Store(Index(p000, 0), Index(p001, 18))
- Store(Index(p001, 0), Index(p001, 19))
- Store(Index(p002, 0), Index(p001, 20))
- Store(Index(p003, 0), Index(p001, 21))
- Store(Index(p004, 0), Index(p001, 22))
- Store(Index(p005, 0), Index(p001, 23))
- Store(Index(p006, 0), Index(p001, 24))
-
- Store(DerefOf(Index(arg0, 3)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x301, 0, 0, Local0, 3)
- }
-
- Store(DerefOf(Index(arg1, 3)), Local0)
- if (LNotEqual(Local0, 0x13)) {
- err("", zFFF, 0x302, 0, 0, Local0, 0x13)
- }
-
- Store(DerefOf(Index(arg2, 3)), Local0)
- if (LNotEqual(Local0, 0x23)) {
- err("", zFFF, 0x303, 0, 0, Local0, 0x23)
- }
-
- Store(DerefOf(Index(arg3, 3)), Local0)
- if (LNotEqual(Local0, 0x33)) {
- err("", zFFF, 0x304, 0, 0, Local0, 0x33)
- }
-
- Store(DerefOf(Index(arg4, 3)), Local0)
- if (LNotEqual(Local0, 0x43)) {
- err("", zFFF, 0x305, 0, 0, Local0, 0x43)
- }
-
- Store(DerefOf(Index(arg5, 3)), Local0)
- if (LNotEqual(Local0, 0x53)) {
- err("", zFFF, 0x306, 0, 0, Local0, 0x53)
- }
-
- Store(DerefOf(Index(arg6, 3)), Local0)
- if (LNotEqual(Local0, 0x63)) {
- err("", zFFF, 0x307, 0, 0, Local0, 0x63)
- }
-
- Store(DerefOf(Index(p000, 14)), Local0)
- Store(DerefOf(Local0), Local1)
- if (LNotEqual(Local1, 0x66)) {
- err("", zFFF, 0x308, 0, 0, Local1, 0x66)
- }
-
- if (LEqual(cmd0, 1)) {
-
- Store(p007, arg0)
- Store(p001, arg1)
- Store(p002, arg2)
- Store(p003, arg3)
- Store(p004, arg4)
- Store(p005, arg5)
- Store(p006, arg6)
-
- Store(Index(arg0, 0), Index(pp01, 8))
- Store(Index(arg1, 1), Index(pp01, 9))
- Store(Index(arg2, 2), Index(pp01, 10))
- Store(Index(arg3, 3), Index(pp01, 11))
- Store(Index(arg4, 4), Index(pp01, 12))
- Store(Index(arg5, 5), Index(pp01, 13))
- Store(Index(arg6, 6), Index(pp01, 14))
- Store(Index(pp00, 0), Index(pp01, 15))
- Store(Index(pp01, 0), Index(pp01, 16))
- Store(Index(pp01, 9), Index(pp01, 17))
- Store(Index(p000, 0), Index(pp01, 18))
- Store(Index(p001, 0), Index(pp01, 19))
- Store(Index(p002, 0), Index(pp01, 20))
- Store(Index(p003, 0), Index(pp01, 21))
- Store(Index(p004, 0), Index(pp01, 22))
- Store(Index(p005, 0), Index(pp01, 23))
- Store(Index(p006, 0), Index(pp01, 24))
-
- Store(Index(arg0, 0), Index(pp00, 8))
- Store(Index(arg0, 1), Index(pp00, 9))
- Store(Index(arg0, 2), Index(pp00, 10))
- Store(Index(arg0, 3), Index(pp00, 11))
- Store(Index(arg0, 4), Index(pp00, 12))
- Store(Index(arg0, 5), Index(pp00, 13))
- Store(Index(arg0, 6), Index(pp00, 14))
- Store(Index(pp00, 0), Index(pp00, 15))
- Store(Index(pp01, 0), Index(pp00, 16))
- Store(Index(pp01, 9), Index(pp00, 17))
- Store(Index(p000, 0), Index(pp00, 18))
- Store(Index(p001, 0), Index(pp00, 19))
- Store(Index(p002, 0), Index(pp00, 20))
- Store(Index(p003, 0), Index(pp00, 21))
- Store(Index(p004, 0), Index(pp00, 22))
- Store(Index(p005, 0), Index(pp00, 23))
- Store(Index(p006, 0), Index(pp00, 24))
-
- Store(Index(arg0, 0), Index(p000, 8))
- Store(Index(arg1, 1), Index(p000, 9))
- Store(Index(arg2, 2), Index(p000, 10))
- Store(Index(arg3, 3), Index(p000, 11))
- Store(Index(arg4, 4), Index(p000, 12))
- Store(Index(arg5, 5), Index(p000, 13))
- Store(Index(arg6, 6), Index(p000, 14))
- Store(Index(pp00, 0), Index(p000, 15))
- Store(Index(pp01, 0), Index(p000, 16))
- Store(Index(pp01, 9), Index(p000, 17))
- Store(Index(p000, 0), Index(p000, 18))
- Store(Index(p001, 0), Index(p000, 19))
- Store(Index(p002, 0), Index(p000, 20))
- Store(Index(p003, 0), Index(p000, 21))
- Store(Index(p004, 0), Index(p000, 22))
- Store(Index(p005, 0), Index(p000, 23))
- Store(Index(p006, 0), Index(p000, 24))
-
- Store(Index(arg0, 0), Index(p001, 8))
- Store(Index(arg0, 1), Index(p001, 9))
- Store(Index(arg0, 2), Index(p001, 10))
- Store(Index(arg0, 3), Index(p001, 11))
- Store(Index(arg0, 4), Index(p001, 12))
- Store(Index(arg0, 5), Index(p001, 13))
- Store(Index(arg0, 6), Index(p001, 14))
- Store(Index(pp00, 0), Index(p001, 15))
- Store(Index(pp01, 0), Index(p001, 16))
- Store(Index(pp01, 9), Index(p001, 17))
- Store(Index(p000, 0), Index(p001, 18))
- Store(Index(p001, 0), Index(p001, 19))
- Store(Index(p002, 0), Index(p001, 20))
- Store(Index(p003, 0), Index(p001, 21))
- Store(Index(p004, 0), Index(p001, 22))
- Store(Index(p005, 0), Index(p001, 23))
- Store(Index(p006, 0), Index(p001, 24))
-
- Store(DerefOf(Index(arg0, 3)), Local0)
- if (LNotEqual(Local0, 0xd3)) {
- err("", zFFF, 0x309, 0, 0, Local0, 0xd3)
- }
- Store(DerefOf(Index(arg1, 3)), Local0)
- if (LNotEqual(Local0, 0x73)) {
- err("", zFFF, 0x30a, 0, 0, Local0, 0x73)
- }
- Store(DerefOf(Index(arg2, 3)), Local0)
- if (LNotEqual(Local0, 0x83)) {
- err("", zFFF, 0x30b, 0, 0, Local0, 0x83)
- }
- Store(DerefOf(Index(arg3, 3)), Local0)
- if (LNotEqual(Local0, 0x93)) {
- err("", zFFF, 0x30c, 0, 0, Local0, 0x93)
- }
- Store(DerefOf(Index(arg4, 3)), Local0)
- if (LNotEqual(Local0, 0xa3)) {
- err("", zFFF, 0x30d, 0, 0, Local0, 0xa3)
- }
- Store(DerefOf(Index(arg5, 3)), Local0)
- if (LNotEqual(Local0, 0xb3)) {
- err("", zFFF, 0x30e, 0, 0, Local0, 0xb3)
- }
- Store(DerefOf(Index(arg6, 3)), Local0)
- if (LNotEqual(Local0, 0xc3)) {
- err("", zFFF, 0x30f, 0, 0, Local0, 0xc3)
- }
-
- Store(DerefOf(Index(p000, 14)), Local0)
- Store(DerefOf(Local0), Local1)
- if (LNotEqual(Local1, 0xc6)) {
- err("", zFFF, 0x310, 0, 0, Local1, 0xc6)
- }
- }
- }
-
- Method(m001, 7, Serialized)
- {
- Name(pp00, Package(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
- Name(pp01, Package(64) {0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7})
-
- m000(arg0,pp00,arg2,arg3,arg4,arg5,arg6)
-
- if (LEqual(cmd0, 0)) {
-
- Store(p007, arg0)
- Store(p001, arg1)
- Store(p002, arg2)
- Store(p003, arg3)
- Store(p004, arg4)
- Store(p005, arg5)
- Store(p006, arg6)
-
- Store(Index(arg0, 0), Index(pp01, 8))
- Store(Index(arg1, 1), Index(pp01, 9))
- Store(Index(arg2, 2), Index(pp01, 10))
- Store(Index(arg3, 3), Index(pp01, 11))
- Store(Index(arg4, 4), Index(pp01, 12))
- Store(Index(arg5, 5), Index(pp01, 13))
- Store(Index(arg6, 6), Index(pp01, 14))
- Store(Index(pp00, 0), Index(pp01, 15))
- Store(Index(pp01, 0), Index(pp01, 16))
- Store(Index(pp01, 9), Index(pp01, 17))
- Store(Index(p000, 0), Index(pp01, 18))
- Store(Index(p001, 0), Index(pp01, 19))
- Store(Index(p002, 0), Index(pp01, 20))
- Store(Index(p003, 0), Index(pp01, 21))
- Store(Index(p004, 0), Index(pp01, 22))
- Store(Index(p005, 0), Index(pp01, 23))
- Store(Index(p006, 0), Index(pp01, 24))
-
- Store(Index(arg0, 0), Index(pp00, 8))
- Store(Index(arg0, 1), Index(pp00, 9))
- Store(Index(arg0, 2), Index(pp00, 10))
- Store(Index(arg0, 3), Index(pp00, 11))
- Store(Index(arg0, 4), Index(pp00, 12))
- Store(Index(arg0, 5), Index(pp00, 13))
- Store(Index(arg0, 6), Index(pp00, 14))
- Store(Index(pp00, 0), Index(pp00, 15))
- Store(Index(pp01, 0), Index(pp00, 16))
- Store(Index(pp01, 9), Index(pp00, 17))
- Store(Index(p000, 0), Index(pp00, 18))
- Store(Index(p001, 0), Index(pp00, 19))
- Store(Index(p002, 0), Index(pp00, 20))
- Store(Index(p003, 0), Index(pp00, 21))
- Store(Index(p004, 0), Index(pp00, 22))
- Store(Index(p005, 0), Index(pp00, 23))
- Store(Index(p006, 0), Index(pp00, 24))
-
- Store(Index(arg0, 0), Index(p000, 8))
- Store(Index(arg1, 1), Index(p000, 9))
- Store(Index(arg2, 2), Index(p000, 10))
- Store(Index(arg3, 3), Index(p000, 11))
- Store(Index(arg4, 4), Index(p000, 12))
- Store(Index(arg5, 5), Index(p000, 13))
- Store(Index(arg6, 6), Index(p000, 14))
- Store(Index(pp00, 0), Index(p000, 15))
- Store(Index(pp01, 0), Index(p000, 16))
- Store(Index(pp01, 9), Index(p000, 17))
- Store(Index(p000, 0), Index(p000, 18))
- Store(Index(p001, 0), Index(p000, 19))
- Store(Index(p002, 0), Index(p000, 20))
- Store(Index(p003, 0), Index(p000, 21))
- Store(Index(p004, 0), Index(p000, 22))
- Store(Index(p005, 0), Index(p000, 23))
- Store(Index(p006, 0), Index(p000, 24))
-
- Store(Index(arg0, 0), Index(p001, 8))
- Store(Index(arg0, 1), Index(p001, 9))
- Store(Index(arg0, 2), Index(p001, 10))
- Store(Index(arg0, 3), Index(p001, 11))
- Store(Index(arg0, 4), Index(p001, 12))
- Store(Index(arg0, 5), Index(p001, 13))
- Store(Index(arg0, 6), Index(p001, 14))
- Store(Index(pp00, 0), Index(p001, 15))
- Store(Index(pp01, 0), Index(p001, 16))
- Store(Index(pp01, 9), Index(p001, 17))
- Store(Index(p000, 0), Index(p001, 18))
- Store(Index(p001, 0), Index(p001, 19))
- Store(Index(p002, 0), Index(p001, 20))
- Store(Index(p003, 0), Index(p001, 21))
- Store(Index(p004, 0), Index(p001, 22))
- Store(Index(p005, 0), Index(p001, 23))
- Store(Index(p006, 0), Index(p001, 24))
-
- Store(DerefOf(Index(arg0, 3)), Local0)
- if (LNotEqual(Local0, 0xd3)) {
- err("", zFFF, 0x311, 0, 0, Local0, 0xd3)
- }
- Store(DerefOf(Index(arg1, 3)), Local0)
- if (LNotEqual(Local0, 0x73)) {
- err("", zFFF, 0x312, 0, 0, Local0, 0x73)
- }
- Store(DerefOf(Index(arg2, 3)), Local0)
- if (LNotEqual(Local0, 0x83)) {
- err("", zFFF, 0x313, 0, 0, Local0, 0x83)
- }
- Store(DerefOf(Index(arg3, 3)), Local0)
- if (LNotEqual(Local0, 0x93)) {
- err("", zFFF, 0x314, 0, 0, Local0, 0x93)
- }
- Store(DerefOf(Index(arg4, 3)), Local0)
- if (LNotEqual(Local0, 0xa3)) {
- err("", zFFF, 0x315, 0, 0, Local0, 0xa3)
- }
- Store(DerefOf(Index(arg5, 3)), Local0)
- if (LNotEqual(Local0, 0xb3)) {
- err("", zFFF, 0x316, 0, 0, Local0, 0xb3)
- }
- Store(DerefOf(Index(arg6, 3)), Local0)
- if (LNotEqual(Local0, 0xc3)) {
- err("", zFFF, 0x317, 0, 0, Local0, 0xc3)
- }
-
- Store(DerefOf(Index(p000, 14)), Local0)
- Store(DerefOf(Local0), Local1)
- if (LNotEqual(Local1, 0xc6)) {
- err("", zFFF, 0x318, 0, 0, Local1, 0xc6)
- }
- }
- }
-
- Method(m002, 7, Serialized)
- {
- Name(pp00, Package(64) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
-
- m001(arg0,arg1,pp00,arg3,arg4,arg5,arg6)
- Store(pp00, arg0)
- }
-
- Method(m003, 7, Serialized)
- {
- Name(pp00, Package(64) {0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37})
-
- m002(arg0,arg1,arg2,pp00,arg4,arg5,arg6)
- Store(pp00, arg0)
- }
-
- Method(m004, 7, Serialized)
- {
- Name(pp00, Package(64) {0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47})
-
- m003(arg0,arg1,arg2,arg3,pp00,arg5,arg6)
- Store(pp00, arg0)
- }
-
- Method(m005, 7, Serialized)
- {
- Name(pp00, Package(64) {0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57})
-
- m004(arg0,arg1,arg2,arg3,arg4,pp00,arg6)
- Store(pp00, arg0)
- }
-
- Method(m006, 7, Serialized)
- {
- Name(pp00, Package(64) {0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67})
-
- m005(arg0,arg1,arg2,arg3,arg4,arg5,pp00)
- Store(pp00, arg0)
- }
-
- Store(0, cmd0)
- m006(p000,p001,p002,p003,p004,p005,p006)
-
- Store(1, cmd0)
- m006(p000,p001,p002,p003,p004,p005,p006)
-}
-
-Method(mf01,, Serialized)
-{
- Name(i000, 0)
- Name(i001, 1)
- Name(i002, 2)
- Name(i003, 3)
-
- /* 4-level hierarchy model: 0,1,2,3 */
-
- Name(pp00, Package(8){0x44})
- Name(pp10, Package(8){0x1044})
-
- Name(p000, Package() {
- Package() {0x00,0x01,0x02,0x03,Package(8){0x04},0x05,0x06,0x07},
- 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
- Package() {0x10,0x11,0x12,0x13,Package(8){0x14},0x15,0x16,0x17},
- Package() {0x18},0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
- Package() {0x10,0x21,0x22,0x23,Package(8){0x24},0x25,0x26,0x27},
- 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
- Package() {0x20,0x31,0x32,0x33,Package(8){0x34},0x35,0x36,0x37},
- 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
- Package() {0x30,0x41,0x42,0x43,pp00,0x45,0x46,0x47},
- 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
- Package() {0x40,0x51,0x52,0x53,Package(8){0x54},0x55,0x56,0x57},
- 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
- Package() {0x50,0x61,0x62,0x63,Package(8){0x64},0x65,0x66,0x67},
- 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
- Package() {0x60,0x71,0x72,0x73,Package(8){0x74},0x75,0x76,0x77},
- 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
- Package() {0x80,0x81,0x82,0x83,Package(8){0x84},0x85,0x86,0x87},
- Package() {0x88},0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
- Package() {0x90,0x91,0x92,0x93,Package(8){0x94},0x95,0x96,0x97},
- Package() {0x98},0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
- Package() {0xa0,0xa1,0xa2,0xa3,Package(8){0xa4},0xa5,0xa6,0xa7},
- 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
- Package() {0xb0,0xb1,0xb2,0xb3,Package(8){0xb4},0xb5,0xb6,0xb7},
- 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
- Package() {0xc0,0xc1,0xc2,0xc3,Package(8){0xc4},0xc5,0xc6,0xc7},
- 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
- Package() {0xd0,0xd1,0xd2,0xd3,Package(8){0xd4},0xd5,0xd6,0xd7},
- 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
- Package() {0xe0,0xe1,0xe2,0xe3,Package(8){0xe4},0xe5,0xe6,0xe7},
- 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
- Package() {0xf0,0xf1,0xf2,0xf3,Package(8){0xf4},0xf5,0xf6,0xf7},
- 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff,
- })
-
- Name(p001, Package() {
- Package() {0x1000,0x1001,0x1002,0x1003,Package(8){0x1004},0x1005,0x1006,0x1007},
- 0x1008,0x1009,0x100a,0x100b,0x100c,0x100d,0x100e,0x100f,
- Package() {0x1010,0x1011,0x1012,0x1013,Package(8){0x1014},0x1015,0x1016,0x1017},
- Package() {0x1018},0x1019,0x101a,0x101b,0x101c,0x101d,0x101e,0x101f,
- Package() {0x1010,0x1021,0x1022,0x1023,Package(8){0x1024},0x1025,0x1026,0x1027},
- 0x1028,0x1029,0x102a,0x102b,0x102c,0x102d,0x102e,0x102f,
- Package() {0x1020,0x1031,0x1032,0x1033,Package(8){0x1034},0x1035,0x1036,0x1037},
- 0x1038,0x1039,0x103a,0x103b,0x103c,0x103d,0x103e,0x103f,
- Package() {0x1030,0x1041,0x1042,0x1043,pp10,0x1045,0x1046,0x1047},
- 0x1048,0x1049,0x104a,0x104b,0x104c,0x104d,0x104e,0x104f,
- Package() {0x1040,0x1051,0x1052,0x1053,Package(8){0x1054},0x1055,0x1056,0x1057},
- 0x1058,0x1059,0x105a,0x105b,0x105c,0x105d,0x105e,0x105f,
- Package() {0x1050,0x1061,0x1062,0x1063,Package(8){0x1064},0x1065,0x1066,0x1067},
- 0x1068,0x1069,0x106a,0x106b,0x106c,0x106d,0x106e,0x106f,
- Package() {0x1060,0x1071,0x1072,0x1073,Package(8){0x1074},0x1075,0x1076,0x1077},
- 0x1078,0x1079,0x107a,0x107b,0x107c,0x107d,0x107e,0x107f,
- Package() {0x1080,0x1081,0x1082,0x1083,Package(8){0x1084},0x1085,0x1086,0x1087},
- Package() {0x1088},0x1089,0x108a,0x108b,0x108c,0x108d,0x108e,0x108f,
- Package() {0x1090,0x1091,0x1092,0x1093,Package(8){0x1094},0x1095,0x1096,0x1097},
- Package() {0x1098},0x1099,0x109a,0x109b,0x109c,0x109d,0x109e,0x109f,
- Package() {0x10a0,0x10a1,0x10a2,0x10a3,Package(8){0x10a4},0x10a5,0x10a6,0x10a7},
- 0x10a8,0x10a9,0x10aa,0x10ab,0x10ac,0x10ad,0x10ae,0x10af,
- Package() {0x10b0,0x10b1,0x10b2,0x10b3,Package(8){0x10b4},0x10b5,0x10b6,0x10b7},
- 0x10b8,0x10b9,0x10ba,0x10bb,0x10bc,0x10bd,0x10be,0x10bf,
- Package() {0x10c0,0x10c1,0x10c2,0x10c3,Package(8){0x10c4},0x10c5,0x10c6,0x10c7},
- 0x10c8,0x10c9,0x10ca,0x10cb,0x10cc,0x10cd,0x10ce,0x10cf,
- Package() {0x10d0,0x10d1,0x10d2,0x10d3,Package(8){0x10d4},0x10d5,0x10d6,0x10d7},
- 0x10d8,0x10d9,0x10da,0x10db,0x10dc,0x10dd,0x10de,0x10df,
- Package() {0x10e0,0x10e1,0x10e2,0x10e3,Package(8){0x10e4},0x10e5,0x10e6,0x10e7},
- 0x10e8,0x10e9,0x10ea,0x10eb,0x10ec,0x10ed,0x10ee,0x10ef,
- Package() {0x10f0,0x10f1,0x10f2,0x10f3,Package(8){0x10f4},0x10f5,0x10f6,0x10f7},
- 0x10f8,0x10f9,0x10fa,0x10fb,0x10fc,0x10fd,0x10fe,0x10ff,
- })
-
- /*
- * Store additionally IRefs into Named.
- * Test is not correct and completed.
- * Develop it after Bug 127 resolving.
- */
- Method(m004)
- {
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), Local0)
- CopyObject(Local0, i000)
-
- CopyObject(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0), Local0)
- CopyObject(Local0, i001)
-
- m005(i000, 0)
- m005(i001, 1)
-
- /* The same repeatedly */
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), Local0)
- CopyObject(Local0, i000)
-
- CopyObject(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0), Local0)
- CopyObject(Local0, i001)
-
- m005(i000, 0)
- m005(i001, 1)
-
- /* Directly by CopyObject */
-
- CopyObject(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), i000)
- CopyObject(Index(DerefOf(Index(DerefOf(Index(p000, 1)), 4)), 0), i001)
-
- m005(i000, 0)
- m005(i001, 1)
- }
-
- Method(m005, 2)
- {
- Store(DerefOf(arg0), Local0)
- if (LNotEqual(Local0, arg1)) {
- err("", zFFF, 0x319, 0, 0, Local0, arg1)
- }
- }
-
- /*
- * Store additionally IRefs into LocalX
- * (Identical to m004).
- */
- Method(m006)
- {
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), Local0)
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0), Local1)
-
- m005(Local0, 0x0004)
- m005(Local1, 0x1004)
-
- /* The same repeatedly */
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), Local0)
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0), Local1)
-
- m005(Local0, 0x0004)
- m005(Local1, 0x1004)
- }
-
- /*
- * Store additionally ORef into packages.
- */
- Method(m007, 3, Serialized)
- {
- Name(ii00, 0)
- Name(ii01, 0)
- Name(ii02, 0)
-
- /* ORef to LocalX */
-
- Store(RefOf(Local0), Index(p000, 2))
- Store(RefOf(Local1), Index(p000, 3))
- Store(RefOf(Local2), Index(p000, 4))
-
- Store(RefOf(Local0), Index(p001, 2))
- Store(RefOf(Local1), Index(p001, 3))
- Store(RefOf(Local2), Index(p001, 4))
-
- Store(RefOf(Local0), Index(arg0, 5))
- Store(RefOf(Local1), Index(arg0, 6))
- Store(RefOf(Local2), Index(arg0, 7))
-
- Store(RefOf(Local0), Index(arg1, 5))
- Store(RefOf(Local1), Index(arg1, 6))
- Store(RefOf(Local2), Index(arg1, 7))
-
- /* ORef to ArgX */
-
- Store(RefOf(arg2), Index(p000, 20))
- Store(RefOf(arg2), Index(p000, 21))
- Store(RefOf(arg2), Index(p000, 22))
-
- Store(RefOf(arg2), Index(p001, 20))
- Store(RefOf(arg2), Index(p001, 21))
- Store(RefOf(arg2), Index(p001, 22))
-
- Store(RefOf(arg2), Index(arg0, 23))
- Store(RefOf(arg2), Index(arg0, 24))
- Store(RefOf(arg2), Index(arg0, 25))
-
- Store(RefOf(arg2), Index(arg1, 23))
- Store(RefOf(arg2), Index(arg1, 24))
- Store(RefOf(arg2), Index(arg1, 25))
-
- /* ORef to Named */
-
- Store(RefOf(ii00), Index(p000, 29))
- Store(RefOf(ii01), Index(p000, 30))
- Store(RefOf(ii02), Index(p000, 31))
-
- Store(RefOf(ii00), Index(p001, 29))
- Store(RefOf(ii01), Index(p001, 30))
- Store(RefOf(ii02), Index(p001, 31))
-
- Store(RefOf(ii00), Index(arg0, 32))
- Store(RefOf(ii01), Index(arg0, 33))
- Store(RefOf(ii02), Index(arg0, 34))
-
- Store(RefOf(ii00), Index(arg1, 32))
- Store(RefOf(ii01), Index(arg1, 33))
- Store(RefOf(ii02), Index(arg1, 34))
-
- /* ORef to Named */
-
- Store(RefOf(i000), Index(p000, 39))
- Store(RefOf(i001), Index(p000, 40))
- Store(RefOf(i002), Index(p000, 41))
-
- Store(RefOf(i000), Index(p001, 39))
- Store(RefOf(i001), Index(p001, 40))
- Store(RefOf(i002), Index(p001, 41))
-
- Store(RefOf(i000), Index(arg0, 42))
- Store(RefOf(i001), Index(arg0, 43))
- Store(RefOf(i002), Index(arg0, 44))
-
- Store(RefOf(i000), Index(arg1, 42))
- Store(RefOf(i001), Index(arg1, 43))
- Store(RefOf(i002), Index(arg1, 44))
- }
-
- Method(m000, 3)
- {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0, arg1)), 4)), 0)), Local0)
- if (LNotEqual(Local0, arg2)) {
- err("", zFFF, 0x31a, 0, 0, Local0, arg2)
- }
- }
-
- Method(m001, 3)
- {
- Store(arg2, Index(DerefOf(Index(DerefOf(Index(arg0, arg1)), 4)), 0))
- }
-
- Method(m002, 3)
- {
- Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0, arg1)), 4)), 0))), Local0)
- if (LNotEqual(Local0, arg2)) {
- err("", zFFF, 0x31b, 0, 0, Local0, arg2)
- }
- }
-
- Method(m003, 3)
- {
- Store(DerefOf(DerefOf(Index(arg0, arg1))), Local0)
- if (LNotEqual(Local0, arg2)) {
- err("", zFFF, 0x31c, 0, 0, Local0, arg2)
- }
- }
-
- m000(p000, 0, 0x0004)
- m000(p000, 9, 0x0014)
- m000(p000, 18, 0x0024)
- m000(p000, 27, 0x0034)
- m000(p000, 36, 0x0044)
- m000(p000, 45, 0x0054)
- m000(p000, 54, 0x0064)
- m000(p000, 63, 0x0074)
- m000(p000, 72, 0x0084)
- m000(p000, 81, 0x0094)
- m000(p000, 90, 0x00a4)
- m000(p000, 99, 0x00b4)
- m000(p000, 108, 0x00c4)
- m000(p000, 117, 0x00d4)
- m000(p000, 126, 0x00e4)
- m000(p000, 135, 0x00f4)
-
- m000(p001, 0, 0x1004)
- m000(p001, 9, 0x1014)
- m000(p001, 18, 0x1024)
- m000(p001, 27, 0x1034)
- m000(p001, 36, 0x1044)
- m000(p001, 45, 0x1054)
- m000(p001, 54, 0x1064)
- m000(p001, 63, 0x1074)
- m000(p001, 72, 0x1084)
- m000(p001, 81, 0x1094)
- m000(p001, 90, 0x10a4)
- m000(p001, 99, 0x10b4)
- m000(p001, 108, 0x10c4)
- m000(p001, 117, 0x10d4)
- m000(p001, 126, 0x10e4)
- m000(p001, 135, 0x10f4)
-
-
- /* 3-th level access */
-
- /* Store IRef to element of p000 into element of p001 */
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 72)), 4)), 0))
- m002(p001, 72, 0x0004)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 9)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 81)), 4)), 0))
- m002(p001, 81, 0x0014)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 18)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 90)), 4)), 0))
- m002(p001, 90, 0x0024)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 27)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 99)), 4)), 0))
- m002(p001, 99, 0x0034)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 36)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 108)), 4)), 0))
- m002(p001, 108, 0x0044)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 45)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 117)), 4)), 0))
- m002(p001, 117, 0x0054)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 54)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 126)), 4)), 0))
- m002(p001, 126, 0x0064)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 63)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 135)), 4)), 0))
- m002(p001, 135, 0x0074)
-
- /* Store IRef to element of p001 into element of p000 */
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 72)), 4)), 0))
- m002(p000, 72, 0x1004)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 9)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 81)), 4)), 0))
- m002(p000, 81, 0x1014)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 18)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 90)), 4)), 0))
- m002(p000, 90, 0x1024)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 27)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 99)), 4)), 0))
- m002(p000, 99, 0x1034)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 36)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 108)), 4)), 0))
- m002(p000, 108, 0x1044)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 45)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 117)), 4)), 0))
- m002(p000, 117, 0x1054)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 54)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 126)), 4)), 0))
- m002(p000, 126, 0x1064)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 63)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 135)), 4)), 0))
- m002(p000, 135, 0x1074)
-
-
- /* The same repeatedly */
-
- /* Store IRef to element of p000 into element of p001 */
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 72)), 4)), 0))
- m002(p001, 72, 0x0004)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 9)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 81)), 4)), 0))
- m002(p001, 81, 0x0014)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 18)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 90)), 4)), 0))
- m002(p001, 90, 0x0024)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 27)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 99)), 4)), 0))
- m002(p001, 99, 0x0034)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 36)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 108)), 4)), 0))
- m002(p001, 108, 0x0044)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 45)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 117)), 4)), 0))
- m002(p001, 117, 0x0054)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 54)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 126)), 4)), 0))
- m002(p001, 126, 0x0064)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p000, 63)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p001, 135)), 4)), 0))
- m002(p001, 135, 0x0074)
-
- /* Store IRef to element of p001 into element of p000 */
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 72)), 4)), 0))
- m002(p000, 72, 0x1004)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 9)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 81)), 4)), 0))
- m002(p000, 81, 0x1014)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 18)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 90)), 4)), 0))
- m002(p000, 90, 0x1024)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 27)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 99)), 4)), 0))
- m002(p000, 99, 0x1034)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 36)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 108)), 4)), 0))
- m002(p000, 108, 0x1044)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 45)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 117)), 4)), 0))
- m002(p000, 117, 0x1054)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 54)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 126)), 4)), 0))
- m002(p000, 126, 0x1064)
-
- Store(Index(DerefOf(Index(DerefOf(Index(p001, 63)), 4)), 0),
- Index(DerefOf(Index(DerefOf(Index(p000, 135)), 4)), 0))
- m002(p000, 135, 0x1074)
-
- /* Restore the intial state of Packages */
-
- m001(p000, 72, 0x0084)
- m001(p000, 81, 0x0094)
- m001(p000, 90, 0x00a4)
- m001(p000, 99, 0x00b4)
- m001(p000, 108, 0x00c4)
- m001(p000, 117, 0x00d4)
- m001(p000, 126, 0x00e4)
- m001(p000, 135, 0x00f4)
-
- m001(p001, 72, 0x1084)
- m001(p001, 81, 0x1094)
- m001(p001, 90, 0x10a4)
- m001(p001, 99, 0x10b4)
- m001(p001, 108, 0x10c4)
- m001(p001, 117, 0x10d4)
- m001(p001, 126, 0x10e4)
- m001(p001, 135, 0x10f4)
-
- /* Check the intial state of Packages */
-
- m000(p000, 0, 0x0004)
- m000(p000, 9, 0x0014)
- m000(p000, 18, 0x0024)
- m000(p000, 27, 0x0034)
- m000(p000, 36, 0x0044)
- m000(p000, 45, 0x0054)
- m000(p000, 54, 0x0064)
- m000(p000, 63, 0x0074)
- m000(p000, 72, 0x0084)
- m000(p000, 81, 0x0094)
- m000(p000, 90, 0x00a4)
- m000(p000, 99, 0x00b4)
- m000(p000, 108, 0x00c4)
- m000(p000, 117, 0x00d4)
- m000(p000, 126, 0x00e4)
- m000(p000, 135, 0x00f4)
-
- m000(p001, 0, 0x1004)
- m000(p001, 9, 0x1014)
- m000(p001, 18, 0x1024)
- m000(p001, 27, 0x1034)
- m000(p001, 36, 0x1044)
- m000(p001, 45, 0x1054)
- m000(p001, 54, 0x1064)
- m000(p001, 63, 0x1074)
- m000(p001, 72, 0x1084)
- m000(p001, 81, 0x1094)
- m000(p001, 90, 0x10a4)
- m000(p001, 99, 0x10b4)
- m000(p001, 108, 0x10c4)
- m000(p001, 117, 0x10d4)
- m000(p001, 126, 0x10e4)
- m000(p001, 135, 0x10f4)
-
-
- /* 1-th level access */
-
- /* Store IRef to element of p000 into element of p001 */
-
- Store(Index(p000, 1), Index(p001, 72))
- m003(p001, 72, 0x0008)
-
- Store(Index(p000, 19), Index(p001, 81))
- m003(p001, 81, 0x0028)
-
- Store(Index(p000, 28), Index(p001, 90))
- m003(p001, 90, 0x0038)
-
- Store(Index(p000, 37), Index(p001, 99))
- m003(p001, 99, 0x0048)
-
- Store(Index(p000, 46), Index(p001, 108))
- m003(p001, 108, 0x0058)
-
- Store(Index(p000, 55), Index(p001, 117))
- m003(p001, 117, 0x0068)
-
- Store(Index(p000, 64), Index(p001, 126))
- m003(p001, 126, 0x0078)
-
- Store(Index(p000, 71), Index(p001, 135))
- m003(p001, 135, 0x007f)
-
- /* Store IRef to element of p001 into element of p000 */
-
- Store(Index(p001, 1), Index(p000, 72))
- m003(p000, 72, 0x1008)
-
- Store(Index(p001, 19), Index(p000, 81))
- m003(p000, 81, 0x1028)
-
- Store(Index(p001, 28), Index(p000, 90))
- m003(p000, 90, 0x1038)
-
- Store(Index(p001, 37), Index(p000, 99))
- m003(p000, 99, 0x1048)
-
- Store(Index(p001, 46), Index(p000, 108))
- m003(p000, 108, 0x1058)
-
- Store(Index(p001, 55), Index(p000, 117))
- m003(p000, 117, 0x1068)
-
- Store(Index(p001, 64), Index(p000, 126))
- m003(p000, 126, 0x1078)
-
- Store(Index(p001, 71), Index(p000, 135))
- m003(p000, 135, 0x107f)
-
- if (y127) {
- m004()
- }
-
- m006()
- m007(p000, p001, 0x12345678)
-}
-
-Method(mfca)
-{
- SRMT("mfcb")
- mfcb()
-
- SRMT("mfcf")
- mfcf()
-
- SRMT("mfd0")
- mfd0()
-
- SRMT("mfd1")
- mfd1()
-
- SRMT("mfd2")
- mfd2()
-
- SRMT("mfd3")
- mfd3()
-
- SRMT("mfd4")
- mfd4()
-
- SRMT("mfd5")
- mfd5()
-
- SRMT("mfd6")
- mfd6()
-
- SRMT("mfd7")
- mfd7(0,0,0,0,0,0,0)
-
- SRMT("mfe9")
- mfe9()
-
- SRMT("mfea")
- mfea()
-
- SRMT("mfeb")
- mfeb()
-
- SRMT("mf01")
- mf01()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Check self-references
+ *
+ * 0xE Outstanding allocations because of
+ * AcpiExec doesn't run the unload of the table have been processed.
+ * All they are caused by call to SRMT Method.
+ *
+ * Outstanding: 0xE allocations after execution.
+ */
+
+Method(mfcb,, Serialized)
+{
+ Name(p000, Package(16) {})
+
+ Name(num, 8) // half-size of Package
+ Name(i000, 0xabcd0000) // value of the first element of Package
+
+ /* 1 */
+
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 9))
+ Store(Index(p000, 2), Index(p000, 10))
+ Store(Index(p000, 3), Index(p000, 11))
+ Store(Index(p000, 4), Index(p000, 12))
+ Store(Index(p000, 5), Index(p000, 13))
+ Store(Index(p000, 6), Index(p000, 14))
+ Store(Index(p000, 7), Index(p000, 15))
+ mfc7(p000, 0, num, i000)
+ mfcc(p000, num, num, i000, 0, 0x003)
+
+ /* 2 */
+
+ mfcd(p000, 0, num, 0)
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 0), Index(p000, 9))
+ Store(Index(p000, 0), Index(p000, 10))
+ Store(Index(p000, 0), Index(p000, 11))
+ Store(Index(p000, 0), Index(p000, 12))
+ Store(Index(p000, 0), Index(p000, 13))
+ Store(Index(p000, 0), Index(p000, 14))
+ Store(Index(p000, 0), Index(p000, 15))
+ Store(0xabcd0100, i000)
+ Store(i000, Index(p000, 0))
+ mfce(p000, num, num, i000, 0, 0x004)
+
+ /* 3 */
+
+ mfcd(p000, 0, num, 0)
+ mfc7(p000, 0, num, 0xabcd0200)
+ Store(Index(p000, 0), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 2), Index(p000, 8))
+ Store(Index(p000, 3), Index(p000, 8))
+ Store(Index(p000, 4), Index(p000, 8))
+ Store(Index(p000, 5), Index(p000, 8))
+ Store(Index(p000, 6), Index(p000, 8))
+ Store(Index(p000, 7), Index(p000, 8))
+ mfce(p000, num, 1, 0xabcd0207, 0, 0x005)
+
+ /* 4 */
+
+ mfcd(p000, 0, num, 0)
+ mfc7(p000, 0, num, 0xabcd0300)
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ Store(Index(p000, 1), Index(p000, 8))
+ mfce(p000, num, 1, 0xabcd0301, 0, 0x006)
+}
+
+/*
+ * LocalX involved
+ */
+Method(mfcf,, Serialized)
+{
+ Name(p000, Package(16) {})
+
+ Store(Index(p000, 0), Local0)
+ Store(Local0, Index(p000, 1))
+ Store(0xabcd0000, Index(p000, 0))
+ Store(Index(p000, 1), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(DerefOf(Local1), Local0)
+
+ if (LNotEqual(Local0, 0xabcd0000)) {
+ err("", zFFF, 0x300, 0, 0, Local0, 0xabcd0000)
+ }
+}
+
+/*
+ * One-directional list of references
+ */
+Method(mfd0,, Serialized)
+{
+ Name(sz, 16) // full size of Package
+ Name(num, 0) // half-size of Package
+
+ Name(p000, Package(sz) {})
+ Name(p001, Package(sz) {})
+ Name(p002, Package(sz) {})
+ Name(p003, Package(sz) {})
+ Name(p004, Package(sz) {})
+ Name(p005, Package(sz) {})
+ Name(p006, Package(sz) {})
+ Name(p007, Package(sz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+
+ Divide(sz, 2, Local0, num)
+
+ /* Initializing Packages with monotone increasing Integers */
+
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ mfc7(p005, 0, sz, i005)
+ mfc7(p006, 0, sz, i006)
+ mfc7(p007, 0, sz, i007)
+
+ /* Initializing the Package with IRefs */
+
+ mfc8(p000, p001, 0, num, num, 0, 0)
+ mfc8(p001, p002, 0, num, num, 0, 0)
+ mfc8(p002, p003, 0, num, num, 0, 0)
+ mfc8(p003, p004, 0, num, num, 0, 0)
+ mfc8(p004, p005, 0, num, num, 0, 0)
+ mfc8(p005, p006, 0, num, num, 0, 0)
+ mfc8(p006, p007, 0, num, num, 0, 0)
+
+ /* Verifying access to the first parts of Packages through the IRefs */
+
+ mfcc(p001, num, num, i000, 0, 0x008)
+ mfcc(p002, num, num, i001, 0, 0x009)
+ mfcc(p003, num, num, i002, 0, 0x00a)
+ mfcc(p004, num, num, i003, 0, 0x00b)
+ mfcc(p005, num, num, i004, 0, 0x00c)
+ mfcc(p006, num, num, i005, 0, 0x00d)
+ mfcc(p007, num, num, i006, 0, 0x00e)
+}
+
+/*
+ * 0-Ring of references
+ */
+Method(mfd1,, Serialized)
+{
+ Name(sz, 16) // full size of Package
+ Name(num, 0) // half-size of Package
+
+ Name(p000, Package(sz) {})
+ Name(p001, Package(sz) {})
+ Name(p002, Package(sz) {})
+ Name(p003, Package(sz) {})
+ Name(p004, Package(sz) {})
+ Name(p005, Package(sz) {})
+ Name(p006, Package(sz) {})
+ Name(p007, Package(sz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+
+ Divide(sz, 2, Local0, num)
+
+ /* Initializing Packages with monotone increasing Integers */
+
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ mfc7(p005, 0, sz, i005)
+ mfc7(p006, 0, sz, i006)
+ mfc7(p007, 0, sz, i007)
+
+ /* Initializing the Package with IRefs */
+
+ mfc8(p000, p001, 0, num, num, 0, 0)
+ mfc8(p001, p002, 0, num, num, 0, 0)
+ mfc8(p002, p003, 0, num, num, 0, 0)
+ mfc8(p003, p004, 0, num, num, 0, 0)
+ mfc8(p004, p005, 0, num, num, 0, 0)
+ mfc8(p005, p006, 0, num, num, 0, 0)
+ mfc8(p006, p007, 0, num, num, 0, 0)
+ mfc8(p007, p000, 0, num, num, 0, 0)
+
+ /* Verifying access to the first parts of Packages through the IRefs */
+
+ mfcc(p001, num, num, i000, 0, 0x00f)
+ mfcc(p002, num, num, i001, 0, 0x010)
+ mfcc(p003, num, num, i002, 0, 0x011)
+ mfcc(p004, num, num, i003, 0, 0x012)
+ mfcc(p005, num, num, i004, 0, 0x013)
+ mfcc(p006, num, num, i005, 0, 0x014)
+ mfcc(p007, num, num, i006, 0, 0x015)
+ mfcc(p000, num, num, i007, 0, 0x016)
+}
+
+/*
+ * 9-Ring of references
+ */
+Method(mfd2,, Serialized)
+{
+ Name(sz, 16) // full size of Package
+ Name(num, 0) // half-size of Package
+
+ Name(p000, Package(sz) {})
+ Name(p001, Package(sz) {})
+ Name(p002, Package(sz) {})
+ Name(p003, Package(sz) {})
+ Name(p004, Package(sz) {})
+ Name(p005, Package(sz) {})
+ Name(p006, Package(sz) {})
+ Name(p007, Package(sz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+
+ Divide(sz, 2, Local0, num)
+
+ /* Initializing Packages with monotone increasing Integers */
+
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ mfc7(p005, 0, sz, i005)
+ mfc7(p006, 0, sz, i006)
+ mfc7(p007, 0, sz, i007)
+
+ /* Initializing the Package with IRefs */
+
+ mfc8(p000, p001, 0, num, num, 0, 0)
+ mfc8(p001, p002, 0, num, num, 0, 0)
+ mfc8(p002, p003, 0, num, num, 0, 0)
+ mfc8(p003, p000, 0, num, num, 0, 0)
+
+ mfc8(p003, p004, 0, num, num, 0, 0)
+ mfc8(p004, p005, 0, num, num, 0, 0)
+ mfc8(p005, p006, 0, num, num, 0, 0)
+ mfc8(p006, p007, 0, num, num, 0, 0)
+
+ /* Verifying access to the first parts of Packages through the IRefs */
+
+ mfcc(p001, num, num, i000, 0, 0x017)
+ mfcc(p002, num, num, i001, 0, 0x018)
+ mfcc(p003, num, num, i002, 0, 0x019)
+ mfcc(p000, num, num, i003, 0, 0x01a)
+
+ mfcc(p004, num, num, i003, 0, 0x01b)
+ mfcc(p005, num, num, i004, 0, 0x01c)
+ mfcc(p006, num, num, i005, 0, 0x01d)
+ mfcc(p007, num, num, i006, 0, 0x01e)
+}
+
+/*
+ * Bush of references
+ */
+Method(mfd3,, Serialized)
+{
+ Name(sz, 16) // full size of Package
+ Name(num, 0) // half-size of Package
+
+ Name(p000, Package(sz) {})
+ Name(p001, Package(sz) {})
+ Name(p002, Package(sz) {})
+ Name(p003, Package(sz) {})
+ Name(p004, Package(sz) {})
+ Name(p005, Package(sz) {})
+ Name(p006, Package(sz) {})
+ Name(p007, Package(sz) {})
+ Name(p008, Package(sz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+ Name(i008, 0xabcd0800)
+
+ Divide(sz, 2, Local0, num)
+
+ /* Initializing Packages with monotone increasing Integers */
+
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ mfc7(p005, 0, sz, i005)
+ mfc7(p006, 0, sz, i006)
+ mfc7(p007, 0, sz, i007)
+ mfc7(p008, 0, sz, i008)
+
+ /* Initializing the Package with IRefs */
+
+ mfc8(p005, p005, 0, num, num, 0, 0)
+
+ mfc8(p005, p000, 0, num, num, 0, 0)
+ mfc8(p000, p001, 0, num, num, 0, 0)
+
+ mfc8(p005, p002, 0, num, num, 0, 0)
+ mfc8(p002, p003, 0, num, num, 0, 0)
+
+ mfc8(p005, p004, 0, num, num, 0, 0)
+ mfc8(p004, p006, 0, num, num, 0, 0)
+
+ mfc8(p005, p007, 0, num, num, 0, 0)
+ mfc8(p007, p008, 0, num, num, 0, 0)
+
+ /* Do self-references repeatedly */
+
+ mfc8(p005, p005, 0, num, num, 0, 0)
+ mfc8(p005, p005, 0, num, num, 0, 0)
+ mfc8(p005, p005, 0, num, num, 0, 0)
+ mfc8(p005, p005, 0, num, num, 0, 0)
+ mfc8(p005, p005, 0, num, num, 0, 0)
+
+ /* Verifying access to the first parts of Packages through the IRefs */
+
+ mfcc(p005, num, num, i005, 0, 0x01f)
+ mfcc(p000, num, num, i005, 0, 0x020)
+ mfcc(p001, num, num, i000, 0, 0x021)
+ mfcc(p002, num, num, i005, 0, 0x022)
+ mfcc(p003, num, num, i002, 0, 0x023)
+ mfcc(p004, num, num, i005, 0, 0x024)
+ mfcc(p006, num, num, i004, 0, 0x025)
+ mfcc(p007, num, num, i005, 0, 0x026)
+ mfcc(p008, num, num, i007, 0, 0x027)
+}
+
+/*
+ * Two-directional list of references
+ */
+Method(mfd4,, Serialized)
+{
+ Name(sz, 16) // full size of Package
+ Name(nm2, 0) // half-size of Package
+ Name(nm4, 0) // one fourth of size of Package
+ Name(nm34, 0) // three fourth of size of Package
+
+ Name(p000, Package(sz) {})
+ Name(p001, Package(sz) {})
+ Name(p002, Package(sz) {})
+ Name(p003, Package(sz) {})
+ Name(p004, Package(sz) {})
+ Name(p005, Package(sz) {})
+ Name(p006, Package(sz) {})
+ Name(p007, Package(sz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+
+ Divide(sz, 2, Local0, nm2)
+ Divide(sz, 4, Local0, nm4)
+ Add(nm2, nm4, nm34)
+
+ /* Initializing Packages with monotone increasing Integers */
+
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ mfc7(p005, 0, sz, i005)
+ mfc7(p006, 0, sz, i006)
+ mfc7(p007, 0, sz, i007)
+
+ /* Initializing the Package with IRefs */
+
+ mfc8(p000, p001, 0, nm2, nm4, 0, 0)
+ mfc8(p001, p002, 0, nm2, nm4, 0, 0)
+ mfc8(p002, p003, 0, nm2, nm4, 0, 0)
+ mfc8(p003, p004, 0, nm2, nm4, 0, 0)
+ mfc8(p004, p005, 0, nm2, nm4, 0, 0)
+ mfc8(p005, p006, 0, nm2, nm4, 0, 0)
+ mfc8(p006, p007, 0, nm2, nm4, 0, 0)
+
+ mfc8(p007, p006, nm4, nm34, nm4, 0, 0)
+ mfc8(p006, p005, nm4, nm34, nm4, 0, 0)
+ mfc8(p005, p004, nm4, nm34, nm4, 0, 0)
+ mfc8(p004, p003, nm4, nm34, nm4, 0, 0)
+ mfc8(p003, p002, nm4, nm34, nm4, 0, 0)
+ mfc8(p002, p001, nm4, nm34, nm4, 0, 0)
+ mfc8(p001, p000, nm4, nm34, nm4, 0, 0)
+
+ /* Verifying access to the first parts of Packages through the IRefs */
+
+ mfcc(p001, nm2, nm4, i000, 0, 0x028)
+ mfcc(p002, nm2, nm4, i001, 0, 0x029)
+ mfcc(p003, nm2, nm4, i002, 0, 0x02a)
+ mfcc(p004, nm2, nm4, i003, 0, 0x02b)
+ mfcc(p005, nm2, nm4, i004, 0, 0x02c)
+ mfcc(p006, nm2, nm4, i005, 0, 0x02d)
+ mfcc(p007, nm2, nm4, i006, 0, 0x02e)
+
+ Add(i007, nm4, i007)
+ Add(i006, nm4, i006)
+ Add(i005, nm4, i005)
+ Add(i004, nm4, i004)
+ Add(i003, nm4, i003)
+ Add(i002, nm4, i002)
+ Add(i001, nm4, i001)
+
+ mfcc(p006, nm34, nm4, i007, 0, 0x02f)
+ mfcc(p005, nm34, nm4, i006, 0, 0x030)
+ mfcc(p004, nm34, nm4, i005, 0, 0x031)
+ mfcc(p003, nm34, nm4, i004, 0, 0x032)
+ mfcc(p002, nm34, nm4, i003, 0, 0x033)
+ mfcc(p001, nm34, nm4, i002, 0, 0x034)
+ mfcc(p000, nm34, nm4, i001, 0, 0x035)
+}
+
+/*
+ * Ring of two-directional references
+ */
+Method(mfd5,, Serialized)
+{
+ Name(sz, 16) // full size of Package
+ Name(nm2, 0) // half-size of Package
+ Name(nm4, 0) // one fourth of size of Package
+ Name(nm34, 0) // three fourth of size of Package
+
+ Name(p000, Package(sz) {})
+ Name(p001, Package(sz) {})
+ Name(p002, Package(sz) {})
+ Name(p003, Package(sz) {})
+ Name(p004, Package(sz) {})
+ Name(p005, Package(sz) {})
+ Name(p006, Package(sz) {})
+ Name(p007, Package(sz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+
+ Divide(sz, 2, Local0, nm2)
+ Divide(sz, 4, Local0, nm4)
+ Add(nm2, nm4, nm34)
+
+ /* Initializing Packages with monotone increasing Integers */
+
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ mfc7(p005, 0, sz, i005)
+ mfc7(p006, 0, sz, i006)
+ mfc7(p007, 0, sz, i007)
+
+ /* Initializing the Package with IRefs */
+
+ mfc8(p000, p001, 0, nm2, nm4, 0, 0)
+ mfc8(p001, p002, 0, nm2, nm4, 0, 0)
+ mfc8(p002, p003, 0, nm2, nm4, 0, 0)
+ mfc8(p003, p004, 0, nm2, nm4, 0, 0)
+ mfc8(p004, p005, 0, nm2, nm4, 0, 0)
+ mfc8(p005, p006, 0, nm2, nm4, 0, 0)
+ mfc8(p006, p007, 0, nm2, nm4, 0, 0)
+ mfc8(p007, p000, 0, nm2, nm4, 0, 0)
+
+
+ mfc8(p007, p006, nm4, nm34, nm4, 0, 0)
+ mfc8(p006, p005, nm4, nm34, nm4, 0, 0)
+ mfc8(p005, p004, nm4, nm34, nm4, 0, 0)
+ mfc8(p004, p003, nm4, nm34, nm4, 0, 0)
+ mfc8(p003, p002, nm4, nm34, nm4, 0, 0)
+ mfc8(p002, p001, nm4, nm34, nm4, 0, 0)
+ mfc8(p001, p000, nm4, nm34, nm4, 0, 0)
+ mfc8(p000, p007, nm4, nm34, nm4, 0, 0)
+
+
+ /* Verifying access to the first parts of Packages through the IRefs */
+
+ mfcc(p001, nm2, nm4, i000, 0, 0x036)
+ mfcc(p002, nm2, nm4, i001, 0, 0x037)
+ mfcc(p003, nm2, nm4, i002, 0, 0x038)
+ mfcc(p004, nm2, nm4, i003, 0, 0x039)
+ mfcc(p005, nm2, nm4, i004, 0, 0x03a)
+ mfcc(p006, nm2, nm4, i005, 0, 0x03b)
+ mfcc(p007, nm2, nm4, i006, 0, 0x03c)
+ mfcc(p000, nm2, nm4, i007, 0, 0x03d)
+
+ Add(i007, nm4, i007)
+ Add(i006, nm4, i006)
+ Add(i005, nm4, i005)
+ Add(i004, nm4, i004)
+ Add(i003, nm4, i003)
+ Add(i002, nm4, i002)
+ Add(i001, nm4, i001)
+ Add(i000, nm4, i000)
+
+ mfcc(p006, nm34, nm4, i007, 0, 0x03e)
+ mfcc(p005, nm34, nm4, i006, 0, 0x03f)
+ mfcc(p004, nm34, nm4, i005, 0, 0x040)
+ mfcc(p003, nm34, nm4, i004, 0, 0x041)
+ mfcc(p002, nm34, nm4, i003, 0, 0x042)
+ mfcc(p001, nm34, nm4, i002, 0, 0x043)
+ mfcc(p000, nm34, nm4, i001, 0, 0x044)
+ mfcc(p007, nm34, nm4, i000, 0, 0x045)
+}
+
+/*
+ * Web of references
+ */
+Method(mfd6,, Serialized)
+{
+ Name(sz, 32) // full size of Package
+ Name(prt, 16) // number of different parts
+ Name(nm16, 0) // 1/16 of size
+ Name(i1, 0) // 1/16 of size
+ Name(i2, 0) // 2/16 of size
+ Name(i3, 0)
+ Name(i4, 0)
+ Name(i5, 0)
+ Name(i6, 0)
+ Name(i8, 0)
+ Name(i9, 0)
+ Name(i10, 0)
+ Name(i11, 0)
+ Name(i12, 0)
+ Name(i13, 0)
+ Name(i14, 0)
+
+ Name(p000, Package(sz) {})
+ Name(p001, Package(sz) {})
+ Name(p002, Package(sz) {})
+ Name(p003, Package(sz) {})
+ Name(p004, Package(sz) {})
+ Name(p005, Package(sz) {})
+ Name(p006, Package(sz) {})
+ Name(p007, Package(sz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+
+ Divide(sz, prt, Local0, nm16)
+
+ Store(nm16, i1)
+ Multiply(nm16, 2, i2)
+ Multiply(nm16, 3, i3)
+ Multiply(nm16, 4, i4)
+ Multiply(nm16, 5, i5)
+ Multiply(nm16, 6, i6)
+ Multiply(nm16, 8, i8)
+ Multiply(nm16, 9, i9)
+ Multiply(nm16, 10, i10)
+ Multiply(nm16, 11, i11)
+ Multiply(nm16, 12, i12)
+ Multiply(nm16, 13, i13)
+ Multiply(nm16, 14, i14)
+
+
+ /* Initializing full Packages with monotone increasing Integers */
+
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ mfc7(p005, 0, sz, i005)
+ mfc7(p006, 0, sz, i006)
+ mfc7(p007, 0, sz, i007)
+
+ /* Initializing the Package with IRefs */
+
+ /* Generate two-directional ring of references */
+
+ mfc8(p000, p001, 0, i8, nm16, 0, 0)
+ mfc8(p001, p002, 0, i8, nm16, 0, 0)
+ mfc8(p002, p003, 0, i8, nm16, 0, 0)
+ mfc8(p003, p004, 0, i8, nm16, 0, 0)
+ mfc8(p004, p005, 0, i8, nm16, 0, 0)
+ mfc8(p005, p006, 0, i8, nm16, 0, 0)
+ mfc8(p006, p007, 0, i8, nm16, 0, 0)
+ mfc8(p007, p000, 0, i8, nm16, 0, 0)
+
+ mfc8(p007, p006, i1, i9, nm16, 0, 0)
+ mfc8(p006, p005, i1, i9, nm16, 0, 0)
+ mfc8(p005, p004, i1, i9, nm16, 0, 0)
+ mfc8(p004, p003, i1, i9, nm16, 0, 0)
+ mfc8(p003, p002, i1, i9, nm16, 0, 0)
+ mfc8(p002, p001, i1, i9, nm16, 0, 0)
+ mfc8(p001, p000, i1, i9, nm16, 0, 0)
+ mfc8(p000, p007, i1, i9, nm16, 0, 0)
+
+ /*
+ * Join all other packages
+ * (two directions for each two points)
+ */
+
+ mfc8(p002, p000, i2, i10, nm16, 0, 0)
+ mfc8(p003, p000, i3, i11, nm16, 0, 0)
+ mfc8(p004, p000, i4, i12, nm16, 0, 0)
+ mfc8(p005, p000, i5, i13, nm16, 0, 0)
+ mfc8(p006, p000, i6, i14, nm16, 0, 0)
+
+ mfc8(p003, p001, i3, i11, nm16, 0, 0)
+ mfc8(p004, p001, i4, i12, nm16, 0, 0)
+ mfc8(p005, p001, i5, i13, nm16, 0, 0)
+ mfc8(p006, p001, i6, i14, nm16, 0, 0)
+ mfc8(p007, p001, i2, i10, nm16, 0, 0)
+
+ mfc8(p004, p002, i4, i12, nm16, 0, 0)
+ mfc8(p005, p002, i5, i13, nm16, 0, 0)
+ mfc8(p006, p002, i6, i14, nm16, 0, 0)
+ mfc8(p007, p002, i2, i10, nm16, 0, 0)
+ mfc8(p000, p002, i3, i11, nm16, 0, 0)
+
+ mfc8(p005, p003, i5, i13, nm16, 0, 0)
+ mfc8(p006, p003, i6, i14, nm16, 0, 0)
+ mfc8(p007, p003, i2, i10, nm16, 0, 0)
+ mfc8(p000, p003, i3, i11, nm16, 0, 0)
+ mfc8(p001, p003, i4, i12, nm16, 0, 0)
+
+ mfc8(p006, p004, i6, i14, nm16, 0, 0)
+ mfc8(p007, p004, i2, i10, nm16, 0, 0)
+ mfc8(p000, p004, i3, i11, nm16, 0, 0)
+ mfc8(p001, p004, i4, i12, nm16, 0, 0)
+ mfc8(p002, p004, i5, i13, nm16, 0, 0)
+
+ mfc8(p007, p005, i2, i10, nm16, 0, 0)
+ mfc8(p000, p005, i3, i11, nm16, 0, 0)
+ mfc8(p001, p005, i4, i12, nm16, 0, 0)
+ mfc8(p002, p005, i5, i13, nm16, 0, 0)
+ mfc8(p003, p005, i6, i14, nm16, 0, 0)
+
+ mfc8(p000, p006, i3, i11, nm16, 0, 0)
+ mfc8(p001, p006, i4, i12, nm16, 0, 0)
+ mfc8(p002, p006, i5, i13, nm16, 0, 0)
+ mfc8(p003, p006, i6, i14, nm16, 0, 0)
+ mfc8(p004, p006, i2, i10, nm16, 0, 0)
+
+ mfc8(p001, p007, i4, i12, nm16, 0, 0)
+ mfc8(p002, p007, i5, i13, nm16, 0, 0)
+ mfc8(p003, p007, i6, i14, nm16, 0, 0)
+ mfc8(p004, p007, i2, i10, nm16, 0, 0)
+ mfc8(p005, p007, i3, i11, nm16, 0, 0)
+
+
+ /* Verifying access to Packages through the IRefs */
+
+ /* Two-directional ring of references */
+
+ mfcc(p001, i8, nm16, i000, 0, 0x046)
+ mfcc(p002, i8, nm16, i001, 0, 0x047)
+ mfcc(p003, i8, nm16, i002, 0, 0x048)
+ mfcc(p004, i8, nm16, i003, 0, 0x049)
+ mfcc(p005, i8, nm16, i004, 0, 0x04a)
+ mfcc(p006, i8, nm16, i005, 0, 0x04b)
+ mfcc(p007, i8, nm16, i006, 0, 0x04c)
+ mfcc(p000, i8, nm16, i007, 0, 0x04d)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p006, i9, nm16, i007, 0, 0x04e)
+ mfcc(p005, i9, nm16, i006, 0, 0x04f)
+ mfcc(p004, i9, nm16, i005, 0, 0x050)
+ mfcc(p003, i9, nm16, i004, 0, 0x051)
+ mfcc(p002, i9, nm16, i003, 0, 0x052)
+ mfcc(p001, i9, nm16, i002, 0, 0x053)
+ mfcc(p000, i9, nm16, i001, 0, 0x054)
+ mfcc(p007, i9, nm16, i000, 0, 0x055)
+
+ /* Verify other references */
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i10, nm16, i002, 0, 0x056)
+ mfcc(p001, i10, nm16, i007, 0, 0x057)
+ mfcc(p002, i10, nm16, i007, 0, 0x058)
+ mfcc(p003, i10, nm16, i007, 0, 0x059)
+ mfcc(p004, i10, nm16, i007, 0, 0x05a)
+ mfcc(p005, i10, nm16, i007, 0, 0x05b)
+ mfcc(p006, i10, nm16, i004, 0, 0x05c)
+ mfcc(p007, i10, nm16, i004, 0, 0x05d)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i11, nm16, i003, 0, 0x05e)
+ mfcc(p001, i11, nm16, i003, 0, 0x05f)
+ mfcc(p002, i11, nm16, i000, 0, 0x060)
+ mfcc(p003, i11, nm16, i000, 0, 0x061)
+ mfcc(p004, i11, nm16, i000, 0, 0x062)
+ mfcc(p005, i11, nm16, i000, 0, 0x063)
+ mfcc(p006, i11, nm16, i000, 0, 0x064)
+ mfcc(p007, i11, nm16, i005, 0, 0x065)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i12, nm16, i004, 0, 0x066)
+ mfcc(p001, i12, nm16, i004, 0, 0x067)
+ mfcc(p002, i12, nm16, i004, 0, 0x068)
+ mfcc(p003, i12, nm16, i001, 0, 0x069)
+ mfcc(p004, i12, nm16, i001, 0, 0x06a)
+ mfcc(p005, i12, nm16, i001, 0, 0x06b)
+ mfcc(p006, i12, nm16, i001, 0, 0x06c)
+ mfcc(p007, i12, nm16, i001, 0, 0x06d)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i13, nm16, i005, 0, 0x06e)
+ mfcc(p001, i13, nm16, i005, 0, 0x06f)
+ mfcc(p002, i13, nm16, i005, 0, 0x070)
+ mfcc(p003, i13, nm16, i005, 0, 0x071)
+ mfcc(p004, i13, nm16, i002, 0, 0x072)
+ mfcc(p005, i13, nm16, i002, 0, 0x073)
+ mfcc(p006, i13, nm16, i002, 0, 0x074)
+ mfcc(p007, i13, nm16, i002, 0, 0x075)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i14, nm16, i006, 0, 0x076)
+ mfcc(p001, i14, nm16, i006, 0, 0x077)
+ mfcc(p002, i14, nm16, i006, 0, 0x078)
+ mfcc(p003, i14, nm16, i006, 0, 0x079)
+ mfcc(p004, i14, nm16, i006, 0, 0x07a)
+ mfcc(p005, i14, nm16, i003, 0, 0x07b)
+ mfcc(p006, i14, nm16, i003, 0, 0x07c)
+ mfcc(p007, i14, nm16, i003, 0, 0x07d)
+}
+
+/*
+ * Extended Web of references
+ */
+Method(mfd7, 7, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Name(sz, 32) // full size of Package
+ Name(prt, 16) // number of different parts
+ Name(nm16, 0) // 1/16 of size
+ Name(i1, 0) // 1/16 of size
+ Name(i2, 0) // 2/16 of size
+ Name(i3, 0)
+ Name(i4, 0)
+ Name(i5, 0)
+ Name(i6, 0)
+ Name(i8, 0)
+ Name(i9, 0)
+ Name(i10, 0)
+ Name(i11, 0)
+ Name(i12, 0)
+ Name(i13, 0)
+ Name(i14, 0)
+
+ Name(p000, Package(sz) {})
+ Name(p001, Package(sz) {})
+ Name(p002, Package(sz) {})
+ Name(p003, Package(sz) {})
+ Name(p004, Package(sz) {})
+ Name(p005, Package(sz) {})
+ Name(p006, Package(sz) {})
+ Name(p007, Package(sz) {})
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0100)
+ Name(i002, 0xabcd0200)
+ Name(i003, 0xabcd0300)
+ Name(i004, 0xabcd0400)
+ Name(i005, 0xabcd0500)
+ Name(i006, 0xabcd0600)
+ Name(i007, 0xabcd0700)
+
+ Name(iii0, 0)
+ Name(iii1, 0)
+ Name(iii2, 0)
+ Name(iii3, 0)
+ Name(iii4, 0)
+ Name(iii5, 0)
+ Name(iii6, 0)
+ Name(iii7, 0)
+
+ Divide(sz, prt, Local0, nm16)
+
+ Store(nm16, i1)
+ Multiply(nm16, 2, i2)
+ Multiply(nm16, 3, i3)
+ Multiply(nm16, 4, i4)
+ Multiply(nm16, 5, i5)
+ Multiply(nm16, 6, i6)
+ Multiply(nm16, 8, i8)
+ Multiply(nm16, 9, i9)
+ Multiply(nm16, 10, i10)
+ Multiply(nm16, 11, i11)
+ Multiply(nm16, 12, i12)
+ Multiply(nm16, 13, i13)
+ Multiply(nm16, 14, i14)
+
+
+ /* Initializing full Packages with monotone increasing Integers */
+
+ mfc7(p000, 0, sz, i000)
+ mfc7(p001, 0, sz, i001)
+ mfc7(p002, 0, sz, i002)
+ mfc7(p003, 0, sz, i003)
+ mfc7(p004, 0, sz, i004)
+ mfc7(p005, 0, sz, i005)
+ mfc7(p006, 0, sz, i006)
+ mfc7(p007, 0, sz, i007)
+
+ /* Initializing the Package with IRefs */
+
+ /* Generate two-directional ring of references */
+
+ mfc8(p000, p001, 0, i8, nm16, 0, 0)
+ mfc8(p001, p002, 0, i8, nm16, 0, 0)
+ mfc8(p002, p003, 0, i8, nm16, 0, 0)
+ mfc8(p003, p004, 0, i8, nm16, 0, 0)
+ mfc8(p004, p005, 0, i8, nm16, 0, 0)
+ mfc8(p005, p006, 0, i8, nm16, 0, 0)
+ mfc8(p006, p007, 0, i8, nm16, 0, 0)
+ mfc8(p007, p000, 0, i8, nm16, 0, 0)
+
+ /* Do some initialization repeatedly so writing upon references */
+
+ Store(2, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+ mfc8(p007, p006, i1, i9, nm16, 0, 0)
+ mfc8(p006, p005, i1, i9, nm16, 0, 0)
+ mfc8(p005, p004, i1, i9, nm16, 0, 0)
+ mfc8(p004, p003, i1, i9, nm16, 0, 0)
+ mfc8(p003, p002, i1, i9, nm16, 0, 0)
+ mfc8(p002, p001, i1, i9, nm16, 0, 0)
+ mfc8(p001, p000, i1, i9, nm16, 0, 0)
+ mfc8(p000, p007, i1, i9, nm16, 0, 0)
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ /* Store references additionally to LocalX */
+
+ Store(Index(p000, 0), Local0)
+ Store(Index(p000, 0), Local1)
+ Store(Index(p000, 0), Local2)
+ Store(Index(p000, 0), Local3)
+ Store(Index(p000, 0), Local4)
+ Store(Index(p000, 0), Local5)
+ Store(Index(p000, 0), Local6)
+ Store(Index(p000, 0), Local7)
+
+ /* Re-write */
+
+ Store(Index(p000, 0), Local0)
+ Store(Index(p000, 0), Local1)
+ Store(Index(p000, 0), Local2)
+ Store(Index(p000, 0), Local3)
+ Store(Index(p001, 0), Local4)
+ Store(Index(p002, 0), Local5)
+ Store(Index(p003, 0), Local6)
+ Store(Index(p004, 0), Local7)
+
+ /* Store references additionally to ArgX */
+
+ Store(Index(p000, 0), arg0)
+ Store(Index(p000, 0), arg1)
+ Store(Index(p000, 0), arg2)
+ Store(Index(p000, 0), arg3)
+ Store(Index(p000, 0), arg4)
+ Store(Index(p000, 0), arg5)
+ Store(Index(p000, 0), arg6)
+
+ /* Re-write */
+
+ Store(Index(p000, 0), arg0)
+ Store(Index(p000, 0), arg1)
+ Store(Index(p000, 0), arg2)
+ Store(Index(p000, 0), arg3)
+ Store(Index(p001, 0), arg4)
+ Store(Index(p002, 0), arg5)
+ Store(Index(p003, 0), arg6)
+
+ /* Store references additionally to NamedX */
+
+ CopyObject(Index(p000, 0), iii0)
+ CopyObject(Index(p000, 0), iii1)
+ CopyObject(Index(p000, 0), iii2)
+ CopyObject(Index(p000, 0), iii3)
+ CopyObject(Index(p000, 0), iii4)
+ CopyObject(Index(p000, 0), iii5)
+ CopyObject(Index(p000, 0), iii6)
+ CopyObject(Index(p000, 0), iii7)
+
+ /* Re-write */
+
+ CopyObject(Index(p000, 0), iii0)
+ CopyObject(Index(p000, 0), iii1)
+ CopyObject(Index(p000, 0), iii2)
+ CopyObject(Index(p000, 0), iii3)
+ CopyObject(Index(p001, 0), iii4)
+ CopyObject(Index(p002, 0), iii5)
+ CopyObject(Index(p003, 0), iii6)
+ CopyObject(Index(p004, 0), iii7)
+
+ /*
+ * Join all other packages
+ * (two directions for each two points)
+ */
+
+ mfc8(p002, p000, i2, i10, nm16, 0, 0)
+ mfc8(p003, p000, i3, i11, nm16, 0, 0)
+ mfc8(p004, p000, i4, i12, nm16, 0, 0)
+ mfc8(p005, p000, i5, i13, nm16, 0, 0)
+ mfc8(p006, p000, i6, i14, nm16, 0, 0)
+
+ mfc8(p003, p001, i3, i11, nm16, 0, 0)
+ mfc8(p004, p001, i4, i12, nm16, 0, 0)
+ mfc8(p005, p001, i5, i13, nm16, 0, 0)
+ mfc8(p006, p001, i6, i14, nm16, 0, 0)
+ mfc8(p007, p001, i2, i10, nm16, 0, 0)
+
+ /* Do some initialization repeatedly so writing upon references */
+
+ Store(2, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+
+ mfc8(p004, p002, i4, i12, nm16, 0, 0)
+ mfc8(p005, p002, i5, i13, nm16, 0, 0)
+ mfc8(p006, p002, i6, i14, nm16, 0, 0)
+ mfc8(p007, p002, i2, i10, nm16, 0, 0)
+ mfc8(p000, p002, i3, i11, nm16, 0, 0)
+
+ mfc8(p005, p003, i5, i13, nm16, 0, 0)
+ mfc8(p006, p003, i6, i14, nm16, 0, 0)
+ mfc8(p007, p003, i2, i10, nm16, 0, 0)
+ mfc8(p000, p003, i3, i11, nm16, 0, 0)
+ mfc8(p001, p003, i4, i12, nm16, 0, 0)
+
+ mfc8(p006, p004, i6, i14, nm16, 0, 0)
+ mfc8(p007, p004, i2, i10, nm16, 0, 0)
+ mfc8(p000, p004, i3, i11, nm16, 0, 0)
+ mfc8(p001, p004, i4, i12, nm16, 0, 0)
+ mfc8(p002, p004, i5, i13, nm16, 0, 0)
+
+ mfc8(p007, p005, i2, i10, nm16, 0, 0)
+ mfc8(p000, p005, i3, i11, nm16, 0, 0)
+ mfc8(p001, p005, i4, i12, nm16, 0, 0)
+ mfc8(p002, p005, i5, i13, nm16, 0, 0)
+ mfc8(p003, p005, i6, i14, nm16, 0, 0)
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ mfc8(p000, p006, i3, i11, nm16, 0, 0)
+ mfc8(p001, p006, i4, i12, nm16, 0, 0)
+ mfc8(p002, p006, i5, i13, nm16, 0, 0)
+ mfc8(p003, p006, i6, i14, nm16, 0, 0)
+ mfc8(p004, p006, i2, i10, nm16, 0, 0)
+
+ mfc8(p001, p007, i4, i12, nm16, 0, 0)
+ mfc8(p002, p007, i5, i13, nm16, 0, 0)
+ mfc8(p003, p007, i6, i14, nm16, 0, 0)
+ mfc8(p004, p007, i2, i10, nm16, 0, 0)
+ mfc8(p005, p007, i3, i11, nm16, 0, 0)
+
+
+ /* Verifying access to Packages through the IRefs */
+
+ /* Two-directional ring of references */
+
+ mfcc(p001, i8, nm16, i000, 0, 0x07e)
+ mfcc(p002, i8, nm16, i001, 0, 0x07f)
+ mfcc(p003, i8, nm16, i002, 0, 0x080)
+ mfcc(p004, i8, nm16, i003, 0, 0x081)
+ mfcc(p005, i8, nm16, i004, 0, 0x082)
+ mfcc(p006, i8, nm16, i005, 0, 0x083)
+ mfcc(p007, i8, nm16, i006, 0, 0x084)
+ mfcc(p000, i8, nm16, i007, 0, 0x085)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p006, i9, nm16, i007, 0, 0x086)
+ mfcc(p005, i9, nm16, i006, 0, 0x087)
+ mfcc(p004, i9, nm16, i005, 0, 0x088)
+ mfcc(p003, i9, nm16, i004, 0, 0x089)
+ mfcc(p002, i9, nm16, i003, 0, 0x08a)
+ mfcc(p001, i9, nm16, i002, 0, 0x08b)
+ mfcc(p000, i9, nm16, i001, 0, 0x08c)
+ mfcc(p007, i9, nm16, i000, 0, 0x08d)
+
+ /* Verify other references */
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i10, nm16, i002, 0, 0x08e)
+ mfcc(p001, i10, nm16, i007, 0, 0x08f)
+ mfcc(p002, i10, nm16, i007, 0, 0x090)
+ mfcc(p003, i10, nm16, i007, 0, 0x091)
+ mfcc(p004, i10, nm16, i007, 0, 0x092)
+ mfcc(p005, i10, nm16, i007, 0, 0x093)
+ mfcc(p006, i10, nm16, i004, 0, 0x094)
+ mfcc(p007, i10, nm16, i004, 0, 0x095)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i11, nm16, i003, 0, 0x096)
+ mfcc(p001, i11, nm16, i003, 0, 0x097)
+ mfcc(p002, i11, nm16, i000, 0, 0x098)
+ mfcc(p003, i11, nm16, i000, 0, 0x099)
+ mfcc(p004, i11, nm16, i000, 0, 0x09a)
+ mfcc(p005, i11, nm16, i000, 0, 0x09b)
+ mfcc(p006, i11, nm16, i000, 0, 0x09c)
+ mfcc(p007, i11, nm16, i005, 0, 0x09d)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i12, nm16, i004, 0, 0x09e)
+ mfcc(p001, i12, nm16, i004, 0, 0x09f)
+ mfcc(p002, i12, nm16, i004, 0, 0x0a0)
+ mfcc(p003, i12, nm16, i001, 0, 0x0a1)
+ mfcc(p004, i12, nm16, i001, 0, 0x0a2)
+ mfcc(p005, i12, nm16, i001, 0, 0x0a3)
+ mfcc(p006, i12, nm16, i001, 0, 0x0a4)
+ mfcc(p007, i12, nm16, i001, 0, 0x0a5)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i13, nm16, i005, 0, 0x0a6)
+ mfcc(p001, i13, nm16, i005, 0, 0x0a7)
+ mfcc(p002, i13, nm16, i005, 0, 0x0a8)
+ mfcc(p003, i13, nm16, i005, 0, 0x0a9)
+ mfcc(p004, i13, nm16, i002, 0, 0x0aa)
+ mfcc(p005, i13, nm16, i002, 0, 0x0ab)
+ mfcc(p006, i13, nm16, i002, 0, 0x0ac)
+ mfcc(p007, i13, nm16, i002, 0, 0x0ad)
+
+ Add(i007, nm16, i007)
+ Add(i006, nm16, i006)
+ Add(i005, nm16, i005)
+ Add(i004, nm16, i004)
+ Add(i003, nm16, i003)
+ Add(i002, nm16, i002)
+ Add(i001, nm16, i001)
+ Add(i000, nm16, i000)
+
+ mfcc(p000, i14, nm16, i006, 0, 0x0ae)
+ mfcc(p001, i14, nm16, i006, 0, 0x0af)
+ mfcc(p002, i14, nm16, i006, 0, 0x0b0)
+ mfcc(p003, i14, nm16, i006, 0, 0x0b1)
+ mfcc(p004, i14, nm16, i006, 0, 0x0b2)
+ mfcc(p005, i14, nm16, i003, 0, 0x0b3)
+ mfcc(p006, i14, nm16, i003, 0, 0x0b4)
+ mfcc(p007, i14, nm16, i003, 0, 0x0b5)
+
+ mfd8(Local0, 0xabcd0000, 0x0b6)
+ mfd8(Local1, 0xabcd0000, 0x0b7)
+ mfd8(Local2, 0xabcd0000, 0x0b8)
+ mfd8(Local3, 0xabcd0000, 0x0b9)
+ mfd8(Local4, 0xabcd0100, 0x0ba)
+ mfd8(Local5, 0xabcd0200, 0x0bb)
+ mfd8(Local6, 0xabcd0300, 0x0bc)
+ mfd8(Local7, 0xabcd0400, 0x0bd)
+
+ mfd8(arg0, 0xabcd0000, 0x0be)
+ mfd8(arg1, 0xabcd0000, 0x0bf)
+ mfd8(arg2, 0xabcd0000, 0x0c0)
+ mfd8(arg3, 0xabcd0000, 0x0c1)
+ mfd8(arg4, 0xabcd0100, 0x0c2)
+ mfd8(arg5, 0xabcd0200, 0x0c3)
+ mfd8(arg6, 0xabcd0300, 0x0c4)
+
+ if (y127) {
+ mfd8(iii0, 0xabcd0000, 0x0c5)
+ mfd8(iii1, 0xabcd0000, 0x0c6)
+ mfd8(iii2, 0xabcd0000, 0x0c7)
+ mfd8(iii3, 0xabcd0000, 0x0c8)
+ mfd8(iii4, 0xabcd0100, 0x0c9)
+ mfd8(iii5, 0xabcd0200, 0x0ca)
+ mfd8(iii6, 0xabcd0300, 0x0cb)
+ mfd8(iii7, 0xabcd0400, 0x0cc)
+ }
+}
+
+Method(mfe9,, Serialized)
+{
+ Name(p000, Package(101) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f})
+ Name(p002, Package(102) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
+
+ Method(m000,, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p002, 0), Index(p001, 8))
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(Index(p002, 0), Index(p000, 8))
+
+ Store(Index(p000, 16), Index(p000, 16))
+ Store(Index(p000, 16), Index(p000, 17))
+ Store(Index(p000, 18), Index(p000, 19))
+ Store(Index(p001, 16), Index(p001, 16))
+ Store(Index(p001, 16), Index(p001, 17))
+ Store(Index(p001, 18), Index(p001, 19))
+ Store(Index(p002, 16), Index(p002, 16))
+ Store(Index(p002, 16), Index(p002, 17))
+ Store(Index(p002, 18), Index(p002, 19))
+ }
+
+ Method(m001,, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p002, 1), Index(p001, 9))
+ Store(Index(p001, 1), Index(p000, 1))
+ Store(Index(p002, 1), Index(p000, 9))
+
+ Store(Index(p000, 20), Index(p000, 20))
+ Store(Index(p000, 20), Index(p000, 21))
+ Store(Index(p000, 22), Index(p000, 23))
+ Store(Index(p001, 20), Index(p001, 20))
+ Store(Index(p001, 20), Index(p001, 21))
+ Store(Index(p001, 22), Index(p001, 23))
+ Store(Index(p002, 20), Index(p002, 20))
+ Store(Index(p002, 20), Index(p002, 21))
+ Store(Index(p002, 22), Index(p002, 23))
+
+ m000()
+ }
+
+ Method(m002,, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p002, 2), Index(p001, 10))
+ Store(Index(p001, 2), Index(p000, 2))
+ Store(Index(p002, 2), Index(p000, 10))
+
+ Store(Index(p000, 30), Index(p000, 30))
+ Store(Index(p000, 30), Index(p000, 31))
+ Store(Index(p000, 32), Index(p000, 33))
+ Store(Index(p001, 30), Index(p001, 30))
+ Store(Index(p001, 30), Index(p001, 31))
+ Store(Index(p001, 32), Index(p001, 33))
+ Store(Index(p002, 30), Index(p002, 30))
+ Store(Index(p002, 30), Index(p002, 31))
+ Store(Index(p002, 32), Index(p002, 33))
+
+ m001()
+ }
+
+ Method(m003,, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(p000, 3), Index(p001, 3))
+ Store(Index(p002, 3), Index(p001, 11))
+ Store(Index(p001, 3), Index(p000, 3))
+ Store(Index(p002, 3), Index(p000, 11))
+
+ Store(Index(p000, 40), Index(p000, 40))
+ Store(Index(p000, 40), Index(p000, 41))
+ Store(Index(p000, 42), Index(p000, 43))
+ Store(Index(p001, 40), Index(p001, 40))
+ Store(Index(p001, 40), Index(p001, 41))
+ Store(Index(p001, 42), Index(p001, 43))
+ Store(Index(p002, 40), Index(p002, 40))
+ Store(Index(p002, 40), Index(p002, 41))
+ Store(Index(p002, 42), Index(p002, 43))
+
+ m002()
+ }
+
+ Method(m004,, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(p000, 4), Index(p001, 4))
+ Store(Index(p002, 4), Index(p001, 12))
+ Store(Index(p001, 4), Index(p000, 4))
+ Store(Index(p002, 4), Index(p000, 12))
+
+ Store(Index(p000, 50), Index(p000, 50))
+ Store(Index(p000, 50), Index(p000, 51))
+ Store(Index(p000, 52), Index(p000, 53))
+ Store(Index(p001, 50), Index(p001, 50))
+ Store(Index(p001, 50), Index(p001, 51))
+ Store(Index(p001, 52), Index(p001, 53))
+ Store(Index(p002, 50), Index(p002, 50))
+ Store(Index(p002, 50), Index(p002, 51))
+ Store(Index(p002, 52), Index(p002, 53))
+
+ m003()
+ }
+
+ Method(m005,, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(p000, 5), Index(p001, 5))
+ Store(Index(p002, 5), Index(p001, 13))
+ Store(Index(p001, 5), Index(p000, 5))
+ Store(Index(p002, 5), Index(p000, 13))
+
+ Store(Index(p000, 60), Index(p000, 60))
+ Store(Index(p000, 60), Index(p000, 61))
+ Store(Index(p000, 62), Index(p000, 63))
+ Store(Index(p001, 60), Index(p001, 60))
+ Store(Index(p001, 60), Index(p001, 61))
+ Store(Index(p001, 62), Index(p001, 63))
+ Store(Index(p002, 60), Index(p002, 60))
+ Store(Index(p002, 60), Index(p002, 61))
+ Store(Index(p002, 62), Index(p002, 63))
+
+ m004()
+ }
+
+ Method(m006,, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(p000, 6), Index(p001, 6))
+ Store(Index(p002, 6), Index(p001, 14))
+ Store(Index(p001, 6), Index(p000, 6))
+ Store(Index(p002, 6), Index(p000, 14))
+
+ Store(Index(p000, 70), Index(p000, 70))
+ Store(Index(p000, 70), Index(p000, 71))
+ Store(Index(p000, 72), Index(p000, 73))
+ Store(Index(p001, 70), Index(p001, 70))
+ Store(Index(p001, 70), Index(p001, 71))
+ Store(Index(p001, 72), Index(p001, 73))
+ Store(Index(p002, 70), Index(p002, 70))
+ Store(Index(p002, 70), Index(p002, 71))
+ Store(Index(p002, 72), Index(p002, 73))
+
+ m005()
+ }
+
+ Method(m007,, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(p000, 7), Index(p001, 7))
+ Store(Index(p002, 7), Index(p001, 15))
+ Store(Index(p001, 7), Index(p000, 7))
+ Store(Index(p002, 7), Index(p000, 15))
+
+ Store(Index(p000, 80), Index(p000, 80))
+ Store(Index(p000, 80), Index(p000, 81))
+ Store(Index(p000, 82), Index(p000, 83))
+ Store(Index(p001, 80), Index(p001, 80))
+ Store(Index(p001, 80), Index(p001, 81))
+ Store(Index(p001, 82), Index(p001, 83))
+ Store(Index(p002, 80), Index(p002, 80))
+ Store(Index(p002, 80), Index(p002, 81))
+ Store(Index(p002, 82), Index(p002, 83))
+
+ m006()
+ }
+
+ m007()
+ m007()
+}
+
+Method(mfea,, Serialized)
+{
+ Name(p000, Package(101) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f})
+ Name(p002, Package(102) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
+
+ Method(m000, 1, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(arg0, 0), Index(p001, 0))
+ Store(Index(p002, 0), Index(p001, 8))
+ Store(Index(p001, 0), Index(arg0, 0))
+ Store(Index(p002, 0), Index(arg0, 8))
+
+ Store(Index(arg0, 16), Index(arg0, 16))
+ Store(Index(arg0, 16), Index(arg0, 17))
+ Store(Index(arg0, 18), Index(arg0, 19))
+ Store(Index(p001, 16), Index(p001, 16))
+ Store(Index(p001, 16), Index(p001, 17))
+ Store(Index(p001, 18), Index(p001, 19))
+ Store(Index(p002, 16), Index(p002, 16))
+ Store(Index(p002, 16), Index(p002, 17))
+ Store(Index(p002, 18), Index(p002, 19))
+ }
+
+ Method(m001, 1, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(arg0, 1), Index(p001, 1))
+ Store(Index(p002, 1), Index(p001, 9))
+ Store(Index(p001, 1), Index(arg0, 1))
+ Store(Index(p002, 1), Index(arg0, 9))
+
+ Store(Index(arg0, 20), Index(arg0, 20))
+ Store(Index(arg0, 20), Index(arg0, 21))
+ Store(Index(arg0, 22), Index(arg0, 23))
+ Store(Index(p001, 20), Index(p001, 20))
+ Store(Index(p001, 20), Index(p001, 21))
+ Store(Index(p001, 22), Index(p001, 23))
+ Store(Index(p002, 20), Index(p002, 20))
+ Store(Index(p002, 20), Index(p002, 21))
+ Store(Index(p002, 22), Index(p002, 23))
+
+ m000(arg0)
+ }
+
+ Method(m002, 1, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(arg0, 2), Index(p001, 2))
+ Store(Index(p002, 2), Index(p001, 10))
+ Store(Index(p001, 2), Index(arg0, 2))
+ Store(Index(p002, 2), Index(arg0, 10))
+
+ Store(Index(arg0, 30), Index(arg0, 30))
+ Store(Index(arg0, 30), Index(arg0, 31))
+ Store(Index(arg0, 32), Index(arg0, 33))
+ Store(Index(p001, 30), Index(p001, 30))
+ Store(Index(p001, 30), Index(p001, 31))
+ Store(Index(p001, 32), Index(p001, 33))
+ Store(Index(p002, 30), Index(p002, 30))
+ Store(Index(p002, 30), Index(p002, 31))
+ Store(Index(p002, 32), Index(p002, 33))
+
+ m001(arg0)
+ }
+
+ Method(m003, 1, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(arg0, 3), Index(p001, 3))
+ Store(Index(p002, 3), Index(p001, 11))
+ Store(Index(p001, 3), Index(arg0, 3))
+ Store(Index(p002, 3), Index(arg0, 11))
+
+ Store(Index(arg0, 40), Index(arg0, 40))
+ Store(Index(arg0, 40), Index(arg0, 41))
+ Store(Index(arg0, 42), Index(arg0, 43))
+ Store(Index(p001, 40), Index(p001, 40))
+ Store(Index(p001, 40), Index(p001, 41))
+ Store(Index(p001, 42), Index(p001, 43))
+ Store(Index(p002, 40), Index(p002, 40))
+ Store(Index(p002, 40), Index(p002, 41))
+ Store(Index(p002, 42), Index(p002, 43))
+
+ m002(arg0)
+ }
+
+ Method(m004, 1, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(arg0, 4), Index(p001, 4))
+ Store(Index(p002, 4), Index(p001, 12))
+ Store(Index(p001, 4), Index(arg0, 4))
+ Store(Index(p002, 4), Index(arg0, 12))
+
+ Store(Index(arg0, 50), Index(arg0, 50))
+ Store(Index(arg0, 50), Index(arg0, 51))
+ Store(Index(arg0, 52), Index(arg0, 53))
+ Store(Index(p001, 50), Index(p001, 50))
+ Store(Index(p001, 50), Index(p001, 51))
+ Store(Index(p001, 52), Index(p001, 53))
+ Store(Index(p002, 50), Index(p002, 50))
+ Store(Index(p002, 50), Index(p002, 51))
+ Store(Index(p002, 52), Index(p002, 53))
+
+ m003(arg0)
+ }
+
+ Method(m005, 1, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(arg0, 5), Index(p001, 5))
+ Store(Index(p002, 5), Index(p001, 13))
+ Store(Index(p001, 5), Index(arg0, 5))
+ Store(Index(p002, 5), Index(arg0, 13))
+
+ Store(Index(arg0, 60), Index(arg0, 60))
+ Store(Index(arg0, 60), Index(arg0, 61))
+ Store(Index(arg0, 62), Index(arg0, 63))
+ Store(Index(p001, 60), Index(p001, 60))
+ Store(Index(p001, 60), Index(p001, 61))
+ Store(Index(p001, 62), Index(p001, 63))
+ Store(Index(p002, 60), Index(p002, 60))
+ Store(Index(p002, 60), Index(p002, 61))
+ Store(Index(p002, 62), Index(p002, 63))
+
+ m004(arg0)
+ }
+
+ Method(m006, 1, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(arg0, 6), Index(p001, 6))
+ Store(Index(p002, 6), Index(p001, 14))
+ Store(Index(p001, 6), Index(arg0, 6))
+ Store(Index(p002, 6), Index(arg0, 14))
+
+ Store(Index(arg0, 70), Index(arg0, 70))
+ Store(Index(arg0, 70), Index(arg0, 71))
+ Store(Index(arg0, 72), Index(arg0, 73))
+ Store(Index(p001, 70), Index(p001, 70))
+ Store(Index(p001, 70), Index(p001, 71))
+ Store(Index(p001, 72), Index(p001, 73))
+ Store(Index(p002, 70), Index(p002, 70))
+ Store(Index(p002, 70), Index(p002, 71))
+ Store(Index(p002, 72), Index(p002, 73))
+
+ m005(arg0)
+ }
+
+ Method(m007, 1, Serialized)
+ {
+ Name(p001, Package(100) {0,1})
+ Store(Index(arg0, 7), Index(p001, 7))
+ Store(Index(p002, 7), Index(p001, 15))
+ Store(Index(p001, 7), Index(arg0, 7))
+ Store(Index(p002, 7), Index(arg0, 15))
+
+ Store(Index(arg0, 80), Index(arg0, 80))
+ Store(Index(arg0, 80), Index(arg0, 81))
+ Store(Index(arg0, 82), Index(arg0, 83))
+ Store(Index(p001, 80), Index(p001, 80))
+ Store(Index(p001, 80), Index(p001, 81))
+ Store(Index(p001, 82), Index(p001, 83))
+ Store(Index(p002, 80), Index(p002, 80))
+ Store(Index(p002, 80), Index(p002, 81))
+ Store(Index(p002, 82), Index(p002, 83))
+
+ m006(arg0)
+ }
+
+ m007(p000)
+ m007(p000)
+}
+
+Method(mfeb,, Serialized)
+{
+ Name(cmd0, 0)
+
+ Name(p000, Package(30) {0,1,2,3,4,5,6,7,8,9})
+ Name(p001, Package(31) {0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79})
+ Name(p002, Package(32) {0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89})
+ Name(p003, Package(33) {0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99})
+ Name(p004, Package(34) {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9})
+ Name(p005, Package(35) {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9})
+ Name(p006, Package(36) {0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9})
+ Name(p007, Package(37) {0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9})
+
+ Method(m000, 7, Serialized)
+ {
+ Name(pp00, Package(64) {0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7})
+ Name(pp01, Package(64) {0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7})
+
+
+ Store(Index(arg0, 0), Index(pp01, 8))
+ Store(Index(arg1, 1), Index(pp01, 9))
+ Store(Index(arg2, 2), Index(pp01, 10))
+ Store(Index(arg3, 3), Index(pp01, 11))
+ Store(Index(arg4, 4), Index(pp01, 12))
+ Store(Index(arg5, 5), Index(pp01, 13))
+ Store(Index(arg6, 6), Index(pp01, 14))
+ Store(Index(pp00, 0), Index(pp01, 15))
+ Store(Index(pp01, 0), Index(pp01, 16))
+ Store(Index(pp01, 9), Index(pp01, 17))
+ Store(Index(p000, 0), Index(pp01, 18))
+ Store(Index(p001, 0), Index(pp01, 19))
+ Store(Index(p002, 0), Index(pp01, 20))
+ Store(Index(p003, 0), Index(pp01, 21))
+ Store(Index(p004, 0), Index(pp01, 22))
+ Store(Index(p005, 0), Index(pp01, 23))
+ Store(Index(p006, 0), Index(pp01, 24))
+
+ Store(Index(arg0, 0), Index(pp00, 8))
+ Store(Index(arg0, 1), Index(pp00, 9))
+ Store(Index(arg0, 2), Index(pp00, 10))
+ Store(Index(arg0, 3), Index(pp00, 11))
+ Store(Index(arg0, 4), Index(pp00, 12))
+ Store(Index(arg0, 5), Index(pp00, 13))
+ Store(Index(arg0, 6), Index(pp00, 14))
+ Store(Index(pp00, 0), Index(pp00, 15))
+ Store(Index(pp01, 0), Index(pp00, 16))
+ Store(Index(pp01, 9), Index(pp00, 17))
+ Store(Index(p000, 0), Index(pp00, 18))
+ Store(Index(p001, 0), Index(pp00, 19))
+ Store(Index(p002, 0), Index(pp00, 20))
+ Store(Index(p003, 0), Index(pp00, 21))
+ Store(Index(p004, 0), Index(pp00, 22))
+ Store(Index(p005, 0), Index(pp00, 23))
+ Store(Index(p006, 0), Index(pp00, 24))
+
+ Store(Index(arg0, 0), Index(p000, 8))
+ Store(Index(arg1, 1), Index(p000, 9))
+ Store(Index(arg2, 2), Index(p000, 10))
+ Store(Index(arg3, 3), Index(p000, 11))
+ Store(Index(arg4, 4), Index(p000, 12))
+ Store(Index(arg5, 5), Index(p000, 13))
+ Store(Index(arg6, 6), Index(p000, 14))
+ Store(Index(pp00, 0), Index(p000, 15))
+ Store(Index(pp01, 0), Index(p000, 16))
+ Store(Index(pp01, 9), Index(p000, 17))
+ Store(Index(p000, 0), Index(p000, 18))
+ Store(Index(p001, 0), Index(p000, 19))
+ Store(Index(p002, 0), Index(p000, 20))
+ Store(Index(p003, 0), Index(p000, 21))
+ Store(Index(p004, 0), Index(p000, 22))
+ Store(Index(p005, 0), Index(p000, 23))
+ Store(Index(p006, 0), Index(p000, 24))
+
+ Store(Index(arg0, 0), Index(p001, 8))
+ Store(Index(arg0, 1), Index(p001, 9))
+ Store(Index(arg0, 2), Index(p001, 10))
+ Store(Index(arg0, 3), Index(p001, 11))
+ Store(Index(arg0, 4), Index(p001, 12))
+ Store(Index(arg0, 5), Index(p001, 13))
+ Store(Index(arg0, 6), Index(p001, 14))
+ Store(Index(pp00, 0), Index(p001, 15))
+ Store(Index(pp01, 0), Index(p001, 16))
+ Store(Index(pp01, 9), Index(p001, 17))
+ Store(Index(p000, 0), Index(p001, 18))
+ Store(Index(p001, 0), Index(p001, 19))
+ Store(Index(p002, 0), Index(p001, 20))
+ Store(Index(p003, 0), Index(p001, 21))
+ Store(Index(p004, 0), Index(p001, 22))
+ Store(Index(p005, 0), Index(p001, 23))
+ Store(Index(p006, 0), Index(p001, 24))
+
+ Store(DerefOf(Index(arg0, 3)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x301, 0, 0, Local0, 3)
+ }
+
+ Store(DerefOf(Index(arg1, 3)), Local0)
+ if (LNotEqual(Local0, 0x13)) {
+ err("", zFFF, 0x302, 0, 0, Local0, 0x13)
+ }
+
+ Store(DerefOf(Index(arg2, 3)), Local0)
+ if (LNotEqual(Local0, 0x23)) {
+ err("", zFFF, 0x303, 0, 0, Local0, 0x23)
+ }
+
+ Store(DerefOf(Index(arg3, 3)), Local0)
+ if (LNotEqual(Local0, 0x33)) {
+ err("", zFFF, 0x304, 0, 0, Local0, 0x33)
+ }
+
+ Store(DerefOf(Index(arg4, 3)), Local0)
+ if (LNotEqual(Local0, 0x43)) {
+ err("", zFFF, 0x305, 0, 0, Local0, 0x43)
+ }
+
+ Store(DerefOf(Index(arg5, 3)), Local0)
+ if (LNotEqual(Local0, 0x53)) {
+ err("", zFFF, 0x306, 0, 0, Local0, 0x53)
+ }
+
+ Store(DerefOf(Index(arg6, 3)), Local0)
+ if (LNotEqual(Local0, 0x63)) {
+ err("", zFFF, 0x307, 0, 0, Local0, 0x63)
+ }
+
+ Store(DerefOf(Index(p000, 14)), Local0)
+ Store(DerefOf(Local0), Local1)
+ if (LNotEqual(Local1, 0x66)) {
+ err("", zFFF, 0x308, 0, 0, Local1, 0x66)
+ }
+
+ if (LEqual(cmd0, 1)) {
+
+ Store(p007, arg0)
+ Store(p001, arg1)
+ Store(p002, arg2)
+ Store(p003, arg3)
+ Store(p004, arg4)
+ Store(p005, arg5)
+ Store(p006, arg6)
+
+ Store(Index(arg0, 0), Index(pp01, 8))
+ Store(Index(arg1, 1), Index(pp01, 9))
+ Store(Index(arg2, 2), Index(pp01, 10))
+ Store(Index(arg3, 3), Index(pp01, 11))
+ Store(Index(arg4, 4), Index(pp01, 12))
+ Store(Index(arg5, 5), Index(pp01, 13))
+ Store(Index(arg6, 6), Index(pp01, 14))
+ Store(Index(pp00, 0), Index(pp01, 15))
+ Store(Index(pp01, 0), Index(pp01, 16))
+ Store(Index(pp01, 9), Index(pp01, 17))
+ Store(Index(p000, 0), Index(pp01, 18))
+ Store(Index(p001, 0), Index(pp01, 19))
+ Store(Index(p002, 0), Index(pp01, 20))
+ Store(Index(p003, 0), Index(pp01, 21))
+ Store(Index(p004, 0), Index(pp01, 22))
+ Store(Index(p005, 0), Index(pp01, 23))
+ Store(Index(p006, 0), Index(pp01, 24))
+
+ Store(Index(arg0, 0), Index(pp00, 8))
+ Store(Index(arg0, 1), Index(pp00, 9))
+ Store(Index(arg0, 2), Index(pp00, 10))
+ Store(Index(arg0, 3), Index(pp00, 11))
+ Store(Index(arg0, 4), Index(pp00, 12))
+ Store(Index(arg0, 5), Index(pp00, 13))
+ Store(Index(arg0, 6), Index(pp00, 14))
+ Store(Index(pp00, 0), Index(pp00, 15))
+ Store(Index(pp01, 0), Index(pp00, 16))
+ Store(Index(pp01, 9), Index(pp00, 17))
+ Store(Index(p000, 0), Index(pp00, 18))
+ Store(Index(p001, 0), Index(pp00, 19))
+ Store(Index(p002, 0), Index(pp00, 20))
+ Store(Index(p003, 0), Index(pp00, 21))
+ Store(Index(p004, 0), Index(pp00, 22))
+ Store(Index(p005, 0), Index(pp00, 23))
+ Store(Index(p006, 0), Index(pp00, 24))
+
+ Store(Index(arg0, 0), Index(p000, 8))
+ Store(Index(arg1, 1), Index(p000, 9))
+ Store(Index(arg2, 2), Index(p000, 10))
+ Store(Index(arg3, 3), Index(p000, 11))
+ Store(Index(arg4, 4), Index(p000, 12))
+ Store(Index(arg5, 5), Index(p000, 13))
+ Store(Index(arg6, 6), Index(p000, 14))
+ Store(Index(pp00, 0), Index(p000, 15))
+ Store(Index(pp01, 0), Index(p000, 16))
+ Store(Index(pp01, 9), Index(p000, 17))
+ Store(Index(p000, 0), Index(p000, 18))
+ Store(Index(p001, 0), Index(p000, 19))
+ Store(Index(p002, 0), Index(p000, 20))
+ Store(Index(p003, 0), Index(p000, 21))
+ Store(Index(p004, 0), Index(p000, 22))
+ Store(Index(p005, 0), Index(p000, 23))
+ Store(Index(p006, 0), Index(p000, 24))
+
+ Store(Index(arg0, 0), Index(p001, 8))
+ Store(Index(arg0, 1), Index(p001, 9))
+ Store(Index(arg0, 2), Index(p001, 10))
+ Store(Index(arg0, 3), Index(p001, 11))
+ Store(Index(arg0, 4), Index(p001, 12))
+ Store(Index(arg0, 5), Index(p001, 13))
+ Store(Index(arg0, 6), Index(p001, 14))
+ Store(Index(pp00, 0), Index(p001, 15))
+ Store(Index(pp01, 0), Index(p001, 16))
+ Store(Index(pp01, 9), Index(p001, 17))
+ Store(Index(p000, 0), Index(p001, 18))
+ Store(Index(p001, 0), Index(p001, 19))
+ Store(Index(p002, 0), Index(p001, 20))
+ Store(Index(p003, 0), Index(p001, 21))
+ Store(Index(p004, 0), Index(p001, 22))
+ Store(Index(p005, 0), Index(p001, 23))
+ Store(Index(p006, 0), Index(p001, 24))
+
+ Store(DerefOf(Index(arg0, 3)), Local0)
+ if (LNotEqual(Local0, 0xd3)) {
+ err("", zFFF, 0x309, 0, 0, Local0, 0xd3)
+ }
+ Store(DerefOf(Index(arg1, 3)), Local0)
+ if (LNotEqual(Local0, 0x73)) {
+ err("", zFFF, 0x30a, 0, 0, Local0, 0x73)
+ }
+ Store(DerefOf(Index(arg2, 3)), Local0)
+ if (LNotEqual(Local0, 0x83)) {
+ err("", zFFF, 0x30b, 0, 0, Local0, 0x83)
+ }
+ Store(DerefOf(Index(arg3, 3)), Local0)
+ if (LNotEqual(Local0, 0x93)) {
+ err("", zFFF, 0x30c, 0, 0, Local0, 0x93)
+ }
+ Store(DerefOf(Index(arg4, 3)), Local0)
+ if (LNotEqual(Local0, 0xa3)) {
+ err("", zFFF, 0x30d, 0, 0, Local0, 0xa3)
+ }
+ Store(DerefOf(Index(arg5, 3)), Local0)
+ if (LNotEqual(Local0, 0xb3)) {
+ err("", zFFF, 0x30e, 0, 0, Local0, 0xb3)
+ }
+ Store(DerefOf(Index(arg6, 3)), Local0)
+ if (LNotEqual(Local0, 0xc3)) {
+ err("", zFFF, 0x30f, 0, 0, Local0, 0xc3)
+ }
+
+ Store(DerefOf(Index(p000, 14)), Local0)
+ Store(DerefOf(Local0), Local1)
+ if (LNotEqual(Local1, 0xc6)) {
+ err("", zFFF, 0x310, 0, 0, Local1, 0xc6)
+ }
+ }
+ }
+
+ Method(m001, 7, Serialized)
+ {
+ Name(pp00, Package(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+ Name(pp01, Package(64) {0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7})
+
+ m000(arg0,pp00,arg2,arg3,arg4,arg5,arg6)
+
+ if (LEqual(cmd0, 0)) {
+
+ Store(p007, arg0)
+ Store(p001, arg1)
+ Store(p002, arg2)
+ Store(p003, arg3)
+ Store(p004, arg4)
+ Store(p005, arg5)
+ Store(p006, arg6)
+
+ Store(Index(arg0, 0), Index(pp01, 8))
+ Store(Index(arg1, 1), Index(pp01, 9))
+ Store(Index(arg2, 2), Index(pp01, 10))
+ Store(Index(arg3, 3), Index(pp01, 11))
+ Store(Index(arg4, 4), Index(pp01, 12))
+ Store(Index(arg5, 5), Index(pp01, 13))
+ Store(Index(arg6, 6), Index(pp01, 14))
+ Store(Index(pp00, 0), Index(pp01, 15))
+ Store(Index(pp01, 0), Index(pp01, 16))
+ Store(Index(pp01, 9), Index(pp01, 17))
+ Store(Index(p000, 0), Index(pp01, 18))
+ Store(Index(p001, 0), Index(pp01, 19))
+ Store(Index(p002, 0), Index(pp01, 20))
+ Store(Index(p003, 0), Index(pp01, 21))
+ Store(Index(p004, 0), Index(pp01, 22))
+ Store(Index(p005, 0), Index(pp01, 23))
+ Store(Index(p006, 0), Index(pp01, 24))
+
+ Store(Index(arg0, 0), Index(pp00, 8))
+ Store(Index(arg0, 1), Index(pp00, 9))
+ Store(Index(arg0, 2), Index(pp00, 10))
+ Store(Index(arg0, 3), Index(pp00, 11))
+ Store(Index(arg0, 4), Index(pp00, 12))
+ Store(Index(arg0, 5), Index(pp00, 13))
+ Store(Index(arg0, 6), Index(pp00, 14))
+ Store(Index(pp00, 0), Index(pp00, 15))
+ Store(Index(pp01, 0), Index(pp00, 16))
+ Store(Index(pp01, 9), Index(pp00, 17))
+ Store(Index(p000, 0), Index(pp00, 18))
+ Store(Index(p001, 0), Index(pp00, 19))
+ Store(Index(p002, 0), Index(pp00, 20))
+ Store(Index(p003, 0), Index(pp00, 21))
+ Store(Index(p004, 0), Index(pp00, 22))
+ Store(Index(p005, 0), Index(pp00, 23))
+ Store(Index(p006, 0), Index(pp00, 24))
+
+ Store(Index(arg0, 0), Index(p000, 8))
+ Store(Index(arg1, 1), Index(p000, 9))
+ Store(Index(arg2, 2), Index(p000, 10))
+ Store(Index(arg3, 3), Index(p000, 11))
+ Store(Index(arg4, 4), Index(p000, 12))
+ Store(Index(arg5, 5), Index(p000, 13))
+ Store(Index(arg6, 6), Index(p000, 14))
+ Store(Index(pp00, 0), Index(p000, 15))
+ Store(Index(pp01, 0), Index(p000, 16))
+ Store(Index(pp01, 9), Index(p000, 17))
+ Store(Index(p000, 0), Index(p000, 18))
+ Store(Index(p001, 0), Index(p000, 19))
+ Store(Index(p002, 0), Index(p000, 20))
+ Store(Index(p003, 0), Index(p000, 21))
+ Store(Index(p004, 0), Index(p000, 22))
+ Store(Index(p005, 0), Index(p000, 23))
+ Store(Index(p006, 0), Index(p000, 24))
+
+ Store(Index(arg0, 0), Index(p001, 8))
+ Store(Index(arg0, 1), Index(p001, 9))
+ Store(Index(arg0, 2), Index(p001, 10))
+ Store(Index(arg0, 3), Index(p001, 11))
+ Store(Index(arg0, 4), Index(p001, 12))
+ Store(Index(arg0, 5), Index(p001, 13))
+ Store(Index(arg0, 6), Index(p001, 14))
+ Store(Index(pp00, 0), Index(p001, 15))
+ Store(Index(pp01, 0), Index(p001, 16))
+ Store(Index(pp01, 9), Index(p001, 17))
+ Store(Index(p000, 0), Index(p001, 18))
+ Store(Index(p001, 0), Index(p001, 19))
+ Store(Index(p002, 0), Index(p001, 20))
+ Store(Index(p003, 0), Index(p001, 21))
+ Store(Index(p004, 0), Index(p001, 22))
+ Store(Index(p005, 0), Index(p001, 23))
+ Store(Index(p006, 0), Index(p001, 24))
+
+ Store(DerefOf(Index(arg0, 3)), Local0)
+ if (LNotEqual(Local0, 0xd3)) {
+ err("", zFFF, 0x311, 0, 0, Local0, 0xd3)
+ }
+ Store(DerefOf(Index(arg1, 3)), Local0)
+ if (LNotEqual(Local0, 0x73)) {
+ err("", zFFF, 0x312, 0, 0, Local0, 0x73)
+ }
+ Store(DerefOf(Index(arg2, 3)), Local0)
+ if (LNotEqual(Local0, 0x83)) {
+ err("", zFFF, 0x313, 0, 0, Local0, 0x83)
+ }
+ Store(DerefOf(Index(arg3, 3)), Local0)
+ if (LNotEqual(Local0, 0x93)) {
+ err("", zFFF, 0x314, 0, 0, Local0, 0x93)
+ }
+ Store(DerefOf(Index(arg4, 3)), Local0)
+ if (LNotEqual(Local0, 0xa3)) {
+ err("", zFFF, 0x315, 0, 0, Local0, 0xa3)
+ }
+ Store(DerefOf(Index(arg5, 3)), Local0)
+ if (LNotEqual(Local0, 0xb3)) {
+ err("", zFFF, 0x316, 0, 0, Local0, 0xb3)
+ }
+ Store(DerefOf(Index(arg6, 3)), Local0)
+ if (LNotEqual(Local0, 0xc3)) {
+ err("", zFFF, 0x317, 0, 0, Local0, 0xc3)
+ }
+
+ Store(DerefOf(Index(p000, 14)), Local0)
+ Store(DerefOf(Local0), Local1)
+ if (LNotEqual(Local1, 0xc6)) {
+ err("", zFFF, 0x318, 0, 0, Local1, 0xc6)
+ }
+ }
+ }
+
+ Method(m002, 7, Serialized)
+ {
+ Name(pp00, Package(64) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
+
+ m001(arg0,arg1,pp00,arg3,arg4,arg5,arg6)
+ Store(pp00, arg0)
+ }
+
+ Method(m003, 7, Serialized)
+ {
+ Name(pp00, Package(64) {0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37})
+
+ m002(arg0,arg1,arg2,pp00,arg4,arg5,arg6)
+ Store(pp00, arg0)
+ }
+
+ Method(m004, 7, Serialized)
+ {
+ Name(pp00, Package(64) {0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47})
+
+ m003(arg0,arg1,arg2,arg3,pp00,arg5,arg6)
+ Store(pp00, arg0)
+ }
+
+ Method(m005, 7, Serialized)
+ {
+ Name(pp00, Package(64) {0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57})
+
+ m004(arg0,arg1,arg2,arg3,arg4,pp00,arg6)
+ Store(pp00, arg0)
+ }
+
+ Method(m006, 7, Serialized)
+ {
+ Name(pp00, Package(64) {0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67})
+
+ m005(arg0,arg1,arg2,arg3,arg4,arg5,pp00)
+ Store(pp00, arg0)
+ }
+
+ Store(0, cmd0)
+ m006(p000,p001,p002,p003,p004,p005,p006)
+
+ Store(1, cmd0)
+ m006(p000,p001,p002,p003,p004,p005,p006)
+}
+
+Method(mf01,, Serialized)
+{
+ Name(i000, 0)
+ Name(i001, 1)
+ Name(i002, 2)
+ Name(i003, 3)
+
+ /* 4-level hierarchy model: 0,1,2,3 */
+
+ Name(pp00, Package(8){0x44})
+ Name(pp10, Package(8){0x1044})
+
+ Name(p000, Package() {
+ Package() {0x00,0x01,0x02,0x03,Package(8){0x04},0x05,0x06,0x07},
+ 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
+ Package() {0x10,0x11,0x12,0x13,Package(8){0x14},0x15,0x16,0x17},
+ Package() {0x18},0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
+ Package() {0x10,0x21,0x22,0x23,Package(8){0x24},0x25,0x26,0x27},
+ 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
+ Package() {0x20,0x31,0x32,0x33,Package(8){0x34},0x35,0x36,0x37},
+ 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
+ Package() {0x30,0x41,0x42,0x43,pp00,0x45,0x46,0x47},
+ 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
+ Package() {0x40,0x51,0x52,0x53,Package(8){0x54},0x55,0x56,0x57},
+ 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
+ Package() {0x50,0x61,0x62,0x63,Package(8){0x64},0x65,0x66,0x67},
+ 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
+ Package() {0x60,0x71,0x72,0x73,Package(8){0x74},0x75,0x76,0x77},
+ 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
+ Package() {0x80,0x81,0x82,0x83,Package(8){0x84},0x85,0x86,0x87},
+ Package() {0x88},0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
+ Package() {0x90,0x91,0x92,0x93,Package(8){0x94},0x95,0x96,0x97},
+ Package() {0x98},0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
+ Package() {0xa0,0xa1,0xa2,0xa3,Package(8){0xa4},0xa5,0xa6,0xa7},
+ 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
+ Package() {0xb0,0xb1,0xb2,0xb3,Package(8){0xb4},0xb5,0xb6,0xb7},
+ 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
+ Package() {0xc0,0xc1,0xc2,0xc3,Package(8){0xc4},0xc5,0xc6,0xc7},
+ 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,
+ Package() {0xd0,0xd1,0xd2,0xd3,Package(8){0xd4},0xd5,0xd6,0xd7},
+ 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf,
+ Package() {0xe0,0xe1,0xe2,0xe3,Package(8){0xe4},0xe5,0xe6,0xe7},
+ 0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
+ Package() {0xf0,0xf1,0xf2,0xf3,Package(8){0xf4},0xf5,0xf6,0xf7},
+ 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff,
+ })
+
+ Name(p001, Package() {
+ Package() {0x1000,0x1001,0x1002,0x1003,Package(8){0x1004},0x1005,0x1006,0x1007},
+ 0x1008,0x1009,0x100a,0x100b,0x100c,0x100d,0x100e,0x100f,
+ Package() {0x1010,0x1011,0x1012,0x1013,Package(8){0x1014},0x1015,0x1016,0x1017},
+ Package() {0x1018},0x1019,0x101a,0x101b,0x101c,0x101d,0x101e,0x101f,
+ Package() {0x1010,0x1021,0x1022,0x1023,Package(8){0x1024},0x1025,0x1026,0x1027},
+ 0x1028,0x1029,0x102a,0x102b,0x102c,0x102d,0x102e,0x102f,
+ Package() {0x1020,0x1031,0x1032,0x1033,Package(8){0x1034},0x1035,0x1036,0x1037},
+ 0x1038,0x1039,0x103a,0x103b,0x103c,0x103d,0x103e,0x103f,
+ Package() {0x1030,0x1041,0x1042,0x1043,pp10,0x1045,0x1046,0x1047},
+ 0x1048,0x1049,0x104a,0x104b,0x104c,0x104d,0x104e,0x104f,
+ Package() {0x1040,0x1051,0x1052,0x1053,Package(8){0x1054},0x1055,0x1056,0x1057},
+ 0x1058,0x1059,0x105a,0x105b,0x105c,0x105d,0x105e,0x105f,
+ Package() {0x1050,0x1061,0x1062,0x1063,Package(8){0x1064},0x1065,0x1066,0x1067},
+ 0x1068,0x1069,0x106a,0x106b,0x106c,0x106d,0x106e,0x106f,
+ Package() {0x1060,0x1071,0x1072,0x1073,Package(8){0x1074},0x1075,0x1076,0x1077},
+ 0x1078,0x1079,0x107a,0x107b,0x107c,0x107d,0x107e,0x107f,
+ Package() {0x1080,0x1081,0x1082,0x1083,Package(8){0x1084},0x1085,0x1086,0x1087},
+ Package() {0x1088},0x1089,0x108a,0x108b,0x108c,0x108d,0x108e,0x108f,
+ Package() {0x1090,0x1091,0x1092,0x1093,Package(8){0x1094},0x1095,0x1096,0x1097},
+ Package() {0x1098},0x1099,0x109a,0x109b,0x109c,0x109d,0x109e,0x109f,
+ Package() {0x10a0,0x10a1,0x10a2,0x10a3,Package(8){0x10a4},0x10a5,0x10a6,0x10a7},
+ 0x10a8,0x10a9,0x10aa,0x10ab,0x10ac,0x10ad,0x10ae,0x10af,
+ Package() {0x10b0,0x10b1,0x10b2,0x10b3,Package(8){0x10b4},0x10b5,0x10b6,0x10b7},
+ 0x10b8,0x10b9,0x10ba,0x10bb,0x10bc,0x10bd,0x10be,0x10bf,
+ Package() {0x10c0,0x10c1,0x10c2,0x10c3,Package(8){0x10c4},0x10c5,0x10c6,0x10c7},
+ 0x10c8,0x10c9,0x10ca,0x10cb,0x10cc,0x10cd,0x10ce,0x10cf,
+ Package() {0x10d0,0x10d1,0x10d2,0x10d3,Package(8){0x10d4},0x10d5,0x10d6,0x10d7},
+ 0x10d8,0x10d9,0x10da,0x10db,0x10dc,0x10dd,0x10de,0x10df,
+ Package() {0x10e0,0x10e1,0x10e2,0x10e3,Package(8){0x10e4},0x10e5,0x10e6,0x10e7},
+ 0x10e8,0x10e9,0x10ea,0x10eb,0x10ec,0x10ed,0x10ee,0x10ef,
+ Package() {0x10f0,0x10f1,0x10f2,0x10f3,Package(8){0x10f4},0x10f5,0x10f6,0x10f7},
+ 0x10f8,0x10f9,0x10fa,0x10fb,0x10fc,0x10fd,0x10fe,0x10ff,
+ })
+
+ /*
+ * Store additionally IRefs into Named.
+ * Test is not correct and completed.
+ * Develop it after Bug 127 resolving.
+ */
+ Method(m004)
+ {
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), Local0)
+ CopyObject(Local0, i000)
+
+ CopyObject(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0), Local0)
+ CopyObject(Local0, i001)
+
+ m005(i000, 0)
+ m005(i001, 1)
+
+ /* The same repeatedly */
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), Local0)
+ CopyObject(Local0, i000)
+
+ CopyObject(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0), Local0)
+ CopyObject(Local0, i001)
+
+ m005(i000, 0)
+ m005(i001, 1)
+
+ /* Directly by CopyObject */
+
+ CopyObject(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), i000)
+ CopyObject(Index(DerefOf(Index(DerefOf(Index(p000, 1)), 4)), 0), i001)
+
+ m005(i000, 0)
+ m005(i001, 1)
+ }
+
+ Method(m005, 2)
+ {
+ Store(DerefOf(arg0), Local0)
+ if (LNotEqual(Local0, arg1)) {
+ err("", zFFF, 0x319, 0, 0, Local0, arg1)
+ }
+ }
+
+ /*
+ * Store additionally IRefs into LocalX
+ * (Identical to m004).
+ */
+ Method(m006)
+ {
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), Local0)
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0), Local1)
+
+ m005(Local0, 0x0004)
+ m005(Local1, 0x1004)
+
+ /* The same repeatedly */
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0), Local0)
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0), Local1)
+
+ m005(Local0, 0x0004)
+ m005(Local1, 0x1004)
+ }
+
+ /*
+ * Store additionally ORef into packages.
+ */
+ Method(m007, 3, Serialized)
+ {
+ Name(ii00, 0)
+ Name(ii01, 0)
+ Name(ii02, 0)
+
+ /* ORef to LocalX */
+
+ Store(RefOf(Local0), Index(p000, 2))
+ Store(RefOf(Local1), Index(p000, 3))
+ Store(RefOf(Local2), Index(p000, 4))
+
+ Store(RefOf(Local0), Index(p001, 2))
+ Store(RefOf(Local1), Index(p001, 3))
+ Store(RefOf(Local2), Index(p001, 4))
+
+ Store(RefOf(Local0), Index(arg0, 5))
+ Store(RefOf(Local1), Index(arg0, 6))
+ Store(RefOf(Local2), Index(arg0, 7))
+
+ Store(RefOf(Local0), Index(arg1, 5))
+ Store(RefOf(Local1), Index(arg1, 6))
+ Store(RefOf(Local2), Index(arg1, 7))
+
+ /* ORef to ArgX */
+
+ Store(RefOf(arg2), Index(p000, 20))
+ Store(RefOf(arg2), Index(p000, 21))
+ Store(RefOf(arg2), Index(p000, 22))
+
+ Store(RefOf(arg2), Index(p001, 20))
+ Store(RefOf(arg2), Index(p001, 21))
+ Store(RefOf(arg2), Index(p001, 22))
+
+ Store(RefOf(arg2), Index(arg0, 23))
+ Store(RefOf(arg2), Index(arg0, 24))
+ Store(RefOf(arg2), Index(arg0, 25))
+
+ Store(RefOf(arg2), Index(arg1, 23))
+ Store(RefOf(arg2), Index(arg1, 24))
+ Store(RefOf(arg2), Index(arg1, 25))
+
+ /* ORef to Named */
+
+ Store(RefOf(ii00), Index(p000, 29))
+ Store(RefOf(ii01), Index(p000, 30))
+ Store(RefOf(ii02), Index(p000, 31))
+
+ Store(RefOf(ii00), Index(p001, 29))
+ Store(RefOf(ii01), Index(p001, 30))
+ Store(RefOf(ii02), Index(p001, 31))
+
+ Store(RefOf(ii00), Index(arg0, 32))
+ Store(RefOf(ii01), Index(arg0, 33))
+ Store(RefOf(ii02), Index(arg0, 34))
+
+ Store(RefOf(ii00), Index(arg1, 32))
+ Store(RefOf(ii01), Index(arg1, 33))
+ Store(RefOf(ii02), Index(arg1, 34))
+
+ /* ORef to Named */
+
+ Store(RefOf(i000), Index(p000, 39))
+ Store(RefOf(i001), Index(p000, 40))
+ Store(RefOf(i002), Index(p000, 41))
+
+ Store(RefOf(i000), Index(p001, 39))
+ Store(RefOf(i001), Index(p001, 40))
+ Store(RefOf(i002), Index(p001, 41))
+
+ Store(RefOf(i000), Index(arg0, 42))
+ Store(RefOf(i001), Index(arg0, 43))
+ Store(RefOf(i002), Index(arg0, 44))
+
+ Store(RefOf(i000), Index(arg1, 42))
+ Store(RefOf(i001), Index(arg1, 43))
+ Store(RefOf(i002), Index(arg1, 44))
+ }
+
+ Method(m000, 3)
+ {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0, arg1)), 4)), 0)), Local0)
+ if (LNotEqual(Local0, arg2)) {
+ err("", zFFF, 0x31a, 0, 0, Local0, arg2)
+ }
+ }
+
+ Method(m001, 3)
+ {
+ Store(arg2, Index(DerefOf(Index(DerefOf(Index(arg0, arg1)), 4)), 0))
+ }
+
+ Method(m002, 3)
+ {
+ Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0, arg1)), 4)), 0))), Local0)
+ if (LNotEqual(Local0, arg2)) {
+ err("", zFFF, 0x31b, 0, 0, Local0, arg2)
+ }
+ }
+
+ Method(m003, 3)
+ {
+ Store(DerefOf(DerefOf(Index(arg0, arg1))), Local0)
+ if (LNotEqual(Local0, arg2)) {
+ err("", zFFF, 0x31c, 0, 0, Local0, arg2)
+ }
+ }
+
+ m000(p000, 0, 0x0004)
+ m000(p000, 9, 0x0014)
+ m000(p000, 18, 0x0024)
+ m000(p000, 27, 0x0034)
+ m000(p000, 36, 0x0044)
+ m000(p000, 45, 0x0054)
+ m000(p000, 54, 0x0064)
+ m000(p000, 63, 0x0074)
+ m000(p000, 72, 0x0084)
+ m000(p000, 81, 0x0094)
+ m000(p000, 90, 0x00a4)
+ m000(p000, 99, 0x00b4)
+ m000(p000, 108, 0x00c4)
+ m000(p000, 117, 0x00d4)
+ m000(p000, 126, 0x00e4)
+ m000(p000, 135, 0x00f4)
+
+ m000(p001, 0, 0x1004)
+ m000(p001, 9, 0x1014)
+ m000(p001, 18, 0x1024)
+ m000(p001, 27, 0x1034)
+ m000(p001, 36, 0x1044)
+ m000(p001, 45, 0x1054)
+ m000(p001, 54, 0x1064)
+ m000(p001, 63, 0x1074)
+ m000(p001, 72, 0x1084)
+ m000(p001, 81, 0x1094)
+ m000(p001, 90, 0x10a4)
+ m000(p001, 99, 0x10b4)
+ m000(p001, 108, 0x10c4)
+ m000(p001, 117, 0x10d4)
+ m000(p001, 126, 0x10e4)
+ m000(p001, 135, 0x10f4)
+
+
+ /* 3-th level access */
+
+ /* Store IRef to element of p000 into element of p001 */
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 72)), 4)), 0))
+ m002(p001, 72, 0x0004)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 9)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 81)), 4)), 0))
+ m002(p001, 81, 0x0014)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 18)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 90)), 4)), 0))
+ m002(p001, 90, 0x0024)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 27)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 99)), 4)), 0))
+ m002(p001, 99, 0x0034)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 36)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 108)), 4)), 0))
+ m002(p001, 108, 0x0044)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 45)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 117)), 4)), 0))
+ m002(p001, 117, 0x0054)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 54)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 126)), 4)), 0))
+ m002(p001, 126, 0x0064)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 63)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 135)), 4)), 0))
+ m002(p001, 135, 0x0074)
+
+ /* Store IRef to element of p001 into element of p000 */
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 72)), 4)), 0))
+ m002(p000, 72, 0x1004)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 9)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 81)), 4)), 0))
+ m002(p000, 81, 0x1014)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 18)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 90)), 4)), 0))
+ m002(p000, 90, 0x1024)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 27)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 99)), 4)), 0))
+ m002(p000, 99, 0x1034)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 36)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 108)), 4)), 0))
+ m002(p000, 108, 0x1044)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 45)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 117)), 4)), 0))
+ m002(p000, 117, 0x1054)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 54)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 126)), 4)), 0))
+ m002(p000, 126, 0x1064)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 63)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 135)), 4)), 0))
+ m002(p000, 135, 0x1074)
+
+
+ /* The same repeatedly */
+
+ /* Store IRef to element of p000 into element of p001 */
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 0)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 72)), 4)), 0))
+ m002(p001, 72, 0x0004)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 9)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 81)), 4)), 0))
+ m002(p001, 81, 0x0014)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 18)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 90)), 4)), 0))
+ m002(p001, 90, 0x0024)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 27)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 99)), 4)), 0))
+ m002(p001, 99, 0x0034)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 36)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 108)), 4)), 0))
+ m002(p001, 108, 0x0044)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 45)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 117)), 4)), 0))
+ m002(p001, 117, 0x0054)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 54)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 126)), 4)), 0))
+ m002(p001, 126, 0x0064)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p000, 63)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p001, 135)), 4)), 0))
+ m002(p001, 135, 0x0074)
+
+ /* Store IRef to element of p001 into element of p000 */
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 0)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 72)), 4)), 0))
+ m002(p000, 72, 0x1004)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 9)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 81)), 4)), 0))
+ m002(p000, 81, 0x1014)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 18)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 90)), 4)), 0))
+ m002(p000, 90, 0x1024)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 27)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 99)), 4)), 0))
+ m002(p000, 99, 0x1034)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 36)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 108)), 4)), 0))
+ m002(p000, 108, 0x1044)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 45)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 117)), 4)), 0))
+ m002(p000, 117, 0x1054)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 54)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 126)), 4)), 0))
+ m002(p000, 126, 0x1064)
+
+ Store(Index(DerefOf(Index(DerefOf(Index(p001, 63)), 4)), 0),
+ Index(DerefOf(Index(DerefOf(Index(p000, 135)), 4)), 0))
+ m002(p000, 135, 0x1074)
+
+ /* Restore the intial state of Packages */
+
+ m001(p000, 72, 0x0084)
+ m001(p000, 81, 0x0094)
+ m001(p000, 90, 0x00a4)
+ m001(p000, 99, 0x00b4)
+ m001(p000, 108, 0x00c4)
+ m001(p000, 117, 0x00d4)
+ m001(p000, 126, 0x00e4)
+ m001(p000, 135, 0x00f4)
+
+ m001(p001, 72, 0x1084)
+ m001(p001, 81, 0x1094)
+ m001(p001, 90, 0x10a4)
+ m001(p001, 99, 0x10b4)
+ m001(p001, 108, 0x10c4)
+ m001(p001, 117, 0x10d4)
+ m001(p001, 126, 0x10e4)
+ m001(p001, 135, 0x10f4)
+
+ /* Check the intial state of Packages */
+
+ m000(p000, 0, 0x0004)
+ m000(p000, 9, 0x0014)
+ m000(p000, 18, 0x0024)
+ m000(p000, 27, 0x0034)
+ m000(p000, 36, 0x0044)
+ m000(p000, 45, 0x0054)
+ m000(p000, 54, 0x0064)
+ m000(p000, 63, 0x0074)
+ m000(p000, 72, 0x0084)
+ m000(p000, 81, 0x0094)
+ m000(p000, 90, 0x00a4)
+ m000(p000, 99, 0x00b4)
+ m000(p000, 108, 0x00c4)
+ m000(p000, 117, 0x00d4)
+ m000(p000, 126, 0x00e4)
+ m000(p000, 135, 0x00f4)
+
+ m000(p001, 0, 0x1004)
+ m000(p001, 9, 0x1014)
+ m000(p001, 18, 0x1024)
+ m000(p001, 27, 0x1034)
+ m000(p001, 36, 0x1044)
+ m000(p001, 45, 0x1054)
+ m000(p001, 54, 0x1064)
+ m000(p001, 63, 0x1074)
+ m000(p001, 72, 0x1084)
+ m000(p001, 81, 0x1094)
+ m000(p001, 90, 0x10a4)
+ m000(p001, 99, 0x10b4)
+ m000(p001, 108, 0x10c4)
+ m000(p001, 117, 0x10d4)
+ m000(p001, 126, 0x10e4)
+ m000(p001, 135, 0x10f4)
+
+
+ /* 1-th level access */
+
+ /* Store IRef to element of p000 into element of p001 */
+
+ Store(Index(p000, 1), Index(p001, 72))
+ m003(p001, 72, 0x0008)
+
+ Store(Index(p000, 19), Index(p001, 81))
+ m003(p001, 81, 0x0028)
+
+ Store(Index(p000, 28), Index(p001, 90))
+ m003(p001, 90, 0x0038)
+
+ Store(Index(p000, 37), Index(p001, 99))
+ m003(p001, 99, 0x0048)
+
+ Store(Index(p000, 46), Index(p001, 108))
+ m003(p001, 108, 0x0058)
+
+ Store(Index(p000, 55), Index(p001, 117))
+ m003(p001, 117, 0x0068)
+
+ Store(Index(p000, 64), Index(p001, 126))
+ m003(p001, 126, 0x0078)
+
+ Store(Index(p000, 71), Index(p001, 135))
+ m003(p001, 135, 0x007f)
+
+ /* Store IRef to element of p001 into element of p000 */
+
+ Store(Index(p001, 1), Index(p000, 72))
+ m003(p000, 72, 0x1008)
+
+ Store(Index(p001, 19), Index(p000, 81))
+ m003(p000, 81, 0x1028)
+
+ Store(Index(p001, 28), Index(p000, 90))
+ m003(p000, 90, 0x1038)
+
+ Store(Index(p001, 37), Index(p000, 99))
+ m003(p000, 99, 0x1048)
+
+ Store(Index(p001, 46), Index(p000, 108))
+ m003(p000, 108, 0x1058)
+
+ Store(Index(p001, 55), Index(p000, 117))
+ m003(p000, 117, 0x1068)
+
+ Store(Index(p001, 64), Index(p000, 126))
+ m003(p000, 126, 0x1078)
+
+ Store(Index(p001, 71), Index(p000, 135))
+ m003(p000, 135, 0x107f)
+
+ if (y127) {
+ m004()
+ }
+
+ m006()
+ m007(p000, p001, 0x12345678)
+}
+
+Method(mfca)
+{
+ SRMT("mfcb")
+ mfcb()
+
+ SRMT("mfcf")
+ mfcf()
+
+ SRMT("mfd0")
+ mfd0()
+
+ SRMT("mfd1")
+ mfd1()
+
+ SRMT("mfd2")
+ mfd2()
+
+ SRMT("mfd3")
+ mfd3()
+
+ SRMT("mfd4")
+ mfd4()
+
+ SRMT("mfd5")
+ mfd5()
+
+ SRMT("mfd6")
+ mfd6()
+
+ SRMT("mfd7")
+ mfd7(0,0,0,0,0,0,0)
+
+ SRMT("mfe9")
+ mfe9()
+
+ SRMT("mfea")
+ mfea()
+
+ SRMT("mfeb")
+ mfeb()
+
+ SRMT("mf01")
+ mf01()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc2.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc2.asl
index a547b27e0..9d23c24ec 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc2.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Misc2.asl
@@ -1,760 +1,760 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Outstanding: 0x1 allocations after execution.
- */
-
-Name(id27, 64)
-
-/* Create and write IRef */
-
-Method(mf02, 6, Serialized)
-{
- Name(i001, 0)
- Name(i002, 0)
- Name(i003, 0)
- Name(i004, 0)
- Name(ii01, 0)
- Name(ii02, 0)
- Name(ii03, 0)
- Name(ii04, 0)
-
- if (LEqual(arg1, 1)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(Index(arg0, i001), Local7)
- } elseif (LEqual(arg1, 2)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(Index(DerefOf(Index(arg0, i001)), i002), Local7)
- } elseif (LEqual(arg1, 3)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(DerefOf(Index(arg2, 2)), i003)
- Store(Index(DerefOf(Index(DerefOf(Index(arg0, i001)), i002)), i003), Local7)
- } elseif (LEqual(arg1, 4)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(DerefOf(Index(arg2, 2)), i003)
- Store(DerefOf(Index(arg2, 3)), i004)
- Store(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
- i001)), i002)), i003)), i004), Local7)
- } else {
- err("", zFFF, 0x400, 0, 0, 0, 0)
- return
- }
-
- if (LEqual(arg4, 1)) {
- Store(DerefOf(Index(arg5, 0)), ii01)
- Store(Local7, Index(arg3, ii01))
- } elseif (LEqual(arg4, 2)) {
- Store(DerefOf(Index(arg5, 0)), ii01)
- Store(DerefOf(Index(arg5, 1)), ii02)
- Store(Local7, Index(DerefOf(Index(arg3, ii01)), ii02))
- } elseif (LEqual(arg4, 3)) {
- Store(DerefOf(Index(arg5, 0)), ii01)
- Store(DerefOf(Index(arg5, 1)), ii02)
- Store(DerefOf(Index(arg5, 2)), ii03)
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(arg3, ii01)), ii02)), ii03))
- } elseif (LEqual(arg4, 4)) {
- Store(DerefOf(Index(arg5, 0)), ii01)
- Store(DerefOf(Index(arg5, 1)), ii02)
- Store(DerefOf(Index(arg5, 2)), ii03)
- Store(DerefOf(Index(arg5, 3)), ii04)
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg3,
- ii01)), ii02)), ii03)), ii04))
- } else {
- err("", zFFF, 0x401, 0, 0, 0, 0)
- return
- }
-}
-
-/* Read by means of IRef-to-Integer */
-
-Method(mfec, 4, Serialized)
-{
- Name(i001, 0)
- Name(i002, 0)
- Name(i003, 0)
- Name(i004, 0)
-
- if (LEqual(arg1, 1)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(DerefOf(Index(arg0, i001))), Local7)
- } elseif (LEqual(arg1, 2)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(DerefOf(DerefOf(Index(DerefOf(Index(arg0, i001)), i002))), Local7)
- } elseif (LEqual(arg1, 3)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(DerefOf(Index(arg2, 2)), i003)
- Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0, i001)), i002)), i003))), Local7)
- } elseif (LEqual(arg1, 4)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(DerefOf(Index(arg2, 2)), i003)
- Store(DerefOf(Index(arg2, 3)), i004)
- Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
- i001)), i002)), i003)), i004))), Local7)
- } else {
- err("", zFFF, 0x402, 0, 0, 0, 0)
- return
- }
-
- if (LNotEqual(Local7, arg3)) {
- err("", zFFF, 0x403, 0, 0, Local7, arg3)
- }
-}
-
-/* Read by means of IRef-to-Package */
-
-Method(mfed, 5, Serialized)
-{
- Name(i001, 0)
- Name(i002, 0)
- Name(i003, 0)
- Name(i004, 0)
-
- if (LEqual(arg1, 1)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(DerefOf(Index(arg0, i001))), Local7)
- } elseif (LEqual(arg1, 2)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(DerefOf(DerefOf(Index(DerefOf(Index(arg0, i001)), i002))), Local7)
- } elseif (LEqual(arg1, 3)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(DerefOf(Index(arg2, 2)), i003)
- Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0, i001)), i002)), i003))), Local7)
- } elseif (LEqual(arg1, 4)) {
- Store(DerefOf(Index(arg2, 0)), i001)
- Store(DerefOf(Index(arg2, 1)), i002)
- Store(DerefOf(Index(arg2, 2)), i003)
- Store(DerefOf(Index(arg2, 3)), i004)
- Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
- i001)), i002)), i003)), i004))), Local7)
- } else {
- err("", zFFF, 0x404, 0, 0, 0, 0)
- return
- }
-
- Store(DerefOf(Index(Local7, arg3)), Local0)
-
- if (LNotEqual(Local0, arg4)) {
- err("", zFFF, 0x405, 0, 0, Local0, arg4)
- }
-}
-
-Method(mfee,, Serialized)
-{
- Name(p000, Package(id27) {
- Package(id27) {
- Package(id27) {
- Package(id27) {0x40000000},
- 0x30000000,
- Package(id27) {0x40000001},
- 0x30000001,
- 0x30000002,
- },
- 0x20000000,
- Package(id27) {
- Package(id27) {0x40000002},
- 0x30000003,
- Package(id27) {0x40000003},
- 0x30000004,
- 0x30000005,
- },
- 0x20000001,
- 0x20000002,
- },
- 0x10000000,
- Package(id27) {
- Package(id27) {
- Package(id27) {0x40000004},
- 0x30000006,
- Package(id27) {0x40000005},
- 0x30000007,
- 0x30000008,
- },
- 0x20000003,
- Package(id27) {
- Package(id27) {0x40000006},
- 0x30000009,
- Package(id27) {0x40000007},
- 0x3000000a,
- 0x3000000b,
- },
- 0x20000004,
- 0x20000005,
- },
- 0x10000001,
- 0x10000002,
- })
-
- Name(p001, Package(id27) {
- Package(id27) {
- Package(id27) {
- Package(id27) {0x40000000},
- 0x30000000,
- Package(id27) {0x40000001},
- 0x30000001,
- 0x30000002,
- },
- 0x20000000,
- Package(id27) {
- Package(id27) {0x40000002},
- 0x30000003,
- Package(id27) {0x40000003},
- 0x30000004,
- 0x30000005,
- },
- 0x20000001,
- 0x20000002,
- },
- 0x10000000,
- Package(id27) {
- Package(id27) {
- Package(id27) {0x40000004},
- 0x30000006,
- Package(id27) {0x40000005},
- 0x30000007,
- 0x30000008,
- },
- 0x20000003,
- Package(id27) {
- Package(id27) {0x40000006},
- 0x30000009,
- Package(id27) {0x40000007},
- 0x3000000a,
- 0x3000000b,
- },
- 0x20000004,
- 0x20000005,
- },
- 0x10000001,
- 0x10000002,
- })
-
- /* Write access */
-
- Method(mm04, 6)
- {
- Store(arg5, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
- arg1)), arg2)), arg3)), arg4))
- }
-
- Method(mm03, 5)
- {
- Store(arg4, Index(DerefOf(Index(DerefOf(Index(arg0, arg1)), arg2)), arg3))
- }
-
- Method(mm02, 4)
- {
- Store(arg3, Index(DerefOf(Index(arg0, arg1)), arg2))
- }
-
- Method(mm01, 3)
- {
- Store(arg2, Index(arg0, arg1))
- }
-
- /* Read access */
-
- Method(m004, 6)
- {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
- arg1)), arg2)), arg3)), arg4)), Local0)
- if (LNotEqual(Local0, arg5)) {
- err("", zFFF, 0x406, 0, 0, Local0, arg5)
- }
- }
-
- Method(m003, 5)
- {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
- arg1)), arg2)), arg3)), Local0)
- if (LNotEqual(Local0, arg4)) {
- err("", zFFF, 0x407, 0, 0, Local0, arg4)
- }
- }
-
- Method(m002, 4)
- {
- Store(DerefOf(Index(DerefOf(Index(arg0, arg1)), arg2)), Local0)
- if (LNotEqual(Local0, arg3)) {
- err("", zFFF, 0x408, 0, 0, Local0, arg3)
- }
- }
-
- Method(m001, 3)
- {
- Store(DerefOf(Index(arg0, arg1)), Local0)
- if (LNotEqual(Local0, arg2)) {
- err("", zFFF, 0x409, 0, 0, Local0, arg2)
- }
- }
-
- /*
- * On each level from 1 to 4 create the following structure of data -
- * create IRefs to all levels and alternate them with Packages.
- * Verify access through the created IRefs.
- *
- * Refer packages p000 and p001 directly by names.
- *
- * arg0 - the start index inside arg1 where to store created objects.
- */
- Method(mmm0, 1, Serialized)
- {
- Name(i000, 0)
-
- /*
- * Create IRefs to all levels from 4-level Package.
- * Alternate IRefs with Packages.
- */
-
- Store(arg0, i000)
- mf02(p000, 4, Buffer(){0,0,0,0}, p000, 4, Package(){0,0,0,i000})
- mfec(p000, 4, Package(){0,0,0,i000}, 0x40000000)
- Increment(i000)
- mm04(p000, 0, 0, 0, i000, Package(){0x51000000})
- Increment(i000)
-
- mf02(p000, 3, Buffer(){0,0,4}, p000, 4, Package(){0,0,0,i000})
- mfec(p000, 4, Package(){0,0,0,i000}, 0x30000002)
- Increment(i000)
- mm04(p000, 0, 0, 0, i000, Package(){0x51000001})
- Increment(i000)
-
- mf02(p000, 2, Buffer(){0,4}, p000, 4, Package(){0,0,0,i000})
- mfec(p000, 4, Package(){0,0,0,i000}, 0x20000002)
- Increment(i000)
- mm04(p000, 0, 0, 0, i000, Package(){0x51000002})
- Increment(i000)
-
- mf02(p000, 1, Buffer(){4}, p000, 4, Package(){0,0,0,i000})
- mfec(p000, 4, Package(){0,0,0,i000}, 0x10000002)
- Increment(i000)
- mm04(p000, 0, 0, 0, i000, Package(){0x51000003})
- Increment(i000)
-
- /* Reference to Package */
-
- mf02(p000, 3, Buffer(){0,0,0}, p000, 4, Package(){0,0,0,i000})
- mfed(p000, 4, Package(){0,0,0,i000}, 0, 0x40000000)
- Increment(i000)
-
- /*
- * Create IRefs to all levels from 3-level Package.
- * Alternate IRefs with Packages.
- */
-
- Store(arg0, i000)
- mf02(p000, 4, Buffer(){0,0,0,0}, p000, 3, Package(){0,0,i000})
- mfec(p000, 3, Package(){0,0,i000}, 0x40000000)
- Increment(i000)
- mm03(p000, 0, 0, i000, Package(){0x41000000})
- Increment(i000)
-
- mf02(p000, 3, Buffer(){0,0,4}, p000, 3, Package(){0,0,i000})
- mfec(p000, 3, Package(){0,0,i000}, 0x30000002)
- Increment(i000)
- mm03(p000, 0, 0, i000, Package(){0x41000001})
- Increment(i000)
-
- mf02(p000, 2, Buffer(){0,4}, p000, 3, Package(){0,0,i000})
- mfec(p000, 3, Package(){0,0,i000}, 0x20000002)
- Increment(i000)
- mm03(p000, 0, 0, i000, Package(){0x41000002})
- Increment(i000)
-
- mf02(p000, 1, Buffer(){4}, p000, 3, Package(){0,0,i000})
- mfec(p000, 3, Package(){0,0,i000}, 0x10000002)
- Increment(i000)
- mm03(p000, 0, 0, i000, Package(){0x41000003})
- Increment(i000)
-
- /*
- * Create IRefs to all levels from 2-level Package.
- * Alternate IRefs with Packages.
- */
-
- Store(arg0, i000)
- mf02(p000, 4, Buffer(){0,0,0,0}, p000, 2, Package(){0,i000})
- mfec(p000, 2, Package(){0,i000}, 0x40000000)
- Increment(i000)
- mm02(p000, 0, i000, Package(){0x31000000})
- Increment(i000)
-
- mf02(p000, 3, Buffer(){0,0,4}, p000, 2, Package(){0,i000})
- mfec(p000, 2, Package(){0,i000}, 0x30000002)
- Increment(i000)
- mm02(p000, 0, i000, Package(){0x31000001})
- Increment(i000)
-
- mf02(p000, 2, Buffer(){0,4}, p000, 2, Package(){0,i000})
- mfec(p000, 2, Package(){0,i000}, 0x20000002)
- Increment(i000)
- mm02(p000, 0, i000, Package(){0x31000002})
- Increment(i000)
-
- mf02(p000, 1, Buffer(){4}, p000, 2, Package(){0,i000})
- mfec(p000, 2, Package(){0,i000}, 0x10000002)
- Increment(i000)
- mm02(p000, 0, i000, Package(){0x31000003})
- Increment(i000)
-
- /*
- * Create IRefs to all levels from 1-level Package.
- * Alternate IRefs with Packages.
- */
-
- Store(arg0, i000)
- mf02(p000, 4, Buffer(){0,0,0,0}, p000, 1, Package(){i000})
- mfec(p000, 1, Package(){i000}, 0x40000000)
- Increment(i000)
- mm01(p000, i000, Package(){0x21000000})
- Increment(i000)
-
- mf02(p000, 3, Buffer(){0,0,4}, p000, 1, Package(){i000})
- mfec(p000, 1, Package(){i000}, 0x30000002)
- Increment(i000)
- mm01(p000, i000, Package(){0x21000001})
- Increment(i000)
-
- mf02(p000, 2, Buffer(){0,4}, p000, 1, Package(){i000})
- mfec(p000, 1, Package(){i000}, 0x20000002)
- Increment(i000)
- mm01(p000, i000, Package(){0x21000002})
- Increment(i000)
-
- mf02(p000, 1, Buffer(){4}, p000, 1, Package(){i000})
- mfec(p000, 1, Package(){i000}, 0x10000002)
- Increment(i000)
- mm01(p000, i000, Package(){0x21000003})
- Increment(i000)
- }
-
- /*
- * On each level from 1 to 4 create the following structure of data -
- * create IRefs to all levels and alternate them with Packages.
- * Verify access through the created IRefs.
- *
- * arg0 - Package, IRefs are pointing to elements of this Package,
- * arg1 - Package, IRefs alternated with Packages are stored as
- * elements of this Package,
- * arg2 - the start index inside arg1 where to store created objects,
- * arg3 - create structure,
- * arg4 - read.
- */
- Method(mmm1, 5, Serialized)
- {
- Name(i000, 0)
-
- /*
- * Create IRefs to all levels from 4-level Package.
- * Alternate IRefs with Packages.
- */
-
- Store(arg2, i000)
- if (arg3) {
- mf02(arg0, 4, Buffer(){0,0,0,0}, arg1, 4, Package(){0,0,0,i000})
- }
- if (arg4) {
- mfec(arg1, 4, Package(){0,0,0,i000}, 0x40000000)
- }
- Increment(i000)
- if (arg3) {
- mm04(arg1, 0, 0, 0, i000, Package(){0x51000000})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 3, Buffer(){0,0,4}, arg1, 4, Package(){0,0,0,i000})
- }
- if (arg4) {
- mfec(arg1, 4, Package(){0,0,0,i000}, 0x30000002)
- }
- Increment(i000)
- if (arg3) {
- mm04(arg1, 0, 0, 0, i000, Package(){0x51000001})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 2, Buffer(){0,4}, arg1, 4, Package(){0,0,0,i000})
- }
- if (arg4) {
- mfec(arg1, 4, Package(){0,0,0,i000}, 0x20000002)
- }
- Increment(i000)
- if (arg3) {
- mm04(arg1, 0, 0, 0, i000, Package(){0x51000002})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 1, Buffer(){4}, arg1, 4, Package(){0,0,0,i000})
- }
- if (arg4) {
- mfec(arg1, 4, Package(){0,0,0,i000}, 0x10000002)
- }
- Increment(i000)
- if (arg3) {
- mm04(arg1, 0, 0, 0, i000, Package(){0x51000003})
- }
- Increment(i000)
-
- /* Reference to Package */
-
- if (arg3) {
- mf02(arg0, 3, Buffer(){0,0,0}, arg1, 4, Package(){0,0,0,i000})
- }
- if (arg4) {
- mfed(arg1, 4, Package(){0,0,0,i000}, 0, 0x40000000)
- }
- Increment(i000)
-
- /*
- * Create IRefs to all levels from 3-level Package.
- * Alternate IRefs with Packages.
- */
-
- Store(arg2, i000)
- if (arg3) {
- mf02(arg0, 4, Buffer(){0,0,0,0}, arg1, 3, Package(){0,0,i000})
- }
- if (arg4) {
- mfec(arg1, 3, Package(){0,0,i000}, 0x40000000)
- }
- Increment(i000)
- if (arg3) {
- mm03(arg1, 0, 0, i000, Package(){0x41000000})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 3, Buffer(){0,0,4}, arg1, 3, Package(){0,0,i000})
- }
- if (arg4) {
- mfec(arg1, 3, Package(){0,0,i000}, 0x30000002)
- }
- Increment(i000)
- if (arg3) {
- mm03(arg1, 0, 0, i000, Package(){0x41000001})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 2, Buffer(){0,4}, arg1, 3, Package(){0,0,i000})
- }
- if (arg4) {
- mfec(arg1, 3, Package(){0,0,i000}, 0x20000002)
- }
- Increment(i000)
- if (arg3) {
- mm03(arg1, 0, 0, i000, Package(){0x41000002})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 1, Buffer(){4}, arg1, 3, Package(){0,0,i000})
- }
- if (arg4) {
- mfec(arg1, 3, Package(){0,0,i000}, 0x10000002)
- }
- Increment(i000)
- if (arg3) {
- mm03(arg1, 0, 0, i000, Package(){0x41000003})
- }
- Increment(i000)
-
- /*
- * Create IRefs to all levels from 2-level Package.
- * Alternate IRefs with Packages.
- */
-
- Store(arg2, i000)
- if (arg3) {
- mf02(arg0, 4, Buffer(){0,0,0,0}, arg1, 2, Package(){0,i000})
- }
- if (arg4) {
- mfec(arg1, 2, Package(){0,i000}, 0x40000000)
- }
- Increment(i000)
- if (arg3) {
- mm02(arg1, 0, i000, Package(){0x31000000})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 3, Buffer(){0,0,4}, arg1, 2, Package(){0,i000})
- }
- if (arg4) {
- mfec(arg1, 2, Package(){0,i000}, 0x30000002)
- }
- Increment(i000)
- if (arg3) {
- mm02(arg1, 0, i000, Package(){0x31000001})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 2, Buffer(){0,4}, arg1, 2, Package(){0,i000})
- }
- if (arg4) {
- mfec(arg1, 2, Package(){0,i000}, 0x20000002)
- }
- Increment(i000)
- if (arg3) {
- mm02(arg1, 0, i000, Package(){0x31000002})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 1, Buffer(){4}, arg1, 2, Package(){0,i000})
- }
- if (arg4) {
- mfec(arg1, 2, Package(){0,i000}, 0x10000002)
- }
- Increment(i000)
- if (arg3) {
- mm02(arg1, 0, i000, Package(){0x31000003})
- }
- Increment(i000)
-
- /*
- * Create IRefs to all levels from 1-level Package.
- * Alternate IRefs with Packages.
- */
-
- Store(arg2, i000)
- if (arg3) {
- mf02(arg0, 4, Buffer(){0,0,0,0}, arg1, 1, Package(){i000})
- }
- if (arg4) {
- mfec(arg1, 1, Package(){i000}, 0x40000000)
- }
- Increment(i000)
- if (arg3) {
- mm01(arg1, i000, Package(){0x21000000})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 3, Buffer(){0,0,4}, arg1, 1, Package(){i000})
- }
- if (arg4) {
- mfec(arg1, 1, Package(){i000}, 0x30000002)
- }
- Increment(i000)
- if (arg3) {
- mm01(arg1, i000, Package(){0x21000001})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 2, Buffer(){0,4}, arg1, 1, Package(){i000})
- }
- if (arg4) {
- mfec(arg1, 1, Package(){i000}, 0x20000002)
- }
- Increment(i000)
- if (arg3) {
- mm01(arg1, i000, Package(){0x21000002})
- }
- Increment(i000)
-
- if (arg3) {
- mf02(arg0, 1, Buffer(){4}, arg1, 1, Package(){i000})
- }
- if (arg4) {
- mfec(arg1, 1, Package(){i000}, 0x10000002)
- }
- Increment(i000)
- if (arg3) {
- mm01(arg1, i000, Package(){0x21000003})
- }
- Increment(i000)
- }
-
- /* Verification */
- Method(mmm2)
- {
- m004(p000, 0, 0, 0, 0, 0x40000000)
- m004(p000, 0, 0, 2, 0, 0x40000001)
- m004(p000, 0, 2, 0, 0, 0x40000002)
- m004(p000, 0, 2, 2, 0, 0x40000003)
- m004(p000, 2, 0, 0, 0, 0x40000004)
- m004(p000, 2, 0, 2, 0, 0x40000005)
- m004(p000, 2, 2, 0, 0, 0x40000006)
- m004(p000, 2, 2, 2, 0, 0x40000007)
- m003(p000, 0, 0, 4, 0x30000002)
- m003(p000, 0, 2, 4, 0x30000005)
- m003(p000, 2, 0, 4, 0x30000008)
- m003(p000, 2, 2, 4, 0x3000000b)
- m002(p000, 0, 4, 0x20000002)
- m002(p000, 2, 4, 0x20000005)
- m001(p000, 4, 0x10000002)
- }
-
- SRMT("mfee")
-
- mmm0(8)
-
- mmm1(p000, p000, 18, 1, 1)
- mmm1(p000, p001, 28, 1, 1)
- mmm1(p001, p001, 38, 1, 1)
- mmm1(p001, p000, 48, 1, 1)
-
- mmm1(0, p000, 18, 0, 1)
- mmm1(0, p001, 28, 0, 1)
- mmm1(0, p001, 38, 0, 1)
- mmm1(0, p000, 48, 0, 1)
-
- mmm2()
-
- /* Repeat the same */
-
- mmm0(8)
-
- mmm1(p000, p000, 18, 1, 1)
- mmm1(p000, p001, 28, 1, 1)
- mmm1(p001, p001, 38, 1, 1)
- mmm1(p001, p000, 48, 1, 1)
-
- mmm1(0, p000, 18, 0, 1)
- mmm1(0, p001, 28, 0, 1)
- mmm1(0, p001, 38, 0, 1)
- mmm1(0, p000, 48, 0, 1)
-
- mmm2()
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Outstanding: 0x1 allocations after execution.
+ */
+
+Name(id27, 64)
+
+/* Create and write IRef */
+
+Method(mf02, 6, Serialized)
+{
+ Name(i001, 0)
+ Name(i002, 0)
+ Name(i003, 0)
+ Name(i004, 0)
+ Name(ii01, 0)
+ Name(ii02, 0)
+ Name(ii03, 0)
+ Name(ii04, 0)
+
+ if (LEqual(arg1, 1)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(Index(arg0, i001), Local7)
+ } elseif (LEqual(arg1, 2)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(Index(DerefOf(Index(arg0, i001)), i002), Local7)
+ } elseif (LEqual(arg1, 3)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(DerefOf(Index(arg2, 2)), i003)
+ Store(Index(DerefOf(Index(DerefOf(Index(arg0, i001)), i002)), i003), Local7)
+ } elseif (LEqual(arg1, 4)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(DerefOf(Index(arg2, 2)), i003)
+ Store(DerefOf(Index(arg2, 3)), i004)
+ Store(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
+ i001)), i002)), i003)), i004), Local7)
+ } else {
+ err("", zFFF, 0x400, 0, 0, 0, 0)
+ return
+ }
+
+ if (LEqual(arg4, 1)) {
+ Store(DerefOf(Index(arg5, 0)), ii01)
+ Store(Local7, Index(arg3, ii01))
+ } elseif (LEqual(arg4, 2)) {
+ Store(DerefOf(Index(arg5, 0)), ii01)
+ Store(DerefOf(Index(arg5, 1)), ii02)
+ Store(Local7, Index(DerefOf(Index(arg3, ii01)), ii02))
+ } elseif (LEqual(arg4, 3)) {
+ Store(DerefOf(Index(arg5, 0)), ii01)
+ Store(DerefOf(Index(arg5, 1)), ii02)
+ Store(DerefOf(Index(arg5, 2)), ii03)
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(arg3, ii01)), ii02)), ii03))
+ } elseif (LEqual(arg4, 4)) {
+ Store(DerefOf(Index(arg5, 0)), ii01)
+ Store(DerefOf(Index(arg5, 1)), ii02)
+ Store(DerefOf(Index(arg5, 2)), ii03)
+ Store(DerefOf(Index(arg5, 3)), ii04)
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg3,
+ ii01)), ii02)), ii03)), ii04))
+ } else {
+ err("", zFFF, 0x401, 0, 0, 0, 0)
+ return
+ }
+}
+
+/* Read by means of IRef-to-Integer */
+
+Method(mfec, 4, Serialized)
+{
+ Name(i001, 0)
+ Name(i002, 0)
+ Name(i003, 0)
+ Name(i004, 0)
+
+ if (LEqual(arg1, 1)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(DerefOf(Index(arg0, i001))), Local7)
+ } elseif (LEqual(arg1, 2)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(DerefOf(DerefOf(Index(DerefOf(Index(arg0, i001)), i002))), Local7)
+ } elseif (LEqual(arg1, 3)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(DerefOf(Index(arg2, 2)), i003)
+ Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0, i001)), i002)), i003))), Local7)
+ } elseif (LEqual(arg1, 4)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(DerefOf(Index(arg2, 2)), i003)
+ Store(DerefOf(Index(arg2, 3)), i004)
+ Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
+ i001)), i002)), i003)), i004))), Local7)
+ } else {
+ err("", zFFF, 0x402, 0, 0, 0, 0)
+ return
+ }
+
+ if (LNotEqual(Local7, arg3)) {
+ err("", zFFF, 0x403, 0, 0, Local7, arg3)
+ }
+}
+
+/* Read by means of IRef-to-Package */
+
+Method(mfed, 5, Serialized)
+{
+ Name(i001, 0)
+ Name(i002, 0)
+ Name(i003, 0)
+ Name(i004, 0)
+
+ if (LEqual(arg1, 1)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(DerefOf(Index(arg0, i001))), Local7)
+ } elseif (LEqual(arg1, 2)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(DerefOf(DerefOf(Index(DerefOf(Index(arg0, i001)), i002))), Local7)
+ } elseif (LEqual(arg1, 3)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(DerefOf(Index(arg2, 2)), i003)
+ Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0, i001)), i002)), i003))), Local7)
+ } elseif (LEqual(arg1, 4)) {
+ Store(DerefOf(Index(arg2, 0)), i001)
+ Store(DerefOf(Index(arg2, 1)), i002)
+ Store(DerefOf(Index(arg2, 2)), i003)
+ Store(DerefOf(Index(arg2, 3)), i004)
+ Store(DerefOf(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
+ i001)), i002)), i003)), i004))), Local7)
+ } else {
+ err("", zFFF, 0x404, 0, 0, 0, 0)
+ return
+ }
+
+ Store(DerefOf(Index(Local7, arg3)), Local0)
+
+ if (LNotEqual(Local0, arg4)) {
+ err("", zFFF, 0x405, 0, 0, Local0, arg4)
+ }
+}
+
+Method(mfee,, Serialized)
+{
+ Name(p000, Package(id27) {
+ Package(id27) {
+ Package(id27) {
+ Package(id27) {0x40000000},
+ 0x30000000,
+ Package(id27) {0x40000001},
+ 0x30000001,
+ 0x30000002,
+ },
+ 0x20000000,
+ Package(id27) {
+ Package(id27) {0x40000002},
+ 0x30000003,
+ Package(id27) {0x40000003},
+ 0x30000004,
+ 0x30000005,
+ },
+ 0x20000001,
+ 0x20000002,
+ },
+ 0x10000000,
+ Package(id27) {
+ Package(id27) {
+ Package(id27) {0x40000004},
+ 0x30000006,
+ Package(id27) {0x40000005},
+ 0x30000007,
+ 0x30000008,
+ },
+ 0x20000003,
+ Package(id27) {
+ Package(id27) {0x40000006},
+ 0x30000009,
+ Package(id27) {0x40000007},
+ 0x3000000a,
+ 0x3000000b,
+ },
+ 0x20000004,
+ 0x20000005,
+ },
+ 0x10000001,
+ 0x10000002,
+ })
+
+ Name(p001, Package(id27) {
+ Package(id27) {
+ Package(id27) {
+ Package(id27) {0x40000000},
+ 0x30000000,
+ Package(id27) {0x40000001},
+ 0x30000001,
+ 0x30000002,
+ },
+ 0x20000000,
+ Package(id27) {
+ Package(id27) {0x40000002},
+ 0x30000003,
+ Package(id27) {0x40000003},
+ 0x30000004,
+ 0x30000005,
+ },
+ 0x20000001,
+ 0x20000002,
+ },
+ 0x10000000,
+ Package(id27) {
+ Package(id27) {
+ Package(id27) {0x40000004},
+ 0x30000006,
+ Package(id27) {0x40000005},
+ 0x30000007,
+ 0x30000008,
+ },
+ 0x20000003,
+ Package(id27) {
+ Package(id27) {0x40000006},
+ 0x30000009,
+ Package(id27) {0x40000007},
+ 0x3000000a,
+ 0x3000000b,
+ },
+ 0x20000004,
+ 0x20000005,
+ },
+ 0x10000001,
+ 0x10000002,
+ })
+
+ /* Write access */
+
+ Method(mm04, 6)
+ {
+ Store(arg5, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
+ arg1)), arg2)), arg3)), arg4))
+ }
+
+ Method(mm03, 5)
+ {
+ Store(arg4, Index(DerefOf(Index(DerefOf(Index(arg0, arg1)), arg2)), arg3))
+ }
+
+ Method(mm02, 4)
+ {
+ Store(arg3, Index(DerefOf(Index(arg0, arg1)), arg2))
+ }
+
+ Method(mm01, 3)
+ {
+ Store(arg2, Index(arg0, arg1))
+ }
+
+ /* Read access */
+
+ Method(m004, 6)
+ {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
+ arg1)), arg2)), arg3)), arg4)), Local0)
+ if (LNotEqual(Local0, arg5)) {
+ err("", zFFF, 0x406, 0, 0, Local0, arg5)
+ }
+ }
+
+ Method(m003, 5)
+ {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(arg0,
+ arg1)), arg2)), arg3)), Local0)
+ if (LNotEqual(Local0, arg4)) {
+ err("", zFFF, 0x407, 0, 0, Local0, arg4)
+ }
+ }
+
+ Method(m002, 4)
+ {
+ Store(DerefOf(Index(DerefOf(Index(arg0, arg1)), arg2)), Local0)
+ if (LNotEqual(Local0, arg3)) {
+ err("", zFFF, 0x408, 0, 0, Local0, arg3)
+ }
+ }
+
+ Method(m001, 3)
+ {
+ Store(DerefOf(Index(arg0, arg1)), Local0)
+ if (LNotEqual(Local0, arg2)) {
+ err("", zFFF, 0x409, 0, 0, Local0, arg2)
+ }
+ }
+
+ /*
+ * On each level from 1 to 4 create the following structure of data -
+ * create IRefs to all levels and alternate them with Packages.
+ * Verify access through the created IRefs.
+ *
+ * Refer packages p000 and p001 directly by names.
+ *
+ * arg0 - the start index inside arg1 where to store created objects.
+ */
+ Method(mmm0, 1, Serialized)
+ {
+ Name(i000, 0)
+
+ /*
+ * Create IRefs to all levels from 4-level Package.
+ * Alternate IRefs with Packages.
+ */
+
+ Store(arg0, i000)
+ mf02(p000, 4, Buffer(){0,0,0,0}, p000, 4, Package(){0,0,0,i000})
+ mfec(p000, 4, Package(){0,0,0,i000}, 0x40000000)
+ Increment(i000)
+ mm04(p000, 0, 0, 0, i000, Package(){0x51000000})
+ Increment(i000)
+
+ mf02(p000, 3, Buffer(){0,0,4}, p000, 4, Package(){0,0,0,i000})
+ mfec(p000, 4, Package(){0,0,0,i000}, 0x30000002)
+ Increment(i000)
+ mm04(p000, 0, 0, 0, i000, Package(){0x51000001})
+ Increment(i000)
+
+ mf02(p000, 2, Buffer(){0,4}, p000, 4, Package(){0,0,0,i000})
+ mfec(p000, 4, Package(){0,0,0,i000}, 0x20000002)
+ Increment(i000)
+ mm04(p000, 0, 0, 0, i000, Package(){0x51000002})
+ Increment(i000)
+
+ mf02(p000, 1, Buffer(){4}, p000, 4, Package(){0,0,0,i000})
+ mfec(p000, 4, Package(){0,0,0,i000}, 0x10000002)
+ Increment(i000)
+ mm04(p000, 0, 0, 0, i000, Package(){0x51000003})
+ Increment(i000)
+
+ /* Reference to Package */
+
+ mf02(p000, 3, Buffer(){0,0,0}, p000, 4, Package(){0,0,0,i000})
+ mfed(p000, 4, Package(){0,0,0,i000}, 0, 0x40000000)
+ Increment(i000)
+
+ /*
+ * Create IRefs to all levels from 3-level Package.
+ * Alternate IRefs with Packages.
+ */
+
+ Store(arg0, i000)
+ mf02(p000, 4, Buffer(){0,0,0,0}, p000, 3, Package(){0,0,i000})
+ mfec(p000, 3, Package(){0,0,i000}, 0x40000000)
+ Increment(i000)
+ mm03(p000, 0, 0, i000, Package(){0x41000000})
+ Increment(i000)
+
+ mf02(p000, 3, Buffer(){0,0,4}, p000, 3, Package(){0,0,i000})
+ mfec(p000, 3, Package(){0,0,i000}, 0x30000002)
+ Increment(i000)
+ mm03(p000, 0, 0, i000, Package(){0x41000001})
+ Increment(i000)
+
+ mf02(p000, 2, Buffer(){0,4}, p000, 3, Package(){0,0,i000})
+ mfec(p000, 3, Package(){0,0,i000}, 0x20000002)
+ Increment(i000)
+ mm03(p000, 0, 0, i000, Package(){0x41000002})
+ Increment(i000)
+
+ mf02(p000, 1, Buffer(){4}, p000, 3, Package(){0,0,i000})
+ mfec(p000, 3, Package(){0,0,i000}, 0x10000002)
+ Increment(i000)
+ mm03(p000, 0, 0, i000, Package(){0x41000003})
+ Increment(i000)
+
+ /*
+ * Create IRefs to all levels from 2-level Package.
+ * Alternate IRefs with Packages.
+ */
+
+ Store(arg0, i000)
+ mf02(p000, 4, Buffer(){0,0,0,0}, p000, 2, Package(){0,i000})
+ mfec(p000, 2, Package(){0,i000}, 0x40000000)
+ Increment(i000)
+ mm02(p000, 0, i000, Package(){0x31000000})
+ Increment(i000)
+
+ mf02(p000, 3, Buffer(){0,0,4}, p000, 2, Package(){0,i000})
+ mfec(p000, 2, Package(){0,i000}, 0x30000002)
+ Increment(i000)
+ mm02(p000, 0, i000, Package(){0x31000001})
+ Increment(i000)
+
+ mf02(p000, 2, Buffer(){0,4}, p000, 2, Package(){0,i000})
+ mfec(p000, 2, Package(){0,i000}, 0x20000002)
+ Increment(i000)
+ mm02(p000, 0, i000, Package(){0x31000002})
+ Increment(i000)
+
+ mf02(p000, 1, Buffer(){4}, p000, 2, Package(){0,i000})
+ mfec(p000, 2, Package(){0,i000}, 0x10000002)
+ Increment(i000)
+ mm02(p000, 0, i000, Package(){0x31000003})
+ Increment(i000)
+
+ /*
+ * Create IRefs to all levels from 1-level Package.
+ * Alternate IRefs with Packages.
+ */
+
+ Store(arg0, i000)
+ mf02(p000, 4, Buffer(){0,0,0,0}, p000, 1, Package(){i000})
+ mfec(p000, 1, Package(){i000}, 0x40000000)
+ Increment(i000)
+ mm01(p000, i000, Package(){0x21000000})
+ Increment(i000)
+
+ mf02(p000, 3, Buffer(){0,0,4}, p000, 1, Package(){i000})
+ mfec(p000, 1, Package(){i000}, 0x30000002)
+ Increment(i000)
+ mm01(p000, i000, Package(){0x21000001})
+ Increment(i000)
+
+ mf02(p000, 2, Buffer(){0,4}, p000, 1, Package(){i000})
+ mfec(p000, 1, Package(){i000}, 0x20000002)
+ Increment(i000)
+ mm01(p000, i000, Package(){0x21000002})
+ Increment(i000)
+
+ mf02(p000, 1, Buffer(){4}, p000, 1, Package(){i000})
+ mfec(p000, 1, Package(){i000}, 0x10000002)
+ Increment(i000)
+ mm01(p000, i000, Package(){0x21000003})
+ Increment(i000)
+ }
+
+ /*
+ * On each level from 1 to 4 create the following structure of data -
+ * create IRefs to all levels and alternate them with Packages.
+ * Verify access through the created IRefs.
+ *
+ * arg0 - Package, IRefs are pointing to elements of this Package,
+ * arg1 - Package, IRefs alternated with Packages are stored as
+ * elements of this Package,
+ * arg2 - the start index inside arg1 where to store created objects,
+ * arg3 - create structure,
+ * arg4 - read.
+ */
+ Method(mmm1, 5, Serialized)
+ {
+ Name(i000, 0)
+
+ /*
+ * Create IRefs to all levels from 4-level Package.
+ * Alternate IRefs with Packages.
+ */
+
+ Store(arg2, i000)
+ if (arg3) {
+ mf02(arg0, 4, Buffer(){0,0,0,0}, arg1, 4, Package(){0,0,0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 4, Package(){0,0,0,i000}, 0x40000000)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm04(arg1, 0, 0, 0, i000, Package(){0x51000000})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 3, Buffer(){0,0,4}, arg1, 4, Package(){0,0,0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 4, Package(){0,0,0,i000}, 0x30000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm04(arg1, 0, 0, 0, i000, Package(){0x51000001})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 2, Buffer(){0,4}, arg1, 4, Package(){0,0,0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 4, Package(){0,0,0,i000}, 0x20000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm04(arg1, 0, 0, 0, i000, Package(){0x51000002})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 1, Buffer(){4}, arg1, 4, Package(){0,0,0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 4, Package(){0,0,0,i000}, 0x10000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm04(arg1, 0, 0, 0, i000, Package(){0x51000003})
+ }
+ Increment(i000)
+
+ /* Reference to Package */
+
+ if (arg3) {
+ mf02(arg0, 3, Buffer(){0,0,0}, arg1, 4, Package(){0,0,0,i000})
+ }
+ if (arg4) {
+ mfed(arg1, 4, Package(){0,0,0,i000}, 0, 0x40000000)
+ }
+ Increment(i000)
+
+ /*
+ * Create IRefs to all levels from 3-level Package.
+ * Alternate IRefs with Packages.
+ */
+
+ Store(arg2, i000)
+ if (arg3) {
+ mf02(arg0, 4, Buffer(){0,0,0,0}, arg1, 3, Package(){0,0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 3, Package(){0,0,i000}, 0x40000000)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm03(arg1, 0, 0, i000, Package(){0x41000000})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 3, Buffer(){0,0,4}, arg1, 3, Package(){0,0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 3, Package(){0,0,i000}, 0x30000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm03(arg1, 0, 0, i000, Package(){0x41000001})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 2, Buffer(){0,4}, arg1, 3, Package(){0,0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 3, Package(){0,0,i000}, 0x20000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm03(arg1, 0, 0, i000, Package(){0x41000002})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 1, Buffer(){4}, arg1, 3, Package(){0,0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 3, Package(){0,0,i000}, 0x10000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm03(arg1, 0, 0, i000, Package(){0x41000003})
+ }
+ Increment(i000)
+
+ /*
+ * Create IRefs to all levels from 2-level Package.
+ * Alternate IRefs with Packages.
+ */
+
+ Store(arg2, i000)
+ if (arg3) {
+ mf02(arg0, 4, Buffer(){0,0,0,0}, arg1, 2, Package(){0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 2, Package(){0,i000}, 0x40000000)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm02(arg1, 0, i000, Package(){0x31000000})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 3, Buffer(){0,0,4}, arg1, 2, Package(){0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 2, Package(){0,i000}, 0x30000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm02(arg1, 0, i000, Package(){0x31000001})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 2, Buffer(){0,4}, arg1, 2, Package(){0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 2, Package(){0,i000}, 0x20000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm02(arg1, 0, i000, Package(){0x31000002})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 1, Buffer(){4}, arg1, 2, Package(){0,i000})
+ }
+ if (arg4) {
+ mfec(arg1, 2, Package(){0,i000}, 0x10000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm02(arg1, 0, i000, Package(){0x31000003})
+ }
+ Increment(i000)
+
+ /*
+ * Create IRefs to all levels from 1-level Package.
+ * Alternate IRefs with Packages.
+ */
+
+ Store(arg2, i000)
+ if (arg3) {
+ mf02(arg0, 4, Buffer(){0,0,0,0}, arg1, 1, Package(){i000})
+ }
+ if (arg4) {
+ mfec(arg1, 1, Package(){i000}, 0x40000000)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm01(arg1, i000, Package(){0x21000000})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 3, Buffer(){0,0,4}, arg1, 1, Package(){i000})
+ }
+ if (arg4) {
+ mfec(arg1, 1, Package(){i000}, 0x30000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm01(arg1, i000, Package(){0x21000001})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 2, Buffer(){0,4}, arg1, 1, Package(){i000})
+ }
+ if (arg4) {
+ mfec(arg1, 1, Package(){i000}, 0x20000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm01(arg1, i000, Package(){0x21000002})
+ }
+ Increment(i000)
+
+ if (arg3) {
+ mf02(arg0, 1, Buffer(){4}, arg1, 1, Package(){i000})
+ }
+ if (arg4) {
+ mfec(arg1, 1, Package(){i000}, 0x10000002)
+ }
+ Increment(i000)
+ if (arg3) {
+ mm01(arg1, i000, Package(){0x21000003})
+ }
+ Increment(i000)
+ }
+
+ /* Verification */
+ Method(mmm2)
+ {
+ m004(p000, 0, 0, 0, 0, 0x40000000)
+ m004(p000, 0, 0, 2, 0, 0x40000001)
+ m004(p000, 0, 2, 0, 0, 0x40000002)
+ m004(p000, 0, 2, 2, 0, 0x40000003)
+ m004(p000, 2, 0, 0, 0, 0x40000004)
+ m004(p000, 2, 0, 2, 0, 0x40000005)
+ m004(p000, 2, 2, 0, 0, 0x40000006)
+ m004(p000, 2, 2, 2, 0, 0x40000007)
+ m003(p000, 0, 0, 4, 0x30000002)
+ m003(p000, 0, 2, 4, 0x30000005)
+ m003(p000, 2, 0, 4, 0x30000008)
+ m003(p000, 2, 2, 4, 0x3000000b)
+ m002(p000, 0, 4, 0x20000002)
+ m002(p000, 2, 4, 0x20000005)
+ m001(p000, 4, 0x10000002)
+ }
+
+ SRMT("mfee")
+
+ mmm0(8)
+
+ mmm1(p000, p000, 18, 1, 1)
+ mmm1(p000, p001, 28, 1, 1)
+ mmm1(p001, p001, 38, 1, 1)
+ mmm1(p001, p000, 48, 1, 1)
+
+ mmm1(0, p000, 18, 0, 1)
+ mmm1(0, p001, 28, 0, 1)
+ mmm1(0, p001, 38, 0, 1)
+ mmm1(0, p000, 48, 0, 1)
+
+ mmm2()
+
+ /* Repeat the same */
+
+ mmm0(8)
+
+ mmm1(p000, p000, 18, 1, 1)
+ mmm1(p000, p001, 28, 1, 1)
+ mmm1(p001, p001, 38, 1, 1)
+ mmm1(p001, p000, 48, 1, 1)
+
+ mmm1(0, p000, 18, 0, 1)
+ mmm1(0, p001, 28, 0, 1)
+ mmm1(0, p001, 38, 0, 1)
+ mmm1(0, p000, 48, 0, 1)
+
+ mmm2()
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Mix.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Mix.asl
index f454dfbdd..084aaf3aa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Mix.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Mix.asl
@@ -1,759 +1,759 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Mix of IRefs which have different type parents -
- * Packages, Buffers and Strings.
- *
- * Outstanding: 0x7 allocations after execution.
- */
-
-Method(m80a, 4)
-{
- Store(DerefOf(DerefOf(Index(arg0, arg1))), Local0)
- if (LNotEqual(Local0, arg2)) {
- err("", zFFF, arg3, 0, 0, Local0, arg2)
- }
-}
-
-Method(m809, 1)
-{
- Method(mm00, 1, Serialized)
- {
- Name(FL00, 0)
-
- Name(i000, 0)
- Name(i001, 0)
- Name(i002, 0)
- Name(i003, 0)
-
- Name(rd00, 0)
- Name(wr00, 8)
-
- Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
- Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
- Name(b001, Buffer(64) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
- Name(s000, "01234567")
- Name(p001, Package(64){0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47})
- Name(b002, Buffer(64) {0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57})
- Name(s001, "`abcdefg")
- Name(p002, Package(64){0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77})
-
- Store(arg0, FL00)
-
- Concatenate("Run with FL00 equal to ", FL00, Debug)
-
- /* Writing IRefs to the same element of package */
-
- Store(0, rd00)
- Store(8, wr00)
-
- Store(Index(p000, rd00), Index(p000, wr00))
- m80a(p000, wr00, 0x00, 0x500)
- Store(Index(b000, rd00), Index(p000, wr00))
- m80a(p000, wr00, 0x10, 0x501)
- Store(Index(b001, rd00), Index(p000, wr00))
- m80a(p000, wr00, 0x20, 0x502)
- Store(Index(s000, rd00), Index(p000, wr00))
- m80a(p000, wr00, 0x30, 0x503)
- Store(Index(p001, rd00), Index(p000, wr00))
- m80a(p000, wr00, 0x40, 0x504)
- Store(Index(b002, rd00), Index(p000, wr00))
- m80a(p000, wr00, 0x50, 0x505)
- Store(Index(s001, rd00), Index(p000, wr00))
- m80a(p000, wr00, 0x60, 0x506)
- Store(Index(p002, rd00), Index(p000, wr00))
- m80a(p000, wr00, 0x70, 0x507)
-
- Method(m001, 7, Serialized)
- {
- Name(i104, 0)
- Name(i105, 0)
- Name(i106, 0)
-
- if (LEqual(FL00, 1)) {
-
- Store(arg0, Local0)
- Store(arg1, Local1)
- Store(arg2, Local2)
- Store(arg3, Local3)
- Store(arg4, Local4)
- Store(arg5, Local5)
- Store(arg6, Local6)
-
- CopyObject(Local0, i000)
- CopyObject(Local1, i001)
- CopyObject(Local2, i002)
- CopyObject(Local3, i003)
- CopyObject(Local4, i104)
- CopyObject(Local5, i105)
- CopyObject(Local6, i106)
-
- Store(i000, arg0)
- Store(i001, arg1)
- Store(i002, arg2)
- Store(i003, arg3)
- Store(i104, arg4)
- Store(i105, arg5)
- Store(i106, arg6)
- }
-
- /* IRefs(1): Write IRefs into 9,10.. */
-
- Store(1, rd00)
- Store(8, wr00)
-
- Store(Index(arg0, rd00), Index(arg0, Increment(wr00)))
- Store(Index(arg1, rd00), Index(arg0, Increment(wr00)))
- Store(Index(arg2, rd00), Index(arg0, Increment(wr00)))
- Store(Index(arg3, rd00), Index(arg0, Increment(wr00)))
- Store(Index(arg4, rd00), Index(arg0, Increment(wr00)))
- Store(Index(arg5, rd00), Index(arg0, Increment(wr00)))
- Store(Index(arg6, rd00), Index(arg0, Increment(wr00)))
-
- Store(2, rd00)
- Store(8, wr00)
-
- Store(Index(arg2, rd00), Index(arg4, Increment(wr00)))
- Store(Index(arg3, rd00), Index(arg4, Increment(wr00)))
- Store(Index(arg4, rd00), Index(arg4, Increment(wr00)))
- Store(Index(arg5, rd00), Index(arg4, Increment(wr00)))
- Store(Index(arg6, rd00), Index(arg4, Increment(wr00)))
-
- Store(3, rd00)
- Store(15, wr00)
-
- Store(Index(arg1, rd00), Index(arg0, Increment(wr00)))
- Store(Index(arg3, rd00), Index(arg0, Increment(wr00)))
- Store(Index(arg4, rd00), Index(arg0, Increment(wr00)))
-
- /* Writing IRefs to the same (8-th) element of package */
-
- Store(0, rd00)
- Store(8, wr00)
-
- Store(Index(arg0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x00, 0x508)
- Store(Index(arg1, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x10, 0x509)
- Store(Index(arg2, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x20, 0x50a)
- Store(Index(arg3, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x30, 0x50b)
- Store(Index(arg4, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x40, 0x50c)
- Store(Index(arg5, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x50, 0x50d)
- Store(Index(arg6, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x60, 0x50e)
-
- Store(4, rd00)
- Store(20, wr00)
-
- Store(Index(arg0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x04, 0x50f)
- Store(Index(arg0, rd00), Index(arg4, wr00))
- m80a(arg4, wr00, 0x04, 0x510)
-
- Store(Index(arg1, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x14, 0x511)
- Store(Index(arg1, rd00), Index(arg4, wr00))
- m80a(arg4, wr00, 0x14, 0x512)
-
- Store(Index(arg2, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x24, 0x513)
- Store(Index(arg2, rd00), Index(arg4, wr00))
- m80a(arg4, wr00, 0x24, 0x514)
-
- Store(Index(arg3, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x34, 0x515)
- Store(Index(arg3, rd00), Index(arg4, wr00))
- m80a(arg4, wr00, 0x34, 0x516)
-
- Store(Index(arg4, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x44, 0x517)
- Store(Index(arg4, rd00), Index(arg4, wr00))
- m80a(arg4, wr00, 0x44, 0x518)
-
- Store(Index(arg5, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x54, 0x519)
- Store(Index(arg5, rd00), Index(arg4, wr00))
- m80a(arg4, wr00, 0x54, 0x51a)
-
- Store(Index(arg6, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x64, 0x51b)
- Store(Index(arg6, rd00), Index(arg4, wr00))
- m80a(arg4, wr00, 0x64, 0x51c)
-
- /* Read by IRefs (1) */
-
- Store(8, wr00)
- m80a(arg0, Increment(wr00), 0x01, 0x51d)
- m80a(arg0, Increment(wr00), 0x11, 0x51e)
- m80a(arg0, Increment(wr00), 0x21, 0x51f)
- m80a(arg0, Increment(wr00), 0x31, 0x520)
- m80a(arg0, Increment(wr00), 0x41, 0x521)
- m80a(arg0, Increment(wr00), 0x51, 0x522)
- m80a(arg0, Increment(wr00), 0x61, 0x523)
-
- Store(8, wr00)
- m80a(arg4, Increment(wr00), 0x22, 0x524)
- m80a(arg4, Increment(wr00), 0x32, 0x525)
- m80a(arg4, Increment(wr00), 0x42, 0x526)
- m80a(arg4, Increment(wr00), 0x52, 0x527)
- m80a(arg4, Increment(wr00), 0x62, 0x528)
-
- Store(15, wr00)
- m80a(arg0, Increment(wr00), 0x13, 0x529)
- m80a(arg0, Increment(wr00), 0x33, 0x52a)
- m80a(arg0, Increment(wr00), 0x43, 0x52b)
- }
-
- m001(p000,b000,b001,s000,p001,b002,s001)
-
- Method(m002, 7, Serialized)
- {
- Name(i104, 0)
- Name(i105, 0)
- Name(i106, 0)
-
- Store(0, rd00)
- Store(8, wr00)
-
- Store(arg0, Local0)
- Store(Index(Local0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x00, 0x52c)
- Store(arg1, Local0)
- Store(Index(Local0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x10, 0x52d)
- Store(arg2, Local0)
- Store(Index(Local0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x20, 0x52e)
- Store(arg3, Local0)
- Store(Index(Local0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x30, 0x52f)
- Store(arg4, Local0)
- Store(Index(Local0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x40, 0x530)
- Store(arg5, Local0)
- Store(Index(Local0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x50, 0x531)
- Store(arg6, Local0)
- Store(Index(Local0, rd00), Index(arg0, wr00))
- m80a(arg0, wr00, 0x60, 0x532)
-
- m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
-
- Store(arg0, Local0)
- Store(arg1, Local1)
- Store(arg2, Local2)
- Store(arg3, Local3)
- Store(arg4, Local4)
- Store(arg5, Local5)
- Store(arg6, Local6)
- m001(Local0,Local1,Local2,Local3,Local4,Local5,Local6)
-
- CopyObject(arg0, i000)
- CopyObject(arg1, i001)
- CopyObject(arg2, i002)
- CopyObject(arg3, i003)
- CopyObject(arg4, i104)
- CopyObject(arg5, i105)
- CopyObject(arg6, i106)
- m001(i000,i001,i002,i003,i104,i105,i106)
-
- Store(arg0, Local0)
- Store(arg1, Local1)
- Store(arg2, Local2)
- Store(arg3, Local3)
- Store(arg4, Local4)
- Store(arg5, Local5)
- Store(arg6, Local6)
-
- Store(Local0, arg0)
- Store(Local1, arg1)
- Store(Local2, arg2)
- Store(Local3, arg3)
- Store(Local4, arg4)
- Store(Local5, arg5)
- Store(Local6, arg6)
- m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
-
- CopyObject(arg0, i000)
- CopyObject(arg1, i001)
- CopyObject(arg2, i002)
- CopyObject(arg3, i003)
- CopyObject(arg4, i104)
- CopyObject(arg5, i105)
- CopyObject(arg6, i106)
-
- Store(i000, arg0)
- Store(i001, arg1)
- Store(i002, arg2)
- Store(i003, arg3)
- Store(i104, arg4)
- Store(i105, arg5)
- Store(i106, arg6)
- m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
- }
-
- m002(p000,b000,b001,s000,p001,b002,s001)
- } /* mm00 */
-
- mm00(arg0)
-}
-
-Method(m80b,, Serialized)
-{
- Name(rd00, 0)
- Name(wr00, 8)
- Name(wr01, 9)
-
- Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
- Name(p001, Package(64){0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
- Name(p002, Package(64){0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
- Name(p003, Package(64){0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37})
-
- /*
- * 1 -
- * write reference to p001[0] into p002[wr00]
- * save reference to p002[wr00] into Local0
- */
-
- Store(0, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p002, wr00))
- m80a(p002, wr00, 0x10, 0x533)
-
- Store(Index(p002, wr00), Local0)
-
- Store(DerefOf(DerefOf(Local0)), Local1)
- if (LNotEqual(Local1, 0x10)) {
- err("", zFFF, 0x534, 0, 0, Local1, 0x10)
- }
-
- /*
- * 2 -
- * re-write reference to p001[5] into p002[wr00]
- * use the old reference to p002[wr00] saved into Local0
- */
-
- Store(DerefOf(DerefOf(Local0)), Local1)
- if (LNotEqual(Local1, 0x10)) {
- err("", zFFF, 0x534, 0, 0, Local1, 0x10)
- }
-
- Store(5, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p002, wr00))
- m80a(p002, wr00, 0x15, 0x535)
-
- Store(DerefOf(DerefOf(Local0)), Local1)
- if (LNotEqual(Local1, 0x15)) {
- err("", zFFF, 0x536, 0, 0, Local1, 0x15)
- }
-
- /*
- * 1 -
- * write reference to p001[0] into p001[wr00]
- * save reference to p001[wr00] into Local0
- */
-
- Store(0, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p001, wr00))
- m80a(p001, wr00, 0x10, 0x537)
-
- Store(Index(p001, wr00), Local0)
-
- Store(DerefOf(DerefOf(Local0)), Local1)
- if (LNotEqual(Local1, 0x10)) {
- err("", zFFF, 0x538, 0, 0, Local1, 0x10)
- }
-
- /*
- * 2 -
- * re-write reference to p001[5] into p001[wr00]
- * use the old reference to p001[wr00] saved into Local0
- */
-
- Store(DerefOf(DerefOf(Local0)), Local1)
- if (LNotEqual(Local1, 0x10)) {
- err("", zFFF, 0x539, 0, 0, Local1, 0x10)
- }
-
- Store(5, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p001, wr00))
- m80a(p001, wr00, 0x15, 0x53a)
-
- Store(DerefOf(DerefOf(Local0)), Local1)
- if (LNotEqual(Local1, 0x15)) {
- err("", zFFF, 0x53b, 0, 0, Local1, 0x15)
- }
-
- /*
- * 1 -
- * write reference to p001[0] into p002[wr00]
- * save reference to p002[wr00] into p003[wr00]
- */
-
- Store(7, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p002, wr00))
- m80a(p002, wr00, 0x17, 0x53c)
-
- Store(Index(p002, wr00), Index(p003, wr00))
- Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
- if (LNotEqual(Local1, 0x17)) {
- err("", zFFF, 0x53d, 0, 0, Local1, 0x17)
- }
-
- /*
- * 2 -
- * re-write reference to p001[5] into p002[wr00]
- * use the old reference to p002[wr00] saved into p003[wr00]
- */
-
- Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
- if (LNotEqual(Local1, 0x17)) {
- err("", zFFF, 0x53e, 0, 0, Local1, 0x17)
- }
-
- Store(6, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p002, wr00))
- m80a(p002, wr00, 0x16, 0x53f)
-
- Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
- if (LNotEqual(Local1, 0x16)) {
- err("", zFFF, 0x540, 0, 0, Local1, 0x16)
- }
-
- /*
- * 1 -
- * write reference to p001[0] into p001[wr00]
- * save reference to p001[wr00] into p003[wr00]
- */
-
- Store(7, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p001, wr00))
- m80a(p001, wr00, 0x17, 0x541)
-
- Store(Index(p001, wr00), Index(p003, wr00))
- Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
- if (LNotEqual(Local1, 0x17)) {
- err("", zFFF, 0x542, 0, 0, Local1, 0x17)
- }
-
- /*
- * 2 -
- * re-write reference to p001[5] into p001[wr00]
- * use the old reference to p001[wr00] saved into p003[wr00]
- */
-
- Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
- if (LNotEqual(Local1, 0x17)) {
- err("", zFFF, 0x543, 0, 0, Local1, 0x17)
- }
-
- Store(6, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p001, wr00))
- m80a(p001, wr00, 0x16, 0x544)
-
- Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
- if (LNotEqual(Local1, 0x16)) {
- err("", zFFF, 0x545, 0, 0, Local1, 0x16)
- }
-
- /*
- * 1 -
- * write reference to p001[0] into p001[wr00]
- * save reference to p001[wr00] into p001[wr00]
- */
-
- Store(7, rd00)
- Store(8, wr00)
- Store(9, wr01)
-
- Store(Index(p001, rd00), Index(p001, wr00))
- m80a(p001, wr00, 0x17, 0x546)
-
- Store(Index(p001, wr00), Index(p001, wr01))
- Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
- if (LNotEqual(Local1, 0x17)) {
- err("", zFFF, 0x547, 0, 0, Local1, 0x17)
- }
-
- /*
- * 2 -
- * re-write reference to p001[5] into p001[wr00]
- * use the old reference to p001[wr00] saved into p001[wr01]
- */
-
- Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
- if (LNotEqual(Local1, 0x17)) {
- err("", zFFF, 0x548, 0, 0, Local1, 0x17)
- }
-
- Store(6, rd00)
- Store(8, wr00)
-
- Store(Index(p001, rd00), Index(p001, wr00))
- m80a(p001, wr00, 0x16, 0x549)
-
- Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
- if (LNotEqual(Local1, 0x16)) {
- err("", zFFF, 0x54a, 0, 0, Local1, 0x16)
- }
-}
-
-Method(m80c,, Serialized)
-{
- Name(p000, Package(8) {0x78,1,2})
- Name(p001, Package(8) {0,1,2,3,4,5,6,7})
-
- Store(Index(p000, 0), Local0)
- Store(Local0, Index(p001, 0))
- Store(Local0, Index(p001, 1))
- Store(Local0, Index(p001, 2))
- Store(Local0, Index(p001, 3))
- Store(Local0, Index(p001, 4))
- Store(Local0, Index(p001, 5))
- Store(Local0, Index(p001, 6))
- Store(Local0, Index(p001, 7))
-
- Store(Local0, Index(p000, 0))
- Store(Local0, Index(p000, 1))
- Store(Local0, Index(p000, 2))
- Store(Local0, Index(p000, 3))
- Store(Local0, Index(p000, 4))
- Store(Local0, Index(p000, 5))
- Store(Local0, Index(p000, 6))
- Store(Local0, Index(p000, 7))
-
- Store(Local0, Index(p001, 0))
- Store(Local0, Index(p000, 0))
- Store(Local0, Index(p001, 1))
- Store(Local0, Index(p000, 1))
- Store(Local0, Index(p001, 2))
- Store(Local0, Index(p000, 2))
- Store(Local0, Index(p001, 3))
- Store(Local0, Index(p000, 3))
- Store(Local0, Index(p001, 4))
- Store(Local0, Index(p000, 4))
- Store(Local0, Index(p001, 5))
- Store(Local0, Index(p000, 5))
- Store(Local0, Index(p001, 6))
- Store(Local0, Index(p000, 6))
- Store(Local0, Index(p001, 7))
- Store(Local0, Index(p000, 7))
-
- Store(p000, Index(p001, 7))
- Store(p000, Index(p000, 7))
-
- Store(p001, Index(p001, 6))
- Store(p001, Index(p000, 6))
-}
-
-Method(m80d,, Serialized)
-{
- Name(p000, Package(8) {0x78,1,2})
- Name(p001, Package(8) {0,1,2,3,4,5,6,7})
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(DerefOf(Index(p001, 0)), Index(p001, 1))
- Store(DerefOf(Index(p001, 0)), Index(p001, 2))
- Store(DerefOf(Index(p001, 0)), Index(p001, 3))
- Store(DerefOf(Index(p001, 0)), Index(p001, 4))
- Store(DerefOf(Index(p001, 0)), Index(p001, 5))
- Store(DerefOf(Index(p001, 0)), Index(p001, 6))
- Store(DerefOf(Index(p001, 0)), Index(p001, 7))
-
- Store(Index(p001, 0), Index(p000, 0))
- Store(DerefOf(Index(p000, 0)), Index(p000, 1))
- Store(DerefOf(Index(p000, 0)), Index(p000, 2))
- Store(DerefOf(Index(p000, 0)), Index(p000, 3))
- Store(DerefOf(Index(p000, 0)), Index(p000, 4))
- Store(DerefOf(Index(p000, 0)), Index(p000, 5))
- Store(DerefOf(Index(p000, 0)), Index(p000, 6))
- Store(DerefOf(Index(p000, 0)), Index(p000, 7))
-
- Store(Index(p000, 0), Index(p001, 0))
- Store(DerefOf(Index(p001, 0)), Index(p001, 1))
- Store(DerefOf(Index(p001, 0)), Index(p001, 2))
- Store(DerefOf(Index(p001, 0)), Index(p001, 3))
- Store(DerefOf(Index(p001, 0)), Index(p001, 4))
- Store(DerefOf(Index(p001, 0)), Index(p001, 5))
- Store(DerefOf(Index(p001, 0)), Index(p001, 6))
- Store(DerefOf(Index(p001, 0)), Index(p001, 7))
-
- Store(Index(p001, 0), Index(p000, 0))
- Store(DerefOf(Index(p000, 0)), Index(p000, 1))
- Store(DerefOf(Index(p000, 0)), Index(p000, 2))
- Store(DerefOf(Index(p000, 0)), Index(p000, 3))
- Store(DerefOf(Index(p000, 0)), Index(p000, 4))
- Store(DerefOf(Index(p000, 0)), Index(p000, 5))
- Store(DerefOf(Index(p000, 0)), Index(p000, 6))
- Store(DerefOf(Index(p000, 0)), Index(p000, 7))
-
- Store(p000, Index(p001, 7))
- Store(p000, Index(p000, 7))
-
- Store(p001, Index(p001, 6))
- Store(p001, Index(p000, 6))
-}
-
-Method(m80e,, Serialized)
-{
- Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
- Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
-
- Method(m000, 2)
- {
- Store(DerefOf(DerefOf(Index(p000, arg1))), Local0)
- }
-
- Method(m001)
- {
- Method(m002)
- {
- Store(Index(p000, 1), Index(p000, 9))
- Store(Index(b000, 1), Index(p000, 10))
-
- m000(p000,9)
- m000(p000,10)
- }
-
- m002()
- }
-
- Method(m003, 2)
- {
- Store(DerefOf(DerefOf(Index(arg0, arg1))), Local0)
- }
-
- Method(m004,, Serialized)
- {
- Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
- Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
-
- Method(m005)
- {
- Store(Index(p000, 1), Index(p000, 9))
- Store(Index(b000, 1), Index(p000, 10))
-
- m003(p000,9)
- m003(p000,10)
- }
-
- m005()
- }
-
- Method(m006, 2)
- {
- Store(Index(p000, arg1), Local0)
- Store(DerefOf(Local0), Local1)
- Store(DerefOf(Local1), Local2)
- }
-
- Method(m007)
- {
- Method(m008)
- {
- Store(Index(p000, 1), Index(p000, 9))
- Store(Index(b000, 1), Index(p000, 10))
-
- m006(p000,9)
- m006(p000,10)
- }
-
- m008()
- }
-
- m001()
- m004()
- m007()
-}
-
-Method(m812,, Serialized)
-{
- Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
- Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
-
- Method(m000, 2)
- {
- Store(Index(p000, arg1), Local0)
- Store(DerefOf(Local0), Local1)
- Store(DerefOf(Local1), Local2)
- }
-
- Method(m001)
- {
- Method(m002)
- {
- Store(Index(p000, 1), Index(p000, 9))
- Store(Index(b000, 1), Index(p000, 10))
-
- m000(p000,9)
- m000(p000,10)
- }
-
- m002()
- }
-
- m001()
-}
-
-Method(m808)
-{
- SRMT("m809-0")
- m809(0)
- SRMT("m809-1")
- m809(1)
- SRMT("m80b")
- m80b()
- SRMT("m80c")
- m80c()
- SRMT("m80d")
- m80d()
- SRMT("m80e")
- m80e()
- SRMT("m812")
- m812()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Mix of IRefs which have different type parents -
+ * Packages, Buffers and Strings.
+ *
+ * Outstanding: 0x7 allocations after execution.
+ */
+
+Method(m80a, 4)
+{
+ Store(DerefOf(DerefOf(Index(arg0, arg1))), Local0)
+ if (LNotEqual(Local0, arg2)) {
+ err("", zFFF, arg3, 0, 0, Local0, arg2)
+ }
+}
+
+Method(m809, 1)
+{
+ Method(mm00, 1, Serialized)
+ {
+ Name(FL00, 0)
+
+ Name(i000, 0)
+ Name(i001, 0)
+ Name(i002, 0)
+ Name(i003, 0)
+
+ Name(rd00, 0)
+ Name(wr00, 8)
+
+ Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
+ Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+ Name(b001, Buffer(64) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
+ Name(s000, "01234567")
+ Name(p001, Package(64){0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47})
+ Name(b002, Buffer(64) {0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57})
+ Name(s001, "`abcdefg")
+ Name(p002, Package(64){0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77})
+
+ Store(arg0, FL00)
+
+ Concatenate("Run with FL00 equal to ", FL00, Debug)
+
+ /* Writing IRefs to the same element of package */
+
+ Store(0, rd00)
+ Store(8, wr00)
+
+ Store(Index(p000, rd00), Index(p000, wr00))
+ m80a(p000, wr00, 0x00, 0x500)
+ Store(Index(b000, rd00), Index(p000, wr00))
+ m80a(p000, wr00, 0x10, 0x501)
+ Store(Index(b001, rd00), Index(p000, wr00))
+ m80a(p000, wr00, 0x20, 0x502)
+ Store(Index(s000, rd00), Index(p000, wr00))
+ m80a(p000, wr00, 0x30, 0x503)
+ Store(Index(p001, rd00), Index(p000, wr00))
+ m80a(p000, wr00, 0x40, 0x504)
+ Store(Index(b002, rd00), Index(p000, wr00))
+ m80a(p000, wr00, 0x50, 0x505)
+ Store(Index(s001, rd00), Index(p000, wr00))
+ m80a(p000, wr00, 0x60, 0x506)
+ Store(Index(p002, rd00), Index(p000, wr00))
+ m80a(p000, wr00, 0x70, 0x507)
+
+ Method(m001, 7, Serialized)
+ {
+ Name(i104, 0)
+ Name(i105, 0)
+ Name(i106, 0)
+
+ if (LEqual(FL00, 1)) {
+
+ Store(arg0, Local0)
+ Store(arg1, Local1)
+ Store(arg2, Local2)
+ Store(arg3, Local3)
+ Store(arg4, Local4)
+ Store(arg5, Local5)
+ Store(arg6, Local6)
+
+ CopyObject(Local0, i000)
+ CopyObject(Local1, i001)
+ CopyObject(Local2, i002)
+ CopyObject(Local3, i003)
+ CopyObject(Local4, i104)
+ CopyObject(Local5, i105)
+ CopyObject(Local6, i106)
+
+ Store(i000, arg0)
+ Store(i001, arg1)
+ Store(i002, arg2)
+ Store(i003, arg3)
+ Store(i104, arg4)
+ Store(i105, arg5)
+ Store(i106, arg6)
+ }
+
+ /* IRefs(1): Write IRefs into 9,10.. */
+
+ Store(1, rd00)
+ Store(8, wr00)
+
+ Store(Index(arg0, rd00), Index(arg0, Increment(wr00)))
+ Store(Index(arg1, rd00), Index(arg0, Increment(wr00)))
+ Store(Index(arg2, rd00), Index(arg0, Increment(wr00)))
+ Store(Index(arg3, rd00), Index(arg0, Increment(wr00)))
+ Store(Index(arg4, rd00), Index(arg0, Increment(wr00)))
+ Store(Index(arg5, rd00), Index(arg0, Increment(wr00)))
+ Store(Index(arg6, rd00), Index(arg0, Increment(wr00)))
+
+ Store(2, rd00)
+ Store(8, wr00)
+
+ Store(Index(arg2, rd00), Index(arg4, Increment(wr00)))
+ Store(Index(arg3, rd00), Index(arg4, Increment(wr00)))
+ Store(Index(arg4, rd00), Index(arg4, Increment(wr00)))
+ Store(Index(arg5, rd00), Index(arg4, Increment(wr00)))
+ Store(Index(arg6, rd00), Index(arg4, Increment(wr00)))
+
+ Store(3, rd00)
+ Store(15, wr00)
+
+ Store(Index(arg1, rd00), Index(arg0, Increment(wr00)))
+ Store(Index(arg3, rd00), Index(arg0, Increment(wr00)))
+ Store(Index(arg4, rd00), Index(arg0, Increment(wr00)))
+
+ /* Writing IRefs to the same (8-th) element of package */
+
+ Store(0, rd00)
+ Store(8, wr00)
+
+ Store(Index(arg0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x00, 0x508)
+ Store(Index(arg1, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x10, 0x509)
+ Store(Index(arg2, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x20, 0x50a)
+ Store(Index(arg3, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x30, 0x50b)
+ Store(Index(arg4, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x40, 0x50c)
+ Store(Index(arg5, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x50, 0x50d)
+ Store(Index(arg6, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x60, 0x50e)
+
+ Store(4, rd00)
+ Store(20, wr00)
+
+ Store(Index(arg0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x04, 0x50f)
+ Store(Index(arg0, rd00), Index(arg4, wr00))
+ m80a(arg4, wr00, 0x04, 0x510)
+
+ Store(Index(arg1, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x14, 0x511)
+ Store(Index(arg1, rd00), Index(arg4, wr00))
+ m80a(arg4, wr00, 0x14, 0x512)
+
+ Store(Index(arg2, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x24, 0x513)
+ Store(Index(arg2, rd00), Index(arg4, wr00))
+ m80a(arg4, wr00, 0x24, 0x514)
+
+ Store(Index(arg3, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x34, 0x515)
+ Store(Index(arg3, rd00), Index(arg4, wr00))
+ m80a(arg4, wr00, 0x34, 0x516)
+
+ Store(Index(arg4, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x44, 0x517)
+ Store(Index(arg4, rd00), Index(arg4, wr00))
+ m80a(arg4, wr00, 0x44, 0x518)
+
+ Store(Index(arg5, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x54, 0x519)
+ Store(Index(arg5, rd00), Index(arg4, wr00))
+ m80a(arg4, wr00, 0x54, 0x51a)
+
+ Store(Index(arg6, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x64, 0x51b)
+ Store(Index(arg6, rd00), Index(arg4, wr00))
+ m80a(arg4, wr00, 0x64, 0x51c)
+
+ /* Read by IRefs (1) */
+
+ Store(8, wr00)
+ m80a(arg0, Increment(wr00), 0x01, 0x51d)
+ m80a(arg0, Increment(wr00), 0x11, 0x51e)
+ m80a(arg0, Increment(wr00), 0x21, 0x51f)
+ m80a(arg0, Increment(wr00), 0x31, 0x520)
+ m80a(arg0, Increment(wr00), 0x41, 0x521)
+ m80a(arg0, Increment(wr00), 0x51, 0x522)
+ m80a(arg0, Increment(wr00), 0x61, 0x523)
+
+ Store(8, wr00)
+ m80a(arg4, Increment(wr00), 0x22, 0x524)
+ m80a(arg4, Increment(wr00), 0x32, 0x525)
+ m80a(arg4, Increment(wr00), 0x42, 0x526)
+ m80a(arg4, Increment(wr00), 0x52, 0x527)
+ m80a(arg4, Increment(wr00), 0x62, 0x528)
+
+ Store(15, wr00)
+ m80a(arg0, Increment(wr00), 0x13, 0x529)
+ m80a(arg0, Increment(wr00), 0x33, 0x52a)
+ m80a(arg0, Increment(wr00), 0x43, 0x52b)
+ }
+
+ m001(p000,b000,b001,s000,p001,b002,s001)
+
+ Method(m002, 7, Serialized)
+ {
+ Name(i104, 0)
+ Name(i105, 0)
+ Name(i106, 0)
+
+ Store(0, rd00)
+ Store(8, wr00)
+
+ Store(arg0, Local0)
+ Store(Index(Local0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x00, 0x52c)
+ Store(arg1, Local0)
+ Store(Index(Local0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x10, 0x52d)
+ Store(arg2, Local0)
+ Store(Index(Local0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x20, 0x52e)
+ Store(arg3, Local0)
+ Store(Index(Local0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x30, 0x52f)
+ Store(arg4, Local0)
+ Store(Index(Local0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x40, 0x530)
+ Store(arg5, Local0)
+ Store(Index(Local0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x50, 0x531)
+ Store(arg6, Local0)
+ Store(Index(Local0, rd00), Index(arg0, wr00))
+ m80a(arg0, wr00, 0x60, 0x532)
+
+ m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
+
+ Store(arg0, Local0)
+ Store(arg1, Local1)
+ Store(arg2, Local2)
+ Store(arg3, Local3)
+ Store(arg4, Local4)
+ Store(arg5, Local5)
+ Store(arg6, Local6)
+ m001(Local0,Local1,Local2,Local3,Local4,Local5,Local6)
+
+ CopyObject(arg0, i000)
+ CopyObject(arg1, i001)
+ CopyObject(arg2, i002)
+ CopyObject(arg3, i003)
+ CopyObject(arg4, i104)
+ CopyObject(arg5, i105)
+ CopyObject(arg6, i106)
+ m001(i000,i001,i002,i003,i104,i105,i106)
+
+ Store(arg0, Local0)
+ Store(arg1, Local1)
+ Store(arg2, Local2)
+ Store(arg3, Local3)
+ Store(arg4, Local4)
+ Store(arg5, Local5)
+ Store(arg6, Local6)
+
+ Store(Local0, arg0)
+ Store(Local1, arg1)
+ Store(Local2, arg2)
+ Store(Local3, arg3)
+ Store(Local4, arg4)
+ Store(Local5, arg5)
+ Store(Local6, arg6)
+ m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
+
+ CopyObject(arg0, i000)
+ CopyObject(arg1, i001)
+ CopyObject(arg2, i002)
+ CopyObject(arg3, i003)
+ CopyObject(arg4, i104)
+ CopyObject(arg5, i105)
+ CopyObject(arg6, i106)
+
+ Store(i000, arg0)
+ Store(i001, arg1)
+ Store(i002, arg2)
+ Store(i003, arg3)
+ Store(i104, arg4)
+ Store(i105, arg5)
+ Store(i106, arg6)
+ m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
+ }
+
+ m002(p000,b000,b001,s000,p001,b002,s001)
+ } /* mm00 */
+
+ mm00(arg0)
+}
+
+Method(m80b,, Serialized)
+{
+ Name(rd00, 0)
+ Name(wr00, 8)
+ Name(wr01, 9)
+
+ Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
+ Name(p001, Package(64){0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+ Name(p002, Package(64){0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
+ Name(p003, Package(64){0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37})
+
+ /*
+ * 1 -
+ * write reference to p001[0] into p002[wr00]
+ * save reference to p002[wr00] into Local0
+ */
+
+ Store(0, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p002, wr00))
+ m80a(p002, wr00, 0x10, 0x533)
+
+ Store(Index(p002, wr00), Local0)
+
+ Store(DerefOf(DerefOf(Local0)), Local1)
+ if (LNotEqual(Local1, 0x10)) {
+ err("", zFFF, 0x534, 0, 0, Local1, 0x10)
+ }
+
+ /*
+ * 2 -
+ * re-write reference to p001[5] into p002[wr00]
+ * use the old reference to p002[wr00] saved into Local0
+ */
+
+ Store(DerefOf(DerefOf(Local0)), Local1)
+ if (LNotEqual(Local1, 0x10)) {
+ err("", zFFF, 0x534, 0, 0, Local1, 0x10)
+ }
+
+ Store(5, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p002, wr00))
+ m80a(p002, wr00, 0x15, 0x535)
+
+ Store(DerefOf(DerefOf(Local0)), Local1)
+ if (LNotEqual(Local1, 0x15)) {
+ err("", zFFF, 0x536, 0, 0, Local1, 0x15)
+ }
+
+ /*
+ * 1 -
+ * write reference to p001[0] into p001[wr00]
+ * save reference to p001[wr00] into Local0
+ */
+
+ Store(0, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p001, wr00))
+ m80a(p001, wr00, 0x10, 0x537)
+
+ Store(Index(p001, wr00), Local0)
+
+ Store(DerefOf(DerefOf(Local0)), Local1)
+ if (LNotEqual(Local1, 0x10)) {
+ err("", zFFF, 0x538, 0, 0, Local1, 0x10)
+ }
+
+ /*
+ * 2 -
+ * re-write reference to p001[5] into p001[wr00]
+ * use the old reference to p001[wr00] saved into Local0
+ */
+
+ Store(DerefOf(DerefOf(Local0)), Local1)
+ if (LNotEqual(Local1, 0x10)) {
+ err("", zFFF, 0x539, 0, 0, Local1, 0x10)
+ }
+
+ Store(5, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p001, wr00))
+ m80a(p001, wr00, 0x15, 0x53a)
+
+ Store(DerefOf(DerefOf(Local0)), Local1)
+ if (LNotEqual(Local1, 0x15)) {
+ err("", zFFF, 0x53b, 0, 0, Local1, 0x15)
+ }
+
+ /*
+ * 1 -
+ * write reference to p001[0] into p002[wr00]
+ * save reference to p002[wr00] into p003[wr00]
+ */
+
+ Store(7, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p002, wr00))
+ m80a(p002, wr00, 0x17, 0x53c)
+
+ Store(Index(p002, wr00), Index(p003, wr00))
+ Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
+ if (LNotEqual(Local1, 0x17)) {
+ err("", zFFF, 0x53d, 0, 0, Local1, 0x17)
+ }
+
+ /*
+ * 2 -
+ * re-write reference to p001[5] into p002[wr00]
+ * use the old reference to p002[wr00] saved into p003[wr00]
+ */
+
+ Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
+ if (LNotEqual(Local1, 0x17)) {
+ err("", zFFF, 0x53e, 0, 0, Local1, 0x17)
+ }
+
+ Store(6, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p002, wr00))
+ m80a(p002, wr00, 0x16, 0x53f)
+
+ Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
+ if (LNotEqual(Local1, 0x16)) {
+ err("", zFFF, 0x540, 0, 0, Local1, 0x16)
+ }
+
+ /*
+ * 1 -
+ * write reference to p001[0] into p001[wr00]
+ * save reference to p001[wr00] into p003[wr00]
+ */
+
+ Store(7, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p001, wr00))
+ m80a(p001, wr00, 0x17, 0x541)
+
+ Store(Index(p001, wr00), Index(p003, wr00))
+ Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
+ if (LNotEqual(Local1, 0x17)) {
+ err("", zFFF, 0x542, 0, 0, Local1, 0x17)
+ }
+
+ /*
+ * 2 -
+ * re-write reference to p001[5] into p001[wr00]
+ * use the old reference to p001[wr00] saved into p003[wr00]
+ */
+
+ Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
+ if (LNotEqual(Local1, 0x17)) {
+ err("", zFFF, 0x543, 0, 0, Local1, 0x17)
+ }
+
+ Store(6, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p001, wr00))
+ m80a(p001, wr00, 0x16, 0x544)
+
+ Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
+ if (LNotEqual(Local1, 0x16)) {
+ err("", zFFF, 0x545, 0, 0, Local1, 0x16)
+ }
+
+ /*
+ * 1 -
+ * write reference to p001[0] into p001[wr00]
+ * save reference to p001[wr00] into p001[wr00]
+ */
+
+ Store(7, rd00)
+ Store(8, wr00)
+ Store(9, wr01)
+
+ Store(Index(p001, rd00), Index(p001, wr00))
+ m80a(p001, wr00, 0x17, 0x546)
+
+ Store(Index(p001, wr00), Index(p001, wr01))
+ Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
+ if (LNotEqual(Local1, 0x17)) {
+ err("", zFFF, 0x547, 0, 0, Local1, 0x17)
+ }
+
+ /*
+ * 2 -
+ * re-write reference to p001[5] into p001[wr00]
+ * use the old reference to p001[wr00] saved into p001[wr01]
+ */
+
+ Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
+ if (LNotEqual(Local1, 0x17)) {
+ err("", zFFF, 0x548, 0, 0, Local1, 0x17)
+ }
+
+ Store(6, rd00)
+ Store(8, wr00)
+
+ Store(Index(p001, rd00), Index(p001, wr00))
+ m80a(p001, wr00, 0x16, 0x549)
+
+ Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
+ if (LNotEqual(Local1, 0x16)) {
+ err("", zFFF, 0x54a, 0, 0, Local1, 0x16)
+ }
+}
+
+Method(m80c,, Serialized)
+{
+ Name(p000, Package(8) {0x78,1,2})
+ Name(p001, Package(8) {0,1,2,3,4,5,6,7})
+
+ Store(Index(p000, 0), Local0)
+ Store(Local0, Index(p001, 0))
+ Store(Local0, Index(p001, 1))
+ Store(Local0, Index(p001, 2))
+ Store(Local0, Index(p001, 3))
+ Store(Local0, Index(p001, 4))
+ Store(Local0, Index(p001, 5))
+ Store(Local0, Index(p001, 6))
+ Store(Local0, Index(p001, 7))
+
+ Store(Local0, Index(p000, 0))
+ Store(Local0, Index(p000, 1))
+ Store(Local0, Index(p000, 2))
+ Store(Local0, Index(p000, 3))
+ Store(Local0, Index(p000, 4))
+ Store(Local0, Index(p000, 5))
+ Store(Local0, Index(p000, 6))
+ Store(Local0, Index(p000, 7))
+
+ Store(Local0, Index(p001, 0))
+ Store(Local0, Index(p000, 0))
+ Store(Local0, Index(p001, 1))
+ Store(Local0, Index(p000, 1))
+ Store(Local0, Index(p001, 2))
+ Store(Local0, Index(p000, 2))
+ Store(Local0, Index(p001, 3))
+ Store(Local0, Index(p000, 3))
+ Store(Local0, Index(p001, 4))
+ Store(Local0, Index(p000, 4))
+ Store(Local0, Index(p001, 5))
+ Store(Local0, Index(p000, 5))
+ Store(Local0, Index(p001, 6))
+ Store(Local0, Index(p000, 6))
+ Store(Local0, Index(p001, 7))
+ Store(Local0, Index(p000, 7))
+
+ Store(p000, Index(p001, 7))
+ Store(p000, Index(p000, 7))
+
+ Store(p001, Index(p001, 6))
+ Store(p001, Index(p000, 6))
+}
+
+Method(m80d,, Serialized)
+{
+ Name(p000, Package(8) {0x78,1,2})
+ Name(p001, Package(8) {0,1,2,3,4,5,6,7})
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 1))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 2))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 3))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 4))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 5))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 6))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 7))
+
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 1))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 2))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 3))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 4))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 5))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 6))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 7))
+
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 1))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 2))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 3))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 4))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 5))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 6))
+ Store(DerefOf(Index(p001, 0)), Index(p001, 7))
+
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 1))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 2))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 3))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 4))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 5))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 6))
+ Store(DerefOf(Index(p000, 0)), Index(p000, 7))
+
+ Store(p000, Index(p001, 7))
+ Store(p000, Index(p000, 7))
+
+ Store(p001, Index(p001, 6))
+ Store(p001, Index(p000, 6))
+}
+
+Method(m80e,, Serialized)
+{
+ Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
+ Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+
+ Method(m000, 2)
+ {
+ Store(DerefOf(DerefOf(Index(p000, arg1))), Local0)
+ }
+
+ Method(m001)
+ {
+ Method(m002)
+ {
+ Store(Index(p000, 1), Index(p000, 9))
+ Store(Index(b000, 1), Index(p000, 10))
+
+ m000(p000,9)
+ m000(p000,10)
+ }
+
+ m002()
+ }
+
+ Method(m003, 2)
+ {
+ Store(DerefOf(DerefOf(Index(arg0, arg1))), Local0)
+ }
+
+ Method(m004,, Serialized)
+ {
+ Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
+ Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+
+ Method(m005)
+ {
+ Store(Index(p000, 1), Index(p000, 9))
+ Store(Index(b000, 1), Index(p000, 10))
+
+ m003(p000,9)
+ m003(p000,10)
+ }
+
+ m005()
+ }
+
+ Method(m006, 2)
+ {
+ Store(Index(p000, arg1), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(DerefOf(Local1), Local2)
+ }
+
+ Method(m007)
+ {
+ Method(m008)
+ {
+ Store(Index(p000, 1), Index(p000, 9))
+ Store(Index(b000, 1), Index(p000, 10))
+
+ m006(p000,9)
+ m006(p000,10)
+ }
+
+ m008()
+ }
+
+ m001()
+ m004()
+ m007()
+}
+
+Method(m812,, Serialized)
+{
+ Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
+ Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
+
+ Method(m000, 2)
+ {
+ Store(Index(p000, arg1), Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(DerefOf(Local1), Local2)
+ }
+
+ Method(m001)
+ {
+ Method(m002)
+ {
+ Store(Index(p000, 1), Index(p000, 9))
+ Store(Index(b000, 1), Index(p000, 10))
+
+ m000(p000,9)
+ m000(p000,10)
+ }
+
+ m002()
+ }
+
+ m001()
+}
+
+Method(m808)
+{
+ SRMT("m809-0")
+ m809(0)
+ SRMT("m809-1")
+ m809(1)
+ SRMT("m80b")
+ m80b()
+ SRMT("m80c")
+ m80c()
+ SRMT("m80d")
+ m80d()
+ SRMT("m80e")
+ m80e()
+ SRMT("m812")
+ m812()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/PkgsHierarchy.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/PkgsHierarchy.asl
index eb839cd56..cbc741510 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/PkgsHierarchy.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/PkgsHierarchy.asl
@@ -1,1842 +1,1842 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Hierarchy of Packages
- *
- * It is a 4-level (not including the root Package-node) hierarchy
- * of Packages. Each package (pkg-node), including the root Package,
- * has 4 Packages which (not including Package-nodes of the last
- * 3-th level) in turn has 4 children.
- * Generate and put into each pkg-node references to all other
- * pkg-nodes. Then go round all the pkg-nodes and verify read-access
- * through all the references packed into each of those nodes.
- *
- * 0x22 Outstanding allocations because of
- * AcpiExec doesn't run the unload of the table have been processed.
- * All they are caused by call to SRMT Method.
- *
- * Outstanding: 0x22 allocations after execution.
- *
- * chn0 - set it to either 1 or 2:
- * Name(chn0, 1) // number of children of pkg-node to be actually processed (1,2,3,4)
- */
-
-/*
- * Bit-maps of operations
- */
-Name(OP00, 0x01) // read and verify Integer-IDs
-Name(OP01, 0x02) // re-write Integer-IDs
-Name(OP02, 0x04) // re-write the whole pkg-nodes
-Name(OP03, 0x08) // re-write references
-Name(OPFF, 0x0F) // mask of opcode of operation
-Name(OP10, 0x0f0000) // type of current (read) Integer-IDs
-Name(OP11, 0x0f00000) // type of new (re-write) Integer-IDs
-
-/*
- * Generate references to arg2-number elements of all pkg-nodes
- * of arg0 and pack up them per-level into arg1.
- *
- * arg0 - reference to (Package,pHR0), IRefs to arg2 elements of Pkg-nodes of pHR0
- * arg1 - (Package,pIRx), are to be stored into elements of pIRx (from 0).
- * arg2 - number of children of pkg-node to be actually processed
- * arg3 - index of elements of pkg-nodes of arg0 to be pointed to by ref
- */
-Method(mfdd, 4, Serialized)
-{
- Name(ind0, 0) // cur index of element of arg1-Package where to store ref
- Name(ind1, 0)
- Name(ind2, 0)
- Name(ind3, 0)
-
- Name(lpN0, 0)
- Name(lpC0, 0)
- Name(lpN1, 0)
- Name(lpC1, 0)
- Name(lpN2, 0)
- Name(lpC2, 0)
- Name(lpN3, 0)
- Name(lpC3, 0)
-
- Store(arg2, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Store(Index(DerefOf(arg0), lpC0), Index(DerefOf(Index(arg1, 0)), ind0))
-
- Store(arg2, lpN1)
- Store(0, lpC1)
- While (lpN1) {
-
- Store(Index(DerefOf(Index(DerefOf(arg0), lpC0)), lpC1), Index(DerefOf(Index(arg1, 1)), ind1))
-
- Store(arg2, lpN2)
- Store(0, lpC2)
- While (lpN2) {
-
- Store(Index(DerefOf(Index(DerefOf(Index(DerefOf(arg0), lpC0)), lpC1)), lpC2), Index(DerefOf(Index(arg1, 2)), ind2))
-
- Store(arg2, lpN3)
- Store(0, lpC3)
- While (lpN3) {
-
- Store(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(arg0), lpC0)), lpC1)), lpC2)), lpC3), Index(DerefOf(Index(arg1, 3)), ind3))
-
- Increment(ind3)
- Decrement(lpN3)
- Increment(lpC3)
- }
- Increment(ind2)
- Decrement(lpN2)
- Increment(lpC2)
- }
- Increment(ind1)
- Decrement(lpN1)
- Increment(lpC1)
- }
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Put reference arg3 into arg2-th elements of all Pkg-nodes of pHR0 Package
- *
- * arg0 - reference to Package,pHR0
- * arg1 - number of children of pkg-node to be actually processed
- * arg2 - index in arg0-pkg-nodes where to store reference
- * arg3 - reference
- */
-Method(mfde, 4, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
- Name(lpN1, 0)
- Name(lpC1, 0)
- Name(lpN2, 0)
- Name(lpC2, 0)
- Name(lpN3, 0)
- Name(lpC3, 0)
-
-
- Store(arg1, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(DerefOf(arg0), lpC0, Local0)
- Store(arg3, Index(DerefOf(Local0), arg2))
-
- Store(arg1, lpN1)
- Store(0, lpC1)
- While (lpN1) {
-
- Index(DerefOf(arg0), lpC0, Local0)
- Store(arg3, Index(DerefOf(Index(DerefOf(Local0), lpC1)), arg2))
-
- Store(arg1, lpN2)
- Store(0, lpC2)
- While (lpN2) {
-
- Index(DerefOf(arg0), lpC0, Local0)
- Store(arg3, Index(DerefOf(Index(DerefOf(Index(DerefOf(Local0), lpC1)), lpC2)), arg2))
-
- Store(arg1, lpN3)
- Store(0, lpC3)
- While (lpN3) {
-
- Index(DerefOf(arg0), lpC0, Local0)
- Store(arg3, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Local0), lpC1)), lpC2)), lpC3)), arg2))
-
- Decrement(lpN3)
- Increment(lpC3)
- }
- Decrement(lpN2)
- Increment(lpC2)
- }
- Decrement(lpN1)
- Increment(lpC1)
- }
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Put elements of package arg0 (references) into elements of arg1
- *
- * arg0 - pIRx-Package (references)
- * arg1 - reference to pHRx-Package (hierarchy) - where to put references
- * arg2 - number of children of pkg-node to be actually processed
- * arg3 - start index in arg1 where to store references
- */
-Method(mfdf, 4, Serialized)
-{
- Name(ind0, 0)
- Name(num, 0)
-
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Name(pp00, Package(1) {})
- Name(pp01, Package(1) {})
-
-
- Store(arg2, num)
-
- /* Level 0 */
-
- Store(Index(arg0, 0), Local0)
- Store(DerefOf(Local0), pp00)
-
- Store(arg3, ind0)
-
- Store(num, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(pp00, lpC0, Local0)
- Store(DerefOf(Local0), Local1)
-
- mfde(arg1, arg2, ind0, Local1)
-
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- /* Level 1 */
-
- Store(Index(arg0, 1), Local0)
- Store(DerefOf(Local0), pp00)
-
- Multiply(num, arg2, num)
-
- Store(num, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(pp00, lpC0, Local0)
- Store(DerefOf(Local0), Local1)
-
- mfde(arg1, arg2, ind0, Local1)
-
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- /* Level 2 */
-
- Store(Index(arg0, 2), Local0)
- Store(DerefOf(Local0), pp00)
-
- Multiply(num, arg2, num)
-
- Store(num, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(pp00, lpC0, Local0)
- Store(DerefOf(Local0), Local1)
-
- mfde(arg1, arg2, ind0, Local1)
-
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- /* Level 3 */
-
- Store(Index(arg0, 3), Local0)
- Store(DerefOf(Local0), pp00)
-
- Multiply(num, arg2, num)
-
- Store(num, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(pp00, lpC0, Local0)
- Store(DerefOf(Local0), Local1)
-
- mfde(arg1, arg2, ind0, Local1)
-
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Generate the benchmark value of Integer-ID and
- * verify by it the actual value of Integer-ID.
- *
- * arg0 - coefficient of maximal hierarchy of Packages
- * arg1 - number of children of pkg-node to be actually processed
- * arg2 - level + index inside level of source pkg-node
- * arg3 - level + index inside level of target pkg-node
- * arg4 - the value of Integer-ID
- * arg5 - bit-map of operations
- */
-Method(mfe2, 6, Serialized)
-{
- /* Index */
-
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Name(lls0, 0) // level of source pkg-node
- Name(ins0, 0) // index inside level of source pkg-node
- Name(llt0, 0) // level of target pkg-node
- Name(int0, 0) // index inside level of target pkg-node
-
- Store(0, Local7)
-
- And(arg2, 0x0ffff, ins0)
- ShiftRight(arg2, 16, Local0)
- And(Local0, 0x0ffff, lls0)
-
- And(arg3, 0x0ffff, int0)
- ShiftRight(arg3, 16, Local0)
- And(Local0, 0x0ffff, llt0)
-
- And(int0, 0x0ffff, Local2)
-
- if (llt0) {
-
- /*
- * ASSUMPTION: 256 on 3-th level is maximum
- * for this model of packages
- */
- Divide(Local2, 8, Local0, Local1)
- Multiply(Local1, 64, Local5)
-
- Divide(Local0, 4, Local0, Local1)
- Multiply(Local1, 16, Local6)
- Add(Local5, Local6, Local5)
-
- Divide(Local0, 2, Local0, Local1)
- Multiply(Local1, 4, Local6)
- Add(Local5, Local6, Local5)
-
- Add(Local5, Local0, Local5)
- } else {
- Store(Local2, Local5)
- }
-
- Or(0xab000000, Local5, Local3)
-
- /* Level */
-
- And(llt0, 0x0f, Local0)
- ShiftLeft(Local0, 16, Local1)
- Or(Local1, Local3, Local0)
-
- Store(mfe3(Local0, arg5, 0), Local1)
-
- if (LNotEqual(arg4, Local1)) {
- Store(1, Local7)
- err("", zFFF, 0x201, 0, 0, arg4, Local1)
- Store("================= Params:", debug)
- Store(arg0, Debug)
- Store(arg1, Debug)
- Store(arg2, Debug)
- Store(arg3, Debug)
- Store(arg4, Debug)
- Store(arg5, Debug)
- Store(lls0, Debug)
- Store(ins0, Debug)
- Store(llt0, Debug)
- Store(int0, Debug)
- Store("=================.", debug)
- }
-
- return (Local7)
-}
-
-/*
- * Modify Integer-ID
- *
- * arg0 - the value of Integer-ID
- * arg1 - bit-map of operations
- * arg2 - 0 - for read, 1 - for re-write
- */
-Method(mfe3, 3)
-{
- And(arg0, 0xff0fffff, Local0)
- if (arg2) {
- And(arg1, OP11, Local1)
- } else {
- And(arg1, OP10, Local2)
- ShiftLeft(Local2, 4, Local1)
- }
- Or(Local0, Local1, Local7)
-
- return (Local7)
-}
-
-/*
- * Verify the value of Integer-ID of pkg-node
- *
- * arg0 - pkg-node Package of pHRx-Package
- * arg1 - coefficient of maximal hierarchy of Packages
- * arg2 - number of children of pkg-node to be actually processed
- * arg3 - start index of location of references in pkg-nodes
- * arg4 - level of arg0 + index inside level of arg0
- * arg5 - bit-map of operations
- * arg6 - index of Integer-ID in pkg-nodes
- */
-Method(mfe0, 7, Serialized)
-{
- Name(ind0, 0)
- Name(num, 0)
-
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Store(arg2, num)
-
- /* Level 0 */
-
- Store(arg3, ind0)
-
- Store(num, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(arg0, ind0, Local0) // IRef to some ref of pkg-node
- Store(DerefOf(Local0), Local1) // reference
- Store(DerefOf(Local1), Local2) // another pkg-node referred to
- Store(DerefOf(Index(Local2, arg6)), Local3) // Integer-ID
-
- mfe2(arg1, arg2, arg4, lpC0, Local3, arg5)
-
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- /* Level 1 */
-
- Multiply(num, arg2, num)
-
- Store(num, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(arg0, ind0, Local0)
- Store(DerefOf(Local0), Local1)
- Store(DerefOf(Local1), Local2)
- Store(DerefOf(Index(Local2, arg6)), Local3)
-
- Or(0x10000, lpC0, Local7)
-
- mfe2(arg1, arg2, arg4, Local7, Local3, arg5)
-
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- /* Level 2 */
-
- Multiply(num, arg2, num)
-
- Store(num, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(arg0, ind0, Local0)
- Store(DerefOf(Local0), Local1)
- Store(DerefOf(Local1), Local2)
- Store(DerefOf(Index(Local2, arg6)), Local3)
-
- Or(0x20000, lpC0, Local7)
-
- mfe2(arg1, arg2, arg4, Local7, Local3, arg5)
-
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- /* Level 3 */
-
- Multiply(num, arg2, num)
-
- Store(num, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(arg0, ind0, Local0)
- Store(DerefOf(Local0), Local1)
- Store(DerefOf(Local1), Local2)
- Store(DerefOf(Index(Local2, arg6)), Local3)
-
- Or(0x30000, lpC0, Local7)
-
- mfe2(arg1, arg2, arg4, Local7, Local3, arg5)
-
- Increment(ind0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Verify the contents of pHRx-Package (Integer-IDs) by read access
- * through References packed into all pkg-nodes.
- *
- * arg0 - pHRx-Package (hierarchy), fully initialized
- * arg1 - number of children of pkg-node to be actually processed
- * arg2 - start index of location of references in arg0-pkg-nodes
- * arg3 - coefficient of maximal hierarchy of Packages
- * arg4 - bit-map of operations
- * arg5 - index of Integer-ID in pkg-nodes
- */
-Method(mfe1, 6, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
- Name(lpN1, 0)
- Name(lpC1, 0)
- Name(lpN2, 0)
- Name(lpC2, 0)
- Name(lpN3, 0)
- Name(lpC3, 0)
-
- Name(pkg0, Package(1) {})
- Name(pkg1, Package(1) {})
- Name(pkg2, Package(1) {})
- Name(pkg3, Package(1) {})
-
- Store(arg1, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(arg0, lpC0, Local0)
- CopyObject(DerefOf(Local0), pkg0)
-
- mfe0(pkg0, arg3, arg1, arg2, lpC0, arg4, arg5)
- Store(arg1, lpN1)
- Store(0, lpC1)
- While (lpN1) {
-
- Index(pkg0, lpC1, Local1)
- CopyObject(DerefOf(Local1), pkg1)
- Or(0x10000, lpC1, Local7)
- mfe0(pkg1, arg3, arg1, arg2, Local7, arg4, arg5)
-
- Store(arg1, lpN2)
- Store(0, lpC2)
- While (lpN2) {
-
- Index(pkg1, lpC2, Local2)
- CopyObject(DerefOf(Local2), pkg2)
- Or(0x20000, lpC2, Local7)
- mfe0(pkg2, arg3, arg1, arg2, Local7, arg4, arg5)
- Store(arg1, lpN3)
- Store(0, lpC3)
- While (lpN3) {
-
- Index(pkg2, lpC3, Local3)
- CopyObject(DerefOf(Local3), pkg3)
- Or(0x30000, lpC3, Local7)
- mfe0(pkg3, arg3, arg1, arg2, Local7, arg4, arg5)
-
- Decrement(lpN3)
- Increment(lpC3)
- }
- Decrement(lpN2)
- Increment(lpC2)
- }
- Decrement(lpN1)
- Increment(lpC1)
- }
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Rewrite Integer-IDs for all pkg-nodes of hierarchy -
- * read previous value generate new and write back to pkg-node.
- *
- * arg0 - reference to Package,pHR0
- * arg1 - number of children of pkg-node to be actually processed
- * arg2 - index of Integer-ID in pkg-nodes
- * arg3 - start index of location of references in pkg-nodes
- * arg4 - bit-map of operations
- */
-Method(mfe4, 5, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
- Name(lpN1, 0)
- Name(lpC1, 0)
- Name(lpN2, 0)
- Name(lpC2, 0)
- Name(lpN3, 0)
- Name(lpC3, 0)
-
- Name(lpN4, 0)
- Name(lpC4, 0)
-
- Name(nds0, 0) // number of pkg-nodes actually processed
- Name(iRF0, 0) // current index of element with reference
-
- Name(op00, 0)
- Name(wrID, 0)
- Name(wrPK, 0)
- Name(wrRF, 0)
-
- Name(pkg0, Package(1) {})
- Name(pkg, Package(1) {})
-
- And(arg4, OPFF, op00)
-
- Switch (ToInteger (op00)) {
- Case (0x02) {
- /* re-write Integer-IDs */
- Store(1, wrID)
- }
- Case (0x04) {
- /* re-write pkg-nodes */
- Store(1, wrPK)
- }
- Case (0x08) {
- /* re-write references */
- Store(mfe5(arg1), nds0)
- Store(1, wrRF)
- }
- Default {
- return
- }}
-
- Store(arg1, lpN0)
- Store(0, lpC0)
- While (lpN0) {
-
- Index(DerefOf(arg0), lpC0, pkg0) // lpC0-th pkg-node of 0 level
-
- if (wrID) {
- Store(DerefOf(Index(DerefOf(pkg0), arg2)), Local7) // Integer-ID
- Store(mfe3(Local7, arg4, 1), Local6)
- Store(Local6, Index(DerefOf(pkg0), arg2))
- } elseif (wrRF) {
- Store(nds0, lpN4)
- Store(0, lpC4)
- Store(arg3, iRF0)
- While (lpN4) {
- Store(DerefOf(Index(DerefOf(pkg0), iRF0)), Local7) // reference
- Store(Local7, Index(DerefOf(pkg0), iRF0))
- Increment(iRF0)
- Decrement(lpN4)
- Increment(lpC4)
- }
- }
-
- Store(arg1, lpN1)
- Store(0, lpC1)
- While (lpN1) {
-
- if (wrID) {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), arg2)), Local7)
- Store(mfe3(Local7, arg4, 1), Local6)
- Store(Local6, Index(DerefOf(Index(DerefOf(pkg0), lpC1)), arg2))
- } elseif (wrRF) {
- Store(nds0, lpN4)
- Store(0, lpC4)
- Store(arg3, iRF0)
- While (lpN4) {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), iRF0)), Local7)
- Store(Local7, Index(DerefOf(Index(DerefOf(pkg0), lpC1)), iRF0))
- Store(Local7, Index(DerefOf(Index(DerefOf(pkg0), lpC1)), iRF0))
- Increment(iRF0)
- Decrement(lpN4)
- Increment(lpC4)
- }
- }
-
- Store(arg1, lpN2)
- Store(0, lpC2)
- While (lpN2) {
-
- if (wrID) {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), arg2)), Local7)
- Store(mfe3(Local7, arg4, 1), Local6)
- Store(Local6, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), arg2))
- } elseif (wrRF) {
- Store(nds0, lpN4)
- Store(0, lpC4)
- Store(arg3, iRF0)
- While (lpN4) {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), iRF0)), Local7)
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), iRF0))
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), iRF0))
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), iRF0))
- Increment(iRF0)
- Decrement(lpN4)
- Increment(lpC4)
- }
- }
-
- Store(arg1, lpN3)
- Store(0, lpC3)
- While (lpN3) {
-
- if (wrID) {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), arg2)), Local7)
- Store(mfe3(Local7, arg4, 1), Local6)
- Store(Local6, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), arg2))
- } elseif (wrPK) {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), pkg)
- if (LEqual(lpC3, 1)) {
- Store(pkg, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3))
- Store(pkg, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3))
- Store(pkg, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3))
- } else {
- Store(pkg, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3))
- }
- } elseif (wrRF) {
- Store(nds0, lpN4)
- Store(0, lpC4)
- Store(arg3, iRF0)
- While (lpN4) {
- Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0)), Local7)
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0))
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0))
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0))
- Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0))
- Increment(iRF0)
- Decrement(lpN4)
- Increment(lpC4)
- }
- }
-
- Decrement(lpN3)
- Increment(lpC3)
- }
- Decrement(lpN2)
- Increment(lpC2)
- }
- Decrement(lpN1)
- Increment(lpC1)
- }
- Decrement(lpN0)
- Increment(lpC0)
- }
-}
-
-/*
- * Return number of pkg-nodes actually processed.
- *
- * arg0 - number of children of pkg-node to be actually processed
- */
-Method(mfe5, 1)
-{
- Store(arg0, Local0)
- Multiply(Local0, arg0, Local1)
- Multiply(Local1, arg0, Local2)
- Multiply(Local2, arg0, Local3)
-
- Add(Local0, Local1, Local4)
- Add(Local2, Local3, Local5)
-
- Add(Local4, Local5, Local7)
-
- return (Local7)
-}
-
-/*
- * Static hierarchy of Packages (maximal):
- *
- * 1. Levels: root + 4
- * 2. Pkg-node: 4 children-Packages
- * 3. Integer-ID: reflects level (0-3) and index inside level of pkg-node
- * 4. References: (4+16+64+256) == 340 maximum
- * 5 Total == 4 (Pkg-nodes)
- * + 1 (Integer-ID)
- * + 340 (References to inner nodes)
- * + 340 (References to nodes of another hierarchy)
- * ===
- * 685
- */
-Method(mfdc,, Serialized)
-{
- Name(pr00, 0)
-
- /*
- * Coefficient of maximal hierarchy of Packages
- * represented by this model.
- */
- Name(HR00, 4)
-
- Name(iint, 4) // index of Integer-ID in pkg-nodes
- Name(iirf, 0) // start index of location of INTERNAL-references in pkg-nodes
- Name(icrf, 345) // start index of location of CROSS-references in pkg-nodes
- Name(sz, 685) // full size of Package
- Name(chn0, 1) // number of children of pkg-node to be actually processed (1,2,3,4)
-
- /* Package of hierarchy */
-
- Name(pHR0, Package(sz) {
- Package(sz) {
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030000,
- },
- Package(sz) {0,1,2,3, 0xab030001,
- },
- Package(sz) {0,1,2,3, 0xab030002,
- },
- Package(sz) {0,1,2,3, 0xab030003,
- },
- 0xab020000
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030004,
- },
- Package(sz) {0,1,2,3, 0xab030005,
- },
- Package(sz) {0,1,2,3, 0xab030006,
- },
- Package(sz) {0,1,2,3, 0xab030007,
- },
- 0xab020001
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030008,
- },
- Package(sz) {0,1,2,3, 0xab030009,
- },
- Package(sz) {0,1,2,3, 0xab03000a,
- },
- Package(sz) {0,1,2,3, 0xab03000b,
- },
- 0xab020002
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03000c,
- },
- Package(sz) {0,1,2,3, 0xab03000d,
- },
- Package(sz) {0,1,2,3, 0xab03000e,
- },
- Package(sz) {0,1,2,3, 0xab03000f,
- },
- 0xab020003
- },
- 0xab010000
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030010,
- },
- Package(sz) {0,1,2,3, 0xab030011,
- },
- Package(sz) {0,1,2,3, 0xab030012,
- },
- Package(sz) {0,1,2,3, 0xab030013,
- },
- 0xab020004
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030014,
- },
- Package(sz) {0,1,2,3, 0xab030015,
- },
- Package(sz) {0,1,2,3, 0xab030016,
- },
- Package(sz) {0,1,2,3, 0xab030017,
- },
- 0xab020005
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030018,
- },
- Package(sz) {0,1,2,3, 0xab030019,
- },
- Package(sz) {0,1,2,3, 0xab03001a,
- },
- Package(sz) {0,1,2,3, 0xab03001b,
- },
- 0xab020006
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03001c,
- },
- Package(sz) {0,1,2,3, 0xab03001d,
- },
- Package(sz) {0,1,2,3, 0xab03001e,
- },
- Package(sz) {0,1,2,3, 0xab03001f,
- },
- 0xab020007
- },
- 0xab010001
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030020,
- },
- Package(sz) {0,1,2,3, 0xab030021,
- },
- Package(sz) {0,1,2,3, 0xab030022,
- },
- Package(sz) {0,1,2,3, 0xab030023,
- },
- 0xab020008
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030024,
- },
- Package(sz) {0,1,2,3, 0xab030025,
- },
- Package(sz) {0,1,2,3, 0xab030026,
- },
- Package(sz) {0,1,2,3, 0xab030027,
- },
- 0xab020009
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030028,
- },
- Package(sz) {0,1,2,3, 0xab030029,
- },
- Package(sz) {0,1,2,3, 0xab03002a,
- },
- Package(sz) {0,1,2,3, 0xab03002b,
- },
- 0xab02000a
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03002c,
- },
- Package(sz) {0,1,2,3, 0xab03002d,
- },
- Package(sz) {0,1,2,3, 0xab03002e,
- },
- Package(sz) {0,1,2,3, 0xab03002f,
- },
- 0xab02000b
- },
- 0xab010002
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030030,
- },
- Package(sz) {0,1,2,3, 0xab030031,
- },
- Package(sz) {0,1,2,3, 0xab030032,
- },
- Package(sz) {0,1,2,3, 0xab030033,
- },
- 0xab02000c
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030034,
- },
- Package(sz) {0,1,2,3, 0xab030035,
- },
- Package(sz) {0,1,2,3, 0xab030036,
- },
- Package(sz) {0,1,2,3, 0xab030037,
- },
- 0xab02000d
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030038,
- },
- Package(sz) {0,1,2,3, 0xab030039,
- },
- Package(sz) {0,1,2,3, 0xab03003a,
- },
- Package(sz) {0,1,2,3, 0xab03003b,
- },
- 0xab02000e
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03003c,
- },
- Package(sz) {0,1,2,3, 0xab03003d,
- },
- Package(sz) {0,1,2,3, 0xab03003e,
- },
- Package(sz) {0,1,2,3, 0xab03003f,
- },
- 0xab02000f
- },
- 0xab010003
- },
- 0xab000000
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030040,
- },
- Package(sz) {0,1,2,3, 0xab030041,
- },
- Package(sz) {0,1,2,3, 0xab030042,
- },
- Package(sz) {0,1,2,3, 0xab030043,
- },
- 0xab020010
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030044,
- },
- Package(sz) {0,1,2,3, 0xab030045,
- },
- Package(sz) {0,1,2,3, 0xab030046,
- },
- Package(sz) {0,1,2,3, 0xab030047,
- },
- 0xab020011
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030048,
- },
- Package(sz) {0,1,2,3, 0xab030049,
- },
- Package(sz) {0,1,2,3, 0xab03004a,
- },
- Package(sz) {0,1,2,3, 0xab03004b,
- },
- 0xab020012
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03004c,
- },
- Package(sz) {0,1,2,3, 0xab03004d,
- },
- Package(sz) {0,1,2,3, 0xab03004e,
- },
- Package(sz) {0,1,2,3, 0xab03004f,
- },
- 0xab020013
- },
- 0xab010004
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030050,
- },
- Package(sz) {0,1,2,3, 0xab030051,
- },
- Package(sz) {0,1,2,3, 0xab030052,
- },
- Package(sz) {0,1,2,3, 0xab030053,
- },
- 0xab020014
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030054,
- },
- Package(sz) {0,1,2,3, 0xab030055,
- },
- Package(sz) {0,1,2,3, 0xab030056,
- },
- Package(sz) {0,1,2,3, 0xab030057,
- },
- 0xab020015
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030058,
- },
- Package(sz) {0,1,2,3, 0xab030059,
- },
- Package(sz) {0,1,2,3, 0xab03005a,
- },
- Package(sz) {0,1,2,3, 0xab03005b,
- },
- 0xab020016
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03005c,
- },
- Package(sz) {0,1,2,3, 0xab03005d,
- },
- Package(sz) {0,1,2,3, 0xab03005e,
- },
- Package(sz) {0,1,2,3, 0xab03005f,
- },
- 0xab020017
- },
- 0xab010005
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030060,
- },
- Package(sz) {0,1,2,3, 0xab030061,
- },
- Package(sz) {0,1,2,3, 0xab030062,
- },
- Package(sz) {0,1,2,3, 0xab030063,
- },
- 0xab020018
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030064,
- },
- Package(sz) {0,1,2,3, 0xab030065,
- },
- Package(sz) {0,1,2,3, 0xab030066,
- },
- Package(sz) {0,1,2,3, 0xab030067,
- },
- 0xab020019
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030068,
- },
- Package(sz) {0,1,2,3, 0xab030069,
- },
- Package(sz) {0,1,2,3, 0xab03006a,
- },
- Package(sz) {0,1,2,3, 0xab03006b,
- },
- 0xab02001a
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03006c,
- },
- Package(sz) {0,1,2,3, 0xab03006d,
- },
- Package(sz) {0,1,2,3, 0xab03006e,
- },
- Package(sz) {0,1,2,3, 0xab03006f,
- },
- 0xab02001b
- },
- 0xab010006
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030070,
- },
- Package(sz) {0,1,2,3, 0xab030071,
- },
- Package(sz) {0,1,2,3, 0xab030072,
- },
- Package(sz) {0,1,2,3, 0xab030073,
- },
- 0xab02001c
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030074,
- },
- Package(sz) {0,1,2,3, 0xab030075,
- },
- Package(sz) {0,1,2,3, 0xab030076,
- },
- Package(sz) {0,1,2,3, 0xab030077,
- },
- 0xab02001d
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030078,
- },
- Package(sz) {0,1,2,3, 0xab030079,
- },
- Package(sz) {0,1,2,3, 0xab03007a,
- },
- Package(sz) {0,1,2,3, 0xab03007b,
- },
- 0xab02001e
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03007c,
- },
- Package(sz) {0,1,2,3, 0xab03007d,
- },
- Package(sz) {0,1,2,3, 0xab03007e,
- },
- Package(sz) {0,1,2,3, 0xab03007f,
- },
- 0xab02001f
- },
- 0xab010007
- },
- 0xab000001
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030080,
- },
- Package(sz) {0,1,2,3, 0xab030081,
- },
- Package(sz) {0,1,2,3, 0xab030082,
- },
- Package(sz) {0,1,2,3, 0xab030083,
- },
- 0xab020020
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030084,
- },
- Package(sz) {0,1,2,3, 0xab030085,
- },
- Package(sz) {0,1,2,3, 0xab030086,
- },
- Package(sz) {0,1,2,3, 0xab030087,
- },
- 0xab020021
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030088,
- },
- Package(sz) {0,1,2,3, 0xab030089,
- },
- Package(sz) {0,1,2,3, 0xab03008a,
- },
- Package(sz) {0,1,2,3, 0xab03008b,
- },
- 0xab020022
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03008c,
- },
- Package(sz) {0,1,2,3, 0xab03008d,
- },
- Package(sz) {0,1,2,3, 0xab03008e,
- },
- Package(sz) {0,1,2,3, 0xab03008f,
- },
- 0xab020023
- },
- 0xab010008
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030090,
- },
- Package(sz) {0,1,2,3, 0xab030091,
- },
- Package(sz) {0,1,2,3, 0xab030092,
- },
- Package(sz) {0,1,2,3, 0xab030093,
- },
- 0xab020024
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030094,
- },
- Package(sz) {0,1,2,3, 0xab030095,
- },
- Package(sz) {0,1,2,3, 0xab030096,
- },
- Package(sz) {0,1,2,3, 0xab030097,
- },
- 0xab020025
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab030098,
- },
- Package(sz) {0,1,2,3, 0xab030099,
- },
- Package(sz) {0,1,2,3, 0xab03009a,
- },
- Package(sz) {0,1,2,3, 0xab03009b,
- },
- 0xab020026
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab03009c,
- },
- Package(sz) {0,1,2,3, 0xab03009d,
- },
- Package(sz) {0,1,2,3, 0xab03009e,
- },
- Package(sz) {0,1,2,3, 0xab03009f,
- },
- 0xab020027
- },
- 0xab010009
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300a0,
- },
- Package(sz) {0,1,2,3, 0xab0300a1,
- },
- Package(sz) {0,1,2,3, 0xab0300a2,
- },
- Package(sz) {0,1,2,3, 0xab0300a3,
- },
- 0xab020028
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300a4,
- },
- Package(sz) {0,1,2,3, 0xab0300a5,
- },
- Package(sz) {0,1,2,3, 0xab0300a6,
- },
- Package(sz) {0,1,2,3, 0xab0300a7,
- },
- 0xab020029
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300a8,
- },
- Package(sz) {0,1,2,3, 0xab0300a9,
- },
- Package(sz) {0,1,2,3, 0xab0300aa,
- },
- Package(sz) {0,1,2,3, 0xab0300ab,
- },
- 0xab02002a
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300ac,
- },
- Package(sz) {0,1,2,3, 0xab0300ad,
- },
- Package(sz) {0,1,2,3, 0xab0300ae,
- },
- Package(sz) {0,1,2,3, 0xab0300af,
- },
- 0xab02002b
- },
- 0xab01000a
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300b0,
- },
- Package(sz) {0,1,2,3, 0xab0300b1,
- },
- Package(sz) {0,1,2,3, 0xab0300b2,
- },
- Package(sz) {0,1,2,3, 0xab0300b3,
- },
- 0xab02002c
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300b4,
- },
- Package(sz) {0,1,2,3, 0xab0300b5,
- },
- Package(sz) {0,1,2,3, 0xab0300b6,
- },
- Package(sz) {0,1,2,3, 0xab0300b7,
- },
- 0xab02002d
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300b8,
- },
- Package(sz) {0,1,2,3, 0xab0300b9,
- },
- Package(sz) {0,1,2,3, 0xab0300ba0,
- },
- Package(sz) {0,1,2,3, 0xab0300bb,
- },
- 0xab02002e
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300bc,
- },
- Package(sz) {0,1,2,3, 0xab0300bd,
- },
- Package(sz) {0,1,2,3, 0xab0300be,
- },
- Package(sz) {0,1,2,3, 0xab0300bf,
- },
- 0xab02002f
- },
- 0xab01000b
- },
- 0xab000002
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300c0,
- },
- Package(sz) {0,1,2,3, 0xab0300c1,
- },
- Package(sz) {0,1,2,3, 0xab0300c2,
- },
- Package(sz) {0,1,2,3, 0xab0300c3,
- },
- 0xab020030
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300c4,
- },
- Package(sz) {0,1,2,3, 0xab0300c5,
- },
- Package(sz) {0,1,2,3, 0xab0300c6,
- },
- Package(sz) {0,1,2,3, 0xab0300c7,
- },
- 0xab020031
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300c8,
- },
- Package(sz) {0,1,2,3, 0xab0300c9,
- },
- Package(sz) {0,1,2,3, 0xab0300ca,
- },
- Package(sz) {0,1,2,3, 0xab0300cb,
- },
- 0xab020032
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300cc,
- },
- Package(sz) {0,1,2,3, 0xab0300cd,
- },
- Package(sz) {0,1,2,3, 0xab0300ce,
- },
- Package(sz) {0,1,2,3, 0xab0300cf,
- },
- 0xab020033
- },
- 0xab01000c
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300d0,
- },
- Package(sz) {0,1,2,3, 0xab0300d1,
- },
- Package(sz) {0,1,2,3, 0xab0300d2,
- },
- Package(sz) {0,1,2,3, 0xab0300d3,
- },
- 0xab020034
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300d4,
- },
- Package(sz) {0,1,2,3, 0xab0300d5,
- },
- Package(sz) {0,1,2,3, 0xab0300d6,
- },
- Package(sz) {0,1,2,3, 0xab0300d7,
- },
- 0xab020035
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300d8,
- },
- Package(sz) {0,1,2,3, 0xab0300d9,
- },
- Package(sz) {0,1,2,3, 0xab0300da,
- },
- Package(sz) {0,1,2,3, 0xab0300db,
- },
- 0xab020036
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300dc,
- },
- Package(sz) {0,1,2,3, 0xab0300dd,
- },
- Package(sz) {0,1,2,3, 0xab0300de,
- },
- Package(sz) {0,1,2,3, 0xab0300df,
- },
- 0xab020037
- },
- 0xab01000d
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300e0,
- },
- Package(sz) {0,1,2,3, 0xab0300e1,
- },
- Package(sz) {0,1,2,3, 0xab0300e2,
- },
- Package(sz) {0,1,2,3, 0xab0300e3,
- },
- 0xab020038
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300e4,
- },
- Package(sz) {0,1,2,3, 0xab0300e5,
- },
- Package(sz) {0,1,2,3, 0xab0300e6,
- },
- Package(sz) {0,1,2,3, 0xab0300e7,
- },
- 0xab020039
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300e8,
- },
- Package(sz) {0,1,2,3, 0xab0300e9,
- },
- Package(sz) {0,1,2,3, 0xab0300ea,
- },
- Package(sz) {0,1,2,3, 0xab0300eb,
- },
- 0xab02003a
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300ec,
- },
- Package(sz) {0,1,2,3, 0xab0300ed,
- },
- Package(sz) {0,1,2,3, 0xab0300ee,
- },
- Package(sz) {0,1,2,3, 0xab0300ef,
- },
- 0xab02003b
- },
- 0xab01000e
- },
- Package(sz) {
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300f0,
- },
- Package(sz) {0,1,2,3, 0xab0300f1,
- },
- Package(sz) {0,1,2,3, 0xab0300f2,
- },
- Package(sz) {0,1,2,3, 0xab0300f3,
- },
- 0xab02003c
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300f4,
- },
- Package(sz) {0,1,2,3, 0xab0300f5,
- },
- Package(sz) {0,1,2,3, 0xab0300f6,
- },
- Package(sz) {0,1,2,3, 0xab0300f7,
- },
- 0xab02003d
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300f8,
- },
- Package(sz) {0,1,2,3, 0xab0300f9,
- },
- Package(sz) {0,1,2,3, 0xab0300fa,
- },
- Package(sz) {0,1,2,3, 0xab0300fb,
- },
- 0xab02003e
- },
- Package(sz) {
- Package(sz) {0,1,2,3, 0xab0300fc,
- },
- Package(sz) {0,1,2,3, 0xab0300fd,
- },
- Package(sz) {0,1,2,3, 0xab0300fe,
- },
- Package(sz) {0,1,2,3, 0xab0300ff,
- },
- 0xab02003f
- },
- 0xab01000f
- },
- 0xab000003
- },
- 0xabababab
- })
-
- Name(pIR0, Package(4) {
- Package(4) {},
- Package(16) {},
- Package(64) {},
- Package(256) {}
- })
- Name(pIR1, Package(4) {
- Package(4) {},
- Package(16) {},
- Package(64) {},
- Package(256) {}
- })
-
- Name(pHR1, Package(1) {})
- Name(pHR2, Package(1) {})
-
- Add(iint, 1, iirf)
-
- Concatenate("chn0 of model is equal to ", chn0, Debug)
-
- /*
- * ########## References to pkg-nodes inside one hierarchy ##########
- */
-
-SRMT("gen-inner-refs-to-pkg-nodes-of-pHR0")
-
- /*
- * Generate references to chn0-number elements of all pkg-nodes of pHR0
- * and pack up them per-level into pIR0.
- */
- mfdd(RefOf(pHR0), pIR0, chn0, iint)
-
- /*
- * Put elements of package pIR0 (references) into relevant elements
- * of pkg-nodes of pHR0.
- */
- mfdf(pIR0, RefOf(pHR0), chn0, iirf)
-
-SRMT("verify-0-of-pHR0-by-inner-refs")
-
- /*
- * Verify the contents of pHR0 (Integer-IDs of pkg-nodes)
- * by read access through References packed into all its pkg-nodes.
- *
- * mfe1() does reading unconditionally:
- * read: 0 - type of current (read) Integer-IDs
- */
- mfe1(pHR0, chn0, iirf, HR00, 0, iint)
-
-SRMT("rewrite-1-Integer-IDs-of-pHR0")
-
- /*
- * Rewrite Integer-IDs for all pkg-nodes of hierarchy (pHR0) -
- * read previous value, generate new and write back to pkg-node.
- *
- * re-write I-ID: 1 - type of new (re-write) Integer-IDs
- */
- Or(OP01, 0x100000, Local0) // re-write I-ID + type of new (re-write) Integer-IDs
- mfe4(RefOf(pHR0), chn0, iint, iirf, Local0)
-
-SRMT("verify-1-of-pHR0-by-inner-refs")
-
- /*
- * Verify the new Integer-IDs of hierarchy.
- *
- * mfe1() does reading unconditionally:
- * read: 1 - type of current (read) Integer-IDs
- */
- Or(0, 0x10000, Local0) // type of current (read) Integer-IDs
- mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
-
-SRMT("rewrite-pkg-nodes-of-pHR0")
-
- /*
- * Rewrite the whole pkg-nodes of hierarchy -
- * take each pkg-node and re-write it back to the same location.
- *
- * re-write pkg-nodes
- */
- mfe4(RefOf(pHR0), chn0, iint, iirf, OP02)
-
-SRMT("verify-1-of-pHR0-by-inner-refs")
-
- /*
- * Verify Integer-IDs of hierarchy: nothing should change.
- *
- * mfe1() does reading unconditionally:
- * read: 1 - type of current (read) Integer-IDs
- */
- Or(0, 0x10000, Local0) // type of current (read) Integer-IDs
- mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
-
- /*
- * ############# Duplicate of hierarchy #############
- */
-
-SRMT("Duplicate-pHR0-to-pHR1")
-
- /*
- * Copy hierarchy to another object
- */
- Store(pHR0, pHR1)
-
- /*
- * Verify Integer-IDs of both instances of hierarchy:
- * nothing should change. References of both hierarchies
- * point to the same pkg-nodes, so, Integer-IDs should
- * be the same.
- *
- * mfe1() does reading unconditionally:
- * read: 1 - type of current (read) Integer-IDs
- */
- Or(0, 0x10000, Local0) // type of current (read) Integer-IDs
-SRMT("verify-1-of-pHR0-by-inner-refs")
- mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
-SRMT("verify-1-of-pHR0-by-inner-refs-duplicated-to-pHR1")
- mfe1(pHR1, chn0, iirf, HR00, Local0, iint)
-
-
-SRMT("rewrite-2-Integer-IDs-of-pHR0")
-
- /*
- * Rewrite Integer-IDs for all pkg-nodes of source hierarchy.
- *
- * re-write I-ID: 2 - type of new (re-write) Integer-IDs
- */
- Or(OP01, 0x200000, Local0) // re-write I-ID + type of new (re-write) Integer-IDs
- mfe4(RefOf(pHR0), chn0, iint, iirf, Local0)
-
- /*
- * Verify new Integer-IDs through the References of both hierarchies
- * (both point to the same pkg-nodes).
- *
- * mfe1() does reading unconditionally:
- * read: 2 - type of current (read) Integer-IDs
- */
- Or(0, 0x20000, Local0) // type of current (read) Integer-IDs
-SRMT("verify-2-of-pHR0-by-inner-refs")
- mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
-SRMT("verify-2-of-pHR0-by-inner-refs-duplicated-to-pHR1")
- mfe1(pHR1, chn0, iirf, HR00, Local0, iint)
-
-SRMT("rewrite-inner-references-of-pHR0")
-
- /*
- * Rewrite all references present in pkg-nodes of hierarchy pHR0 -
- * take each reference and re-write it back to the same location.
- *
- * re-write references
- */
- mfe4(RefOf(pHR0), chn0, iint, iirf, OP03)
-
- /*
- * Verify Integer-IDs of both instances of hierarchy: nothing should change.
- *
- * mfe1() does reading unconditionally:
- * read: 2 - type of current (read) Integer-IDs
- */
- Or(0, 0x20000, Local0) // type of current (read) Integer-IDs
-SRMT("verify-2-of-pHR0-by-inner-refs")
- mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
-SRMT("verify-2-of-pHR0-by-inner-refs-duplicated-to-pHR1")
- mfe1(pHR1, chn0, iirf, HR00, Local0, iint)
-
- /*
- * ####### Cross references #######
- * ####### #######
- * ####### References to pkg-nodes inside each of two hierarchies #######
- * ####### added with references between those two hierarchies. #######
- */
-
-SRMT("Duplicate-pHR0-to-pHR2")
-
- /*
- * Copy hierarchy to another object
- */
- Store(pHR0, pHR2)
-
-SRMT("gen-inner-refs-to-pkg-nodes-of-pHR2")
-
- /*
- * Generate references to chn0-number elements of all pkg-nodes of pHR2
- * and pack up them per-level into pIR1.
- */
- mfdd(RefOf(pHR2), pIR1, chn0, iint)
-
- /*
- * Put elements of package pIR1 (references) into relevant elements
- * of pkg-nodes of pHR2.
- */
- mfdf(pIR1, RefOf(pHR2), chn0, iirf)
-
- /* ===== Add cross references between two hierarchies, (pHR0 & pHR2) ===== */
-
-SRMT("add-inner-refs-to-pkg-nodes-of-pHR2-into-pHR0")
-
- /*
- * Put references to pkg-nodes of pHR2 into nodes of pHR0.
- */
- mfdf(pIR1, RefOf(pHR0), chn0, icrf)
-
-SRMT("add-inner-refs-to-pkg-nodes-of-pHR0-into-pHR2")
-
- /*
- * Put references to pkg-nodes of pHR0 into nodes of pHR2.
- */
- mfdf(pIR0, RefOf(pHR2), chn0, icrf)
-
- /* Re-write + Verify Integer-IDs */
-
-SRMT("rewrite-3-Integer-IDs-of-pHR2")
- Or(OP01, 0x300000, Local0)
- mfe4(RefOf(pHR2), chn0, iint, iirf, Local0)
-SRMT("verify-3-of-pHR2-by-cross-refs-of-pHR0")
- Or(0, 0x30000, Local0)
- mfe1(pHR0, chn0, icrf, HR00, Local0, iint)
-SRMT("verify-2-of-pHR0-by-cross-refs-of-pHR2")
- Or(0, 0x20000, Local0)
- mfe1(pHR2, chn0, icrf, HR00, Local0, iint)
-SRMT("rewrite-4-Integer-IDs-of-pHR0")
- Or(OP01, 0x400000, Local0)
- mfe4(RefOf(pHR0), chn0, iint, iirf, Local0)
-SRMT("verify-4-of-pHR0-by-cross-refs-of-pHR2")
- Or(0, 0x40000, Local0)
- mfe1(pHR2, chn0, icrf, HR00, Local0, iint)
-
- /* Re-write pkg-nodes + Verify */
-
-SRMT("rewrite-pkg-nodes-of-pHR0")
- mfe4(RefOf(pHR0), chn0, iint, icrf, OP02)
-SRMT("rewrite-pkg-nodes-of-pHR2")
- mfe4(RefOf(pHR2), chn0, iint, icrf, OP02)
-SRMT("verify-3-of-pHR2-by-cross-refs-of-pHR0")
- Or(0, 0x30000, Local0)
- mfe1(pHR0, chn0, icrf, HR00, Local0, iint)
-SRMT("verify-4-of-pHR0-by-cross-refs-of-pHR2")
- Or(0, 0x40000, Local0)
- mfe1(pHR2, chn0, icrf, HR00, Local0, iint)
-
- /* Re-write inner references + Verify */
- /* Re-write cross references + Verify */
-
-SRMT("rewrite-inner-references-of-pHR0")
- mfe4(RefOf(pHR0), chn0, iint, iirf, OP03)
-SRMT("rewrite-inner-references-of-pHR2")
- mfe4(RefOf(pHR2), chn0, iint, iirf, OP03)
-SRMT("rewrite-cross-references-of-pHR0")
- mfe4(RefOf(pHR0), chn0, iint, icrf, OP03)
-SRMT("rewrite-cross-references-of-pHR2")
- mfe4(RefOf(pHR2), chn0, iint, icrf, OP03)
-
-SRMT("verify-3-of-pHR2-by-cross-refs-of-pHR0")
- Or(0, 0x30000, Local0)
- mfe1(pHR0, chn0, icrf, HR00, Local0, iint)
-SRMT("verify-4-of-pHR0-by-cross-refs-of-pHR2")
- Or(0, 0x40000, Local0)
- mfe1(pHR2, chn0, icrf, HR00, Local0, iint)
-}
-
-Method(mfdb)
-{
- CH03("", 0, 0x200, 0, 0)
- mfdc()
- CH03("", 0, 0x202, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Hierarchy of Packages
+ *
+ * It is a 4-level (not including the root Package-node) hierarchy
+ * of Packages. Each package (pkg-node), including the root Package,
+ * has 4 Packages which (not including Package-nodes of the last
+ * 3-th level) in turn has 4 children.
+ * Generate and put into each pkg-node references to all other
+ * pkg-nodes. Then go round all the pkg-nodes and verify read-access
+ * through all the references packed into each of those nodes.
+ *
+ * 0x22 Outstanding allocations because of
+ * AcpiExec doesn't run the unload of the table have been processed.
+ * All they are caused by call to SRMT Method.
+ *
+ * Outstanding: 0x22 allocations after execution.
+ *
+ * chn0 - set it to either 1 or 2:
+ * Name(chn0, 1) // number of children of pkg-node to be actually processed (1,2,3,4)
+ */
+
+/*
+ * Bit-maps of operations
+ */
+Name(OP00, 0x01) // read and verify Integer-IDs
+Name(OP01, 0x02) // re-write Integer-IDs
+Name(OP02, 0x04) // re-write the whole pkg-nodes
+Name(OP03, 0x08) // re-write references
+Name(OPFF, 0x0F) // mask of opcode of operation
+Name(OP10, 0x0f0000) // type of current (read) Integer-IDs
+Name(OP11, 0x0f00000) // type of new (re-write) Integer-IDs
+
+/*
+ * Generate references to arg2-number elements of all pkg-nodes
+ * of arg0 and pack up them per-level into arg1.
+ *
+ * arg0 - reference to (Package,pHR0), IRefs to arg2 elements of Pkg-nodes of pHR0
+ * arg1 - (Package,pIRx), are to be stored into elements of pIRx (from 0).
+ * arg2 - number of children of pkg-node to be actually processed
+ * arg3 - index of elements of pkg-nodes of arg0 to be pointed to by ref
+ */
+Method(mfdd, 4, Serialized)
+{
+ Name(ind0, 0) // cur index of element of arg1-Package where to store ref
+ Name(ind1, 0)
+ Name(ind2, 0)
+ Name(ind3, 0)
+
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+ Name(lpN1, 0)
+ Name(lpC1, 0)
+ Name(lpN2, 0)
+ Name(lpC2, 0)
+ Name(lpN3, 0)
+ Name(lpC3, 0)
+
+ Store(arg2, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Store(Index(DerefOf(arg0), lpC0), Index(DerefOf(Index(arg1, 0)), ind0))
+
+ Store(arg2, lpN1)
+ Store(0, lpC1)
+ While (lpN1) {
+
+ Store(Index(DerefOf(Index(DerefOf(arg0), lpC0)), lpC1), Index(DerefOf(Index(arg1, 1)), ind1))
+
+ Store(arg2, lpN2)
+ Store(0, lpC2)
+ While (lpN2) {
+
+ Store(Index(DerefOf(Index(DerefOf(Index(DerefOf(arg0), lpC0)), lpC1)), lpC2), Index(DerefOf(Index(arg1, 2)), ind2))
+
+ Store(arg2, lpN3)
+ Store(0, lpC3)
+ While (lpN3) {
+
+ Store(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(arg0), lpC0)), lpC1)), lpC2)), lpC3), Index(DerefOf(Index(arg1, 3)), ind3))
+
+ Increment(ind3)
+ Decrement(lpN3)
+ Increment(lpC3)
+ }
+ Increment(ind2)
+ Decrement(lpN2)
+ Increment(lpC2)
+ }
+ Increment(ind1)
+ Decrement(lpN1)
+ Increment(lpC1)
+ }
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Put reference arg3 into arg2-th elements of all Pkg-nodes of pHR0 Package
+ *
+ * arg0 - reference to Package,pHR0
+ * arg1 - number of children of pkg-node to be actually processed
+ * arg2 - index in arg0-pkg-nodes where to store reference
+ * arg3 - reference
+ */
+Method(mfde, 4, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+ Name(lpN1, 0)
+ Name(lpC1, 0)
+ Name(lpN2, 0)
+ Name(lpC2, 0)
+ Name(lpN3, 0)
+ Name(lpC3, 0)
+
+
+ Store(arg1, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(DerefOf(arg0), lpC0, Local0)
+ Store(arg3, Index(DerefOf(Local0), arg2))
+
+ Store(arg1, lpN1)
+ Store(0, lpC1)
+ While (lpN1) {
+
+ Index(DerefOf(arg0), lpC0, Local0)
+ Store(arg3, Index(DerefOf(Index(DerefOf(Local0), lpC1)), arg2))
+
+ Store(arg1, lpN2)
+ Store(0, lpC2)
+ While (lpN2) {
+
+ Index(DerefOf(arg0), lpC0, Local0)
+ Store(arg3, Index(DerefOf(Index(DerefOf(Index(DerefOf(Local0), lpC1)), lpC2)), arg2))
+
+ Store(arg1, lpN3)
+ Store(0, lpC3)
+ While (lpN3) {
+
+ Index(DerefOf(arg0), lpC0, Local0)
+ Store(arg3, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Local0), lpC1)), lpC2)), lpC3)), arg2))
+
+ Decrement(lpN3)
+ Increment(lpC3)
+ }
+ Decrement(lpN2)
+ Increment(lpC2)
+ }
+ Decrement(lpN1)
+ Increment(lpC1)
+ }
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Put elements of package arg0 (references) into elements of arg1
+ *
+ * arg0 - pIRx-Package (references)
+ * arg1 - reference to pHRx-Package (hierarchy) - where to put references
+ * arg2 - number of children of pkg-node to be actually processed
+ * arg3 - start index in arg1 where to store references
+ */
+Method(mfdf, 4, Serialized)
+{
+ Name(ind0, 0)
+ Name(num, 0)
+
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Name(pp00, Package(1) {})
+ Name(pp01, Package(1) {})
+
+
+ Store(arg2, num)
+
+ /* Level 0 */
+
+ Store(Index(arg0, 0), Local0)
+ Store(DerefOf(Local0), pp00)
+
+ Store(arg3, ind0)
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(pp00, lpC0, Local0)
+ Store(DerefOf(Local0), Local1)
+
+ mfde(arg1, arg2, ind0, Local1)
+
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ /* Level 1 */
+
+ Store(Index(arg0, 1), Local0)
+ Store(DerefOf(Local0), pp00)
+
+ Multiply(num, arg2, num)
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(pp00, lpC0, Local0)
+ Store(DerefOf(Local0), Local1)
+
+ mfde(arg1, arg2, ind0, Local1)
+
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ /* Level 2 */
+
+ Store(Index(arg0, 2), Local0)
+ Store(DerefOf(Local0), pp00)
+
+ Multiply(num, arg2, num)
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(pp00, lpC0, Local0)
+ Store(DerefOf(Local0), Local1)
+
+ mfde(arg1, arg2, ind0, Local1)
+
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ /* Level 3 */
+
+ Store(Index(arg0, 3), Local0)
+ Store(DerefOf(Local0), pp00)
+
+ Multiply(num, arg2, num)
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(pp00, lpC0, Local0)
+ Store(DerefOf(Local0), Local1)
+
+ mfde(arg1, arg2, ind0, Local1)
+
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Generate the benchmark value of Integer-ID and
+ * verify by it the actual value of Integer-ID.
+ *
+ * arg0 - coefficient of maximal hierarchy of Packages
+ * arg1 - number of children of pkg-node to be actually processed
+ * arg2 - level + index inside level of source pkg-node
+ * arg3 - level + index inside level of target pkg-node
+ * arg4 - the value of Integer-ID
+ * arg5 - bit-map of operations
+ */
+Method(mfe2, 6, Serialized)
+{
+ /* Index */
+
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Name(lls0, 0) // level of source pkg-node
+ Name(ins0, 0) // index inside level of source pkg-node
+ Name(llt0, 0) // level of target pkg-node
+ Name(int0, 0) // index inside level of target pkg-node
+
+ Store(0, Local7)
+
+ And(arg2, 0x0ffff, ins0)
+ ShiftRight(arg2, 16, Local0)
+ And(Local0, 0x0ffff, lls0)
+
+ And(arg3, 0x0ffff, int0)
+ ShiftRight(arg3, 16, Local0)
+ And(Local0, 0x0ffff, llt0)
+
+ And(int0, 0x0ffff, Local2)
+
+ if (llt0) {
+
+ /*
+ * ASSUMPTION: 256 on 3-th level is maximum
+ * for this model of packages
+ */
+ Divide(Local2, 8, Local0, Local1)
+ Multiply(Local1, 64, Local5)
+
+ Divide(Local0, 4, Local0, Local1)
+ Multiply(Local1, 16, Local6)
+ Add(Local5, Local6, Local5)
+
+ Divide(Local0, 2, Local0, Local1)
+ Multiply(Local1, 4, Local6)
+ Add(Local5, Local6, Local5)
+
+ Add(Local5, Local0, Local5)
+ } else {
+ Store(Local2, Local5)
+ }
+
+ Or(0xab000000, Local5, Local3)
+
+ /* Level */
+
+ And(llt0, 0x0f, Local0)
+ ShiftLeft(Local0, 16, Local1)
+ Or(Local1, Local3, Local0)
+
+ Store(mfe3(Local0, arg5, 0), Local1)
+
+ if (LNotEqual(arg4, Local1)) {
+ Store(1, Local7)
+ err("", zFFF, 0x201, 0, 0, arg4, Local1)
+ Store("================= Params:", debug)
+ Store(arg0, Debug)
+ Store(arg1, Debug)
+ Store(arg2, Debug)
+ Store(arg3, Debug)
+ Store(arg4, Debug)
+ Store(arg5, Debug)
+ Store(lls0, Debug)
+ Store(ins0, Debug)
+ Store(llt0, Debug)
+ Store(int0, Debug)
+ Store("=================.", debug)
+ }
+
+ return (Local7)
+}
+
+/*
+ * Modify Integer-ID
+ *
+ * arg0 - the value of Integer-ID
+ * arg1 - bit-map of operations
+ * arg2 - 0 - for read, 1 - for re-write
+ */
+Method(mfe3, 3)
+{
+ And(arg0, 0xff0fffff, Local0)
+ if (arg2) {
+ And(arg1, OP11, Local1)
+ } else {
+ And(arg1, OP10, Local2)
+ ShiftLeft(Local2, 4, Local1)
+ }
+ Or(Local0, Local1, Local7)
+
+ return (Local7)
+}
+
+/*
+ * Verify the value of Integer-ID of pkg-node
+ *
+ * arg0 - pkg-node Package of pHRx-Package
+ * arg1 - coefficient of maximal hierarchy of Packages
+ * arg2 - number of children of pkg-node to be actually processed
+ * arg3 - start index of location of references in pkg-nodes
+ * arg4 - level of arg0 + index inside level of arg0
+ * arg5 - bit-map of operations
+ * arg6 - index of Integer-ID in pkg-nodes
+ */
+Method(mfe0, 7, Serialized)
+{
+ Name(ind0, 0)
+ Name(num, 0)
+
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Store(arg2, num)
+
+ /* Level 0 */
+
+ Store(arg3, ind0)
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(arg0, ind0, Local0) // IRef to some ref of pkg-node
+ Store(DerefOf(Local0), Local1) // reference
+ Store(DerefOf(Local1), Local2) // another pkg-node referred to
+ Store(DerefOf(Index(Local2, arg6)), Local3) // Integer-ID
+
+ mfe2(arg1, arg2, arg4, lpC0, Local3, arg5)
+
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ /* Level 1 */
+
+ Multiply(num, arg2, num)
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(arg0, ind0, Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(DerefOf(Local1), Local2)
+ Store(DerefOf(Index(Local2, arg6)), Local3)
+
+ Or(0x10000, lpC0, Local7)
+
+ mfe2(arg1, arg2, arg4, Local7, Local3, arg5)
+
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ /* Level 2 */
+
+ Multiply(num, arg2, num)
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(arg0, ind0, Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(DerefOf(Local1), Local2)
+ Store(DerefOf(Index(Local2, arg6)), Local3)
+
+ Or(0x20000, lpC0, Local7)
+
+ mfe2(arg1, arg2, arg4, Local7, Local3, arg5)
+
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ /* Level 3 */
+
+ Multiply(num, arg2, num)
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(arg0, ind0, Local0)
+ Store(DerefOf(Local0), Local1)
+ Store(DerefOf(Local1), Local2)
+ Store(DerefOf(Index(Local2, arg6)), Local3)
+
+ Or(0x30000, lpC0, Local7)
+
+ mfe2(arg1, arg2, arg4, Local7, Local3, arg5)
+
+ Increment(ind0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Verify the contents of pHRx-Package (Integer-IDs) by read access
+ * through References packed into all pkg-nodes.
+ *
+ * arg0 - pHRx-Package (hierarchy), fully initialized
+ * arg1 - number of children of pkg-node to be actually processed
+ * arg2 - start index of location of references in arg0-pkg-nodes
+ * arg3 - coefficient of maximal hierarchy of Packages
+ * arg4 - bit-map of operations
+ * arg5 - index of Integer-ID in pkg-nodes
+ */
+Method(mfe1, 6, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+ Name(lpN1, 0)
+ Name(lpC1, 0)
+ Name(lpN2, 0)
+ Name(lpC2, 0)
+ Name(lpN3, 0)
+ Name(lpC3, 0)
+
+ Name(pkg0, Package(1) {})
+ Name(pkg1, Package(1) {})
+ Name(pkg2, Package(1) {})
+ Name(pkg3, Package(1) {})
+
+ Store(arg1, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(arg0, lpC0, Local0)
+ CopyObject(DerefOf(Local0), pkg0)
+
+ mfe0(pkg0, arg3, arg1, arg2, lpC0, arg4, arg5)
+ Store(arg1, lpN1)
+ Store(0, lpC1)
+ While (lpN1) {
+
+ Index(pkg0, lpC1, Local1)
+ CopyObject(DerefOf(Local1), pkg1)
+ Or(0x10000, lpC1, Local7)
+ mfe0(pkg1, arg3, arg1, arg2, Local7, arg4, arg5)
+
+ Store(arg1, lpN2)
+ Store(0, lpC2)
+ While (lpN2) {
+
+ Index(pkg1, lpC2, Local2)
+ CopyObject(DerefOf(Local2), pkg2)
+ Or(0x20000, lpC2, Local7)
+ mfe0(pkg2, arg3, arg1, arg2, Local7, arg4, arg5)
+ Store(arg1, lpN3)
+ Store(0, lpC3)
+ While (lpN3) {
+
+ Index(pkg2, lpC3, Local3)
+ CopyObject(DerefOf(Local3), pkg3)
+ Or(0x30000, lpC3, Local7)
+ mfe0(pkg3, arg3, arg1, arg2, Local7, arg4, arg5)
+
+ Decrement(lpN3)
+ Increment(lpC3)
+ }
+ Decrement(lpN2)
+ Increment(lpC2)
+ }
+ Decrement(lpN1)
+ Increment(lpC1)
+ }
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Rewrite Integer-IDs for all pkg-nodes of hierarchy -
+ * read previous value generate new and write back to pkg-node.
+ *
+ * arg0 - reference to Package,pHR0
+ * arg1 - number of children of pkg-node to be actually processed
+ * arg2 - index of Integer-ID in pkg-nodes
+ * arg3 - start index of location of references in pkg-nodes
+ * arg4 - bit-map of operations
+ */
+Method(mfe4, 5, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+ Name(lpN1, 0)
+ Name(lpC1, 0)
+ Name(lpN2, 0)
+ Name(lpC2, 0)
+ Name(lpN3, 0)
+ Name(lpC3, 0)
+
+ Name(lpN4, 0)
+ Name(lpC4, 0)
+
+ Name(nds0, 0) // number of pkg-nodes actually processed
+ Name(iRF0, 0) // current index of element with reference
+
+ Name(op00, 0)
+ Name(wrID, 0)
+ Name(wrPK, 0)
+ Name(wrRF, 0)
+
+ Name(pkg0, Package(1) {})
+ Name(pkg, Package(1) {})
+
+ And(arg4, OPFF, op00)
+
+ Switch (ToInteger (op00)) {
+ Case (0x02) {
+ /* re-write Integer-IDs */
+ Store(1, wrID)
+ }
+ Case (0x04) {
+ /* re-write pkg-nodes */
+ Store(1, wrPK)
+ }
+ Case (0x08) {
+ /* re-write references */
+ Store(mfe5(arg1), nds0)
+ Store(1, wrRF)
+ }
+ Default {
+ return
+ }}
+
+ Store(arg1, lpN0)
+ Store(0, lpC0)
+ While (lpN0) {
+
+ Index(DerefOf(arg0), lpC0, pkg0) // lpC0-th pkg-node of 0 level
+
+ if (wrID) {
+ Store(DerefOf(Index(DerefOf(pkg0), arg2)), Local7) // Integer-ID
+ Store(mfe3(Local7, arg4, 1), Local6)
+ Store(Local6, Index(DerefOf(pkg0), arg2))
+ } elseif (wrRF) {
+ Store(nds0, lpN4)
+ Store(0, lpC4)
+ Store(arg3, iRF0)
+ While (lpN4) {
+ Store(DerefOf(Index(DerefOf(pkg0), iRF0)), Local7) // reference
+ Store(Local7, Index(DerefOf(pkg0), iRF0))
+ Increment(iRF0)
+ Decrement(lpN4)
+ Increment(lpC4)
+ }
+ }
+
+ Store(arg1, lpN1)
+ Store(0, lpC1)
+ While (lpN1) {
+
+ if (wrID) {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), arg2)), Local7)
+ Store(mfe3(Local7, arg4, 1), Local6)
+ Store(Local6, Index(DerefOf(Index(DerefOf(pkg0), lpC1)), arg2))
+ } elseif (wrRF) {
+ Store(nds0, lpN4)
+ Store(0, lpC4)
+ Store(arg3, iRF0)
+ While (lpN4) {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), iRF0)), Local7)
+ Store(Local7, Index(DerefOf(Index(DerefOf(pkg0), lpC1)), iRF0))
+ Store(Local7, Index(DerefOf(Index(DerefOf(pkg0), lpC1)), iRF0))
+ Increment(iRF0)
+ Decrement(lpN4)
+ Increment(lpC4)
+ }
+ }
+
+ Store(arg1, lpN2)
+ Store(0, lpC2)
+ While (lpN2) {
+
+ if (wrID) {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), arg2)), Local7)
+ Store(mfe3(Local7, arg4, 1), Local6)
+ Store(Local6, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), arg2))
+ } elseif (wrRF) {
+ Store(nds0, lpN4)
+ Store(0, lpC4)
+ Store(arg3, iRF0)
+ While (lpN4) {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), iRF0)), Local7)
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), iRF0))
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), iRF0))
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), iRF0))
+ Increment(iRF0)
+ Decrement(lpN4)
+ Increment(lpC4)
+ }
+ }
+
+ Store(arg1, lpN3)
+ Store(0, lpC3)
+ While (lpN3) {
+
+ if (wrID) {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), arg2)), Local7)
+ Store(mfe3(Local7, arg4, 1), Local6)
+ Store(Local6, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), arg2))
+ } elseif (wrPK) {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), pkg)
+ if (LEqual(lpC3, 1)) {
+ Store(pkg, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3))
+ Store(pkg, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3))
+ Store(pkg, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3))
+ } else {
+ Store(pkg, Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3))
+ }
+ } elseif (wrRF) {
+ Store(nds0, lpN4)
+ Store(0, lpC4)
+ Store(arg3, iRF0)
+ While (lpN4) {
+ Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0)), Local7)
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0))
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0))
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0))
+ Store(Local7, Index(DerefOf(Index(DerefOf(Index(DerefOf(Index(DerefOf(pkg0), lpC1)), lpC2)), lpC3)), iRF0))
+ Increment(iRF0)
+ Decrement(lpN4)
+ Increment(lpC4)
+ }
+ }
+
+ Decrement(lpN3)
+ Increment(lpC3)
+ }
+ Decrement(lpN2)
+ Increment(lpC2)
+ }
+ Decrement(lpN1)
+ Increment(lpC1)
+ }
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+}
+
+/*
+ * Return number of pkg-nodes actually processed.
+ *
+ * arg0 - number of children of pkg-node to be actually processed
+ */
+Method(mfe5, 1)
+{
+ Store(arg0, Local0)
+ Multiply(Local0, arg0, Local1)
+ Multiply(Local1, arg0, Local2)
+ Multiply(Local2, arg0, Local3)
+
+ Add(Local0, Local1, Local4)
+ Add(Local2, Local3, Local5)
+
+ Add(Local4, Local5, Local7)
+
+ return (Local7)
+}
+
+/*
+ * Static hierarchy of Packages (maximal):
+ *
+ * 1. Levels: root + 4
+ * 2. Pkg-node: 4 children-Packages
+ * 3. Integer-ID: reflects level (0-3) and index inside level of pkg-node
+ * 4. References: (4+16+64+256) == 340 maximum
+ * 5 Total == 4 (Pkg-nodes)
+ * + 1 (Integer-ID)
+ * + 340 (References to inner nodes)
+ * + 340 (References to nodes of another hierarchy)
+ * ===
+ * 685
+ */
+Method(mfdc,, Serialized)
+{
+ Name(pr00, 0)
+
+ /*
+ * Coefficient of maximal hierarchy of Packages
+ * represented by this model.
+ */
+ Name(HR00, 4)
+
+ Name(iint, 4) // index of Integer-ID in pkg-nodes
+ Name(iirf, 0) // start index of location of INTERNAL-references in pkg-nodes
+ Name(icrf, 345) // start index of location of CROSS-references in pkg-nodes
+ Name(sz, 685) // full size of Package
+ Name(chn0, 1) // number of children of pkg-node to be actually processed (1,2,3,4)
+
+ /* Package of hierarchy */
+
+ Name(pHR0, Package(sz) {
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030000,
+ },
+ Package(sz) {0,1,2,3, 0xab030001,
+ },
+ Package(sz) {0,1,2,3, 0xab030002,
+ },
+ Package(sz) {0,1,2,3, 0xab030003,
+ },
+ 0xab020000
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030004,
+ },
+ Package(sz) {0,1,2,3, 0xab030005,
+ },
+ Package(sz) {0,1,2,3, 0xab030006,
+ },
+ Package(sz) {0,1,2,3, 0xab030007,
+ },
+ 0xab020001
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030008,
+ },
+ Package(sz) {0,1,2,3, 0xab030009,
+ },
+ Package(sz) {0,1,2,3, 0xab03000a,
+ },
+ Package(sz) {0,1,2,3, 0xab03000b,
+ },
+ 0xab020002
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03000c,
+ },
+ Package(sz) {0,1,2,3, 0xab03000d,
+ },
+ Package(sz) {0,1,2,3, 0xab03000e,
+ },
+ Package(sz) {0,1,2,3, 0xab03000f,
+ },
+ 0xab020003
+ },
+ 0xab010000
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030010,
+ },
+ Package(sz) {0,1,2,3, 0xab030011,
+ },
+ Package(sz) {0,1,2,3, 0xab030012,
+ },
+ Package(sz) {0,1,2,3, 0xab030013,
+ },
+ 0xab020004
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030014,
+ },
+ Package(sz) {0,1,2,3, 0xab030015,
+ },
+ Package(sz) {0,1,2,3, 0xab030016,
+ },
+ Package(sz) {0,1,2,3, 0xab030017,
+ },
+ 0xab020005
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030018,
+ },
+ Package(sz) {0,1,2,3, 0xab030019,
+ },
+ Package(sz) {0,1,2,3, 0xab03001a,
+ },
+ Package(sz) {0,1,2,3, 0xab03001b,
+ },
+ 0xab020006
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03001c,
+ },
+ Package(sz) {0,1,2,3, 0xab03001d,
+ },
+ Package(sz) {0,1,2,3, 0xab03001e,
+ },
+ Package(sz) {0,1,2,3, 0xab03001f,
+ },
+ 0xab020007
+ },
+ 0xab010001
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030020,
+ },
+ Package(sz) {0,1,2,3, 0xab030021,
+ },
+ Package(sz) {0,1,2,3, 0xab030022,
+ },
+ Package(sz) {0,1,2,3, 0xab030023,
+ },
+ 0xab020008
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030024,
+ },
+ Package(sz) {0,1,2,3, 0xab030025,
+ },
+ Package(sz) {0,1,2,3, 0xab030026,
+ },
+ Package(sz) {0,1,2,3, 0xab030027,
+ },
+ 0xab020009
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030028,
+ },
+ Package(sz) {0,1,2,3, 0xab030029,
+ },
+ Package(sz) {0,1,2,3, 0xab03002a,
+ },
+ Package(sz) {0,1,2,3, 0xab03002b,
+ },
+ 0xab02000a
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03002c,
+ },
+ Package(sz) {0,1,2,3, 0xab03002d,
+ },
+ Package(sz) {0,1,2,3, 0xab03002e,
+ },
+ Package(sz) {0,1,2,3, 0xab03002f,
+ },
+ 0xab02000b
+ },
+ 0xab010002
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030030,
+ },
+ Package(sz) {0,1,2,3, 0xab030031,
+ },
+ Package(sz) {0,1,2,3, 0xab030032,
+ },
+ Package(sz) {0,1,2,3, 0xab030033,
+ },
+ 0xab02000c
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030034,
+ },
+ Package(sz) {0,1,2,3, 0xab030035,
+ },
+ Package(sz) {0,1,2,3, 0xab030036,
+ },
+ Package(sz) {0,1,2,3, 0xab030037,
+ },
+ 0xab02000d
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030038,
+ },
+ Package(sz) {0,1,2,3, 0xab030039,
+ },
+ Package(sz) {0,1,2,3, 0xab03003a,
+ },
+ Package(sz) {0,1,2,3, 0xab03003b,
+ },
+ 0xab02000e
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03003c,
+ },
+ Package(sz) {0,1,2,3, 0xab03003d,
+ },
+ Package(sz) {0,1,2,3, 0xab03003e,
+ },
+ Package(sz) {0,1,2,3, 0xab03003f,
+ },
+ 0xab02000f
+ },
+ 0xab010003
+ },
+ 0xab000000
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030040,
+ },
+ Package(sz) {0,1,2,3, 0xab030041,
+ },
+ Package(sz) {0,1,2,3, 0xab030042,
+ },
+ Package(sz) {0,1,2,3, 0xab030043,
+ },
+ 0xab020010
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030044,
+ },
+ Package(sz) {0,1,2,3, 0xab030045,
+ },
+ Package(sz) {0,1,2,3, 0xab030046,
+ },
+ Package(sz) {0,1,2,3, 0xab030047,
+ },
+ 0xab020011
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030048,
+ },
+ Package(sz) {0,1,2,3, 0xab030049,
+ },
+ Package(sz) {0,1,2,3, 0xab03004a,
+ },
+ Package(sz) {0,1,2,3, 0xab03004b,
+ },
+ 0xab020012
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03004c,
+ },
+ Package(sz) {0,1,2,3, 0xab03004d,
+ },
+ Package(sz) {0,1,2,3, 0xab03004e,
+ },
+ Package(sz) {0,1,2,3, 0xab03004f,
+ },
+ 0xab020013
+ },
+ 0xab010004
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030050,
+ },
+ Package(sz) {0,1,2,3, 0xab030051,
+ },
+ Package(sz) {0,1,2,3, 0xab030052,
+ },
+ Package(sz) {0,1,2,3, 0xab030053,
+ },
+ 0xab020014
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030054,
+ },
+ Package(sz) {0,1,2,3, 0xab030055,
+ },
+ Package(sz) {0,1,2,3, 0xab030056,
+ },
+ Package(sz) {0,1,2,3, 0xab030057,
+ },
+ 0xab020015
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030058,
+ },
+ Package(sz) {0,1,2,3, 0xab030059,
+ },
+ Package(sz) {0,1,2,3, 0xab03005a,
+ },
+ Package(sz) {0,1,2,3, 0xab03005b,
+ },
+ 0xab020016
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03005c,
+ },
+ Package(sz) {0,1,2,3, 0xab03005d,
+ },
+ Package(sz) {0,1,2,3, 0xab03005e,
+ },
+ Package(sz) {0,1,2,3, 0xab03005f,
+ },
+ 0xab020017
+ },
+ 0xab010005
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030060,
+ },
+ Package(sz) {0,1,2,3, 0xab030061,
+ },
+ Package(sz) {0,1,2,3, 0xab030062,
+ },
+ Package(sz) {0,1,2,3, 0xab030063,
+ },
+ 0xab020018
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030064,
+ },
+ Package(sz) {0,1,2,3, 0xab030065,
+ },
+ Package(sz) {0,1,2,3, 0xab030066,
+ },
+ Package(sz) {0,1,2,3, 0xab030067,
+ },
+ 0xab020019
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030068,
+ },
+ Package(sz) {0,1,2,3, 0xab030069,
+ },
+ Package(sz) {0,1,2,3, 0xab03006a,
+ },
+ Package(sz) {0,1,2,3, 0xab03006b,
+ },
+ 0xab02001a
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03006c,
+ },
+ Package(sz) {0,1,2,3, 0xab03006d,
+ },
+ Package(sz) {0,1,2,3, 0xab03006e,
+ },
+ Package(sz) {0,1,2,3, 0xab03006f,
+ },
+ 0xab02001b
+ },
+ 0xab010006
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030070,
+ },
+ Package(sz) {0,1,2,3, 0xab030071,
+ },
+ Package(sz) {0,1,2,3, 0xab030072,
+ },
+ Package(sz) {0,1,2,3, 0xab030073,
+ },
+ 0xab02001c
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030074,
+ },
+ Package(sz) {0,1,2,3, 0xab030075,
+ },
+ Package(sz) {0,1,2,3, 0xab030076,
+ },
+ Package(sz) {0,1,2,3, 0xab030077,
+ },
+ 0xab02001d
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030078,
+ },
+ Package(sz) {0,1,2,3, 0xab030079,
+ },
+ Package(sz) {0,1,2,3, 0xab03007a,
+ },
+ Package(sz) {0,1,2,3, 0xab03007b,
+ },
+ 0xab02001e
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03007c,
+ },
+ Package(sz) {0,1,2,3, 0xab03007d,
+ },
+ Package(sz) {0,1,2,3, 0xab03007e,
+ },
+ Package(sz) {0,1,2,3, 0xab03007f,
+ },
+ 0xab02001f
+ },
+ 0xab010007
+ },
+ 0xab000001
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030080,
+ },
+ Package(sz) {0,1,2,3, 0xab030081,
+ },
+ Package(sz) {0,1,2,3, 0xab030082,
+ },
+ Package(sz) {0,1,2,3, 0xab030083,
+ },
+ 0xab020020
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030084,
+ },
+ Package(sz) {0,1,2,3, 0xab030085,
+ },
+ Package(sz) {0,1,2,3, 0xab030086,
+ },
+ Package(sz) {0,1,2,3, 0xab030087,
+ },
+ 0xab020021
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030088,
+ },
+ Package(sz) {0,1,2,3, 0xab030089,
+ },
+ Package(sz) {0,1,2,3, 0xab03008a,
+ },
+ Package(sz) {0,1,2,3, 0xab03008b,
+ },
+ 0xab020022
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03008c,
+ },
+ Package(sz) {0,1,2,3, 0xab03008d,
+ },
+ Package(sz) {0,1,2,3, 0xab03008e,
+ },
+ Package(sz) {0,1,2,3, 0xab03008f,
+ },
+ 0xab020023
+ },
+ 0xab010008
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030090,
+ },
+ Package(sz) {0,1,2,3, 0xab030091,
+ },
+ Package(sz) {0,1,2,3, 0xab030092,
+ },
+ Package(sz) {0,1,2,3, 0xab030093,
+ },
+ 0xab020024
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030094,
+ },
+ Package(sz) {0,1,2,3, 0xab030095,
+ },
+ Package(sz) {0,1,2,3, 0xab030096,
+ },
+ Package(sz) {0,1,2,3, 0xab030097,
+ },
+ 0xab020025
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab030098,
+ },
+ Package(sz) {0,1,2,3, 0xab030099,
+ },
+ Package(sz) {0,1,2,3, 0xab03009a,
+ },
+ Package(sz) {0,1,2,3, 0xab03009b,
+ },
+ 0xab020026
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab03009c,
+ },
+ Package(sz) {0,1,2,3, 0xab03009d,
+ },
+ Package(sz) {0,1,2,3, 0xab03009e,
+ },
+ Package(sz) {0,1,2,3, 0xab03009f,
+ },
+ 0xab020027
+ },
+ 0xab010009
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300a0,
+ },
+ Package(sz) {0,1,2,3, 0xab0300a1,
+ },
+ Package(sz) {0,1,2,3, 0xab0300a2,
+ },
+ Package(sz) {0,1,2,3, 0xab0300a3,
+ },
+ 0xab020028
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300a4,
+ },
+ Package(sz) {0,1,2,3, 0xab0300a5,
+ },
+ Package(sz) {0,1,2,3, 0xab0300a6,
+ },
+ Package(sz) {0,1,2,3, 0xab0300a7,
+ },
+ 0xab020029
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300a8,
+ },
+ Package(sz) {0,1,2,3, 0xab0300a9,
+ },
+ Package(sz) {0,1,2,3, 0xab0300aa,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ab,
+ },
+ 0xab02002a
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300ac,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ad,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ae,
+ },
+ Package(sz) {0,1,2,3, 0xab0300af,
+ },
+ 0xab02002b
+ },
+ 0xab01000a
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300b0,
+ },
+ Package(sz) {0,1,2,3, 0xab0300b1,
+ },
+ Package(sz) {0,1,2,3, 0xab0300b2,
+ },
+ Package(sz) {0,1,2,3, 0xab0300b3,
+ },
+ 0xab02002c
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300b4,
+ },
+ Package(sz) {0,1,2,3, 0xab0300b5,
+ },
+ Package(sz) {0,1,2,3, 0xab0300b6,
+ },
+ Package(sz) {0,1,2,3, 0xab0300b7,
+ },
+ 0xab02002d
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300b8,
+ },
+ Package(sz) {0,1,2,3, 0xab0300b9,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ba0,
+ },
+ Package(sz) {0,1,2,3, 0xab0300bb,
+ },
+ 0xab02002e
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300bc,
+ },
+ Package(sz) {0,1,2,3, 0xab0300bd,
+ },
+ Package(sz) {0,1,2,3, 0xab0300be,
+ },
+ Package(sz) {0,1,2,3, 0xab0300bf,
+ },
+ 0xab02002f
+ },
+ 0xab01000b
+ },
+ 0xab000002
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300c0,
+ },
+ Package(sz) {0,1,2,3, 0xab0300c1,
+ },
+ Package(sz) {0,1,2,3, 0xab0300c2,
+ },
+ Package(sz) {0,1,2,3, 0xab0300c3,
+ },
+ 0xab020030
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300c4,
+ },
+ Package(sz) {0,1,2,3, 0xab0300c5,
+ },
+ Package(sz) {0,1,2,3, 0xab0300c6,
+ },
+ Package(sz) {0,1,2,3, 0xab0300c7,
+ },
+ 0xab020031
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300c8,
+ },
+ Package(sz) {0,1,2,3, 0xab0300c9,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ca,
+ },
+ Package(sz) {0,1,2,3, 0xab0300cb,
+ },
+ 0xab020032
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300cc,
+ },
+ Package(sz) {0,1,2,3, 0xab0300cd,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ce,
+ },
+ Package(sz) {0,1,2,3, 0xab0300cf,
+ },
+ 0xab020033
+ },
+ 0xab01000c
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300d0,
+ },
+ Package(sz) {0,1,2,3, 0xab0300d1,
+ },
+ Package(sz) {0,1,2,3, 0xab0300d2,
+ },
+ Package(sz) {0,1,2,3, 0xab0300d3,
+ },
+ 0xab020034
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300d4,
+ },
+ Package(sz) {0,1,2,3, 0xab0300d5,
+ },
+ Package(sz) {0,1,2,3, 0xab0300d6,
+ },
+ Package(sz) {0,1,2,3, 0xab0300d7,
+ },
+ 0xab020035
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300d8,
+ },
+ Package(sz) {0,1,2,3, 0xab0300d9,
+ },
+ Package(sz) {0,1,2,3, 0xab0300da,
+ },
+ Package(sz) {0,1,2,3, 0xab0300db,
+ },
+ 0xab020036
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300dc,
+ },
+ Package(sz) {0,1,2,3, 0xab0300dd,
+ },
+ Package(sz) {0,1,2,3, 0xab0300de,
+ },
+ Package(sz) {0,1,2,3, 0xab0300df,
+ },
+ 0xab020037
+ },
+ 0xab01000d
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300e0,
+ },
+ Package(sz) {0,1,2,3, 0xab0300e1,
+ },
+ Package(sz) {0,1,2,3, 0xab0300e2,
+ },
+ Package(sz) {0,1,2,3, 0xab0300e3,
+ },
+ 0xab020038
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300e4,
+ },
+ Package(sz) {0,1,2,3, 0xab0300e5,
+ },
+ Package(sz) {0,1,2,3, 0xab0300e6,
+ },
+ Package(sz) {0,1,2,3, 0xab0300e7,
+ },
+ 0xab020039
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300e8,
+ },
+ Package(sz) {0,1,2,3, 0xab0300e9,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ea,
+ },
+ Package(sz) {0,1,2,3, 0xab0300eb,
+ },
+ 0xab02003a
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300ec,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ed,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ee,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ef,
+ },
+ 0xab02003b
+ },
+ 0xab01000e
+ },
+ Package(sz) {
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300f0,
+ },
+ Package(sz) {0,1,2,3, 0xab0300f1,
+ },
+ Package(sz) {0,1,2,3, 0xab0300f2,
+ },
+ Package(sz) {0,1,2,3, 0xab0300f3,
+ },
+ 0xab02003c
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300f4,
+ },
+ Package(sz) {0,1,2,3, 0xab0300f5,
+ },
+ Package(sz) {0,1,2,3, 0xab0300f6,
+ },
+ Package(sz) {0,1,2,3, 0xab0300f7,
+ },
+ 0xab02003d
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300f8,
+ },
+ Package(sz) {0,1,2,3, 0xab0300f9,
+ },
+ Package(sz) {0,1,2,3, 0xab0300fa,
+ },
+ Package(sz) {0,1,2,3, 0xab0300fb,
+ },
+ 0xab02003e
+ },
+ Package(sz) {
+ Package(sz) {0,1,2,3, 0xab0300fc,
+ },
+ Package(sz) {0,1,2,3, 0xab0300fd,
+ },
+ Package(sz) {0,1,2,3, 0xab0300fe,
+ },
+ Package(sz) {0,1,2,3, 0xab0300ff,
+ },
+ 0xab02003f
+ },
+ 0xab01000f
+ },
+ 0xab000003
+ },
+ 0xabababab
+ })
+
+ Name(pIR0, Package(4) {
+ Package(4) {},
+ Package(16) {},
+ Package(64) {},
+ Package(256) {}
+ })
+ Name(pIR1, Package(4) {
+ Package(4) {},
+ Package(16) {},
+ Package(64) {},
+ Package(256) {}
+ })
+
+ Name(pHR1, Package(1) {})
+ Name(pHR2, Package(1) {})
+
+ Add(iint, 1, iirf)
+
+ Concatenate("chn0 of model is equal to ", chn0, Debug)
+
+ /*
+ * ########## References to pkg-nodes inside one hierarchy ##########
+ */
+
+SRMT("gen-inner-refs-to-pkg-nodes-of-pHR0")
+
+ /*
+ * Generate references to chn0-number elements of all pkg-nodes of pHR0
+ * and pack up them per-level into pIR0.
+ */
+ mfdd(RefOf(pHR0), pIR0, chn0, iint)
+
+ /*
+ * Put elements of package pIR0 (references) into relevant elements
+ * of pkg-nodes of pHR0.
+ */
+ mfdf(pIR0, RefOf(pHR0), chn0, iirf)
+
+SRMT("verify-0-of-pHR0-by-inner-refs")
+
+ /*
+ * Verify the contents of pHR0 (Integer-IDs of pkg-nodes)
+ * by read access through References packed into all its pkg-nodes.
+ *
+ * mfe1() does reading unconditionally:
+ * read: 0 - type of current (read) Integer-IDs
+ */
+ mfe1(pHR0, chn0, iirf, HR00, 0, iint)
+
+SRMT("rewrite-1-Integer-IDs-of-pHR0")
+
+ /*
+ * Rewrite Integer-IDs for all pkg-nodes of hierarchy (pHR0) -
+ * read previous value, generate new and write back to pkg-node.
+ *
+ * re-write I-ID: 1 - type of new (re-write) Integer-IDs
+ */
+ Or(OP01, 0x100000, Local0) // re-write I-ID + type of new (re-write) Integer-IDs
+ mfe4(RefOf(pHR0), chn0, iint, iirf, Local0)
+
+SRMT("verify-1-of-pHR0-by-inner-refs")
+
+ /*
+ * Verify the new Integer-IDs of hierarchy.
+ *
+ * mfe1() does reading unconditionally:
+ * read: 1 - type of current (read) Integer-IDs
+ */
+ Or(0, 0x10000, Local0) // type of current (read) Integer-IDs
+ mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
+
+SRMT("rewrite-pkg-nodes-of-pHR0")
+
+ /*
+ * Rewrite the whole pkg-nodes of hierarchy -
+ * take each pkg-node and re-write it back to the same location.
+ *
+ * re-write pkg-nodes
+ */
+ mfe4(RefOf(pHR0), chn0, iint, iirf, OP02)
+
+SRMT("verify-1-of-pHR0-by-inner-refs")
+
+ /*
+ * Verify Integer-IDs of hierarchy: nothing should change.
+ *
+ * mfe1() does reading unconditionally:
+ * read: 1 - type of current (read) Integer-IDs
+ */
+ Or(0, 0x10000, Local0) // type of current (read) Integer-IDs
+ mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
+
+ /*
+ * ############# Duplicate of hierarchy #############
+ */
+
+SRMT("Duplicate-pHR0-to-pHR1")
+
+ /*
+ * Copy hierarchy to another object
+ */
+ Store(pHR0, pHR1)
+
+ /*
+ * Verify Integer-IDs of both instances of hierarchy:
+ * nothing should change. References of both hierarchies
+ * point to the same pkg-nodes, so, Integer-IDs should
+ * be the same.
+ *
+ * mfe1() does reading unconditionally:
+ * read: 1 - type of current (read) Integer-IDs
+ */
+ Or(0, 0x10000, Local0) // type of current (read) Integer-IDs
+SRMT("verify-1-of-pHR0-by-inner-refs")
+ mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
+SRMT("verify-1-of-pHR0-by-inner-refs-duplicated-to-pHR1")
+ mfe1(pHR1, chn0, iirf, HR00, Local0, iint)
+
+
+SRMT("rewrite-2-Integer-IDs-of-pHR0")
+
+ /*
+ * Rewrite Integer-IDs for all pkg-nodes of source hierarchy.
+ *
+ * re-write I-ID: 2 - type of new (re-write) Integer-IDs
+ */
+ Or(OP01, 0x200000, Local0) // re-write I-ID + type of new (re-write) Integer-IDs
+ mfe4(RefOf(pHR0), chn0, iint, iirf, Local0)
+
+ /*
+ * Verify new Integer-IDs through the References of both hierarchies
+ * (both point to the same pkg-nodes).
+ *
+ * mfe1() does reading unconditionally:
+ * read: 2 - type of current (read) Integer-IDs
+ */
+ Or(0, 0x20000, Local0) // type of current (read) Integer-IDs
+SRMT("verify-2-of-pHR0-by-inner-refs")
+ mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
+SRMT("verify-2-of-pHR0-by-inner-refs-duplicated-to-pHR1")
+ mfe1(pHR1, chn0, iirf, HR00, Local0, iint)
+
+SRMT("rewrite-inner-references-of-pHR0")
+
+ /*
+ * Rewrite all references present in pkg-nodes of hierarchy pHR0 -
+ * take each reference and re-write it back to the same location.
+ *
+ * re-write references
+ */
+ mfe4(RefOf(pHR0), chn0, iint, iirf, OP03)
+
+ /*
+ * Verify Integer-IDs of both instances of hierarchy: nothing should change.
+ *
+ * mfe1() does reading unconditionally:
+ * read: 2 - type of current (read) Integer-IDs
+ */
+ Or(0, 0x20000, Local0) // type of current (read) Integer-IDs
+SRMT("verify-2-of-pHR0-by-inner-refs")
+ mfe1(pHR0, chn0, iirf, HR00, Local0, iint)
+SRMT("verify-2-of-pHR0-by-inner-refs-duplicated-to-pHR1")
+ mfe1(pHR1, chn0, iirf, HR00, Local0, iint)
+
+ /*
+ * ####### Cross references #######
+ * ####### #######
+ * ####### References to pkg-nodes inside each of two hierarchies #######
+ * ####### added with references between those two hierarchies. #######
+ */
+
+SRMT("Duplicate-pHR0-to-pHR2")
+
+ /*
+ * Copy hierarchy to another object
+ */
+ Store(pHR0, pHR2)
+
+SRMT("gen-inner-refs-to-pkg-nodes-of-pHR2")
+
+ /*
+ * Generate references to chn0-number elements of all pkg-nodes of pHR2
+ * and pack up them per-level into pIR1.
+ */
+ mfdd(RefOf(pHR2), pIR1, chn0, iint)
+
+ /*
+ * Put elements of package pIR1 (references) into relevant elements
+ * of pkg-nodes of pHR2.
+ */
+ mfdf(pIR1, RefOf(pHR2), chn0, iirf)
+
+ /* ===== Add cross references between two hierarchies, (pHR0 & pHR2) ===== */
+
+SRMT("add-inner-refs-to-pkg-nodes-of-pHR2-into-pHR0")
+
+ /*
+ * Put references to pkg-nodes of pHR2 into nodes of pHR0.
+ */
+ mfdf(pIR1, RefOf(pHR0), chn0, icrf)
+
+SRMT("add-inner-refs-to-pkg-nodes-of-pHR0-into-pHR2")
+
+ /*
+ * Put references to pkg-nodes of pHR0 into nodes of pHR2.
+ */
+ mfdf(pIR0, RefOf(pHR2), chn0, icrf)
+
+ /* Re-write + Verify Integer-IDs */
+
+SRMT("rewrite-3-Integer-IDs-of-pHR2")
+ Or(OP01, 0x300000, Local0)
+ mfe4(RefOf(pHR2), chn0, iint, iirf, Local0)
+SRMT("verify-3-of-pHR2-by-cross-refs-of-pHR0")
+ Or(0, 0x30000, Local0)
+ mfe1(pHR0, chn0, icrf, HR00, Local0, iint)
+SRMT("verify-2-of-pHR0-by-cross-refs-of-pHR2")
+ Or(0, 0x20000, Local0)
+ mfe1(pHR2, chn0, icrf, HR00, Local0, iint)
+SRMT("rewrite-4-Integer-IDs-of-pHR0")
+ Or(OP01, 0x400000, Local0)
+ mfe4(RefOf(pHR0), chn0, iint, iirf, Local0)
+SRMT("verify-4-of-pHR0-by-cross-refs-of-pHR2")
+ Or(0, 0x40000, Local0)
+ mfe1(pHR2, chn0, icrf, HR00, Local0, iint)
+
+ /* Re-write pkg-nodes + Verify */
+
+SRMT("rewrite-pkg-nodes-of-pHR0")
+ mfe4(RefOf(pHR0), chn0, iint, icrf, OP02)
+SRMT("rewrite-pkg-nodes-of-pHR2")
+ mfe4(RefOf(pHR2), chn0, iint, icrf, OP02)
+SRMT("verify-3-of-pHR2-by-cross-refs-of-pHR0")
+ Or(0, 0x30000, Local0)
+ mfe1(pHR0, chn0, icrf, HR00, Local0, iint)
+SRMT("verify-4-of-pHR0-by-cross-refs-of-pHR2")
+ Or(0, 0x40000, Local0)
+ mfe1(pHR2, chn0, icrf, HR00, Local0, iint)
+
+ /* Re-write inner references + Verify */
+ /* Re-write cross references + Verify */
+
+SRMT("rewrite-inner-references-of-pHR0")
+ mfe4(RefOf(pHR0), chn0, iint, iirf, OP03)
+SRMT("rewrite-inner-references-of-pHR2")
+ mfe4(RefOf(pHR2), chn0, iint, iirf, OP03)
+SRMT("rewrite-cross-references-of-pHR0")
+ mfe4(RefOf(pHR0), chn0, iint, icrf, OP03)
+SRMT("rewrite-cross-references-of-pHR2")
+ mfe4(RefOf(pHR2), chn0, iint, icrf, OP03)
+
+SRMT("verify-3-of-pHR2-by-cross-refs-of-pHR0")
+ Or(0, 0x30000, Local0)
+ mfe1(pHR0, chn0, icrf, HR00, Local0, iint)
+SRMT("verify-4-of-pHR0-by-cross-refs-of-pHR2")
+ Or(0, 0x40000, Local0)
+ mfe1(pHR2, chn0, icrf, HR00, Local0, iint)
+}
+
+Method(mfdb)
+{
+ CH03("", 0, 0x200, 0, 0)
+ mfdc()
+ CH03("", 0, 0x202, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/RUN.asl
index 66d15b322..af7f60c19 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/RUN.asl
@@ -1,51 +1,51 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Total: 0x96 Outstanding allocations because of
- * AcpiExec doesn't run the unload of the table have been processed.
- *
- * Outstanding: 0x96 allocations after execution.
- */
-if (STTT("Demo of bug 135", TCLD, 135, W017)) {
-
- if (y135) {
- mfc5() // SimplePkgs
- mfca() // Misc1
- mfee() // Misc2
- m808() // Mix
- mfda() // Methods
- mfdb() // PkgsHierarchy
- mfe6() // GrInvest
- } else {
- SRMT("TESTS-OF-B135")
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Total: 0x96 Outstanding allocations because of
+ * AcpiExec doesn't run the unload of the table have been processed.
+ *
+ * Outstanding: 0x96 allocations after execution.
+ */
+if (STTT("Demo of bug 135", TCLD, 135, W017)) {
+
+ if (y135) {
+ mfc5() // SimplePkgs
+ mfca() // Misc1
+ mfee() // Misc2
+ m808() // Mix
+ mfda() // Methods
+ mfdb() // PkgsHierarchy
+ mfe6() // GrInvest
+ } else {
+ SRMT("TESTS-OF-B135")
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/SimplePkgs.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/SimplePkgs.asl
index 09b6ace3d..be277971a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/SimplePkgs.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/SimplePkgs.asl
@@ -1,113 +1,113 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Checkings for simple one-level hierarchy of Packages.
- *
- * 0x5C Outstanding allocations because of
- * AcpiExec doesn't run the unload of the table have been processed.
- *
- * Outstanding: 0x5C allocations after execution.
- */
-
-Method(mfc5,, Serialized)
-{
- Name(num0, 12) // different types of packages Pkg0 and Pkg1
- Name(num1, 19) // opcodes of additional assignments of packages Pkg0 and Pkg1
- Name(num2, 13) // max opcode of additional assignments of References (0-12)
- Name(cur0, 0) // cur opcode of additional assignments of References (0-12)
- Name(i000, 0)
-
- Name(AR20, 0)
-
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Name(lpN1, 0)
- Name(lpC1, 0)
-
- Name(loc0, Package(Multiply(id26, 2)) {})
- Name(loc1, Package(Multiply(id26, 2)) {})
-
-
- Store(num1, lpN1)
- Store(0, lpC1)
-
- SRMT("Simple-Pkg")
-
- While (lpN1) {
-
- Store(num0, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
-
- Divide(i000, num2, cur0)
- Increment(i000)
-
- Store(mfc9(lpC1, lpC0, 0, 0, cur0), Local0)
- mfc6(loc0, loc1, Local0, 0, 0, 0, 0)
-
- Divide(i000, num2, cur0)
- Increment(i000)
-
- Store(mfc9(lpC1, lpC0, 0, 1, cur0), Local0)
- mfc6(loc0, loc1, Local0, 0, 0, 0, 0)
-
- Divide(i000, num2, cur0)
- Increment(i000)
-
- Store(mfc9(lpC1, lpC0, 1, 0, cur0), Local0)
- mfc6(loc0, loc1, Local0, 0, 0, 0, 0)
-
- Divide(i000, num2, cur0)
- Increment(i000)
-
- Store(mfc9(lpC1, lpC0, 1, 1, cur0), Local0)
- mfc6(loc0, loc1, Local0, 0, 0, 0, 0)
-
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Decrement(lpN1)
- Increment(lpC1)
- }
-
- /*
- * To eliminate the known outstanding allocations -
- * releasing of global data are not forces by AcpiExec -
- * no unload of the processed ACPI table is automatically
- * initiated by AcpiExec after completion the ex command.
- */
- if (0) {
- mfe8()
- }
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Checkings for simple one-level hierarchy of Packages.
+ *
+ * 0x5C Outstanding allocations because of
+ * AcpiExec doesn't run the unload of the table have been processed.
+ *
+ * Outstanding: 0x5C allocations after execution.
+ */
+
+Method(mfc5,, Serialized)
+{
+ Name(num0, 12) // different types of packages Pkg0 and Pkg1
+ Name(num1, 19) // opcodes of additional assignments of packages Pkg0 and Pkg1
+ Name(num2, 13) // max opcode of additional assignments of References (0-12)
+ Name(cur0, 0) // cur opcode of additional assignments of References (0-12)
+ Name(i000, 0)
+
+ Name(AR20, 0)
+
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Name(lpN1, 0)
+ Name(lpC1, 0)
+
+ Name(loc0, Package(Multiply(id26, 2)) {})
+ Name(loc1, Package(Multiply(id26, 2)) {})
+
+
+ Store(num1, lpN1)
+ Store(0, lpC1)
+
+ SRMT("Simple-Pkg")
+
+ While (lpN1) {
+
+ Store(num0, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+
+ Divide(i000, num2, cur0)
+ Increment(i000)
+
+ Store(mfc9(lpC1, lpC0, 0, 0, cur0), Local0)
+ mfc6(loc0, loc1, Local0, 0, 0, 0, 0)
+
+ Divide(i000, num2, cur0)
+ Increment(i000)
+
+ Store(mfc9(lpC1, lpC0, 0, 1, cur0), Local0)
+ mfc6(loc0, loc1, Local0, 0, 0, 0, 0)
+
+ Divide(i000, num2, cur0)
+ Increment(i000)
+
+ Store(mfc9(lpC1, lpC0, 1, 0, cur0), Local0)
+ mfc6(loc0, loc1, Local0, 0, 0, 0, 0)
+
+ Divide(i000, num2, cur0)
+ Increment(i000)
+
+ Store(mfc9(lpC1, lpC0, 1, 1, cur0), Local0)
+ mfc6(loc0, loc1, Local0, 0, 0, 0, 0)
+
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Decrement(lpN1)
+ Increment(lpC1)
+ }
+
+ /*
+ * To eliminate the known outstanding allocations -
+ * releasing of global data are not forces by AcpiExec -
+ * no unload of the processed ACPI table is automatically
+ * initiated by AcpiExec after completion the ex command.
+ */
+ if (0) {
+ mfe8()
+ }
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/DECL.asl
index 8a4d77ec4..0a60fab4c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/DECL.asl
@@ -1,47 +1,47 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 136:
- *
- * SUMMARY: CopyObject of named Buffer to the longer named Buffer works incorrectly
- *
- * ROOT CAUSE
- */
-
- Method(mf27,, Serialized)
- {
- Name(b000, Buffer(1){0x3c})
- Name(b001, Buffer(3){0x01, 0x02, 0x03})
-
- CopyObject(b000, b001)
-
- if (LNotEqual(b000, b001)) {
- err("", zFFF, 0x000, 0, 0, b000, b001)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 136:
+ *
+ * SUMMARY: CopyObject of named Buffer to the longer named Buffer works incorrectly
+ *
+ * ROOT CAUSE
+ */
+
+ Method(mf27,, Serialized)
+ {
+ Name(b000, Buffer(1){0x3c})
+ Name(b001, Buffer(3){0x01, 0x02, 0x03})
+
+ CopyObject(b000, b001)
+
+ if (LNotEqual(b000, b001)) {
+ err("", zFFF, 0x000, 0, 0, b000, b001)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/MAIN.asl
index 2bcb58eab..02ec6cf16 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B136.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0136/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0136/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B136.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0136/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0136/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/RUN.asl
index fecd71360..6936e7ecc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0136/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 136", TCLD, 136, W017)) {
- SRMT("mf27")
- mf27()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 136", TCLD, 136, W017)) {
+ SRMT("mf27")
+ mf27()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/DECL.asl
index 157cbf4bc..f73bdf8a8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 137:
- *
- * SUMMARY: The Implicit Result Object conversion is mistakenly applied to the optional storing of FromBCD
- *
- * ROOT CAUSE
- */
-
- Method(mf28,, Serialized)
- {
- Name(STR0, "STR0")
- Name(STR1, "STR1")
-
- ToBCD(12345678, STR0)
- Store(ObjectType(STR0), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- }
-
- FromBCD(0x12345678, STR1)
- Store(ObjectType(STR1), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x001, 0, 0, Local0, c009)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 137:
+ *
+ * SUMMARY: The Implicit Result Object conversion is mistakenly applied to the optional storing of FromBCD
+ *
+ * ROOT CAUSE
+ */
+
+ Method(mf28,, Serialized)
+ {
+ Name(STR0, "STR0")
+ Name(STR1, "STR1")
+
+ ToBCD(12345678, STR0)
+ Store(ObjectType(STR0), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ }
+
+ FromBCD(0x12345678, STR1)
+ Store(ObjectType(STR1), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c009)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/MAIN.asl
index 15c37ad9c..830b9fe29 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B137.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0137/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0137/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B137.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0137/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0137/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/RUN.asl
index 229028570..bc2724273 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0137/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 137", TCLD, 137, W017)) {
- SRMT("mf28")
- mf28()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 137", TCLD, 137, W017)) {
+ SRMT("mf28")
+ mf28()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/DECL.asl
index db2db8c0d..49abc1cb2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/DECL.asl
@@ -1,47 +1,47 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 138:
- *
- * SUMMARY: 8 bytes but not 4 expected ones are written to BufferField in 32-bit mode
- *
- * ROOT CAUSE
- */
-
- Method(mf29,, Serialized)
- {
- Name(b000, Buffer(12){})
- CreateField(b000, 0, 72, bf00)
-
- Store(0xfedcba9876543210, bf00)
-
- if (LNotEqual(bf00, Buffer(9){0x10, 0x32, 0x54, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00})) {
- err("", zFFF, 0x000, 0, 0, bf00, Buffer(9){0x10, 0x32, 0x54, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00})
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 138:
+ *
+ * SUMMARY: 8 bytes but not 4 expected ones are written to BufferField in 32-bit mode
+ *
+ * ROOT CAUSE
+ */
+
+ Method(mf29,, Serialized)
+ {
+ Name(b000, Buffer(12){})
+ CreateField(b000, 0, 72, bf00)
+
+ Store(0xfedcba9876543210, bf00)
+
+ if (LNotEqual(bf00, Buffer(9){0x10, 0x32, 0x54, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00})) {
+ err("", zFFF, 0x000, 0, 0, bf00, Buffer(9){0x10, 0x32, 0x54, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00})
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/MAIN.asl
index 340b5cc8d..482f0733e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B138.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0138/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0138/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B138.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0138/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0138/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/RUN.asl
index 891c73e94..8a4c88296 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0138/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 138", TCLD, 138, W017)) {
- SRMT("mf29")
- if (F64) {
- SKIP()
- } else {
- mf29()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 138", TCLD, 138, W017)) {
+ SRMT("mf29")
+ if (F64) {
+ SKIP()
+ } else {
+ mf29()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/DECL.asl
index 03554438d..3684c8456 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/DECL.asl
@@ -1,72 +1,72 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 139:
- *
- * SUMMARY: DeRefof and Store operations on 64-bit Integers of 32-bit AML table has been loaded modify them
- *
- * ROOT CAUSE
- */
-
- Method(mf2a)
- {
- if (LNotEqual(id1b, 0xfedcba9876543210)) {
- err("", zFFF, 0x000, 0, 0, id1b, 0xfedcba9876543210)
- } else {
- Store("Ok, initially id1b = 0xfedcba9876543210", Debug)
-
- Store("Store(id1b, Local0)" , Debug)
-
- Store(id1b, Local0)
-
- if (LNotEqual(id1b, 0xfedcba9876543210)) {
- err("", zFFF, 0x001, 0, 0, id1b, 0xfedcba9876543210)
- }
- }
- }
-
- Method(mf2b)
- {
- Store("Store(Refof(id1c), Local0)" , Debug)
- Store(Refof(id1c), Local0)
-
- if (LNotEqual(id1c, 0xfedcba9876543211)) {
- err("", zFFF, 0x002, 0, 0, id1c, 0xfedcba9876543211)
- } else {
- Store("Ok, initially id1c = 0xfedcba9876543211", Debug)
-
- Store("DeRefof(Local0)" , Debug)
-
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(id1c, 0xfedcba9876543211)) {
- err("", zFFF, 0x003, 0, 0, id1c, 0xfedcba9876543211)
- }
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 139:
+ *
+ * SUMMARY: DeRefof and Store operations on 64-bit Integers of 32-bit AML table has been loaded modify them
+ *
+ * ROOT CAUSE
+ */
+
+ Method(mf2a)
+ {
+ if (LNotEqual(id1b, 0xfedcba9876543210)) {
+ err("", zFFF, 0x000, 0, 0, id1b, 0xfedcba9876543210)
+ } else {
+ Store("Ok, initially id1b = 0xfedcba9876543210", Debug)
+
+ Store("Store(id1b, Local0)" , Debug)
+
+ Store(id1b, Local0)
+
+ if (LNotEqual(id1b, 0xfedcba9876543210)) {
+ err("", zFFF, 0x001, 0, 0, id1b, 0xfedcba9876543210)
+ }
+ }
+ }
+
+ Method(mf2b)
+ {
+ Store("Store(Refof(id1c), Local0)" , Debug)
+ Store(Refof(id1c), Local0)
+
+ if (LNotEqual(id1c, 0xfedcba9876543211)) {
+ err("", zFFF, 0x002, 0, 0, id1c, 0xfedcba9876543211)
+ } else {
+ Store("Ok, initially id1c = 0xfedcba9876543211", Debug)
+
+ Store("DeRefof(Local0)" , Debug)
+
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(id1c, 0xfedcba9876543211)) {
+ err("", zFFF, 0x003, 0, 0, id1c, 0xfedcba9876543211)
+ }
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/MAIN.asl
index f48762291..2fc82d05f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B139.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0139/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0139/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B139.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0139/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0139/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/RUN.asl
index f15fa6b91..5dfbbfa5a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0139/RUN.asl
@@ -1,36 +1,36 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 139", TCLD, 139, W017)) {
- SRMT("mf2a")
- mf2a()
- SRMT("mf2b")
- mf2b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 139", TCLD, 139, W017)) {
+ SRMT("mf2a")
+ mf2a()
+ SRMT("mf2b")
+ mf2b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/DECL.asl
index 4e156d0ff..87d89c6fe 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/DECL.asl
@@ -1,44 +1,44 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 140:
- *
- * SUMMARY: The ASL Compiler doesn't report NumElements being less than the number of elements in the PackageList
- *
- * Compiler should return error...
- */
-
- Name(p000, Package(7) {1,2,3,4,5,6,7,8})
-
- Method(mf2c)
- {
- Store("mf2c started", Debug)
- Store(p000, Debug)
- Store("mf2c finished", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 140:
+ *
+ * SUMMARY: The ASL Compiler doesn't report NumElements being less than the number of elements in the PackageList
+ *
+ * Compiler should return error...
+ */
+
+ Name(p000, Package(7) {1,2,3,4,5,6,7,8})
+
+ Method(mf2c)
+ {
+ Store("mf2c started", Debug)
+ Store(p000, Debug)
+ Store("mf2c finished", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/MAIN.asl
index 28398cc29..88d567f83 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0140_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B140.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0140_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B140.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0140_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0141_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0141_SPEC/DECL.asl
index cac74c2a1..12f04bfdc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0141_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0141_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 141:
- *
- * SUMMARY: The term 'object reference' in DMA Resource Descriptor Macro specs sounds ambiguously
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 141:
+ *
+ * SUMMARY: The term 'object reference' in DMA Resource Descriptor Macro specs sounds ambiguously
*/ \ No newline at end of file
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/DECL.asl
index ec582ea9e..082acb87f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/DECL.asl
@@ -1,52 +1,52 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 142:
- *
- * SUMMARY: The ASL Compiler doesn't support non-empty list of parameters of Function Declaration
- */
-
- Function(mf2d, IntObj)
- {
- Return (0)
- }
-
- Function(mf2e, IntObj, IntObj)
- {
- Return (1)
- }
-
- Method(mf2f) {
- Store(mf2d(), Debug)
-
- Store(mf2e(), Debug)
-
- Store(mf2e(1), Debug)
- }
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 142:
+ *
+ * SUMMARY: The ASL Compiler doesn't support non-empty list of parameters of Function Declaration
+ */
+
+ Function(mf2d, IntObj)
+ {
+ Return (0)
+ }
+
+ Function(mf2e, IntObj, IntObj)
+ {
+ Return (1)
+ }
+
+ Method(mf2f) {
+ Store(mf2d(), Debug)
+
+ Store(mf2e(), Debug)
+
+ Store(mf2e(1), Debug)
+ }
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/MAIN.asl
index e777fc595..f96c752a1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0142_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B142.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0142_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B142.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0142_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/DECL.asl
index a0f3a641d..3d165a197 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/DECL.asl
@@ -1,66 +1,66 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 143:
- *
- * SUMMARY: The ASL Compiler doesn't support more than two-element long list of ParameterTypes argument of Method
- */
-
- Method(mf30, 2, Serialized, 0, IntObj, {IntObj, IntObj})
- {
- Return (Add(Arg0, Arg1))
- }
-
- Method(mf31, 1, Serialized, 0, {IntObj, StrObj, BuffObj}, IntObj)
- {
- Return (Arg0)
- }
-
- Method(mf32, 3, Serialized, 0, IntObj, {IntObj, StrObj, BuffObj})
- {
- Return (Add(Add(Arg0, Arg1), Arg2))
- }
-
- Method(mf33) {
-
- Store(mf30(1, 2), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x000, 0, 0, Local0, 3)
- }
-
- Store(mf31("FFFF"), Local0)
- if (LNotEqual(Local0, "FFFF")) {
- err("", zFFF, 0x001, 0, 0, Local0, "FFFF")
- }
-
- Store(mf32(3, "F", Buffer(1){0xff}), Local0)
- if (LNotEqual(Local0, 0x111)) {
- err("", zFFF, 0x002, 0, 0, Local0, 0x111)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 143:
+ *
+ * SUMMARY: The ASL Compiler doesn't support more than two-element long list of ParameterTypes argument of Method
+ */
+
+ Method(mf30, 2, Serialized, 0, IntObj, {IntObj, IntObj})
+ {
+ Return (Add(Arg0, Arg1))
+ }
+
+ Method(mf31, 1, Serialized, 0, {IntObj, StrObj, BuffObj}, IntObj)
+ {
+ Return (Arg0)
+ }
+
+ Method(mf32, 3, Serialized, 0, IntObj, {IntObj, StrObj, BuffObj})
+ {
+ Return (Add(Add(Arg0, Arg1), Arg2))
+ }
+
+ Method(mf33) {
+
+ Store(mf30(1, 2), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 3)
+ }
+
+ Store(mf31("FFFF"), Local0)
+ if (LNotEqual(Local0, "FFFF")) {
+ err("", zFFF, 0x001, 0, 0, Local0, "FFFF")
+ }
+
+ Store(mf32(3, "F", Buffer(1){0xff}), Local0)
+ if (LNotEqual(Local0, 0x111)) {
+ err("", zFFF, 0x002, 0, 0, Local0, 0x111)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/MAIN.asl
index 4bfea936a..a8f4bac44 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B143.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0143/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0143/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B143.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0143/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0143/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/RUN.asl
index a70bddce3..350280a6e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0143/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 143", TCLD, 143, W017)) {
- SRMT("mf33")
- mf33()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 143", TCLD, 143, W017)) {
+ SRMT("mf33")
+ mf33()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/DECL.asl
index d681f62ec..27aea4d1d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/DECL.asl
@@ -1,75 +1,75 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 144:
- *
- * SUMMARY: The ASL Compiler doesn't support multiple type list for particular ParameterType of Method
- */
-
- Method(mf34, 1, Serialized, 0, IntObj, IntObj)
- {
- Return (Arg0)
- }
-
- Method(mf35, 1, Serialized, 0, IntObj, {IntObj})
- {
- Return (Arg0)
- }
-
- Method(mf36, 1, Serialized, 0, IntObj, {{IntObj}})
- {
- Return (Arg0)
- }
-
- Method(mf37, 1, Serialized, 0, IntObj, {{IntObj, StrObj, BuffObj}})
- {
- Return (Arg0)
- }
-
- Method(mf38) {
- Store(mf34(0), Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0)
- }
-
- Store(mf35(1), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x000, 0, 0, Local0, 1)
- }
-
- Store(mf36(2), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x000, 0, 0, Local0, 2)
- }
-
- Store(mf37("3"), Local0)
- if (LNotEqual(Local0, "3")) {
- err("", zFFF, 0x000, 0, 0, Local0, "3")
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 144:
+ *
+ * SUMMARY: The ASL Compiler doesn't support multiple type list for particular ParameterType of Method
+ */
+
+ Method(mf34, 1, Serialized, 0, IntObj, IntObj)
+ {
+ Return (Arg0)
+ }
+
+ Method(mf35, 1, Serialized, 0, IntObj, {IntObj})
+ {
+ Return (Arg0)
+ }
+
+ Method(mf36, 1, Serialized, 0, IntObj, {{IntObj}})
+ {
+ Return (Arg0)
+ }
+
+ Method(mf37, 1, Serialized, 0, IntObj, {{IntObj, StrObj, BuffObj}})
+ {
+ Return (Arg0)
+ }
+
+ Method(mf38) {
+ Store(mf34(0), Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0)
+ }
+
+ Store(mf35(1), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 1)
+ }
+
+ Store(mf36(2), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 2)
+ }
+
+ Store(mf37("3"), Local0)
+ if (LNotEqual(Local0, "3")) {
+ err("", zFFF, 0x000, 0, 0, Local0, "3")
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/MAIN.asl
index cd738e7ca..70e61cb53 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B144.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0144/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0144/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B144.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0144/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0144/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/RUN.asl
index f6f1a8c3c..563b56813 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0144/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 144", TCLD, 144, W017)) {
- SRMT("mf38")
- mf38()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 144", TCLD, 144, W017)) {
+ SRMT("mf38")
+ mf38()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/DECL.asl
index 3199bee7c..7964c6b56 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/DECL.asl
@@ -1,42 +1,42 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 145:
- *
- * SUMMARY: The ASL Compiler should report an error for SyncLevel argument of Method outside of range
- *
- * Compiler should return error...
- */
-
- // SyncLevel is outside of valid range 0x0-0xf
- Method(mf39, 0, Serialized, 16)
- {
- Return (0)
- }
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 145:
+ *
+ * SUMMARY: The ASL Compiler should report an error for SyncLevel argument of Method outside of range
+ *
+ * Compiler should return error...
+ */
+
+ // SyncLevel is outside of valid range 0x0-0xf
+ Method(mf39, 0, Serialized, 16)
+ {
+ Return (0)
+ }
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/MAIN.asl
index c91a5daeb..996908a9f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0145_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B145.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0145_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B145.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0145_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/DECL.asl
index 32dc8ec9d..15af26cce 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 146:
- *
- * SUMMARY: The ASL compiler refuses Package in Case operator
- */
-
- Method(mf3a, 1, Serialized)
- {
- Store(0, Local7)
- Switch (ToInteger (arg0)) {
- Case (Package(1) {Buffer(1) {10}}) {
- Store(0x12389, Local7)
- }
- }
-
- Return(Local7)
- }
-
- Method(mf3b)
- {
- Store(mf3a(Buffer(1) {10}), Local0)
- if (LNotEqual(Local0, 0x12389)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0x12389)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 146:
+ *
+ * SUMMARY: The ASL compiler refuses Package in Case operator
+ */
+
+ Method(mf3a, 1, Serialized)
+ {
+ Store(0, Local7)
+ Switch (ToInteger (arg0)) {
+ Case (Package(1) {Buffer(1) {10}}) {
+ Store(0x12389, Local7)
+ }
+ }
+
+ Return(Local7)
+ }
+
+ Method(mf3b)
+ {
+ Store(mf3a(Buffer(1) {10}), Local0)
+ if (LNotEqual(Local0, 0x12389)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0x12389)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/MAIN.asl
index 28a7182cb..1f4fde9cd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B146.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0146/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0146/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B146.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0146/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0146/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/RUN.asl
index 14430fa72..bf2716d86 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0146/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 146", TCLD, 146, W017)) {
- SRMT("mf3b")
- mf3b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 146", TCLD, 146, W017)) {
+ SRMT("mf3b")
+ mf3b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/DECL.asl
index 6706cb536..8a98d3e61 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/DECL.asl
@@ -1,52 +1,52 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 147:
- *
- * SUMMARY: ProcessorObj Object Type Keyword is not present in ObjectTypeKeyword
- */
-
-// Check ProcessorObj
-Function(mf3c,
- {IntObj, StrObj, BuffObj, PkgObj,
- FieldUnitObj, DeviceObj, EventObj, MethodObj,
- MutexObj, OpRegionObj, PowerResObj,
- ProcessorObj,
- ThermalZoneObj, BuffFieldObj, DDBHandleObj})
-{
- Return ("mf3czxcvbnm")
-}
-
-Method(mf3d)
-{
- Store(mf3c(), Local0)
- if (LNotEqual(Local0, "mf3czxcvbnm")) {
- err("", zFFF, 0x000, 0, 0, Local0, "mf3czxcvbnm")
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 147:
+ *
+ * SUMMARY: ProcessorObj Object Type Keyword is not present in ObjectTypeKeyword
+ */
+
+// Check ProcessorObj
+Function(mf3c,
+ {IntObj, StrObj, BuffObj, PkgObj,
+ FieldUnitObj, DeviceObj, EventObj, MethodObj,
+ MutexObj, OpRegionObj, PowerResObj,
+ ProcessorObj,
+ ThermalZoneObj, BuffFieldObj, DDBHandleObj})
+{
+ Return ("mf3czxcvbnm")
+}
+
+Method(mf3d)
+{
+ Store(mf3c(), Local0)
+ if (LNotEqual(Local0, "mf3czxcvbnm")) {
+ err("", zFFF, 0x000, 0, 0, Local0, "mf3czxcvbnm")
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/MAIN.asl
index fadc48cdf..d439fbfa3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B147.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0147/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0147/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B147.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0147/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0147/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/RUN.asl
index 4404d3b0f..dc5a2d66e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0147/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 147", TCLD, 147, W017)) {
- SRMT("mf3d")
- mf3d()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 147", TCLD, 147, W017)) {
+ SRMT("mf3d")
+ mf3d()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/DECL.asl
index d252126b8..4d938bf57 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/DECL.asl
@@ -1,80 +1,80 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 148:
- *
- * SUMMARY: Additional errors to be reported by iASL for Control Method Declaration
- *
- * Compiler should return error...
- */
-
-Method(mf3e)
-{
- // Some different from UnknownObj ObjectType Keyword specified in the
- // ReturnType position but no any actual Object specified to be returned.
- Method(mm1b, , , , IntObj) {Store(1, Debug)}
-
- // The same specific keyword in the ReturnType list twice
- Method(mm1c, , , , {IntObj, IntObj}) {Store(1, Debug)}
- Method(mm1d, , , , {UnknownObj, UnknownObj}) {Store(1, Debug)}
-
- // Simulteneously UnknownObj and a specific keyword in the ReturnType list
- Method(mm1e, , , , {UnknownObj, IntObj}) {Store(1, Debug)}
-
- // NumArgs 0 but non-empty list of parameters
- Method(mm1f, 0, , , , IntObj) {Return ("mm1f")}
- Method(mm20, 0, , , , {IntObj}) {Return ("mm20")}
- Method(mm21, , , , , {IntObj}) {Return ("mm21")}
-
- // NumArgs 1 but 2-element list of parameters
- Method(mm22, 1, , , , {IntObj, IntObj}) {Return ("mm22")}
-
- // NumArgs 2 but 1-element list of parameters
- Method(mm23, 2, , , , {IntObj}) {Return ("mm23")}
-
- // The same specific keyword in the ParameterType list twice
- Method(mm24, 1, , , , {{IntObj, IntObj}}) {Store(1, Debug)}
- Method(mm25, 1, , , , {{UnknownObj, UnknownObj}}) {Store(1, Debug)}
-
- // Simulteneously UnknownObj and a specific keyword in the ParameterType list
- Method(mm26, 1, , , , {{UnknownObj, IntObj}}) {Store(1, Debug)}
-
- // NumArgs 6 but 5-element list of parameters
- Method(mm27, 6, , , , {IntObj, IntObj, IntObj, IntObj,
- IntObj}) {Return ("mm27")}
-
- // NumArgs 6 but 7-element list of parameters
- Method(mm28, 7, , , , {IntObj, IntObj, IntObj, IntObj,
- IntObj, IntObj, IntObj}) {Return ("mm28")}
-
- // NumArgs 7 but 8-element list of parameters
- Method(mm29, 7, , , , {IntObj, IntObj, IntObj, IntObj,
- IntObj, IntObj, IntObj, IntObj}) {Return ("mm29")}
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 148:
+ *
+ * SUMMARY: Additional errors to be reported by iASL for Control Method Declaration
+ *
+ * Compiler should return error...
+ */
+
+Method(mf3e)
+{
+ // Some different from UnknownObj ObjectType Keyword specified in the
+ // ReturnType position but no any actual Object specified to be returned.
+ Method(mm1b, , , , IntObj) {Store(1, Debug)}
+
+ // The same specific keyword in the ReturnType list twice
+ Method(mm1c, , , , {IntObj, IntObj}) {Store(1, Debug)}
+ Method(mm1d, , , , {UnknownObj, UnknownObj}) {Store(1, Debug)}
+
+ // Simulteneously UnknownObj and a specific keyword in the ReturnType list
+ Method(mm1e, , , , {UnknownObj, IntObj}) {Store(1, Debug)}
+
+ // NumArgs 0 but non-empty list of parameters
+ Method(mm1f, 0, , , , IntObj) {Return ("mm1f")}
+ Method(mm20, 0, , , , {IntObj}) {Return ("mm20")}
+ Method(mm21, , , , , {IntObj}) {Return ("mm21")}
+
+ // NumArgs 1 but 2-element list of parameters
+ Method(mm22, 1, , , , {IntObj, IntObj}) {Return ("mm22")}
+
+ // NumArgs 2 but 1-element list of parameters
+ Method(mm23, 2, , , , {IntObj}) {Return ("mm23")}
+
+ // The same specific keyword in the ParameterType list twice
+ Method(mm24, 1, , , , {{IntObj, IntObj}}) {Store(1, Debug)}
+ Method(mm25, 1, , , , {{UnknownObj, UnknownObj}}) {Store(1, Debug)}
+
+ // Simulteneously UnknownObj and a specific keyword in the ParameterType list
+ Method(mm26, 1, , , , {{UnknownObj, IntObj}}) {Store(1, Debug)}
+
+ // NumArgs 6 but 5-element list of parameters
+ Method(mm27, 6, , , , {IntObj, IntObj, IntObj, IntObj,
+ IntObj}) {Return ("mm27")}
+
+ // NumArgs 6 but 7-element list of parameters
+ Method(mm28, 7, , , , {IntObj, IntObj, IntObj, IntObj,
+ IntObj, IntObj, IntObj}) {Return ("mm28")}
+
+ // NumArgs 7 but 8-element list of parameters
+ Method(mm29, 7, , , , {IntObj, IntObj, IntObj, IntObj,
+ IntObj, IntObj, IntObj, IntObj}) {Return ("mm29")}
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/MAIN.asl
index def53992f..f966ef81f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0148_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B148.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0148_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B148.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0148_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0149_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0149_SPEC/DECL.asl
index 7a6dc8267..57c79afdc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0149_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0149_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 149:
- *
- * SUMMARY: Spec of Function should be clarified
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 149:
+ *
+ * SUMMARY: Spec of Function should be clarified
*/ \ No newline at end of file
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/DECL.asl
index 7d52b7a07..c019ab116 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/DECL.asl
@@ -1,176 +1,176 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 150:
- *
- * SUMMARY: No exception when Serialized Method is run after the higher level mutex acquiring
- *
- * EXAMPLES
- *
- * ROOT CAUSE
- *
- * SEE ALSO:
- */
-
-/*
-1. Acquire of the same mux several times without Releases
-2. Acquire+Releases sequence of the same mux several times
-3. Acquire mux level 7 then Release it and try Acquire mux level 6
-4. Acquire mux level 7 then try Acquire mux level 6
-5. Check all the specified features
-*/
-
-/*
- * The proper sequence of several enclosed Acquire operations.
- *
- * Acquire N level mutex then acquire (N+k) level mutex.
- */
-Method(md8a,, Serialized)
-{
- Mutex(mx00, 0)
- Mutex(mx01, 1)
-
- Store(0, Local0)
- Store(0, Local1)
-
- if (Acquire(mx00, 1)) {
- err("", zFFF, 0x000, 0, 0, 0, 0)
- } else {
- Store(1, Local0)
- if (Acquire(mx01, 1)) {
- err("", zFFF, 0x001, 0, 0, 0, 0)
- } else {
- Store(1, Local1)
- }
- }
-
- if (Local1) {
- Release(mx01)
- }
- if (Local0) {
- Release(mx00)
- }
-}
-
-/*
- * Improper sequence of several enclosed Acquire operations.
- *
- * Acquire N level mutex then acquire (N-k) level mutex.
- * Exception AE_AML_MUTEX_ORDER is expected in this case.
- */
-Method(md8b,, Serialized)
-{
- Mutex(mx00, 1)
- Mutex(mx01, 0)
-
- Store(0, Local0)
- Store(0, Local1)
-
- if (Acquire(mx00, 1)) {
- err("", zFFF, 0x002, 0, 0, 0, 0)
- } else {
- Store(1, Local0)
- CH03("", 0, 0x003, 0, 0)
- Acquire(mx01, 1)
- CH04("", 0, 64, 0, 0x004, 0, 0) // AE_AML_MUTEX_ORDER
- }
- if (Local0) {
- Release(mx00)
- }
-}
-
-/*
- * The proper sequence of several enclosed operations.
- *
- * Acquire N level mutex then call to Serialized Method
- * declared with (N+k) SyncLevel.
- */
-Method(md8c,, Serialized)
-{
- Mutex(mx00, 0)
- Method(mx01, 0, Serialized, 1)
- {
- Store("Run Method mx01", Debug)
- }
-
- Store(0, Local0)
- Store(0, Local1)
-
- if (Acquire(mx00, 1)) {
- err("", zFFF, 0x005, 0, 0, 0, 0)
- } else {
- Store(1, Local0)
- CH03("", 0, 0x006, 0, 0)
- mx01()
- CH03("", 0, 0x007, 0, 0)
- }
-
- if (Local0) {
- Release(mx00)
- }
-}
-
-/*
- * Improper sequence of several enclosed operations.
- *
- * Acquire N level mutex then call to Serialized Method declared with (N-k) SyncLevel.
- * Exception AE_AML_MUTEX_ORDER is expected in this case.
- */
-Method(md8d,, Serialized)
-{
- Mutex(mx00, 1)
- Method(mx01, 0, Serialized, 0)
- {
- Store("Run Method mx01", Debug)
- }
-
- Store(0, Local0)
- Store(0, Local1)
-
- if (Acquire(mx00, 1)) {
- err("", zFFF, 0x008, 0, 0, 0, 0)
- } else {
- Store(1, Local0)
- CH03("", 0, 0x009, 0, 0)
- mx01()
- CH04("", 0, 64, 0, 0x00a, 0, 0) // AE_AML_MUTEX_ORDER
- }
-
- if (Local0) {
- Release(mx00)
- }
-}
-
-Method(md8e)
-{
- md8a()
- md8b()
- md8c()
- md8d()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 150:
+ *
+ * SUMMARY: No exception when Serialized Method is run after the higher level mutex acquiring
+ *
+ * EXAMPLES
+ *
+ * ROOT CAUSE
+ *
+ * SEE ALSO:
+ */
+
+/*
+1. Acquire of the same mux several times without Releases
+2. Acquire+Releases sequence of the same mux several times
+3. Acquire mux level 7 then Release it and try Acquire mux level 6
+4. Acquire mux level 7 then try Acquire mux level 6
+5. Check all the specified features
+*/
+
+/*
+ * The proper sequence of several enclosed Acquire operations.
+ *
+ * Acquire N level mutex then acquire (N+k) level mutex.
+ */
+Method(md8a,, Serialized)
+{
+ Mutex(mx00, 0)
+ Mutex(mx01, 1)
+
+ Store(0, Local0)
+ Store(0, Local1)
+
+ if (Acquire(mx00, 1)) {
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+ } else {
+ Store(1, Local0)
+ if (Acquire(mx01, 1)) {
+ err("", zFFF, 0x001, 0, 0, 0, 0)
+ } else {
+ Store(1, Local1)
+ }
+ }
+
+ if (Local1) {
+ Release(mx01)
+ }
+ if (Local0) {
+ Release(mx00)
+ }
+}
+
+/*
+ * Improper sequence of several enclosed Acquire operations.
+ *
+ * Acquire N level mutex then acquire (N-k) level mutex.
+ * Exception AE_AML_MUTEX_ORDER is expected in this case.
+ */
+Method(md8b,, Serialized)
+{
+ Mutex(mx00, 1)
+ Mutex(mx01, 0)
+
+ Store(0, Local0)
+ Store(0, Local1)
+
+ if (Acquire(mx00, 1)) {
+ err("", zFFF, 0x002, 0, 0, 0, 0)
+ } else {
+ Store(1, Local0)
+ CH03("", 0, 0x003, 0, 0)
+ Acquire(mx01, 1)
+ CH04("", 0, 64, 0, 0x004, 0, 0) // AE_AML_MUTEX_ORDER
+ }
+ if (Local0) {
+ Release(mx00)
+ }
+}
+
+/*
+ * The proper sequence of several enclosed operations.
+ *
+ * Acquire N level mutex then call to Serialized Method
+ * declared with (N+k) SyncLevel.
+ */
+Method(md8c,, Serialized)
+{
+ Mutex(mx00, 0)
+ Method(mx01, 0, Serialized, 1)
+ {
+ Store("Run Method mx01", Debug)
+ }
+
+ Store(0, Local0)
+ Store(0, Local1)
+
+ if (Acquire(mx00, 1)) {
+ err("", zFFF, 0x005, 0, 0, 0, 0)
+ } else {
+ Store(1, Local0)
+ CH03("", 0, 0x006, 0, 0)
+ mx01()
+ CH03("", 0, 0x007, 0, 0)
+ }
+
+ if (Local0) {
+ Release(mx00)
+ }
+}
+
+/*
+ * Improper sequence of several enclosed operations.
+ *
+ * Acquire N level mutex then call to Serialized Method declared with (N-k) SyncLevel.
+ * Exception AE_AML_MUTEX_ORDER is expected in this case.
+ */
+Method(md8d,, Serialized)
+{
+ Mutex(mx00, 1)
+ Method(mx01, 0, Serialized, 0)
+ {
+ Store("Run Method mx01", Debug)
+ }
+
+ Store(0, Local0)
+ Store(0, Local1)
+
+ if (Acquire(mx00, 1)) {
+ err("", zFFF, 0x008, 0, 0, 0, 0)
+ } else {
+ Store(1, Local0)
+ CH03("", 0, 0x009, 0, 0)
+ mx01()
+ CH04("", 0, 64, 0, 0x00a, 0, 0) // AE_AML_MUTEX_ORDER
+ }
+
+ if (Local0) {
+ Release(mx00)
+ }
+}
+
+Method(md8e)
+{
+ md8a()
+ md8b()
+ md8c()
+ md8d()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/MAIN.asl
index 13539e36b..a3eb2db97 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B150.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0150/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0150/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B150.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0150/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0150/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/RUN.asl
index ae431d3d9..043edfdcc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0150/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 150", TCLD, 150, W017)) {
- SRMT("md8e")
- md8e()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 150", TCLD, 150, W017)) {
+ SRMT("md8e")
+ md8e()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/DECL.asl
index 203b4d07f..2631db5db 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/DECL.asl
@@ -1,115 +1,115 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 151:
- *
- * SUMMARY: The zero-length resulting String of Mid operator passed to Concatenate operator causes crash
- *
- * Check absence of crash..
- */
-
- Method(mf3f, 1, Serialized)
- {
- Name(b000, Buffer(arg0){})
- Name(b001, Buffer(7){1,2,3,4,5,6,7})
- Name(b002, Buffer(7){8,9,10,11,12,13,14})
-
- Store("Buffer case", Debug)
-
- Store(b000, Debug)
- Store(Sizeof(b000), Debug)
-
- // 1.
-
- Store(Concatenate(b000, b001), Local1)
- Store("Ok: Concatenate(<Default empty buffer>, ...)", Debug)
-
- Concatenate(b000, b001, Local0)
- if (LNotEqual(Local0, Buffer(7){1,2,3,4,5,6,7})) {
- err("", zFFF, 0x000, 0, 0, Local0, Buffer(7){1,2,3,4,5,6,7})
- }
-
- // 2.
-
- Store(Mid(b002, 7, 1), Local0)
- Store(Local0, Debug)
- Store(Sizeof(Local0), Debug)
-
- Store("Try: Concatenate(<Mid empty buffer result object>, ...)", Debug)
- Store(Concatenate(Local0, b001), Local1)
- Store("Ok: Concatenate(<Mid empty buffer result object>, ...)", Debug)
-
- Concatenate(Local0, b001, Local0)
- if (LNotEqual(Local0, Buffer(7){1,2,3,4,5,6,7})) {
- err("", zFFF, 0x001, 0, 0, Local0, Buffer(7){1,2,3,4,5,6,7})
- }
- }
-
- Method(mf40,, Serialized)
- {
- Name(s000, "")
- Name(s001, "String1")
- Name(s002, "String2")
-
- Store("String case", Debug)
-
- Store(s000, Debug)
- Store(Sizeof(s000), Debug)
-
- // 3.
-
- Store(Concatenate(s000, s001), Local1)
- Store("Ok: Concatenate(<Default empty string>, ...)", Debug)
-
- Concatenate(s000, s001, Local0)
- if (LNotEqual(Local0, "String1")) {
- err("", zFFF, 0x002, 0, 0, Local0, "String1")
- }
-
- // 4.
-
- Store(Mid(s002, 7, 1), Local0)
- Store(Local0, Debug)
- Store(Sizeof(Local0), Debug)
-
- Store("Try: Concatenate(<Mid empty string result object>, ...)", Debug)
- Store(Concatenate(Local0, s001), Local1)
- Store("Ok: Concatenate(<Mid empty string result object>, ...)", Debug)
-
- Concatenate(Local0, s001, Local0)
- if (LNotEqual(Local0, "String1")) {
- err("", zFFF, 0x003, 0, 0, Local0, "String1")
- }
- }
-
- Method(mf41)
- {
- mf3f(0)
- mf40()
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 151:
+ *
+ * SUMMARY: The zero-length resulting String of Mid operator passed to Concatenate operator causes crash
+ *
+ * Check absence of crash..
+ */
+
+ Method(mf3f, 1, Serialized)
+ {
+ Name(b000, Buffer(arg0){})
+ Name(b001, Buffer(7){1,2,3,4,5,6,7})
+ Name(b002, Buffer(7){8,9,10,11,12,13,14})
+
+ Store("Buffer case", Debug)
+
+ Store(b000, Debug)
+ Store(Sizeof(b000), Debug)
+
+ // 1.
+
+ Store(Concatenate(b000, b001), Local1)
+ Store("Ok: Concatenate(<Default empty buffer>, ...)", Debug)
+
+ Concatenate(b000, b001, Local0)
+ if (LNotEqual(Local0, Buffer(7){1,2,3,4,5,6,7})) {
+ err("", zFFF, 0x000, 0, 0, Local0, Buffer(7){1,2,3,4,5,6,7})
+ }
+
+ // 2.
+
+ Store(Mid(b002, 7, 1), Local0)
+ Store(Local0, Debug)
+ Store(Sizeof(Local0), Debug)
+
+ Store("Try: Concatenate(<Mid empty buffer result object>, ...)", Debug)
+ Store(Concatenate(Local0, b001), Local1)
+ Store("Ok: Concatenate(<Mid empty buffer result object>, ...)", Debug)
+
+ Concatenate(Local0, b001, Local0)
+ if (LNotEqual(Local0, Buffer(7){1,2,3,4,5,6,7})) {
+ err("", zFFF, 0x001, 0, 0, Local0, Buffer(7){1,2,3,4,5,6,7})
+ }
+ }
+
+ Method(mf40,, Serialized)
+ {
+ Name(s000, "")
+ Name(s001, "String1")
+ Name(s002, "String2")
+
+ Store("String case", Debug)
+
+ Store(s000, Debug)
+ Store(Sizeof(s000), Debug)
+
+ // 3.
+
+ Store(Concatenate(s000, s001), Local1)
+ Store("Ok: Concatenate(<Default empty string>, ...)", Debug)
+
+ Concatenate(s000, s001, Local0)
+ if (LNotEqual(Local0, "String1")) {
+ err("", zFFF, 0x002, 0, 0, Local0, "String1")
+ }
+
+ // 4.
+
+ Store(Mid(s002, 7, 1), Local0)
+ Store(Local0, Debug)
+ Store(Sizeof(Local0), Debug)
+
+ Store("Try: Concatenate(<Mid empty string result object>, ...)", Debug)
+ Store(Concatenate(Local0, s001), Local1)
+ Store("Ok: Concatenate(<Mid empty string result object>, ...)", Debug)
+
+ Concatenate(Local0, s001, Local0)
+ if (LNotEqual(Local0, "String1")) {
+ err("", zFFF, 0x003, 0, 0, Local0, "String1")
+ }
+ }
+
+ Method(mf41)
+ {
+ mf3f(0)
+ mf40()
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/MAIN.asl
index dcfa395fe..d01a0e774 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B151.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0151/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0151/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B151.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0151/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0151/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/RUN.asl
index 909bf3db7..d5a433a44 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0151/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 151", TCLD, 151, W017)) {
- SRMT("mf41")
- mf41()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 151", TCLD, 151, W017)) {
+ SRMT("mf41")
+ mf41()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/DECL.asl
index a287a7613..7b7553da7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/DECL.asl
@@ -1,68 +1,68 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 152:
- *
- * SUMMARY: Decrease severity of iASL error for non-Computational types in the Computational data positions
- *
- * Compiler should return error...
- */
-
- Method(mf42)
- {
- Name(INT0, 0xfedcba9876543210)
- Name(STR0, "source string")
- Name(BUF0, Buffer(9){9,8,7,6,5,4,3,2,1})
- Name(PAC0, Package(3) {"test package"})
- Device(DEV0) {Name(s000, "DEV0")}
- Event(EVE0)
- Method(MMM0) {Return ("ff0X")}
- Mutex(MTX0, 0)
- OperationRegion(OPR0, SystemMemory, 0, 48)
- PowerResource(PWR0, 0, 0) {Name(s000, "PWR0")}
- Processor(CPU0, 0x0, 0xFFFFFFFF, 0x0) {Name(s000, "CPU0")}
- ThermalZone(TZN0) {Name(s000, "TZN0")}
- Field(OPR0, ByteAcc, NoLock, Preserve) {FLU0, 69}
- Createfield(BUF0, 0, 69, BFL0)
-
- Add(INT0, 1)
- Add(STR0, 2)
- Add(BUF0, 3)
- Add(PAC0, 4)
- Add(FLU0, 4)
- Add(DEV0, 6)
- Add(EVE0, 7)
- Add(MMM0, 8)
- Add(MTX0, 9)
- Add(OPR0, 10)
- Add(PWR0, 11)
- Add(CPU0, 12)
- Add(TZN0, 13)
- Add(BFL0, 14)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 152:
+ *
+ * SUMMARY: Decrease severity of iASL error for non-Computational types in the Computational data positions
+ *
+ * Compiler should return error...
+ */
+
+ Method(mf42)
+ {
+ Name(INT0, 0xfedcba9876543210)
+ Name(STR0, "source string")
+ Name(BUF0, Buffer(9){9,8,7,6,5,4,3,2,1})
+ Name(PAC0, Package(3) {"test package"})
+ Device(DEV0) {Name(s000, "DEV0")}
+ Event(EVE0)
+ Method(MMM0) {Return ("ff0X")}
+ Mutex(MTX0, 0)
+ OperationRegion(OPR0, SystemMemory, 0, 48)
+ PowerResource(PWR0, 0, 0) {Name(s000, "PWR0")}
+ Processor(CPU0, 0x0, 0xFFFFFFFF, 0x0) {Name(s000, "CPU0")}
+ ThermalZone(TZN0) {Name(s000, "TZN0")}
+ Field(OPR0, ByteAcc, NoLock, Preserve) {FLU0, 69}
+ Createfield(BUF0, 0, 69, BFL0)
+
+ Add(INT0, 1)
+ Add(STR0, 2)
+ Add(BUF0, 3)
+ Add(PAC0, 4)
+ Add(FLU0, 4)
+ Add(DEV0, 6)
+ Add(EVE0, 7)
+ Add(MMM0, 8)
+ Add(MTX0, 9)
+ Add(OPR0, 10)
+ Add(PWR0, 11)
+ Add(CPU0, 12)
+ Add(TZN0, 13)
+ Add(BFL0, 14)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/MAIN.asl
index d655c375f..286609b15 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0152_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B152.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0152_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B152.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0152_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/DECL.asl
index 490c07373..12ba480c9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/DECL.asl
@@ -1,71 +1,71 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Bug 153:
- *
- * SUMMARY: Source and Target objects after ACPI AML StoreOp behave identically
- *
- * Perform any available Store(OOO1, OOO2) operation such that
- * it changes the type of the target named object (OOO2). Then
- * Store anything into OOO2 once again. In a result of these
- * operations OOO1 is changed also identically to OOO2.
- *
- * That is the contents of bug, OOO1 must be unchanged.
- *
- * ROOT CAUSE
- *
- * Incorrectly implemented the case when the type of the target named
- * object is changed in result of the Store operation - the source object
- * itself but not a copy of it is attached to the namespace node of the
- * target object (previous one detached). So, in a result, the same internal
- * object is attached to two namespace nodes. Due to that, the following
- * storing into OOO2 appears like changing of OOO1 as well.
- *
- * OOO2 should be a duplicate of OOO1, see spec below.
- *
- *
- * Check storing of Computational and Package type data, Named and
- * immediate images, to all the available types.
- */
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/Exc.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/Mix.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToBuffer.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToDevice.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToDeviceGlob.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToEvent.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToInteger.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToMutex.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToPackage.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToPowerRes.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToProcessor.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToRegion.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToString.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToThermalZone.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Bug 153:
+ *
+ * SUMMARY: Source and Target objects after ACPI AML StoreOp behave identically
+ *
+ * Perform any available Store(OOO1, OOO2) operation such that
+ * it changes the type of the target named object (OOO2). Then
+ * Store anything into OOO2 once again. In a result of these
+ * operations OOO1 is changed also identically to OOO2.
+ *
+ * That is the contents of bug, OOO1 must be unchanged.
+ *
+ * ROOT CAUSE
+ *
+ * Incorrectly implemented the case when the type of the target named
+ * object is changed in result of the Store operation - the source object
+ * itself but not a copy of it is attached to the namespace node of the
+ * target object (previous one detached). So, in a result, the same internal
+ * object is attached to two namespace nodes. Due to that, the following
+ * storing into OOO2 appears like changing of OOO1 as well.
+ *
+ * OOO2 should be a duplicate of OOO1, see spec below.
+ *
+ *
+ * Check storing of Computational and Package type data, Named and
+ * immediate images, to all the available types.
+ */
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/Exc.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/Mix.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToBuffer.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToDevice.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToDeviceGlob.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToEvent.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToInteger.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToMutex.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToPackage.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToPowerRes.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToProcessor.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToRegion.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToString.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/ToThermalZone.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Exc.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Exc.asl
index 5a68fab57..631a78190 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Exc.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Exc.asl
@@ -1,78 +1,78 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Spec: Store of Non-computational type objects
- * to Computational type object causes exceptions.
- */
-
-// Package --> Integer
-
-Method(md01,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- Name(i000, 0x5678)
-
- CH03("", 0, 0x000, 0, 0)
- Store(pppp, i000)
- CH04("", 0, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
-}
-
-// Package --> String
-
-Method(md02,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- Name(s000, "String")
-
- CH03("", 0, 0x002, 0, 0)
- Store(pppp, s000)
- CH04("", 0, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
-}
-
-// Package --> Buffer
-
-Method(md03,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- Name(b000, Buffer() {1,2,3,4})
-
- CH03("", 0, 0x004, 0, 0)
- Store(pppp, b000)
- CH04("", 0, 47, 0, 0x005, 0, 0) // AE_AML_OPERAND_TYPE
-}
-
-Method(md04)
-{
- CH03("", 0, 0xf00, 0, 0)
- md01()
- md02()
- md03()
- CH03("", 0, 0xf01, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Spec: Store of Non-computational type objects
+ * to Computational type object causes exceptions.
+ */
+
+// Package --> Integer
+
+Method(md01,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ Name(i000, 0x5678)
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(pppp, i000)
+ CH04("", 0, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
+}
+
+// Package --> String
+
+Method(md02,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ Name(s000, "String")
+
+ CH03("", 0, 0x002, 0, 0)
+ Store(pppp, s000)
+ CH04("", 0, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
+}
+
+// Package --> Buffer
+
+Method(md03,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ Name(b000, Buffer() {1,2,3,4})
+
+ CH03("", 0, 0x004, 0, 0)
+ Store(pppp, b000)
+ CH04("", 0, 47, 0, 0x005, 0, 0) // AE_AML_OPERAND_TYPE
+}
+
+Method(md04)
+{
+ CH03("", 0, 0xf00, 0, 0)
+ md01()
+ md02()
+ md03()
+ CH03("", 0, 0xf01, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/MAIN.asl
index e391c8d7d..9bd94d26a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B153.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0153/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0153/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B153.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0153/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0153/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Mix.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Mix.asl
index cbc8157e5..19e2b49c4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Mix.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/Mix.asl
@@ -1,319 +1,319 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-Method(md05,, Serialized)
-{
- Event(e000)
- Mutex(mx00, 0)
- ThermalZone(tz00) {}
- Processor(pr00, 0, 0xFFFFFFFF, 0) {}
- PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
- Method(m000) {return (0xabcd0006)}
- Device(d000) { Name(i900, 0xabcd0017) }
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
-
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0001)
- Name(i002, 0xabcd0002)
- Name(i003, 0xabcd0003)
- Name(i004, 0xabcd0004)
- Name(i005, 0xabcd0005)
-
- Store(Store(Store(Store(Store(Store(Store(Store(0x1a2b3c4d, i000), i001), i002), i003), i004), i005), d000), r000)
-
- if (LNotEqual(i000, 0x1a2b3c4d)) {
- err("", zFFF, 0x100, 0, 0, i000, 0x1a2b3c4d)
- }
- if (LNotEqual(i001, 0x1a2b3c4d)) {
- err("", zFFF, 0x101, 0, 0, i001, 0x1a2b3c4d)
- }
- if (LNotEqual(i002, 0x1a2b3c4d)) {
- err("", zFFF, 0x102, 0, 0, i002, 0x1a2b3c4d)
- }
- if (LNotEqual(i003, 0x1a2b3c4d)) {
- err("", zFFF, 0x103, 0, 0, i003, 0x1a2b3c4d)
- }
- if (LNotEqual(i004, 0x1a2b3c4d)) {
- err("", zFFF, 0x104, 0, 0, i004, 0x1a2b3c4d)
- }
- if (LNotEqual(i005, 0x1a2b3c4d)) {
- err("", zFFF, 0x105, 0, 0, i005, 0x1a2b3c4d)
- }
- Store(Refof(d000), Local0)
- if (LNotEqual(DerefOf(Local0), 0x1a2b3c4d)) {
- err("", zFFF, 0x106, 0, 0, d000, 0x1a2b3c4d)
- }
- Store(Refof(r000), Local0)
- if (LNotEqual(DerefOf(Local0), 0x1a2b3c4d)) {
- err("", zFFF, 0x107, 0, 0, r000, 0x1a2b3c4d)
- }
-
- Store(Store(Store(Store(Store(Store(Store(Store(Store(0x91827364, e000), mx00), tz00), pr00), pw00), m000), i000), d000), r000)
-
- Store(Refof(e000), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x108, 0, 0, e000, 0x91827364)
- }
- Store(Refof(mx00), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x109, 0, 0, mx00, 0x91827364)
- }
- Store(Refof(tz00), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x10a, 0, 0, tz00, 0x91827364)
- }
- Store(Refof(pr00), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x10b, 0, 0, pr00, 0x91827364)
- }
- Store(Refof(pw00), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x10c, 0, 0, pw00, 0x91827364)
- }
- Store(Refof(m000), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x10d, 0, 0, m000, 0x91827364)
- }
- Store(Refof(i000), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x10e, 0, 0, i000, 0x91827364)
- }
- Store(Refof(d000), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x10f, 0, 0, d000, 0x91827364)
- }
- Store(Refof(r000), Local0)
- if (LNotEqual(DerefOf(Local0), 0x91827364)) {
- err("", zFFF, 0x110, 0, 0, r000, 0x91827364)
- }
-}
-
-Method(md06,, Serialized)
-{
- Event(e000)
- Mutex(mx00, 0)
- ThermalZone(tz00) {}
- Processor(pr00, 0, 0xFFFFFFFF, 0) {}
- PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
- Method(m000) {return (0xabcd0006)}
- Device(d000) { Name(i900, 0xabcd0017) }
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
-
- Name(i000, 0xabcd0006)
- Name(i001, 0xabcd0007)
- Name(i002, 0xabcd0008)
- Name(i003, 0xabcd0009)
- Name(i004, 0xabcd000a)
- Name(i005, 0xabcd000b)
- Name(i006, 0xabcd000c)
-
- Store(Store(Store(Store(Store(Store(i006, i000), i001), i002), i003), i004), i005)
-
- if (LNotEqual(i006, i000)) {
- err("", zFFF, 0x111, 0, 0, i006, i000)
- }
- if (LNotEqual(i006, i001)) {
- err("", zFFF, 0x112, 0, 0, i006, i001)
- }
- if (LNotEqual(i006, i002)) {
- err("", zFFF, 0x113, 0, 0, i006, i002)
- }
- if (LNotEqual(i006, i003)) {
- err("", zFFF, 0x114, 0, 0, i006, i003)
- }
- if (LNotEqual(i006, i004)) {
- err("", zFFF, 0x115, 0, 0, i006, i004)
- }
- if (LNotEqual(i006, i005)) {
- err("", zFFF, 0x116, 0, 0, i006, i005)
- }
- if (LNotEqual(i006, i006)) {
- err("", zFFF, 0x117, 0, 0, i006, i006)
- }
- Store(Store(Store(Store(Store(Store(Store(i006, e000), mx00), tz00), pr00), pw00), m000), i000)
-
- Store(Refof(e000), Local0)
- if (LNotEqual(DerefOf(Local0), i006)) {
- err("", zFFF, 0x118, 0, 0, e000, i006)
- }
- Store(Refof(mx00), Local0)
- if (LNotEqual(DerefOf(Local0), i006)) {
- err("", zFFF, 0x119, 0, 0, mx00, i006)
- }
- Store(Refof(tz00), Local0)
- if (LNotEqual(DerefOf(Local0), i006)) {
- err("", zFFF, 0x11a, 0, 0, tz00, i006)
- }
- Store(Refof(pr00), Local0)
- if (LNotEqual(DerefOf(Local0), i006)) {
- err("", zFFF, 0x11b, 0, 0, pr00, i006)
- }
- Store(Refof(pw00), Local0)
- if (LNotEqual(DerefOf(Local0), i006)) {
- err("", zFFF, 0x11c, 0, 0, pw00, i006)
- }
- Store(Refof(m000), Local0)
- if (LNotEqual(DerefOf(Local0), i006)) {
- err("", zFFF, 0x11d, 0, 0, m000, i006)
- }
- Store(Refof(i000), Local0)
- if (LNotEqual(DerefOf(Local0), i006)) {
- err("", zFFF, 0x11e, 0, 0, i000, i006)
- }
-}
-
-Method(md68,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- Event(OOO2)
- Name(p000, Package(8){})
- Name(p001, Package(8){OOO2})
-
- Store(Refof(OOO2), Local7)
- Store(Refof(OOO2), Index(p000, 0))
-
- Store(ObjectType(DeRefof(Local7)), Local0)
- if (LNotEqual(Local0, c00f)) {
- err("", zFFF, 0x11f, 0, 0, Local0, c00f)
- }
- Store(Derefof(Index(p000, 0)), Local6)
- Store(ObjectType(DeRefof(Local6)), Local0)
- if (LNotEqual(Local0, c00f)) {
- err("", zFFF, 0x120, 0, 0, Local0, c00f)
- }
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local0)
-
- if (LNotEqual(Local0, 0x61)) {
- err("", zFFF, 0x121, 0, 0, Local0, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0x122, 0, 0, i000, 0xe0385bcd)
- }
-
- Store(ObjectType(DeRefof(Local7)), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x123, 0, 0, Local0, c009)
- }
-
- Store(Refof(OOO2), Local7)
- Store(ObjectType(DeRefof(Local7)), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x124, 0, 0, Local0, c009)
- }
-
- Store(ObjectType(OOO2), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x125, 0, 0, Local0, c009)
- }
-
- Store(Derefof(Index(p000, 0)), Local7)
- Store(ObjectType(DeRefof(Local7)), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x126, 0, 0, Local0, c009)
- }
-}
-
-Method(md69,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- Device(OOO2) {
- Name(i001, 0xabcd0011)
- Name(i002, 0xabcd0012)
- Name(i003, 0xabcd0013)
- Name(i004, 0xabcd0014)
- Name(i005, 0xabcd0015)
- Name(i006, 0xabcd0016)
- Name(i007, 0xabcd0017)
- }
-
- Store(RefOf(OOO2.i001), Local1)
- Store(RefOf(OOO2.i002), Local2)
- Store(RefOf(OOO2.i003), Local3)
- Store(RefOf(OOO2.i004), Local4)
- Store(RefOf(OOO2.i005), Local5)
- Store(RefOf(OOO2.i006), Local6)
- Store(RefOf(OOO2.i007), Local7)
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local0)
-
- if (LNotEqual(Local0, 0x61)) {
- err("", zFFF, 0x127, 0, 0, Local0, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0x128, 0, 0, i000, 0xe0385bcd)
- }
-
- // Are the locals save?
-
- Store(DerefOf(Local1), Local0)
- if (LNotEqual(Local0, 0xabcd0011)) {
- err("", zFFF, 0x129, 0, 0, Local0, 0xabcd0011)
- }
- Store(DerefOf(Local2), Local0)
- if (LNotEqual(Local0, 0xabcd0012)) {
- err("", zFFF, 0x12a, 0, 0, Local0, 0xabcd0012)
- }
- Store(DerefOf(Local3), Local0)
- if (LNotEqual(Local0, 0xabcd0013)) {
- err("", zFFF, 0x12b, 0, 0, Local0, 0xabcd0013)
- }
- Store(DerefOf(Local4), Local0)
- if (LNotEqual(Local0, 0xabcd0014)) {
- err("", zFFF, 0x12c, 0, 0, Local0, 0xabcd0014)
- }
- Store(DerefOf(Local5), Local0)
- if (LNotEqual(Local0, 0xabcd0015)) {
- err("", zFFF, 0x12d, 0, 0, Local0, 0xabcd0015)
- }
- Store(DerefOf(Local6), Local0)
- if (LNotEqual(Local0, 0xabcd0016)) {
- err("", zFFF, 0x12e, 0, 0, Local0, 0xabcd0016)
- }
- Store(DerefOf(Local7), Local0)
- if (LNotEqual(Local0, 0xabcd0017)) {
- err("", zFFF, 0x12f, 0, 0, Local0, 0xabcd0017)
- }
-}
-
-Method(md07)
-{
- CH03("", 0, 0xf02, 0, 0)
- md05()
- md06()
- md68()
- md69()
- CH03("", 0, 0xf03, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+Method(md05,, Serialized)
+{
+ Event(e000)
+ Mutex(mx00, 0)
+ ThermalZone(tz00) {}
+ Processor(pr00, 0, 0xFFFFFFFF, 0) {}
+ PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
+ Method(m000) {return (0xabcd0006)}
+ Device(d000) { Name(i900, 0xabcd0017) }
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0001)
+ Name(i002, 0xabcd0002)
+ Name(i003, 0xabcd0003)
+ Name(i004, 0xabcd0004)
+ Name(i005, 0xabcd0005)
+
+ Store(Store(Store(Store(Store(Store(Store(Store(0x1a2b3c4d, i000), i001), i002), i003), i004), i005), d000), r000)
+
+ if (LNotEqual(i000, 0x1a2b3c4d)) {
+ err("", zFFF, 0x100, 0, 0, i000, 0x1a2b3c4d)
+ }
+ if (LNotEqual(i001, 0x1a2b3c4d)) {
+ err("", zFFF, 0x101, 0, 0, i001, 0x1a2b3c4d)
+ }
+ if (LNotEqual(i002, 0x1a2b3c4d)) {
+ err("", zFFF, 0x102, 0, 0, i002, 0x1a2b3c4d)
+ }
+ if (LNotEqual(i003, 0x1a2b3c4d)) {
+ err("", zFFF, 0x103, 0, 0, i003, 0x1a2b3c4d)
+ }
+ if (LNotEqual(i004, 0x1a2b3c4d)) {
+ err("", zFFF, 0x104, 0, 0, i004, 0x1a2b3c4d)
+ }
+ if (LNotEqual(i005, 0x1a2b3c4d)) {
+ err("", zFFF, 0x105, 0, 0, i005, 0x1a2b3c4d)
+ }
+ Store(Refof(d000), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x1a2b3c4d)) {
+ err("", zFFF, 0x106, 0, 0, d000, 0x1a2b3c4d)
+ }
+ Store(Refof(r000), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x1a2b3c4d)) {
+ err("", zFFF, 0x107, 0, 0, r000, 0x1a2b3c4d)
+ }
+
+ Store(Store(Store(Store(Store(Store(Store(Store(Store(0x91827364, e000), mx00), tz00), pr00), pw00), m000), i000), d000), r000)
+
+ Store(Refof(e000), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x108, 0, 0, e000, 0x91827364)
+ }
+ Store(Refof(mx00), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x109, 0, 0, mx00, 0x91827364)
+ }
+ Store(Refof(tz00), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x10a, 0, 0, tz00, 0x91827364)
+ }
+ Store(Refof(pr00), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x10b, 0, 0, pr00, 0x91827364)
+ }
+ Store(Refof(pw00), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x10c, 0, 0, pw00, 0x91827364)
+ }
+ Store(Refof(m000), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x10d, 0, 0, m000, 0x91827364)
+ }
+ Store(Refof(i000), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x10e, 0, 0, i000, 0x91827364)
+ }
+ Store(Refof(d000), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x10f, 0, 0, d000, 0x91827364)
+ }
+ Store(Refof(r000), Local0)
+ if (LNotEqual(DerefOf(Local0), 0x91827364)) {
+ err("", zFFF, 0x110, 0, 0, r000, 0x91827364)
+ }
+}
+
+Method(md06,, Serialized)
+{
+ Event(e000)
+ Mutex(mx00, 0)
+ ThermalZone(tz00) {}
+ Processor(pr00, 0, 0xFFFFFFFF, 0) {}
+ PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
+ Method(m000) {return (0xabcd0006)}
+ Device(d000) { Name(i900, 0xabcd0017) }
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+
+ Name(i000, 0xabcd0006)
+ Name(i001, 0xabcd0007)
+ Name(i002, 0xabcd0008)
+ Name(i003, 0xabcd0009)
+ Name(i004, 0xabcd000a)
+ Name(i005, 0xabcd000b)
+ Name(i006, 0xabcd000c)
+
+ Store(Store(Store(Store(Store(Store(i006, i000), i001), i002), i003), i004), i005)
+
+ if (LNotEqual(i006, i000)) {
+ err("", zFFF, 0x111, 0, 0, i006, i000)
+ }
+ if (LNotEqual(i006, i001)) {
+ err("", zFFF, 0x112, 0, 0, i006, i001)
+ }
+ if (LNotEqual(i006, i002)) {
+ err("", zFFF, 0x113, 0, 0, i006, i002)
+ }
+ if (LNotEqual(i006, i003)) {
+ err("", zFFF, 0x114, 0, 0, i006, i003)
+ }
+ if (LNotEqual(i006, i004)) {
+ err("", zFFF, 0x115, 0, 0, i006, i004)
+ }
+ if (LNotEqual(i006, i005)) {
+ err("", zFFF, 0x116, 0, 0, i006, i005)
+ }
+ if (LNotEqual(i006, i006)) {
+ err("", zFFF, 0x117, 0, 0, i006, i006)
+ }
+ Store(Store(Store(Store(Store(Store(Store(i006, e000), mx00), tz00), pr00), pw00), m000), i000)
+
+ Store(Refof(e000), Local0)
+ if (LNotEqual(DerefOf(Local0), i006)) {
+ err("", zFFF, 0x118, 0, 0, e000, i006)
+ }
+ Store(Refof(mx00), Local0)
+ if (LNotEqual(DerefOf(Local0), i006)) {
+ err("", zFFF, 0x119, 0, 0, mx00, i006)
+ }
+ Store(Refof(tz00), Local0)
+ if (LNotEqual(DerefOf(Local0), i006)) {
+ err("", zFFF, 0x11a, 0, 0, tz00, i006)
+ }
+ Store(Refof(pr00), Local0)
+ if (LNotEqual(DerefOf(Local0), i006)) {
+ err("", zFFF, 0x11b, 0, 0, pr00, i006)
+ }
+ Store(Refof(pw00), Local0)
+ if (LNotEqual(DerefOf(Local0), i006)) {
+ err("", zFFF, 0x11c, 0, 0, pw00, i006)
+ }
+ Store(Refof(m000), Local0)
+ if (LNotEqual(DerefOf(Local0), i006)) {
+ err("", zFFF, 0x11d, 0, 0, m000, i006)
+ }
+ Store(Refof(i000), Local0)
+ if (LNotEqual(DerefOf(Local0), i006)) {
+ err("", zFFF, 0x11e, 0, 0, i000, i006)
+ }
+}
+
+Method(md68,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ Event(OOO2)
+ Name(p000, Package(8){})
+ Name(p001, Package(8){OOO2})
+
+ Store(Refof(OOO2), Local7)
+ Store(Refof(OOO2), Index(p000, 0))
+
+ Store(ObjectType(DeRefof(Local7)), Local0)
+ if (LNotEqual(Local0, c00f)) {
+ err("", zFFF, 0x11f, 0, 0, Local0, c00f)
+ }
+ Store(Derefof(Index(p000, 0)), Local6)
+ Store(ObjectType(DeRefof(Local6)), Local0)
+ if (LNotEqual(Local0, c00f)) {
+ err("", zFFF, 0x120, 0, 0, Local0, c00f)
+ }
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local0)
+
+ if (LNotEqual(Local0, 0x61)) {
+ err("", zFFF, 0x121, 0, 0, Local0, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0x122, 0, 0, i000, 0xe0385bcd)
+ }
+
+ Store(ObjectType(DeRefof(Local7)), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x123, 0, 0, Local0, c009)
+ }
+
+ Store(Refof(OOO2), Local7)
+ Store(ObjectType(DeRefof(Local7)), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x124, 0, 0, Local0, c009)
+ }
+
+ Store(ObjectType(OOO2), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x125, 0, 0, Local0, c009)
+ }
+
+ Store(Derefof(Index(p000, 0)), Local7)
+ Store(ObjectType(DeRefof(Local7)), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x126, 0, 0, Local0, c009)
+ }
+}
+
+Method(md69,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ Device(OOO2) {
+ Name(i001, 0xabcd0011)
+ Name(i002, 0xabcd0012)
+ Name(i003, 0xabcd0013)
+ Name(i004, 0xabcd0014)
+ Name(i005, 0xabcd0015)
+ Name(i006, 0xabcd0016)
+ Name(i007, 0xabcd0017)
+ }
+
+ Store(RefOf(OOO2.i001), Local1)
+ Store(RefOf(OOO2.i002), Local2)
+ Store(RefOf(OOO2.i003), Local3)
+ Store(RefOf(OOO2.i004), Local4)
+ Store(RefOf(OOO2.i005), Local5)
+ Store(RefOf(OOO2.i006), Local6)
+ Store(RefOf(OOO2.i007), Local7)
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local0)
+
+ if (LNotEqual(Local0, 0x61)) {
+ err("", zFFF, 0x127, 0, 0, Local0, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0x128, 0, 0, i000, 0xe0385bcd)
+ }
+
+ // Are the locals save?
+
+ Store(DerefOf(Local1), Local0)
+ if (LNotEqual(Local0, 0xabcd0011)) {
+ err("", zFFF, 0x129, 0, 0, Local0, 0xabcd0011)
+ }
+ Store(DerefOf(Local2), Local0)
+ if (LNotEqual(Local0, 0xabcd0012)) {
+ err("", zFFF, 0x12a, 0, 0, Local0, 0xabcd0012)
+ }
+ Store(DerefOf(Local3), Local0)
+ if (LNotEqual(Local0, 0xabcd0013)) {
+ err("", zFFF, 0x12b, 0, 0, Local0, 0xabcd0013)
+ }
+ Store(DerefOf(Local4), Local0)
+ if (LNotEqual(Local0, 0xabcd0014)) {
+ err("", zFFF, 0x12c, 0, 0, Local0, 0xabcd0014)
+ }
+ Store(DerefOf(Local5), Local0)
+ if (LNotEqual(Local0, 0xabcd0015)) {
+ err("", zFFF, 0x12d, 0, 0, Local0, 0xabcd0015)
+ }
+ Store(DerefOf(Local6), Local0)
+ if (LNotEqual(Local0, 0xabcd0016)) {
+ err("", zFFF, 0x12e, 0, 0, Local0, 0xabcd0016)
+ }
+ Store(DerefOf(Local7), Local0)
+ if (LNotEqual(Local0, 0xabcd0017)) {
+ err("", zFFF, 0x12f, 0, 0, Local0, 0xabcd0017)
+ }
+}
+
+Method(md07)
+{
+ CH03("", 0, 0xf02, 0, 0)
+ md05()
+ md06()
+ md68()
+ md69()
+ CH03("", 0, 0xf03, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/RUN.asl
index ad6814ede..bc27b09e5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/RUN.asl
@@ -1,59 +1,59 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 153", TCLD, 153, W017)) {
- SRMT("Exc")
- md04()
- SRMT("Mix")
- md07()
- SRMT("ToBuffer")
- m00e()
- SRMT("ToDevice")
- md17()
- md67()
- SRMT("ToEvent")
- md20()
- SRMT("ToInteger")
- md23()
- SRMT("ToMutex")
- md2c()
- SRMT("ToPackage")
- md31()
- SRMT("ToPowerRes")
- md3a()
- SRMT("ToProcessor")
- md43()
- SRMT("ToRegion")
- md4c()
- SRMT("ToString")
- md50()
- SRMT("ToThermalZone")
- md58()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 153", TCLD, 153, W017)) {
+ SRMT("Exc")
+ md04()
+ SRMT("Mix")
+ md07()
+ SRMT("ToBuffer")
+ m00e()
+ SRMT("ToDevice")
+ md17()
+ md67()
+ SRMT("ToEvent")
+ md20()
+ SRMT("ToInteger")
+ md23()
+ SRMT("ToMutex")
+ md2c()
+ SRMT("ToPackage")
+ md31()
+ SRMT("ToPowerRes")
+ md3a()
+ SRMT("ToProcessor")
+ md43()
+ SRMT("ToRegion")
+ md4c()
+ SRMT("ToString")
+ md50()
+ SRMT("ToThermalZone")
+ md58()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToBuffer.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToBuffer.asl
index 2e1403784..52d5234d7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToBuffer.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToBuffer.asl
@@ -1,142 +1,142 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer to Buffer
- */
-
-// Integer
-
-Method(md08,, Serialized)
-{
- Name(i000, 0xabcd)
- Name(b000, Buffer() {1,2,3,4})
-
- Store(i000, b000)
- Store (0x61, b000)
-
- if (LNotEqual(b000, Buffer() {0x61,0,0,0})) {
- err("", zFFF, 0x200, 0, 0, b000, Buffer() {0x61,0,0,0})
- }
- if (LNotEqual(i000, 0xabcd)) {
- err("", zFFF, 0x201, 0, 0, i000, 0xabcd)
- }
-}
-
-// String
-
-Method(md09,, Serialized)
-{
- Name(s000, "zxcvbqwertynm")
- Name(b000, Buffer() {1,2,3,4})
-
- Store(s000, b000)
- Store("ADb", b000)
-
- if (LNotEqual(b000, Buffer() {0x41,0x44,0x62,0})) {
- err("", zFFF, 0x202, 0, 0, b000, Buffer() {0x41,0x44,0x62,0})
- }
- if (LNotEqual(s000, "zxcvbqwertynm")) {
- err("", zFFF, 0x203, 0, 0, s000, "zxcvbqwertynm")
- }
-}
-
-// Buffer
-
-Method(md0a,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- Name(b001, Buffer() {5,6,7,8})
-
- Store(b000, b001)
- Store (Buffer() {5,6}, b001)
-
- if (LNotEqual(b001, Buffer() {5,6,0,0})) {
- err("", zFFF, 0x204, 0, 0, b001, Buffer() {5,6,0,0})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0x205, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-/* Constants */
-
-// Integer
-
-Method(md0b,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
-
- Store(0xabcd, b000)
- Store (0x61, b000)
-
- if (LNotEqual(b000, Buffer() {0x61,0,0,0})) {
- err("", zFFF, 0x206, 0, 0, b000, Buffer() {0x61,0,0,0})
- }
-}
-
-// String
-
-Method(md0c,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
-
- Store("zxcvbqwertynm", b000)
- Store("ADb", b000)
-
- if (LNotEqual(b000, Buffer() {0x41,0x44,0x62,0})) {
- err("", zFFF, 0x207, 0, 0, b000, Buffer() {0x41,0x44,0x62,0})
- }
-}
-
-// Buffer
-
-Method(md0d,, Serialized)
-{
- Name(b001, Buffer() {5,6,7,8})
-
- Store(Buffer() {1,2,3,4}, b001)
- Store (Buffer() {5,6}, b001)
-
- if (LNotEqual(b001, Buffer() {5,6,0,0})) {
- err("", zFFF, 0x208, 0, 0, b001, Buffer() {5,6,0,0})
- }
-}
-
-Method(m00e)
-{
- CH03("", 0, 0xf04, 0, 0)
- md08()
- md09()
- md0a()
- md0b()
- md0c()
- md0d()
- CH03("", 0, 0xf05, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer to Buffer
+ */
+
+// Integer
+
+Method(md08,, Serialized)
+{
+ Name(i000, 0xabcd)
+ Name(b000, Buffer() {1,2,3,4})
+
+ Store(i000, b000)
+ Store (0x61, b000)
+
+ if (LNotEqual(b000, Buffer() {0x61,0,0,0})) {
+ err("", zFFF, 0x200, 0, 0, b000, Buffer() {0x61,0,0,0})
+ }
+ if (LNotEqual(i000, 0xabcd)) {
+ err("", zFFF, 0x201, 0, 0, i000, 0xabcd)
+ }
+}
+
+// String
+
+Method(md09,, Serialized)
+{
+ Name(s000, "zxcvbqwertynm")
+ Name(b000, Buffer() {1,2,3,4})
+
+ Store(s000, b000)
+ Store("ADb", b000)
+
+ if (LNotEqual(b000, Buffer() {0x41,0x44,0x62,0})) {
+ err("", zFFF, 0x202, 0, 0, b000, Buffer() {0x41,0x44,0x62,0})
+ }
+ if (LNotEqual(s000, "zxcvbqwertynm")) {
+ err("", zFFF, 0x203, 0, 0, s000, "zxcvbqwertynm")
+ }
+}
+
+// Buffer
+
+Method(md0a,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ Name(b001, Buffer() {5,6,7,8})
+
+ Store(b000, b001)
+ Store (Buffer() {5,6}, b001)
+
+ if (LNotEqual(b001, Buffer() {5,6,0,0})) {
+ err("", zFFF, 0x204, 0, 0, b001, Buffer() {5,6,0,0})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0x205, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+/* Constants */
+
+// Integer
+
+Method(md0b,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+
+ Store(0xabcd, b000)
+ Store (0x61, b000)
+
+ if (LNotEqual(b000, Buffer() {0x61,0,0,0})) {
+ err("", zFFF, 0x206, 0, 0, b000, Buffer() {0x61,0,0,0})
+ }
+}
+
+// String
+
+Method(md0c,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+
+ Store("zxcvbqwertynm", b000)
+ Store("ADb", b000)
+
+ if (LNotEqual(b000, Buffer() {0x41,0x44,0x62,0})) {
+ err("", zFFF, 0x207, 0, 0, b000, Buffer() {0x41,0x44,0x62,0})
+ }
+}
+
+// Buffer
+
+Method(md0d,, Serialized)
+{
+ Name(b001, Buffer() {5,6,7,8})
+
+ Store(Buffer() {1,2,3,4}, b001)
+ Store (Buffer() {5,6}, b001)
+
+ if (LNotEqual(b001, Buffer() {5,6,0,0})) {
+ err("", zFFF, 0x208, 0, 0, b001, Buffer() {5,6,0,0})
+ }
+}
+
+Method(m00e)
+{
+ CH03("", 0, 0xf04, 0, 0)
+ md08()
+ md09()
+ md0a()
+ md0b()
+ md0c()
+ md0d()
+ CH03("", 0, 0xf05, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDevice.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDevice.asl
index 47cbadd4a..8b45795ae 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDevice.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDevice.asl
@@ -1,242 +1,242 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to Device
- */
-
-// Integer
-
-Method(md0f,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x300, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0x301, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md10,, Serialized)
-{
- Name(s000, "String")
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(s000, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x302, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0x303, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md11,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(b000, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x304, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0x305, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md12,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(pppp, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x306, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x307, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x308, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x309, 0, 0, Local1, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x30a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x30b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x30c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0x30d, 0, 0, Local0, 4)
- }
-}
-
-/* Constant */
-
-// Integer
-
-Method(md13,, Serialized)
-{
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(0xe0385bcd, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x30e, 0, 0, Local1, 0x61)
- }
-}
-
-// String
-
-Method(md14,, Serialized)
-{
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store("String", OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x30f, 0, 0, Local1, "Strang")
- }
-}
-
-// Buffer
-
-Method(md15,, Serialized)
-{
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(Buffer() {1,2,3,4}, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x310, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
-}
-
-// Package
-
-Method(md16,, Serialized)
-{
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x311, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x312, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x313, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x314, 0, 0, Local1, 0x61)
- }
-}
-
-Method(md17)
-{
- CH03("", 0, 0xf06, 0, 0)
- md0f()
- md10()
- md11()
- md12()
- md13()
- md14()
- md15()
- md16()
- CH03("", 0, 0xf07, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to Device
+ */
+
+// Integer
+
+Method(md0f,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x300, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0x301, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md10,, Serialized)
+{
+ Name(s000, "String")
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(s000, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x302, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0x303, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md11,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(b000, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x304, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0x305, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md12,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(pppp, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x306, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x307, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x308, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x309, 0, 0, Local1, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x30a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x30b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x30c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0x30d, 0, 0, Local0, 4)
+ }
+}
+
+/* Constant */
+
+// Integer
+
+Method(md13,, Serialized)
+{
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(0xe0385bcd, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x30e, 0, 0, Local1, 0x61)
+ }
+}
+
+// String
+
+Method(md14,, Serialized)
+{
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store("String", OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x30f, 0, 0, Local1, "Strang")
+ }
+}
+
+// Buffer
+
+Method(md15,, Serialized)
+{
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(Buffer() {1,2,3,4}, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x310, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+}
+
+// Package
+
+Method(md16,, Serialized)
+{
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x311, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x312, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x313, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x314, 0, 0, Local1, 0x61)
+ }
+}
+
+Method(md17)
+{
+ CH03("", 0, 0xf06, 0, 0)
+ md0f()
+ md10()
+ md11()
+ md12()
+ md13()
+ md14()
+ md15()
+ md16()
+ CH03("", 0, 0xf07, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDeviceGlob.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDeviceGlob.asl
index 762cc133d..c44d3eb00 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDeviceGlob.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToDeviceGlob.asl
@@ -1,381 +1,381 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to Device (global objects)
- */
-
-// Glob to Loc
-
-// Integer
-
-Method(md5b,, Serialized)
-{
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(id00, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xd00, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(id00, 0xe0385bcd)) {
- err("", zFFF, 0xd01, 0, 0, id00, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md5c,, Serialized)
-{
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(sd00, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0xd02, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(sd00, "String")) {
- err("", zFFF, 0xd03, 0, 0, sd00, "String")
- }
-}
-
-// Buffer
-
-Method(md5d,, Serialized)
-{
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(bd00, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer(32) {1,2,3,0x61})) {
- err("", zFFF, 0xd04, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(bd00, Buffer(32) {1,2,3,4})) {
- err("", zFFF, 0xd05, 0, 0, bd00, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md5e,, Serialized)
-{
- Device(OOO2) { Name(i900, 0xabcd0017) }
-
- Store(pd00, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0xd06, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0xd07, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0xd08, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xd09, 0, 0, Local1, 0x61)
- }
-
- // pd00
-
- Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0xd0a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0xd0b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0xd0c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0xd0d, 0, 0, Local0, 4)
- }
-}
-
-// All objects are global
-
-// Integer
-
-Method(md5f)
-{
- Store(id00, dd00)
- Store (0x61, dd00)
-
- Store(DeRefof(Refof(dd00)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xd0e, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(id00, 0xe0385bcd)) {
- err("", zFFF, 0xd0f, 0, 0, id00, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md60,, Serialized)
-{
- Device(dd01) { Name(i900, 0xabcd0017) }
-
- Store(sd00, dd01)
- Store(Refof(dd01), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(dd01), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0xd10, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(sd00, "String")) {
- err("", zFFF, 0xd11, 0, 0, sd00, "String")
- }
-}
-
-// Buffer
-
-Method(md61,, Serialized)
-{
- Device(dd02) { Name(i900, 0xabcd0017) }
-
- Store(bd00, dd02)
-
- Store(Refof(dd02), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer(32) {1,2,3,0x61})) {
- err("", zFFF, 0xd12, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(bd00, Buffer(32) {1,2,3,4})) {
- err("", zFFF, 0xd13, 0, 0, bd00, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md62,, Serialized)
-{
- Device(dd03) { Name(i900, 0xabcd0017) }
-
- Store(pd00, dd03)
- Store(Refof(dd03), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // dd03
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0xd14, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0xd15, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0xd16, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xd17, 0, 0, Local1, 0x61)
- }
-
- // pd00
-
- Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0xd18, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0xd19, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0xd1a, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0xd1b, 0, 0, Local0, 4)
- }
-}
-
-// Loc to Glob
-
-// Integer
-
-Method(md63,, Serialized)
-{
- Name(i000, 0xe0385bcd)
-
- Store(i000, dd04)
- Store (0x61, dd04)
-
- Store(DeRefof(Refof(dd04)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xd1c, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0xd1d, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md64,, Serialized)
-{
- Name(s000, "String")
-
- Store(s000, dd05)
- Store(Refof(dd05), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(dd05), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0xd1e, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0xd1f, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md65,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
-
- Store(b000, dd06)
-
- Store(Refof(dd06), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0xd20, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0xd21, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md66,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
-
- Store(pppp, dd07)
- Store(Refof(dd07), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // dd07
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0xd22, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0xd23, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0xd24, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xd25, 0, 0, Local1, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0xd26, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0xd27, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0xd28, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0xd29, 0, 0, Local0, 4)
- }
-}
-
-Method(md67)
-{
- CH03("", 0, 0xf08, 0, 0)
- md5b()
- md5c()
- md5d()
- md5e()
- md5f()
- md60()
- md61()
- md62()
- md63()
- md64()
- md65()
- md66()
- CH03("", 0, 0xf09, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to Device (global objects)
+ */
+
+// Glob to Loc
+
+// Integer
+
+Method(md5b,, Serialized)
+{
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(id00, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xd00, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(id00, 0xe0385bcd)) {
+ err("", zFFF, 0xd01, 0, 0, id00, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md5c,, Serialized)
+{
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(sd00, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0xd02, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(sd00, "String")) {
+ err("", zFFF, 0xd03, 0, 0, sd00, "String")
+ }
+}
+
+// Buffer
+
+Method(md5d,, Serialized)
+{
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(bd00, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer(32) {1,2,3,0x61})) {
+ err("", zFFF, 0xd04, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(bd00, Buffer(32) {1,2,3,4})) {
+ err("", zFFF, 0xd05, 0, 0, bd00, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md5e,, Serialized)
+{
+ Device(OOO2) { Name(i900, 0xabcd0017) }
+
+ Store(pd00, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0xd06, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0xd07, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0xd08, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xd09, 0, 0, Local1, 0x61)
+ }
+
+ // pd00
+
+ Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0xd0a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0xd0b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0xd0c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0xd0d, 0, 0, Local0, 4)
+ }
+}
+
+// All objects are global
+
+// Integer
+
+Method(md5f)
+{
+ Store(id00, dd00)
+ Store (0x61, dd00)
+
+ Store(DeRefof(Refof(dd00)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xd0e, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(id00, 0xe0385bcd)) {
+ err("", zFFF, 0xd0f, 0, 0, id00, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md60,, Serialized)
+{
+ Device(dd01) { Name(i900, 0xabcd0017) }
+
+ Store(sd00, dd01)
+ Store(Refof(dd01), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(dd01), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0xd10, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(sd00, "String")) {
+ err("", zFFF, 0xd11, 0, 0, sd00, "String")
+ }
+}
+
+// Buffer
+
+Method(md61,, Serialized)
+{
+ Device(dd02) { Name(i900, 0xabcd0017) }
+
+ Store(bd00, dd02)
+
+ Store(Refof(dd02), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer(32) {1,2,3,0x61})) {
+ err("", zFFF, 0xd12, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(bd00, Buffer(32) {1,2,3,4})) {
+ err("", zFFF, 0xd13, 0, 0, bd00, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md62,, Serialized)
+{
+ Device(dd03) { Name(i900, 0xabcd0017) }
+
+ Store(pd00, dd03)
+ Store(Refof(dd03), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // dd03
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0xd14, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0xd15, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0xd16, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xd17, 0, 0, Local1, 0x61)
+ }
+
+ // pd00
+
+ Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0xd18, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0xd19, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0xd1a, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pd00, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0xd1b, 0, 0, Local0, 4)
+ }
+}
+
+// Loc to Glob
+
+// Integer
+
+Method(md63,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+
+ Store(i000, dd04)
+ Store (0x61, dd04)
+
+ Store(DeRefof(Refof(dd04)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xd1c, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0xd1d, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md64,, Serialized)
+{
+ Name(s000, "String")
+
+ Store(s000, dd05)
+ Store(Refof(dd05), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(dd05), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0xd1e, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0xd1f, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md65,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+
+ Store(b000, dd06)
+
+ Store(Refof(dd06), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0xd20, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0xd21, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md66,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+
+ Store(pppp, dd07)
+ Store(Refof(dd07), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // dd07
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0xd22, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0xd23, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0xd24, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xd25, 0, 0, Local1, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0xd26, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0xd27, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0xd28, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0xd29, 0, 0, Local0, 4)
+ }
+}
+
+Method(md67)
+{
+ CH03("", 0, 0xf08, 0, 0)
+ md5b()
+ md5c()
+ md5d()
+ md5e()
+ md5f()
+ md60()
+ md61()
+ md62()
+ md63()
+ md64()
+ md65()
+ md66()
+ CH03("", 0, 0xf09, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToEvent.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToEvent.asl
index 5db7d9420..12aa98a28 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToEvent.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToEvent.asl
@@ -1,242 +1,242 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to Event
- */
-
-// Integer
-
-Method(md18,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- Event(OOO2)
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x400, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0x401, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md19,, Serialized)
-{
- Name(s000, "String")
- Event(OOO2)
-
- Store(s000, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x402, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0x403, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md1a,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- Event(OOO2)
-
- Store(b000, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x404, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0x405, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md1b,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- Event(OOO2)
-
- Store(pppp, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x406, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x407, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x408, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x409, 0, 0, Local1, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x40a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x40b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x40c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0x40d, 0, 0, Local0, 4)
- }
-}
-
-/* Constant */
-
-// Integer
-
-Method(md1c,, Serialized)
-{
- Event(OOO2)
-
- Store(0xe0385bcd, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x40e, 0, 0, Local1, 0x61)
- }
-}
-
-// String
-
-Method(md1d,, Serialized)
-{
- Event(OOO2)
-
- Store("String", OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x40f, 0, 0, Local1, "Strang")
- }
-}
-
-// Buffer
-
-Method(md1e,, Serialized)
-{
- Event(OOO2)
-
- Store(Buffer() {1,2,3,4}, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x410, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
-}
-
-// Package
-
-Method(md1f,, Serialized)
-{
- Event(OOO2)
-
- Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x411, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x412, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x413, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x414, 0, 0, Local1, 0x61)
- }
-}
-
-Method(md20)
-{
- CH03("", 0, 0xf0a, 0, 0)
- md18()
- md19()
- md1a()
- md1b()
- md1c()
- md1d()
- md1e()
- md1f()
- CH03("", 0, 0xf0b, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to Event
+ */
+
+// Integer
+
+Method(md18,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ Event(OOO2)
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x400, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0x401, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md19,, Serialized)
+{
+ Name(s000, "String")
+ Event(OOO2)
+
+ Store(s000, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x402, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0x403, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md1a,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ Event(OOO2)
+
+ Store(b000, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x404, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0x405, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md1b,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ Event(OOO2)
+
+ Store(pppp, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x406, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x407, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x408, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x409, 0, 0, Local1, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x40a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x40b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x40c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0x40d, 0, 0, Local0, 4)
+ }
+}
+
+/* Constant */
+
+// Integer
+
+Method(md1c,, Serialized)
+{
+ Event(OOO2)
+
+ Store(0xe0385bcd, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x40e, 0, 0, Local1, 0x61)
+ }
+}
+
+// String
+
+Method(md1d,, Serialized)
+{
+ Event(OOO2)
+
+ Store("String", OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x40f, 0, 0, Local1, "Strang")
+ }
+}
+
+// Buffer
+
+Method(md1e,, Serialized)
+{
+ Event(OOO2)
+
+ Store(Buffer() {1,2,3,4}, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x410, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+}
+
+// Package
+
+Method(md1f,, Serialized)
+{
+ Event(OOO2)
+
+ Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x411, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x412, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x413, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x414, 0, 0, Local1, 0x61)
+ }
+}
+
+Method(md20)
+{
+ CH03("", 0, 0xf0a, 0, 0)
+ md18()
+ md19()
+ md1a()
+ md1b()
+ md1c()
+ md1d()
+ md1e()
+ md1f()
+ CH03("", 0, 0xf0b, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToInteger.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToInteger.asl
index 5c8e15e13..38f4c0543 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToInteger.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToInteger.asl
@@ -1,95 +1,95 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer to Integer
- */
-
-// Integer
-
-Method(md59,, Serialized)
-{
- Name(i000, 0)
- Name(i001, 1)
-
- Store(i000, i001)
- Store (0x61, i001)
-
- if (LNotEqual(i001, 0x61)) {
- err("", zFFF, 0x500, 0, 0, i001, 0x61)
- }
- if (LNotEqual(i000, 0)) {
- err("", zFFF, 0x501, 0, 0, i000, 0)
- }
-}
-
-// String
-
-Method(md21,, Serialized)
-{
- Name(s000, "String")
- Name(i000, 0x1234)
-
- Store(s000, i000)
- Store(0x61, i000)
-
- if (LNotEqual(i000, 0x61)) {
- err("", zFFF, 0x502, 0, 0, i000, 0x61)
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0x503, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md22,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- Name(i000, 0x5678)
-
- Store(b000, i000)
- Store (0x61, i000)
-
- if (LNotEqual(i000, 0x61)) {
- err("", zFFF, 0x504, 0, 0, i000, 0x61)
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0x505, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-Method(md23)
-{
- CH03("", 0, 0xf0c, 0, 0)
- md59()
- md21()
- md22()
- CH03("", 0, 0xf0d, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer to Integer
+ */
+
+// Integer
+
+Method(md59,, Serialized)
+{
+ Name(i000, 0)
+ Name(i001, 1)
+
+ Store(i000, i001)
+ Store (0x61, i001)
+
+ if (LNotEqual(i001, 0x61)) {
+ err("", zFFF, 0x500, 0, 0, i001, 0x61)
+ }
+ if (LNotEqual(i000, 0)) {
+ err("", zFFF, 0x501, 0, 0, i000, 0)
+ }
+}
+
+// String
+
+Method(md21,, Serialized)
+{
+ Name(s000, "String")
+ Name(i000, 0x1234)
+
+ Store(s000, i000)
+ Store(0x61, i000)
+
+ if (LNotEqual(i000, 0x61)) {
+ err("", zFFF, 0x502, 0, 0, i000, 0x61)
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0x503, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md22,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ Name(i000, 0x5678)
+
+ Store(b000, i000)
+ Store (0x61, i000)
+
+ if (LNotEqual(i000, 0x61)) {
+ err("", zFFF, 0x504, 0, 0, i000, 0x61)
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0x505, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+Method(md23)
+{
+ CH03("", 0, 0xf0c, 0, 0)
+ md59()
+ md21()
+ md22()
+ CH03("", 0, 0xf0d, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToMutex.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToMutex.asl
index ca3ed0503..40c1278c0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToMutex.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToMutex.asl
@@ -1,242 +1,242 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to Mutex
- */
-
-// Integer
-
-Method(md24,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- Mutex(OOO2, 0)
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x600, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0x601, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md25,, Serialized)
-{
- Name(s000, "String")
- Mutex(OOO2, 0)
-
- Store(s000, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x602, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0x603, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md26,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- Mutex(OOO2, 0)
-
- Store(b000, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x604, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0x605, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md27,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- Mutex(OOO2, 0)
-
- Store(pppp, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x606, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x607, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x608, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x609, 0, 0, Local1, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x60a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x60b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x60c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0x60d, 0, 0, Local0, 4)
- }
-}
-
-/* Constant */
-
-// Integer
-
-Method(md28,, Serialized)
-{
- Mutex(OOO2, 0)
-
- Store(0xe0385bcd, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x60e, 0, 0, Local1, 0x61)
- }
-}
-
-// String
-
-Method(md29,, Serialized)
-{
- Mutex(OOO2, 0)
-
- Store("String", OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x60f, 0, 0, Local1, "Strang")
- }
-}
-
-// Buffer
-
-Method(md2a,, Serialized)
-{
- Mutex(OOO2, 0)
-
- Store(Buffer() {1,2,3,4}, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x610, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
-}
-
-// Package
-
-Method(md2b,, Serialized)
-{
- Mutex(OOO2, 0)
-
- Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x611, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x612, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x613, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x614, 0, 0, Local1, 0x61)
- }
-}
-
-Method(md2c)
-{
- CH03("", 0, 0xf0e, 0, 0)
- md24()
- md25()
- md26()
- md27()
- md28()
- md29()
- md2a()
- md2b()
- CH03("", 0, 0xf0f, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to Mutex
+ */
+
+// Integer
+
+Method(md24,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ Mutex(OOO2, 0)
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x600, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0x601, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md25,, Serialized)
+{
+ Name(s000, "String")
+ Mutex(OOO2, 0)
+
+ Store(s000, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x602, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0x603, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md26,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ Mutex(OOO2, 0)
+
+ Store(b000, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x604, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0x605, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md27,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ Mutex(OOO2, 0)
+
+ Store(pppp, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x606, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x607, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x608, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x609, 0, 0, Local1, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x60a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x60b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x60c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0x60d, 0, 0, Local0, 4)
+ }
+}
+
+/* Constant */
+
+// Integer
+
+Method(md28,, Serialized)
+{
+ Mutex(OOO2, 0)
+
+ Store(0xe0385bcd, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x60e, 0, 0, Local1, 0x61)
+ }
+}
+
+// String
+
+Method(md29,, Serialized)
+{
+ Mutex(OOO2, 0)
+
+ Store("String", OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x60f, 0, 0, Local1, "Strang")
+ }
+}
+
+// Buffer
+
+Method(md2a,, Serialized)
+{
+ Mutex(OOO2, 0)
+
+ Store(Buffer() {1,2,3,4}, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x610, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+}
+
+// Package
+
+Method(md2b,, Serialized)
+{
+ Mutex(OOO2, 0)
+
+ Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x611, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x612, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x613, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x614, 0, 0, Local1, 0x61)
+ }
+}
+
+Method(md2c)
+{
+ CH03("", 0, 0xf0e, 0, 0)
+ md24()
+ md25()
+ md26()
+ md27()
+ md28()
+ md29()
+ md2a()
+ md2b()
+ CH03("", 0, 0xf0f, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPackage.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPackage.asl
index 83137b229..2426c9c71 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPackage.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPackage.asl
@@ -1,153 +1,153 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to Package
- */
-
-// Integer
-
-Method(md2d,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- Name(OOO2, Package(1){"Package"})
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x700, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0x701, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md2e,, Serialized)
-{
- Name(s000, "String")
- Name(OOO2, Package(1){"Package"})
-
- Store(s000, OOO2)
- Store (0x61, Index(OOO2, 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x702, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0x703, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md2f,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- Name(OOO2, Package(1){Buffer() {5,6,7,8}})
-
- Store(b000, OOO2)
- Store (0x61, Index(OOO2, 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x704, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0x705, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md30,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- Name(OOO2, Package(1){Buffer() {5,6,7,8}})
-
- Store(pppp, OOO2)
- Store (0x61, Index(DerefOf(Index(OOO2, 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(OOO2, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x706, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(OOO2, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x707, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(OOO2, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x708, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(OOO2, 0)), 3)), Local0)
- if (LNotEqual(Local0, 0x61)) {
- err("", zFFF, 0x709, 0, 0, Local0, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x70a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x70b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x70c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0x70d, 0, 0, Local0, 4)
- }
-}
-
-Method(md31)
-{
- CH03("", 0, 0xf10, 0, 0)
- md2d()
- md2e()
- md2f()
- md30()
- CH03("", 0, 0xf11, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to Package
+ */
+
+// Integer
+
+Method(md2d,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ Name(OOO2, Package(1){"Package"})
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x700, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0x701, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md2e,, Serialized)
+{
+ Name(s000, "String")
+ Name(OOO2, Package(1){"Package"})
+
+ Store(s000, OOO2)
+ Store (0x61, Index(OOO2, 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x702, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0x703, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md2f,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ Name(OOO2, Package(1){Buffer() {5,6,7,8}})
+
+ Store(b000, OOO2)
+ Store (0x61, Index(OOO2, 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x704, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0x705, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md30,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ Name(OOO2, Package(1){Buffer() {5,6,7,8}})
+
+ Store(pppp, OOO2)
+ Store (0x61, Index(DerefOf(Index(OOO2, 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(OOO2, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x706, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(OOO2, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x707, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(OOO2, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x708, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(OOO2, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 0x61)) {
+ err("", zFFF, 0x709, 0, 0, Local0, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x70a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x70b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x70c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0x70d, 0, 0, Local0, 4)
+ }
+}
+
+Method(md31)
+{
+ CH03("", 0, 0xf10, 0, 0)
+ md2d()
+ md2e()
+ md2f()
+ md30()
+ CH03("", 0, 0xf11, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPowerRes.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPowerRes.asl
index 929e8de82..2b4443d04 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPowerRes.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToPowerRes.asl
@@ -1,242 +1,242 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to PowerResource
- */
-
-// Integer
-
-Method(md32,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x800, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0x801, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md33,, Serialized)
-{
- Name(s000, "String")
- PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
-
- Store(s000, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x802, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0x803, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md34,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
-
- Store(b000, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x804, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0x805, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md35,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
-
- Store(pppp, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x806, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x807, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x808, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x809, 0, 0, Local1, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x80a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x80b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x80c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0x80d, 0, 0, Local0, 4)
- }
-}
-
-/* Constant */
-
-// Integer
-
-Method(md36,, Serialized)
-{
- PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
-
- Store(0xe0385bcd, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x80e, 0, 0, Local1, 0x61)
- }
-}
-
-// String
-
-Method(md37,, Serialized)
-{
- PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
-
- Store("String", OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x80f, 0, 0, Local1, "Strang")
- }
-}
-
-// Buffer
-
-Method(md38,, Serialized)
-{
- PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
-
- Store(Buffer() {1,2,3,4}, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x810, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
-}
-
-// Package
-
-Method(md39,, Serialized)
-{
- PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
-
- Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x811, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x812, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x813, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x814, 0, 0, Local1, 0x61)
- }
-}
-
-Method(md3a)
-{
- CH03("", 0, 0xf12, 0, 0)
- md32()
- md33()
- md34()
- md35()
- md36()
- md37()
- md38()
- md39()
- CH03("", 0, 0xf13, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to PowerResource
+ */
+
+// Integer
+
+Method(md32,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x800, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0x801, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md33,, Serialized)
+{
+ Name(s000, "String")
+ PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
+
+ Store(s000, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x802, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0x803, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md34,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
+
+ Store(b000, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x804, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0x805, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md35,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
+
+ Store(pppp, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x806, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x807, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x808, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x809, 0, 0, Local1, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x80a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x80b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x80c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0x80d, 0, 0, Local0, 4)
+ }
+}
+
+/* Constant */
+
+// Integer
+
+Method(md36,, Serialized)
+{
+ PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
+
+ Store(0xe0385bcd, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x80e, 0, 0, Local1, 0x61)
+ }
+}
+
+// String
+
+Method(md37,, Serialized)
+{
+ PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
+
+ Store("String", OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x80f, 0, 0, Local1, "Strang")
+ }
+}
+
+// Buffer
+
+Method(md38,, Serialized)
+{
+ PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
+
+ Store(Buffer() {1,2,3,4}, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x810, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+}
+
+// Package
+
+Method(md39,, Serialized)
+{
+ PowerResource(OOO2, 1, 0) {Method(mmmm){return (0)}}
+
+ Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x811, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x812, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x813, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x814, 0, 0, Local1, 0x61)
+ }
+}
+
+Method(md3a)
+{
+ CH03("", 0, 0xf12, 0, 0)
+ md32()
+ md33()
+ md34()
+ md35()
+ md36()
+ md37()
+ md38()
+ md39()
+ CH03("", 0, 0xf13, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToProcessor.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToProcessor.asl
index e9f3fdbce..86d770c65 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToProcessor.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToProcessor.asl
@@ -1,242 +1,242 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to Processor
- */
-
-// Integer
-
-Method(md3b,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x900, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0x901, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md3c,, Serialized)
-{
- Name(s000, "String")
- Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
-
- Store(s000, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x902, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0x903, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md3d,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
-
- Store(b000, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x904, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0x905, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md3e,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
-
- Store(pppp, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x906, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x907, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x908, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x909, 0, 0, Local1, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x90a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x90b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x90c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0x90d, 0, 0, Local0, 4)
- }
-}
-
-/* Constant */
-
-// Integer
-
-Method(md3f,, Serialized)
-{
- Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
-
- Store(0xe0385bcd, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x90e, 0, 0, Local1, 0x61)
- }
-}
-
-// String
-
-Method(md40,, Serialized)
-{
- Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
-
- Store("String", OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0x90f, 0, 0, Local1, "Strang")
- }
-}
-
-// Buffer
-
-Method(md41,, Serialized)
-{
- Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
-
- Store(Buffer() {1,2,3,4}, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0x910, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
-}
-
-// Package
-
-Method(md42,, Serialized)
-{
- Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
-
- Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x911, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x912, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x913, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0x914, 0, 0, Local1, 0x61)
- }
-}
-
-Method(md43)
-{
- CH03("", 0, 0xf14, 0, 0)
- md3b()
- md3c()
- md3d()
- md3e()
- md3f()
- md40()
- md41()
- md42()
- CH03("", 0, 0xf15, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to Processor
+ */
+
+// Integer
+
+Method(md3b,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x900, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0x901, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md3c,, Serialized)
+{
+ Name(s000, "String")
+ Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
+
+ Store(s000, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x902, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0x903, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md3d,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
+
+ Store(b000, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x904, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0x905, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md3e,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
+
+ Store(pppp, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x906, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x907, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x908, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x909, 0, 0, Local1, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x90a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x90b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x90c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0x90d, 0, 0, Local0, 4)
+ }
+}
+
+/* Constant */
+
+// Integer
+
+Method(md3f,, Serialized)
+{
+ Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
+
+ Store(0xe0385bcd, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x90e, 0, 0, Local1, 0x61)
+ }
+}
+
+// String
+
+Method(md40,, Serialized)
+{
+ Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
+
+ Store("String", OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0x90f, 0, 0, Local1, "Strang")
+ }
+}
+
+// Buffer
+
+Method(md41,, Serialized)
+{
+ Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
+
+ Store(Buffer() {1,2,3,4}, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0x910, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+}
+
+// Package
+
+Method(md42,, Serialized)
+{
+ Processor(OOO2, 0, 0xFFFFFFFF, 0) {}
+
+ Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x911, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x912, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x913, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0x914, 0, 0, Local1, 0x61)
+ }
+}
+
+Method(md43)
+{
+ CH03("", 0, 0xf14, 0, 0)
+ md3b()
+ md3c()
+ md3d()
+ md3e()
+ md3f()
+ md40()
+ md41()
+ md42()
+ CH03("", 0, 0xf15, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToRegion.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToRegion.asl
index 5c6cceb0c..b89562ec8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToRegion.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToRegion.asl
@@ -1,242 +1,242 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to OperationRegion
- */
-
-// Integer
-
-Method(md44,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xa00, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0xa01, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md45,, Serialized)
-{
- Name(s000, "String")
- OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
-
- Store(s000, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0xa02, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0xa03, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md46,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
-
- Store(b000, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0xa04, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0xa05, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md47,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
-
- Store(pppp, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0xa06, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0xa07, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0xa08, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xa09, 0, 0, Local1, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0xa0a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0xa0b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0xa0c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0xa0d, 0, 0, Local0, 4)
- }
-}
-
-/* Constant */
-
-// Integer
-
-Method(md48,, Serialized)
-{
- OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
-
- Store(0xe0385bcd, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xa0e, 0, 0, Local1, 0x61)
- }
-}
-
-// String
-
-Method(md49,, Serialized)
-{
- OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
-
- Store("String", OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0xa0f, 0, 0, Local1, "Strang")
- }
-}
-
-// Buffer
-
-Method(md4a,, Serialized)
-{
- OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
-
- Store(Buffer() {1,2,3,4}, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0xa10, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
-}
-
-// Package
-
-Method(md4b,, Serialized)
-{
- OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
-
- Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0xa11, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0xa12, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0xa13, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xa14, 0, 0, Local1, 0x61)
- }
-}
-
-Method(md4c)
-{
- CH03("", 0, 0xf16, 0, 0)
- md44()
- md45()
- md46()
- md47()
- md48()
- md49()
- md4a()
- md4b()
- CH03("", 0, 0xf17, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to OperationRegion
+ */
+
+// Integer
+
+Method(md44,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xa00, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0xa01, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md45,, Serialized)
+{
+ Name(s000, "String")
+ OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
+
+ Store(s000, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0xa02, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0xa03, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md46,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
+
+ Store(b000, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0xa04, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0xa05, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md47,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
+
+ Store(pppp, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0xa06, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0xa07, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0xa08, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xa09, 0, 0, Local1, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0xa0a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0xa0b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0xa0c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0xa0d, 0, 0, Local0, 4)
+ }
+}
+
+/* Constant */
+
+// Integer
+
+Method(md48,, Serialized)
+{
+ OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
+
+ Store(0xe0385bcd, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xa0e, 0, 0, Local1, 0x61)
+ }
+}
+
+// String
+
+Method(md49,, Serialized)
+{
+ OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
+
+ Store("String", OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0xa0f, 0, 0, Local1, "Strang")
+ }
+}
+
+// Buffer
+
+Method(md4a,, Serialized)
+{
+ OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
+
+ Store(Buffer() {1,2,3,4}, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0xa10, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+}
+
+// Package
+
+Method(md4b,, Serialized)
+{
+ OperationRegion(OOO2, SystemMemory, 0x100, 0x100)
+
+ Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0xa11, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0xa12, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0xa13, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xa14, 0, 0, Local1, 0x61)
+ }
+}
+
+Method(md4c)
+{
+ CH03("", 0, 0xf16, 0, 0)
+ md44()
+ md45()
+ md46()
+ md47()
+ md48()
+ md49()
+ md4a()
+ md4b()
+ CH03("", 0, 0xf17, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToString.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToString.asl
index 0cbe168f4..dbef192e3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToString.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToString.asl
@@ -1,95 +1,95 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer to String
- */
-
-// Integer
-
-Method(md4d,, Serialized)
-{
- Name(i000, 0xabcd)
- Name(s000, "String")
-
- Store(i000, s000)
- Store (0x61, s000)
-
- if (LNotEqual(s000, 0x61)) {
- err("", zFFF, 0xb00, 0, 0, s000, 0x61)
- }
- if (LNotEqual(i000, 0xabcd)) {
- err("", zFFF, 0xb01, 0, 0, i000, 0xabcd)
- }
-}
-
-// String
-
-Method(md4e,, Serialized)
-{
- Name(s000, "zxcvbqwertynm")
- Name(s001, "String")
-
- Store(s000, s001)
- Store("ADb", s001)
-
- if (LNotEqual(s001, "ADb")) {
- err("", zFFF, 0xb02, 0, 0, s001, "ADb")
- }
- if (LNotEqual(s000, "zxcvbqwertynm")) {
- err("", zFFF, 0xb03, 0, 0, s000, "zxcvbqwertynm")
- }
-}
-
-// Buffer
-
-Method(md4f,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- Name(s000, "String")
-
- Store(b000, s000)
- Store (Buffer() {5,6}, s000)
-
- if (LNotEqual(s000, Buffer() {5,6})) {
- err("", zFFF, 0xb04, 0, 0, s000, Buffer() {5,6})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0xb05, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-Method(md50)
-{
- CH03("", 0, 0xf18, 0, 0)
- md4d()
- md4e()
- md4f()
- CH03("", 0, 0xf19, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer to String
+ */
+
+// Integer
+
+Method(md4d,, Serialized)
+{
+ Name(i000, 0xabcd)
+ Name(s000, "String")
+
+ Store(i000, s000)
+ Store (0x61, s000)
+
+ if (LNotEqual(s000, 0x61)) {
+ err("", zFFF, 0xb00, 0, 0, s000, 0x61)
+ }
+ if (LNotEqual(i000, 0xabcd)) {
+ err("", zFFF, 0xb01, 0, 0, i000, 0xabcd)
+ }
+}
+
+// String
+
+Method(md4e,, Serialized)
+{
+ Name(s000, "zxcvbqwertynm")
+ Name(s001, "String")
+
+ Store(s000, s001)
+ Store("ADb", s001)
+
+ if (LNotEqual(s001, "ADb")) {
+ err("", zFFF, 0xb02, 0, 0, s001, "ADb")
+ }
+ if (LNotEqual(s000, "zxcvbqwertynm")) {
+ err("", zFFF, 0xb03, 0, 0, s000, "zxcvbqwertynm")
+ }
+}
+
+// Buffer
+
+Method(md4f,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ Name(s000, "String")
+
+ Store(b000, s000)
+ Store (Buffer() {5,6}, s000)
+
+ if (LNotEqual(s000, Buffer() {5,6})) {
+ err("", zFFF, 0xb04, 0, 0, s000, Buffer() {5,6})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0xb05, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+Method(md50)
+{
+ CH03("", 0, 0xf18, 0, 0)
+ md4d()
+ md4e()
+ md4f()
+ CH03("", 0, 0xf19, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToThermalZone.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToThermalZone.asl
index a0130aa9a..36043d0ed 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToThermalZone.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0153/ToThermalZone.asl
@@ -1,242 +1,242 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-/*
- * Store Integer/String/Buffer/Package to ThermalZone
- */
-
-// Integer
-
-Method(md5a,, Serialized)
-{
- Name(i000, 0xe0385bcd)
- ThermalZone(OOO2) {}
-
- Store(i000, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xc00, 0, 0, Local1, 0x61)
- }
- if (LNotEqual(i000, 0xe0385bcd)) {
- err("", zFFF, 0xc01, 0, 0, i000, 0xe0385bcd)
- }
-}
-
-// String
-
-Method(md51,, Serialized)
-{
- Name(s000, "String")
- ThermalZone(OOO2) {}
-
- Store(s000, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0xc02, 0, 0, Local1, "Strang")
- }
- if (LNotEqual(s000, "String")) {
- err("", zFFF, 0xc03, 0, 0, s000, "String")
- }
-}
-
-// Buffer
-
-Method(md52,, Serialized)
-{
- Name(b000, Buffer() {1,2,3,4})
- ThermalZone(OOO2) {}
-
- Store(b000, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0xc04, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
- if (LNotEqual(b000, Buffer() {1,2,3,4})) {
- err("", zFFF, 0xc05, 0, 0, b000, Buffer() {1,2,3,4})
- }
-}
-
-// Package
-
-Method(md53,, Serialized)
-{
- Name(pppp, Package(1){Buffer() {1,2,3,4}})
- ThermalZone(OOO2) {}
-
- Store(pppp, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0xc06, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0xc07, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0xc08, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xc09, 0, 0, Local1, 0x61)
- }
-
- // pppp
-
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0xc0a, 0, 0, Local0, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0xc0b, 0, 0, Local0, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0xc0c, 0, 0, Local0, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
- if (LNotEqual(Local0, 4)) {
- err("", zFFF, 0xc0d, 0, 0, Local0, 4)
- }
-}
-
-/* Constant */
-
-// Integer
-
-Method(md54,, Serialized)
-{
- ThermalZone(OOO2) {}
-
- Store(0xe0385bcd, OOO2)
- Store (0x61, OOO2)
-
- Store(DeRefof(Refof(OOO2)), Local1)
-
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xc0e, 0, 0, Local1, 0x61)
- }
-}
-
-// String
-
-Method(md55,, Serialized)
-{
- ThermalZone(OOO2) {}
-
- Store("String", OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
-
- Store(Refof(OOO2), Local0)
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, "Strang")) {
- err("", zFFF, 0xc0f, 0, 0, Local1, "Strang")
- }
-}
-
-// Buffer
-
-Method(md56,, Serialized)
-{
- ThermalZone(OOO2) {}
-
- Store(Buffer() {1,2,3,4}, OOO2)
-
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DeRefof(Local0), 3))
- Store(DeRefof(Local0), Local1)
-
- if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
- err("", zFFF, 0xc10, 0, 0, Local1, Buffer() {1,2,3,0x61})
- }
-}
-
-// Package
-
-Method(md57,, Serialized)
-{
- ThermalZone(OOO2) {}
-
- Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
- Store(Refof(OOO2), Local0)
- Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
-
- // OOO2
-
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0xc11, 0, 0, Local1, 1)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0xc12, 0, 0, Local1, 2)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0xc13, 0, 0, Local1, 3)
- }
- Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
- if (LNotEqual(Local1, 0x61)) {
- err("", zFFF, 0xc14, 0, 0, Local1, 0x61)
- }
-}
-
-Method(md58)
-{
- CH03("", 0, 0xf1a, 0, 0)
- md5a()
- md51()
- md52()
- md53()
- md54()
- md55()
- md56()
- md57()
- CH03("", 0, 0xf1b, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+/*
+ * Store Integer/String/Buffer/Package to ThermalZone
+ */
+
+// Integer
+
+Method(md5a,, Serialized)
+{
+ Name(i000, 0xe0385bcd)
+ ThermalZone(OOO2) {}
+
+ Store(i000, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xc00, 0, 0, Local1, 0x61)
+ }
+ if (LNotEqual(i000, 0xe0385bcd)) {
+ err("", zFFF, 0xc01, 0, 0, i000, 0xe0385bcd)
+ }
+}
+
+// String
+
+Method(md51,, Serialized)
+{
+ Name(s000, "String")
+ ThermalZone(OOO2) {}
+
+ Store(s000, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0xc02, 0, 0, Local1, "Strang")
+ }
+ if (LNotEqual(s000, "String")) {
+ err("", zFFF, 0xc03, 0, 0, s000, "String")
+ }
+}
+
+// Buffer
+
+Method(md52,, Serialized)
+{
+ Name(b000, Buffer() {1,2,3,4})
+ ThermalZone(OOO2) {}
+
+ Store(b000, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0xc04, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+ if (LNotEqual(b000, Buffer() {1,2,3,4})) {
+ err("", zFFF, 0xc05, 0, 0, b000, Buffer() {1,2,3,4})
+ }
+}
+
+// Package
+
+Method(md53,, Serialized)
+{
+ Name(pppp, Package(1){Buffer() {1,2,3,4}})
+ ThermalZone(OOO2) {}
+
+ Store(pppp, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0xc06, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0xc07, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0xc08, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xc09, 0, 0, Local1, 0x61)
+ }
+
+ // pppp
+
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 0)), Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0xc0a, 0, 0, Local0, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 1)), Local0)
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0xc0b, 0, 0, Local0, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 2)), Local0)
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0xc0c, 0, 0, Local0, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(pppp, 0)), 3)), Local0)
+ if (LNotEqual(Local0, 4)) {
+ err("", zFFF, 0xc0d, 0, 0, Local0, 4)
+ }
+}
+
+/* Constant */
+
+// Integer
+
+Method(md54,, Serialized)
+{
+ ThermalZone(OOO2) {}
+
+ Store(0xe0385bcd, OOO2)
+ Store (0x61, OOO2)
+
+ Store(DeRefof(Refof(OOO2)), Local1)
+
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xc0e, 0, 0, Local1, 0x61)
+ }
+}
+
+// String
+
+Method(md55,, Serialized)
+{
+ ThermalZone(OOO2) {}
+
+ Store("String", OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+
+ Store(Refof(OOO2), Local0)
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, "Strang")) {
+ err("", zFFF, 0xc0f, 0, 0, Local1, "Strang")
+ }
+}
+
+// Buffer
+
+Method(md56,, Serialized)
+{
+ ThermalZone(OOO2) {}
+
+ Store(Buffer() {1,2,3,4}, OOO2)
+
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DeRefof(Local0), 3))
+ Store(DeRefof(Local0), Local1)
+
+ if (LNotEqual(Local1, Buffer() {1,2,3,0x61})) {
+ err("", zFFF, 0xc10, 0, 0, Local1, Buffer() {1,2,3,0x61})
+ }
+}
+
+// Package
+
+Method(md57,, Serialized)
+{
+ ThermalZone(OOO2) {}
+
+ Store(Package(1){Buffer() {1,2,3,4}}, OOO2)
+ Store(Refof(OOO2), Local0)
+ Store (0x61, Index(DerefOf(Index(DeRefof(Local0), 0)), 3))
+
+ // OOO2
+
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 0)), Local1)
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0xc11, 0, 0, Local1, 1)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 1)), Local1)
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0xc12, 0, 0, Local1, 2)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 2)), Local1)
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0xc13, 0, 0, Local1, 3)
+ }
+ Store(DeRefof(Index(DerefOf(Index(DeRefof(Local0), 0)), 3)), Local1)
+ if (LNotEqual(Local1, 0x61)) {
+ err("", zFFF, 0xc14, 0, 0, Local1, 0x61)
+ }
+}
+
+Method(md58)
+{
+ CH03("", 0, 0xf1a, 0, 0)
+ md5a()
+ md51()
+ md52()
+ md53()
+ md54()
+ md55()
+ md56()
+ md57()
+ CH03("", 0, 0xf1b, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/DECL.asl
index e532ba7ff..b415f5498 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/DECL.asl
@@ -1,67 +1,67 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 154:
- *
- * SUMMARY: Exception occurs on attempt to rewrite Device type object passed by ArgX to Method
- *
- * Check that exception doesnt occur
- */
-
- Method(mf43, 1)
- {
- Store(Concatenate("ObjectType(Arg0): 0x",
- Mid(ToHexString(ObjectType(Arg0)), 15, 1)), Debug)
- Store(0, Arg0)
- Store("Store(0, Arg0) done", Debug)
- }
-
- Method(mf44)
- {
- mf43(id1d)
- Store(ObjectType(id1d), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x000, 0, 0, Local0, c009)
- }
- if (LNotEqual(id1d, 0xfedcba9876543210)) {
- err("", zFFF, 0x001, 0, 0, id1d, 0xfedcba9876543210)
- }
-
- mf43(ed02)
- Store(ObjectType(ed02), Local0)
- if (LNotEqual(Local0, c00f)) {
- err("", zFFF, 0x002, 0, 0, Local0, c00f)
- }
-
- mf43(dd0b)
- Store(ObjectType(dd0b), Local0)
- if (LNotEqual(Local0, c00e)) {
- err("", zFFF, 0x003, 0, 0, Local0, c00e)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 154:
+ *
+ * SUMMARY: Exception occurs on attempt to rewrite Device type object passed by ArgX to Method
+ *
+ * Check that exception doesnt occur
+ */
+
+ Method(mf43, 1)
+ {
+ Store(Concatenate("ObjectType(Arg0): 0x",
+ Mid(ToHexString(ObjectType(Arg0)), 15, 1)), Debug)
+ Store(0, Arg0)
+ Store("Store(0, Arg0) done", Debug)
+ }
+
+ Method(mf44)
+ {
+ mf43(id1d)
+ Store(ObjectType(id1d), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x000, 0, 0, Local0, c009)
+ }
+ if (LNotEqual(id1d, 0xfedcba9876543210)) {
+ err("", zFFF, 0x001, 0, 0, id1d, 0xfedcba9876543210)
+ }
+
+ mf43(ed02)
+ Store(ObjectType(ed02), Local0)
+ if (LNotEqual(Local0, c00f)) {
+ err("", zFFF, 0x002, 0, 0, Local0, c00f)
+ }
+
+ mf43(dd0b)
+ Store(ObjectType(dd0b), Local0)
+ if (LNotEqual(Local0, c00e)) {
+ err("", zFFF, 0x003, 0, 0, Local0, c00e)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/MAIN.asl
index d954a59df..bd6305ab3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B154.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0154/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0154/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B154.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0154/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0154/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/RUN.asl
index 2fa519f41..2d20b6716 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0154/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 154", TCLD, 154, W017)) {
- SRMT("mf44")
- mf44()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 154", TCLD, 154, W017)) {
+ SRMT("mf44")
+ mf44()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/DECL.asl
index b4490933c..8afff0dcd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/DECL.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 155:
- *
- * SUMMARY: Global level AML code execution is performed twice
- */
-
-/*
-Should be completed !!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!
-SEE: all the type declarations must be verified in this manner
-not only Operregion and Buffield
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- */
-
- Method(mf6b)
- {
- if (LNotEqual(id1f, 50)) {
- err("", zFFF, 0x000, 0, 0, id1f, 50)
- }
-
- if (LNotEqual(id20, 8)) {
- err("", zFFF, 0x001, 0, 0, id20, 8)
- }
-
- if (LNotEqual(bfd3, 0x99)) {
- err("", zFFF, 0x002, 0, 0, bfd3, 0x99)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 155:
+ *
+ * SUMMARY: Global level AML code execution is performed twice
+ */
+
+/*
+Should be completed !!!!!!!!!!!!!!!!!!!!!!!!
+!!!!!!!!!!!!!!!!!!!!!!!!
+SEE: all the type declarations must be verified in this manner
+not only Operregion and Buffield
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ */
+
+ Method(mf6b)
+ {
+ if (LNotEqual(id1f, 50)) {
+ err("", zFFF, 0x000, 0, 0, id1f, 50)
+ }
+
+ if (LNotEqual(id20, 8)) {
+ err("", zFFF, 0x001, 0, 0, id20, 8)
+ }
+
+ if (LNotEqual(bfd3, 0x99)) {
+ err("", zFFF, 0x002, 0, 0, bfd3, 0x99)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/MAIN.asl
index 62721267a..2b9ed6231 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B155.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0155/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0155/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B155.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0155/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0155/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/RUN.asl
index 6ec0e8c13..7c941079d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0155/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 155", TCLD, 155, W017)) {
- SRMT("mf6b")
- mf6b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 155", TCLD, 155, W017)) {
+ SRMT("mf6b")
+ mf6b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/DECL.asl
index f480f3fa4..c2e885c22 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/DECL.asl
@@ -1,62 +1,62 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 156:
- *
- * SUMMARY: Memory leak till the Method exit for each execution of If(TRUE)-Else/ElseIf
- *
- * Only, to demonstrate visually the rate of execution
- * before and after the patch has been applied.
- */
-
- Method(mf45)
- {
- Store("mf45 started", Debug)
-
- Name(i000, 1)
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Store(0, lpC0)
- Store(0xa000, lpN0)
-
- While (lpN0) {
-
- if (i000) {
- Store(lpC0, Debug)
- } else {
- Store(lpN0, Debug)
- }
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Store("mf45 finished", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 156:
+ *
+ * SUMMARY: Memory leak till the Method exit for each execution of If(TRUE)-Else/ElseIf
+ *
+ * Only, to demonstrate visually the rate of execution
+ * before and after the patch has been applied.
+ */
+
+ Method(mf45)
+ {
+ Store("mf45 started", Debug)
+
+ Name(i000, 1)
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Store(0, lpC0)
+ Store(0xa000, lpN0)
+
+ While (lpN0) {
+
+ if (i000) {
+ Store(lpC0, Debug)
+ } else {
+ Store(lpN0, Debug)
+ }
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Store("mf45 finished", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/MAIN.asl
index 3c94050f9..dfa15374d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B156.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0156_ML/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0156_ML/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B156.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0156_ML/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0156_ML/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/RUN.asl
index cc1bd51c8..614483cb1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0156_ML/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 156", TCLD, 156, W017)) {
- SRMT("mf45")
- mf45()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 156", TCLD, 156, W017)) {
+ SRMT("mf45")
+ mf45()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/DECL.asl
index 758e9ee7b..681ae8326 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/DECL.asl
@@ -1,90 +1,90 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 157:
- * Exception occurs while executing method md00.
- *
- * SUMMARY: Exception while processing the empty ParameterTypes list of Method
- *
- * ROOT CAUSE
- *
- * 19.09.2005, the root cause of it is the raw state of
- * implementation of "parametertypes list" feature of iASL.
- * iASL generates a wrong AML code for md00 as if it has one
- * parameter. Stopped fixing.
- *
- *
- * NOTE: add here new failing examples from name/method.asl and
- * name/function.asl tests when starts fixing the bug.
- */
-
-Method(md00) {
-
- Method(m000, , , , , ) {
- Return ("md00.m000")
- }
-
- Function(mm00, , ) {Return ("md00.mm00")}
-
- // Auxiliary names for to eliminate side-effects of the bug
- Method(mmm0) {Return}
- Method(mmm1) {Return}
-
-
- // Method
-
- Store("Local0", Local0)
-
- Store(m000(), Local0)
-
- mmm0()
-
- CH03("", 0, 0x000, 0, 0)
-
- if (LNotEqual("md00.m000", Local0)) {
- err("", zFFF, 0x001, 0, 0, Local0, "md00.m000")
- }
-
-
- // Function
-
- Store("Local0", Local0)
-
- Store(mm00(), Local0)
-
- mmm1()
-
- CH03("", 0, 0x002, 0, 0)
-
- if (LNotEqual("md00.mm00", Local0)) {
- err("", zFFF, 0x003, 0, 0, Local0, "md00.mm00")
- }
-
- CH03("", 0, 0x004, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 157:
+ * Exception occurs while executing method md00.
+ *
+ * SUMMARY: Exception while processing the empty ParameterTypes list of Method
+ *
+ * ROOT CAUSE
+ *
+ * 19.09.2005, the root cause of it is the raw state of
+ * implementation of "parametertypes list" feature of iASL.
+ * iASL generates a wrong AML code for md00 as if it has one
+ * parameter. Stopped fixing.
+ *
+ *
+ * NOTE: add here new failing examples from name/method.asl and
+ * name/function.asl tests when starts fixing the bug.
+ */
+
+Method(md00) {
+
+ Method(m000, , , , , ) {
+ Return ("md00.m000")
+ }
+
+ Function(mm00, , ) {Return ("md00.mm00")}
+
+ // Auxiliary names for to eliminate side-effects of the bug
+ Method(mmm0) {Return}
+ Method(mmm1) {Return}
+
+
+ // Method
+
+ Store("Local0", Local0)
+
+ Store(m000(), Local0)
+
+ mmm0()
+
+ CH03("", 0, 0x000, 0, 0)
+
+ if (LNotEqual("md00.m000", Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local0, "md00.m000")
+ }
+
+
+ // Function
+
+ Store("Local0", Local0)
+
+ Store(mm00(), Local0)
+
+ mmm1()
+
+ CH03("", 0, 0x002, 0, 0)
+
+ if (LNotEqual("md00.mm00", Local0)) {
+ err("", zFFF, 0x003, 0, 0, Local0, "md00.mm00")
+ }
+
+ CH03("", 0, 0x004, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/MAIN.asl
index d20361111..c3c31a638 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B157.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0157/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0157/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B157.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0157/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0157/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/RUN.asl
index ffaeb6cb7..698ef3546 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0157/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 157", TCLD, 157, W017)) {
- SRMT("md00")
- md00()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 157", TCLD, 157, W017)) {
+ SRMT("md00")
+ md00()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/DECL.asl
index 2a1ef1e82..6a3b060ac 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/DECL.asl
@@ -1,67 +1,67 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 158:
- *
- * SUMMARY: Memory leak till the Method exit for each execution of Break
- *
- * Only, to demonstrate visually the rate of execution
- * before and after the patch has been applied.
- */
-
- Method(mf46)
- {
- Store("mf46 started", Debug)
-
- Name(i000, 0)
- Name(num, 0)
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Store(0xA000, num)
- // Store(0x14000, num)
-
- Store(num, i000)
- Store(num, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
- if (i000) {
- While (1) {
- Store(lpC0, Debug)
- Decrement(i000)
- Break
- }
- }
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Store("mf46 finished", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 158:
+ *
+ * SUMMARY: Memory leak till the Method exit for each execution of Break
+ *
+ * Only, to demonstrate visually the rate of execution
+ * before and after the patch has been applied.
+ */
+
+ Method(mf46)
+ {
+ Store("mf46 started", Debug)
+
+ Name(i000, 0)
+ Name(num, 0)
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Store(0xA000, num)
+ // Store(0x14000, num)
+
+ Store(num, i000)
+ Store(num, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+ if (i000) {
+ While (1) {
+ Store(lpC0, Debug)
+ Decrement(i000)
+ Break
+ }
+ }
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Store("mf46 finished", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/MAIN.asl
index 7eec93e1b..c1a199e85 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B158.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0158_ML/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0158_ML/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B158.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0158_ML/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0158_ML/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/RUN.asl
index 1ebb70170..26aa52cbb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0158_ML/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 158", TCLD, 158, W017)) {
- SRMT("mf46")
- mf46()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 158", TCLD, 158, W017)) {
+ SRMT("mf46")
+ mf46()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/DECL.asl
index b35470813..409767c9f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/DECL.asl
@@ -1,65 +1,65 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 159:
- *
- * SUMMARY: Memory leak till the Method exit for each execution of Continue
- *
- * Only, to demonstrate visually the rate of execution
- * before and after the patch has been applied.
- */
-
- Method(mf47)
- {
- Store("mf47 started", Debug)
-
- Name(i000, 0)
- Name(num, 0)
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Store(0xA000, num)
- // Store(0x14000, num)
-
- Store(num, i000)
- Store(1, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
- if (i000) {
- Store(i000, Debug)
- Decrement(i000)
- Continue
- }
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Store("mf47 finished", Debug)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 159:
+ *
+ * SUMMARY: Memory leak till the Method exit for each execution of Continue
+ *
+ * Only, to demonstrate visually the rate of execution
+ * before and after the patch has been applied.
+ */
+
+ Method(mf47)
+ {
+ Store("mf47 started", Debug)
+
+ Name(i000, 0)
+ Name(num, 0)
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Store(0xA000, num)
+ // Store(0x14000, num)
+
+ Store(num, i000)
+ Store(1, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+ if (i000) {
+ Store(i000, Debug)
+ Decrement(i000)
+ Continue
+ }
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Store("mf47 finished", Debug)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/MAIN.asl
index 98d4864fb..71b36953d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B159.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0159_ML/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0159_ML/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B159.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0159_ML/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0159_ML/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/RUN.asl
index 9fa53d427..f485db8ea 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0159_ML/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 159", TCLD, 159, W017)) {
- SRMT("mf47")
- mf47()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 159", TCLD, 159, W017)) {
+ SRMT("mf47")
+ mf47()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/DECL.asl
index 85ffa2a51..d7ea9bf5f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/DECL.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 160:
- *
- * SUMMARY: Attempt to declare Field inside the If scope causes exception
- *
- * Check that exception doesnt occur
- */
-
- Method(mf48,, Serialized)
- {
- CH03("", 0, 0x000, 0, 0)
- Store("mf48 started", Debug)
- Field(rd05, ByteAcc, NoLock, Preserve) { f000, 8 }
- Store("mf48 finished", Debug)
- CH03("", 0, 0x001, 0, 0)
- }
-
- Method(mf49,, Serialized)
- {
- CH03("", 0, 0x002, 0, 0)
- Store("mf49 started", Debug)
- if (1) {
- Field(rd05, ByteAcc, NoLock, Preserve) { f000, 8 }
- }
- Store("mf49 finished", Debug)
- CH03("", 0, 0x003, 0, 0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 160:
+ *
+ * SUMMARY: Attempt to declare Field inside the If scope causes exception
+ *
+ * Check that exception doesnt occur
+ */
+
+ Method(mf48,, Serialized)
+ {
+ CH03("", 0, 0x000, 0, 0)
+ Store("mf48 started", Debug)
+ Field(rd05, ByteAcc, NoLock, Preserve) { f000, 8 }
+ Store("mf48 finished", Debug)
+ CH03("", 0, 0x001, 0, 0)
+ }
+
+ Method(mf49,, Serialized)
+ {
+ CH03("", 0, 0x002, 0, 0)
+ Store("mf49 started", Debug)
+ if (1) {
+ Field(rd05, ByteAcc, NoLock, Preserve) { f000, 8 }
+ }
+ Store("mf49 finished", Debug)
+ CH03("", 0, 0x003, 0, 0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/MAIN.asl
index 4ce4d8596..764f76177 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B160.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0160/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0160/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B160.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0160/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0160/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/RUN.asl
index 5ceea7ee8..472bc9246 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0160/RUN.asl
@@ -1,36 +1,36 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 160", TCLD, 160, W017)) {
- SRMT("mf48")
- mf48()
- SRMT("mf49")
- mf49()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 160", TCLD, 160, W017)) {
+ SRMT("mf48")
+ mf48()
+ SRMT("mf49")
+ mf49()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/DECL.asl
index 409e067fb..ed0ef44a5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/DECL.asl
@@ -1,280 +1,280 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 161:
- *
- * SUMMARY: Named object passed as a BitIndex or NumBits to CreateField causes hang
- *
- * ROOT CAUSE
- */
-
-// Global CreateField declarations
-
-Method(md8f)
-{
- if (LNotEqual(bf32, 0x14)) {
- err("", zFFF, 0x000, 0, 0, bf32, 0x14)
- }
- if (LNotEqual(bf33, 0x1615)) {
- err("", zFFF, 0x001, 0, 0, bf33, 0x1615)
- }
-}
-
-Method(md90)
-{
- if (LNotEqual(bf34, 0x18)) {
- err("", zFFF, 0x002, 0, 0, bf34, 0x18)
- }
- if (LNotEqual(bf35, 0x19)) {
- err("", zFFF, 0x003, 0, 0, bf35, 0x19)
- }
-}
-
-Method(md91)
-{
- if (LNotEqual(bf36, 0x1a)) {
- err("", zFFF, 0x004, 0, 0, bf36, 0x1a)
- }
- if (LNotEqual(bf37, 0x1c1b)) {
- err("", zFFF, 0x005, 0, 0, bf37, 0x1c1b)
- }
-}
-
-// Local CreateField declarations, another buffer than used in md8f-md91
-
-Method(md92)
-{
- CreateField(bd02, 32, id03, bf32)
- CreateField(bd02, 40, Add(id03, 8), bf33)
-
- if (LNotEqual(bf32, 0x14)) {
- err("", zFFF, 0x006, 0, 0, bf32, 0x14)
- }
- if (LNotEqual(bf33, 0x1615)) {
- err("", zFFF, 0x007, 0, 0, bf33, 0x1615)
- }
-}
-
-Method(md93)
-{
- CreateField(bd02, id04, 8, bf34)
- CreateField(bd02, Add(id04, 8), 8, bf35)
-
- if (LNotEqual(bf34, 0x18)) {
- err("", zFFF, 0x008, 0, 0, bf34, 0x18)
- }
- if (LNotEqual(bf35, 0x19)) {
- err("", zFFF, 0x009, 0, 0, bf35, 0x19)
- }
-}
-
-Method(md94)
-{
- CreateField(bd02, id05, id06, bf36)
- CreateField(bd02, Add(id07, 8), Add(id08, 8), bf37)
-
- if (LNotEqual(bf36, 0x1a)) {
- err("", zFFF, 0x00a, 0, 0, bf36, 0x1a)
- }
- if (LNotEqual(bf37, 0x1c1b)) {
- err("", zFFF, 0x00b, 0, 0, bf37, 0x1c1b)
- }
-}
-
-// Local CreateField declarations, the same buffer that used in md8f-md91
-
-Method(md95)
-{
- CreateField(bd03, 32, id03, bf32)
- CreateField(bd03, 40, Add(id03, 8), bf33)
-
- if (LNotEqual(bf32, 0x14)) {
- err("", zFFF, 0x00c, 0, 0, bf32, 0x14)
- }
- if (LNotEqual(bf33, 0x1615)) {
- err("", zFFF, 0x00d, 0, 0, bf33, 0x1615)
- }
-}
-
-Method(md96)
-{
- CreateField(bd03, id04, 8, bf34)
- CreateField(bd03, Add(id04, 8), 8, bf35)
-
- if (LNotEqual(bf34, 0x18)) {
- err("", zFFF, 0x00e, 0, 0, bf34, 0x18)
- }
- if (LNotEqual(bf35, 0x19)) {
- err("", zFFF, 0x00f, 0, 0, bf35, 0x19)
- }
-}
-
-Method(md97)
-{
- CreateField(bd03, id05, id06, bf36)
- CreateField(bd03, Add(id07, 8), Add(id08, 8), bf37)
-
- if (LNotEqual(bf36, 0x1a)) {
- err("", zFFF, 0x010, 0, 0, bf36, 0x1a)
- }
- if (LNotEqual(bf37, 0x1c1b)) {
- err("", zFFF, 0x011, 0, 0, bf37, 0x1c1b)
- }
-}
-
-Method(m075, 6, Serialized)
-{
- Name(b000, Buffer() {0x5D, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18})
-
- if (LNotEqual(arg0, 1)) {
- err("", zFFF, 0x012, 0, 0, arg0, 1)
- }
- if (LNotEqual(arg1, 0x5d)) {
- err("", zFFF, 0x013, 0, 0, arg1, 0x5d)
- }
- if (LNotEqual(arg2, 0x125D)) {
- err("", zFFF, 0x014, 0, 0, arg2, 0x125D)
- }
- if (LNotEqual(arg3, 0x1413125D)) {
- err("", zFFF, 0x015, 0, 0, arg3, 0x1413125D)
- }
-
- if (F64) {
- if (LNotEqual(arg4, 0x181716151413125D)) {
- err("", zFFF, 0x016, 0, 0, arg4, 0x181716151413125D)
- }
- } else {
- if (LNotEqual(arg4, b000)) {
- err("", zFFF, 0x016, 0, 0, arg4, b000)
- }
- }
-
- if (LNotEqual(arg5, 0x5d)) {
- err("", zFFF, 0x017, 0, 0, arg5, 0x5d)
- }
-}
-
-Method(m076, 2)
-{
- if (LNotEqual(arg0, 0x5d)) {
- err("", zFFF, 0x018, 0, 0, arg0, 0x5d)
- }
- if (LNotEqual(arg1, 0x5d)) {
- err("", zFFF, 0x019, 0, 0, arg1, 0x5d)
- }
-}
-
-Method(md98)
-{
- md8f()
- md90()
- md91()
- md92()
- md93()
- md94()
- md95()
- md96()
- md97()
-}
-
-Method(mf7f)
-{
- SRMT("mf7f-0")
- m075(bf40, bf41, bf42, bf43, bf44, bf45)
-
- SRMT("mf7f-1")
- m075(bf46, bf47, bf48, bf49, bf4a, bf4b)
- m076(bf4c, bf4d)
-}
-
-Method(m077,, Serialized)
-{
- CreateBitField(bd03, 8, bf40)
- CreateByteField(bd03, 1, bf41)
- CreateWordField(bd03, 1, bf42)
- CreateDWordField(bd03, 1, bf43)
- CreateQWordField(bd03, 1, bf44)
- CreateField(bd03, 8, 8, bf45)
-
- Name(id21, 1)
- Name(id22, 8)
-
- CreateBitField(bd03, id22, bf46)
- CreateByteField(bd03, id21, bf47)
- CreateWordField(bd03, id21, bf48)
- CreateDWordField(bd03, id21, bf49)
- CreateQWordField(bd03, id21, bf4a)
- CreateField(bd03, 8, id22, bf4b)
- CreateField(bd03, id22, 8, bf4c)
- CreateField(bd03, id22, id22, bf4d)
-
- SRMT("m077-0")
- m075(bf40, bf41, bf42, bf43, bf44, bf45)
-
- SRMT("m077-1")
- m075(bf46, bf47, bf48, bf49, bf4a, bf4b)
- m076(bf4c, bf4d)
-}
-
-Method(mf83)
-{
- Store(1, Local0)
- Store(8, Local1)
-
- CreateBitField(bd03, Local1, bf46)
- CreateByteField(bd03, Local0, bf47)
- CreateWordField(bd03, Local0, bf48)
- CreateDWordField(bd03, Local0, bf49)
- CreateQWordField(bd03, Local0, bf4a)
- CreateField(bd03, 8, Local1, bf4b)
- CreateField(bd03, Local1, 8, bf4c)
- CreateField(bd03, Local1, Local1, bf4d)
-
- SRMT("mf83")
- m075(bf46, bf47, bf48, bf49, bf4a, bf4b)
- m076(bf4c, bf4d)
-}
-
-Method(mf84, 2)
-{
- CreateBitField(bd03, Arg1, bf46)
- CreateByteField(bd03, Arg0, bf47)
- CreateWordField(bd03, Arg0, bf48)
- CreateDWordField(bd03, Arg0, bf49)
- CreateQWordField(bd03, Arg0, bf4a)
- CreateField(bd03, 8, Arg1, bf4b)
- CreateField(bd03, Arg1, 8, bf4c)
- CreateField(bd03, Arg1, Arg1, bf4d)
-
- SRMT("mf84")
- m075(bf46, bf47, bf48, bf49, bf4a, bf4b)
- m076(bf4c, bf4d)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 161:
+ *
+ * SUMMARY: Named object passed as a BitIndex or NumBits to CreateField causes hang
+ *
+ * ROOT CAUSE
+ */
+
+// Global CreateField declarations
+
+Method(md8f)
+{
+ if (LNotEqual(bf32, 0x14)) {
+ err("", zFFF, 0x000, 0, 0, bf32, 0x14)
+ }
+ if (LNotEqual(bf33, 0x1615)) {
+ err("", zFFF, 0x001, 0, 0, bf33, 0x1615)
+ }
+}
+
+Method(md90)
+{
+ if (LNotEqual(bf34, 0x18)) {
+ err("", zFFF, 0x002, 0, 0, bf34, 0x18)
+ }
+ if (LNotEqual(bf35, 0x19)) {
+ err("", zFFF, 0x003, 0, 0, bf35, 0x19)
+ }
+}
+
+Method(md91)
+{
+ if (LNotEqual(bf36, 0x1a)) {
+ err("", zFFF, 0x004, 0, 0, bf36, 0x1a)
+ }
+ if (LNotEqual(bf37, 0x1c1b)) {
+ err("", zFFF, 0x005, 0, 0, bf37, 0x1c1b)
+ }
+}
+
+// Local CreateField declarations, another buffer than used in md8f-md91
+
+Method(md92)
+{
+ CreateField(bd02, 32, id03, bf32)
+ CreateField(bd02, 40, Add(id03, 8), bf33)
+
+ if (LNotEqual(bf32, 0x14)) {
+ err("", zFFF, 0x006, 0, 0, bf32, 0x14)
+ }
+ if (LNotEqual(bf33, 0x1615)) {
+ err("", zFFF, 0x007, 0, 0, bf33, 0x1615)
+ }
+}
+
+Method(md93)
+{
+ CreateField(bd02, id04, 8, bf34)
+ CreateField(bd02, Add(id04, 8), 8, bf35)
+
+ if (LNotEqual(bf34, 0x18)) {
+ err("", zFFF, 0x008, 0, 0, bf34, 0x18)
+ }
+ if (LNotEqual(bf35, 0x19)) {
+ err("", zFFF, 0x009, 0, 0, bf35, 0x19)
+ }
+}
+
+Method(md94)
+{
+ CreateField(bd02, id05, id06, bf36)
+ CreateField(bd02, Add(id07, 8), Add(id08, 8), bf37)
+
+ if (LNotEqual(bf36, 0x1a)) {
+ err("", zFFF, 0x00a, 0, 0, bf36, 0x1a)
+ }
+ if (LNotEqual(bf37, 0x1c1b)) {
+ err("", zFFF, 0x00b, 0, 0, bf37, 0x1c1b)
+ }
+}
+
+// Local CreateField declarations, the same buffer that used in md8f-md91
+
+Method(md95)
+{
+ CreateField(bd03, 32, id03, bf32)
+ CreateField(bd03, 40, Add(id03, 8), bf33)
+
+ if (LNotEqual(bf32, 0x14)) {
+ err("", zFFF, 0x00c, 0, 0, bf32, 0x14)
+ }
+ if (LNotEqual(bf33, 0x1615)) {
+ err("", zFFF, 0x00d, 0, 0, bf33, 0x1615)
+ }
+}
+
+Method(md96)
+{
+ CreateField(bd03, id04, 8, bf34)
+ CreateField(bd03, Add(id04, 8), 8, bf35)
+
+ if (LNotEqual(bf34, 0x18)) {
+ err("", zFFF, 0x00e, 0, 0, bf34, 0x18)
+ }
+ if (LNotEqual(bf35, 0x19)) {
+ err("", zFFF, 0x00f, 0, 0, bf35, 0x19)
+ }
+}
+
+Method(md97)
+{
+ CreateField(bd03, id05, id06, bf36)
+ CreateField(bd03, Add(id07, 8), Add(id08, 8), bf37)
+
+ if (LNotEqual(bf36, 0x1a)) {
+ err("", zFFF, 0x010, 0, 0, bf36, 0x1a)
+ }
+ if (LNotEqual(bf37, 0x1c1b)) {
+ err("", zFFF, 0x011, 0, 0, bf37, 0x1c1b)
+ }
+}
+
+Method(m075, 6, Serialized)
+{
+ Name(b000, Buffer() {0x5D, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18})
+
+ if (LNotEqual(arg0, 1)) {
+ err("", zFFF, 0x012, 0, 0, arg0, 1)
+ }
+ if (LNotEqual(arg1, 0x5d)) {
+ err("", zFFF, 0x013, 0, 0, arg1, 0x5d)
+ }
+ if (LNotEqual(arg2, 0x125D)) {
+ err("", zFFF, 0x014, 0, 0, arg2, 0x125D)
+ }
+ if (LNotEqual(arg3, 0x1413125D)) {
+ err("", zFFF, 0x015, 0, 0, arg3, 0x1413125D)
+ }
+
+ if (F64) {
+ if (LNotEqual(arg4, 0x181716151413125D)) {
+ err("", zFFF, 0x016, 0, 0, arg4, 0x181716151413125D)
+ }
+ } else {
+ if (LNotEqual(arg4, b000)) {
+ err("", zFFF, 0x016, 0, 0, arg4, b000)
+ }
+ }
+
+ if (LNotEqual(arg5, 0x5d)) {
+ err("", zFFF, 0x017, 0, 0, arg5, 0x5d)
+ }
+}
+
+Method(m076, 2)
+{
+ if (LNotEqual(arg0, 0x5d)) {
+ err("", zFFF, 0x018, 0, 0, arg0, 0x5d)
+ }
+ if (LNotEqual(arg1, 0x5d)) {
+ err("", zFFF, 0x019, 0, 0, arg1, 0x5d)
+ }
+}
+
+Method(md98)
+{
+ md8f()
+ md90()
+ md91()
+ md92()
+ md93()
+ md94()
+ md95()
+ md96()
+ md97()
+}
+
+Method(mf7f)
+{
+ SRMT("mf7f-0")
+ m075(bf40, bf41, bf42, bf43, bf44, bf45)
+
+ SRMT("mf7f-1")
+ m075(bf46, bf47, bf48, bf49, bf4a, bf4b)
+ m076(bf4c, bf4d)
+}
+
+Method(m077,, Serialized)
+{
+ CreateBitField(bd03, 8, bf40)
+ CreateByteField(bd03, 1, bf41)
+ CreateWordField(bd03, 1, bf42)
+ CreateDWordField(bd03, 1, bf43)
+ CreateQWordField(bd03, 1, bf44)
+ CreateField(bd03, 8, 8, bf45)
+
+ Name(id21, 1)
+ Name(id22, 8)
+
+ CreateBitField(bd03, id22, bf46)
+ CreateByteField(bd03, id21, bf47)
+ CreateWordField(bd03, id21, bf48)
+ CreateDWordField(bd03, id21, bf49)
+ CreateQWordField(bd03, id21, bf4a)
+ CreateField(bd03, 8, id22, bf4b)
+ CreateField(bd03, id22, 8, bf4c)
+ CreateField(bd03, id22, id22, bf4d)
+
+ SRMT("m077-0")
+ m075(bf40, bf41, bf42, bf43, bf44, bf45)
+
+ SRMT("m077-1")
+ m075(bf46, bf47, bf48, bf49, bf4a, bf4b)
+ m076(bf4c, bf4d)
+}
+
+Method(mf83)
+{
+ Store(1, Local0)
+ Store(8, Local1)
+
+ CreateBitField(bd03, Local1, bf46)
+ CreateByteField(bd03, Local0, bf47)
+ CreateWordField(bd03, Local0, bf48)
+ CreateDWordField(bd03, Local0, bf49)
+ CreateQWordField(bd03, Local0, bf4a)
+ CreateField(bd03, 8, Local1, bf4b)
+ CreateField(bd03, Local1, 8, bf4c)
+ CreateField(bd03, Local1, Local1, bf4d)
+
+ SRMT("mf83")
+ m075(bf46, bf47, bf48, bf49, bf4a, bf4b)
+ m076(bf4c, bf4d)
+}
+
+Method(mf84, 2)
+{
+ CreateBitField(bd03, Arg1, bf46)
+ CreateByteField(bd03, Arg0, bf47)
+ CreateWordField(bd03, Arg0, bf48)
+ CreateDWordField(bd03, Arg0, bf49)
+ CreateQWordField(bd03, Arg0, bf4a)
+ CreateField(bd03, 8, Arg1, bf4b)
+ CreateField(bd03, Arg1, 8, bf4c)
+ CreateField(bd03, Arg1, Arg1, bf4d)
+
+ SRMT("mf84")
+ m075(bf46, bf47, bf48, bf49, bf4a, bf4b)
+ m076(bf4c, bf4d)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/MAIN.asl
index 376c82ca3..521db116c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B161.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0161/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0161/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B161.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0161/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0161/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/RUN.asl
index 61a23a187..29caedd8c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0161/RUN.asl
@@ -1,41 +1,41 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 161", TCLD, 161, W017)) {
- SRMT("md98")
-
- // Failed even to load without my bug-fix reported
-
- md98()
- mf7f()
- m077()
- mf83()
- mf84(1, 8)
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 161", TCLD, 161, W017)) {
+ SRMT("md98")
+
+ // Failed even to load without my bug-fix reported
+
+ md98()
+ mf7f()
+ m077()
+ mf83()
+ mf84(1, 8)
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/DECL.asl
index 268f3009a..8944587ba 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/DECL.asl
@@ -1,73 +1,73 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 162:
- *
- * SUMMARY: Crash while processing the global level execution exception
- *
- * ROOT CAUSE
- *
- * While executing the AML code on a global level (out
- * of any Method, immediately on a DefinitionBlock level)
- * and being forced to handle some exception, ACPICA attempts
- * to retrieve elements of WalkState->MethodNode structure which
- * is a NULL pointer in that case (global level AML code execution
- * case).
- *
- * TO BE VERIFIED
- *
- * Run any Method to check that just after processing
- * the global level execution exception all became stable.
- */
-
-/* Set flag - demo-162 is there, allow compiling without it */
-Name(bd01, Buffer(Store(1, id02)){})
-
-/* This declarations forces exception during the load of DefinitionBlock */
-Name(i002, 10)
-Name(BUF0, Buffer(Divide(i002, 0)){1,2,3,4,5,6,7,8,0xff})
-
-/*
- * md7d - check, register errors and reset the global level execution exception,
- * set up id01 to non-zero in error case.
- */
-Name(BUF1, Buffer(md7d()){})
-
-Method(md78)
-{
- Store("Just after processing the global level execution exception all became stable!", Debug)
-
- /*
- * Since exception should be verified before STRT (see MAIN) we
- * have to initiate err here, to log the error in a usual way.
- */
- if (id01) {
- err("", zFFF, 0x123, 0, 0, 0, 0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 162:
+ *
+ * SUMMARY: Crash while processing the global level execution exception
+ *
+ * ROOT CAUSE
+ *
+ * While executing the AML code on a global level (out
+ * of any Method, immediately on a DefinitionBlock level)
+ * and being forced to handle some exception, ACPICA attempts
+ * to retrieve elements of WalkState->MethodNode structure which
+ * is a NULL pointer in that case (global level AML code execution
+ * case).
+ *
+ * TO BE VERIFIED
+ *
+ * Run any Method to check that just after processing
+ * the global level execution exception all became stable.
+ */
+
+/* Set flag - demo-162 is there, allow compiling without it */
+Name(bd01, Buffer(Store(1, id02)){})
+
+/* This declarations forces exception during the load of DefinitionBlock */
+Name(i002, 10)
+Name(BUF0, Buffer(Divide(i002, 0)){1,2,3,4,5,6,7,8,0xff})
+
+/*
+ * md7d - check, register errors and reset the global level execution exception,
+ * set up id01 to non-zero in error case.
+ */
+Name(BUF1, Buffer(md7d()){})
+
+Method(md78)
+{
+ Store("Just after processing the global level execution exception all became stable!", Debug)
+
+ /*
+ * Since exception should be verified before STRT (see MAIN) we
+ * have to initiate err here, to log the error in a usual way.
+ */
+ if (id01) {
+ err("", zFFF, 0x123, 0, 0, 0, 0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/MAIN.asl
index e8948fda9..dc58d14be 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/MAIN.asl
@@ -1,62 +1,62 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-DefinitionBlock(
- "B162.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0162/DECL.asl")
-
- Method(MAIN) {
-
- // Check, register errors and reset the global level execution exception
- // md7d() - do it while BUF1 creation just after BUF0,
- // otherwise, if doing that there, some other
- // exception may distort picture.
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0162/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+DefinitionBlock(
+ "B162.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0162/DECL.asl")
+
+ Method(MAIN) {
+
+ // Check, register errors and reset the global level execution exception
+ // md7d() - do it while BUF1 creation just after BUF0,
+ // otherwise, if doing that there, some other
+ // exception may distort picture.
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0162/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/RUN.asl
index 7927836b1..e26384ad8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0162/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-if (STTT("Demo of bug 162", TCLD, 162, W017)) {
- SRMT("md78")
- md78()
-}
-FTTT()
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+if (STTT("Demo of bug 162", TCLD, 162, W017)) {
+ SRMT("md78")
+ md78()
+}
+FTTT()
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/DECL.asl
index 2533fbf63..651be16f2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/DECL.asl
@@ -1,77 +1,77 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 163:
- *
- * SUMMARY: The copy of Device object to LocalX is not ever released
- *
- * Only, to demonstrate visually the rate of execution
- * before and after the patch has been applied.
- */
-
- Method(mf4a)
- {
- Device(d900) {}
-
- CopyObject(d900, Local0)
- }
-
- Method(mf4b)
- {
- Store("mf4b started", Debug)
-
- Device(d900) {}
-
- Name(num, 100)
-
- Name(lpN0, 0)
- Name(lpC0, 0)
-
-
- Store(num, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
-
- CopyObject(d900, Local0)
-
- Store(lpC0, Debug)
-
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Store("mf4b finished", Debug)
- }
-
- Method(mf4c)
- {
- mf4a()
- mf4b()
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 163:
+ *
+ * SUMMARY: The copy of Device object to LocalX is not ever released
+ *
+ * Only, to demonstrate visually the rate of execution
+ * before and after the patch has been applied.
+ */
+
+ Method(mf4a)
+ {
+ Device(d900) {}
+
+ CopyObject(d900, Local0)
+ }
+
+ Method(mf4b)
+ {
+ Store("mf4b started", Debug)
+
+ Device(d900) {}
+
+ Name(num, 100)
+
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+
+ Store(num, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+
+ CopyObject(d900, Local0)
+
+ Store(lpC0, Debug)
+
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Store("mf4b finished", Debug)
+ }
+
+ Method(mf4c)
+ {
+ mf4a()
+ mf4b()
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/MAIN.asl
index 342d8a634..bc4190359 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B163.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0163_ML/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0163_ML/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B163.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0163_ML/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0163_ML/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/RUN.asl
index 0e17dc0ed..e70414b50 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0163_ML/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 163", TCLD, 163, W017)) {
- SRMT("mf4c")
- mf4c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 163", TCLD, 163, W017)) {
+ SRMT("mf4c")
+ mf4c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0164_ACTION_REQUIRED/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0164_ACTION_REQUIRED/DECL.asl
index 73b71e8ec..b64f980ba 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0164_ACTION_REQUIRED/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0164_ACTION_REQUIRED/DECL.asl
@@ -1,44 +1,44 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 164:
- *
- * SUMMARY: Subtest m22d of Reference test started causing exceptions since 20050526
- */
-
-Check the result of sub-test m22d of test of references.
-
-Below, from bug report # 164:
-
-
-This is a regression.
-I don't investigate it.
-The subtest m22d() of Reference test passed on 20050513
-but started to cause exceptions since 20050526.
-Thanks
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 164:
+ *
+ * SUMMARY: Subtest m22d of Reference test started causing exceptions since 20050526
+ */
+
+Check the result of sub-test m22d of test of references.
+
+Below, from bug report # 164:
+
+
+This is a regression.
+I don't investigate it.
+The subtest m22d() of Reference test passed on 20050513
+but started to cause exceptions since 20050526.
+Thanks
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/DECL.asl
index 8afff4157..790cfb22f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/DECL.asl
@@ -1,71 +1,71 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 165:
- *
- * SUMMARY: Unnecessary memory allocation for CreateField should be eliminated
- *
- * Only, to run some CreateField-s (it is
- * checked completely by the bfield.asl test)
- */
-
- Method(mf4d)
- {
- CreateField(bd0a, 0, 8, bfd2)
- }
-
- Method(mf4e)
- {
- Name(b001, Buffer(9){0x20,0x21,0x22,0x23})
-
- CreateField(bd0a, 8, 8, bf01)
-
- CreateField(b001, 0, 8, bf02)
-
- Store(bfd2, Debug)
- if (LNotEqual(bfd2, 0x10)) {
- Store("Error 0", Debug)
- } else {
- Store("Ok 0", Debug)
- }
-
- Store(bf01, Debug)
- if (LNotEqual(bf01, 0x11)) {
- Store("Error 1", Debug)
- } else {
- Store("Ok 1", Debug)
- }
-
- Store(bf02, Debug)
- if (LNotEqual(bf02, 0x20)) {
- Store("Error 2", Debug)
- } else {
- Store("Ok 2", Debug)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 165:
+ *
+ * SUMMARY: Unnecessary memory allocation for CreateField should be eliminated
+ *
+ * Only, to run some CreateField-s (it is
+ * checked completely by the bfield.asl test)
+ */
+
+ Method(mf4d)
+ {
+ CreateField(bd0a, 0, 8, bfd2)
+ }
+
+ Method(mf4e)
+ {
+ Name(b001, Buffer(9){0x20,0x21,0x22,0x23})
+
+ CreateField(bd0a, 8, 8, bf01)
+
+ CreateField(b001, 0, 8, bf02)
+
+ Store(bfd2, Debug)
+ if (LNotEqual(bfd2, 0x10)) {
+ Store("Error 0", Debug)
+ } else {
+ Store("Ok 0", Debug)
+ }
+
+ Store(bf01, Debug)
+ if (LNotEqual(bf01, 0x11)) {
+ Store("Error 1", Debug)
+ } else {
+ Store("Ok 1", Debug)
+ }
+
+ Store(bf02, Debug)
+ if (LNotEqual(bf02, 0x20)) {
+ Store("Error 2", Debug)
+ } else {
+ Store("Ok 2", Debug)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/MAIN.asl
index 8aabd5126..753b49a13 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B165.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0165_ML/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0165_ML/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B165.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0165_ML/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0165_ML/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/RUN.asl
index fab778986..87230ec50 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0165_ML/RUN.asl
@@ -1,36 +1,36 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 165", TCLD, 165, W017)) {
- SRMT("mf4d")
- mf4d()
- SRMT("mf4e")
- mf4e()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 165", TCLD, 165, W017)) {
+ SRMT("mf4d")
+ mf4d()
+ SRMT("mf4e")
+ mf4e()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl
index 482240804..4540c9471 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl
@@ -1,117 +1,117 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 166:
- *
- * SUMMARY: Releasing memory of the inside Method scopes surrounding Return operation is needed
- *
- * Only, to initiate Return operation from the inside
- * Method scopes surrounding that Return operation (If,
- * While, Switch, etc..)
- */
-
-
- Method(mf4f)
- {
- }
-
- Method(mf50)
- {
- if (0xabcd0001) {
- return (0xabcd0010)
- }
- }
-
- Method(mf51)
- {
- if (0xabcd0000) {
- if (0xabcd0001) {
- return (0xabcd0010)
- }}
- }
-
- Method(mf52)
- {
- while (0xabcd0000) {
- return (0xabcd0020)
- }
- }
-
- Method(mf53)
- {
- mf4f()
- mf50()
- mf51()
- mf52()
- while (0xabcd0000) {
- mf4f()
- mf50()
- mf51()
- mf52()
- if (0xabcd0001) {
- while (0xabcd0002) {
- if (0xabcd0003) {
- while (0xabcd0004) {
- if (0xabcd0005) {
- while (0xabcd0006) {
- if (0xabcd0007) {
- mf4f()
- mf50()
- mf51()
- mf52()
- while (0xabcd0008) {
- if (0xabcd0009) {
- while (0xabcd000a) {
- if (0xabcd000b) {
- while (0xabcd000c) {
- if (0xabcd000d) {
- while (0xabcd000e) {
- if (0xabcd000f) {
-
- if (0) {
- Store("Impossible 0", Debug)
- } else {
- if (0xabcd0010) {
- return (0xabcd0030)
- }
- }
- }}}}
- mf4f()
- mf50()
- mf51()
- mf52()
- }}}}
- mf4f()
- mf50()
- mf51()
- mf52()
- }}}}
- }}}}
- }
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 166:
+ *
+ * SUMMARY: Releasing memory of the inside Method scopes surrounding Return operation is needed
+ *
+ * Only, to initiate Return operation from the inside
+ * Method scopes surrounding that Return operation (If,
+ * While, Switch, etc..)
+ */
+
+
+ Method(mf4f)
+ {
+ }
+
+ Method(mf50)
+ {
+ if (0xabcd0001) {
+ return (0xabcd0010)
+ }
+ }
+
+ Method(mf51)
+ {
+ if (0xabcd0000) {
+ if (0xabcd0001) {
+ return (0xabcd0010)
+ }}
+ }
+
+ Method(mf52)
+ {
+ while (0xabcd0000) {
+ return (0xabcd0020)
+ }
+ }
+
+ Method(mf53)
+ {
+ mf4f()
+ mf50()
+ mf51()
+ mf52()
+ while (0xabcd0000) {
+ mf4f()
+ mf50()
+ mf51()
+ mf52()
+ if (0xabcd0001) {
+ while (0xabcd0002) {
+ if (0xabcd0003) {
+ while (0xabcd0004) {
+ if (0xabcd0005) {
+ while (0xabcd0006) {
+ if (0xabcd0007) {
+ mf4f()
+ mf50()
+ mf51()
+ mf52()
+ while (0xabcd0008) {
+ if (0xabcd0009) {
+ while (0xabcd000a) {
+ if (0xabcd000b) {
+ while (0xabcd000c) {
+ if (0xabcd000d) {
+ while (0xabcd000e) {
+ if (0xabcd000f) {
+
+ if (0) {
+ Store("Impossible 0", Debug)
+ } else {
+ if (0xabcd0010) {
+ return (0xabcd0030)
+ }
+ }
+ }}}}
+ mf4f()
+ mf50()
+ mf51()
+ mf52()
+ }}}}
+ mf4f()
+ mf50()
+ mf51()
+ mf52()
+ }}}}
+ }}}}
+ }
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/MAIN.asl
index 5053a0f2c..bfd024a02 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B166.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B166.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl
index 7d9b96110..43b38b63f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 166", TCLD, 166, W017)) {
- SRMT("mf53")
- mf53()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 166", TCLD, 166, W017)) {
+ SRMT("mf53")
+ mf53()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/DECL.asl
index df8eea9dd..a682d6b26 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/DECL.asl
@@ -1,143 +1,143 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 167:
- *
- * SUMMARY: Manipulation test PASS but started reporting suspicious diagnostic
- *
- * Check that messages doesnt occur...
- * but since it was due to the incorrect size of Package
- * generated in that case we do this test as runtime test
- * (but not ACTION_REQUIRED type).
- *
- * NOTE: checking of AE_AML_METHOD_LIMIT limits (32 and 256)
- * should be performed in a separate tests (see plan/addition).
- *
- * This is regression.
- * It did not take place earlier.
- * Our test (manipulation) results in PASS, and no exceptions,
- * but some diagnostic information is suspicious (see below).
- * The anomalies are revealed by the test package.asl,
- * methods m1f3 and m203. See attachment.
- * .........
- */
-
- // gr1.asl
-
- Method(mf54,, Serialized)
- {
- Name(p000, Package() {
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
- 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
- 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
- 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,112,
- 113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,
- 129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,
- 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,
- 161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
- 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
- 193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,
- 209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,
- 225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,
- 241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,
- })
-
- Store(Sizeof (p000), Local0)
-
- if (LNotEqual(Local0, 256)) {
- err("", zFFF, 0x000, 0, 0, Local0, 256)
- } else {
- Store(1, Local1)
- Store(0, Local2)
- while (Local0) {
- Store(DeRefOf(Index(p000, Local2)), Local3)
- if (LNotEqual(Local3, Local1)) {
- err("", zFFF, 0x001, 0, 0, Local3, Local1)
- Break
- }
- Decrement(Local0)
- Increment(Local1)
- Increment(Local2)
- }
- if (LNot(Local0)) {Store("Ok", Debug)}
- }
- }
-
- // gr2.asl
-
- Method(mf55, 1)
- {
- if (Arg0) {
- Return (Multiply(Arg0, mf55(Subtract(Arg0, 1))))
- } else {
- Return (1)
- }
- }
-
- Method(mf56)
- {
- Store("mf55(4):", Debug)
- mf55(4)
-
- Store("mf55(25):", Debug)
- mf55(25)
- }
-
- // gr3.asl
-
- Method(mf57,, Serialized)
- {
- Name(i000, 0)
-
- Method(mm00, 1)
- {
- Increment(i000)
-
- if (arg0) {
- mm01()
- }
- }
-
- Method(mm01) {mm00(0)}
-
- Store(0, i000)
- mm00(0)
- if (LNotEqual(i000, 1)) {
- err("", zFFF, 0x002, 0, 0, i000, 1)
- }
-
- Store(0, i000)
- mm00(1)
- if (LNotEqual(i000, 2)) {
- err("", zFFF, 0x003, 0, 0, i000, 2)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 167:
+ *
+ * SUMMARY: Manipulation test PASS but started reporting suspicious diagnostic
+ *
+ * Check that messages doesnt occur...
+ * but since it was due to the incorrect size of Package
+ * generated in that case we do this test as runtime test
+ * (but not ACTION_REQUIRED type).
+ *
+ * NOTE: checking of AE_AML_METHOD_LIMIT limits (32 and 256)
+ * should be performed in a separate tests (see plan/addition).
+ *
+ * This is regression.
+ * It did not take place earlier.
+ * Our test (manipulation) results in PASS, and no exceptions,
+ * but some diagnostic information is suspicious (see below).
+ * The anomalies are revealed by the test package.asl,
+ * methods m1f3 and m203. See attachment.
+ * .........
+ */
+
+ // gr1.asl
+
+ Method(mf54,, Serialized)
+ {
+ Name(p000, Package() {
+ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
+ 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
+ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
+ 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
+ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
+ 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
+ 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,112,
+ 113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,
+ 129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,
+ 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,
+ 161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
+ 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
+ 193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,
+ 209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,
+ 225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,
+ 241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,
+ })
+
+ Store(Sizeof (p000), Local0)
+
+ if (LNotEqual(Local0, 256)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 256)
+ } else {
+ Store(1, Local1)
+ Store(0, Local2)
+ while (Local0) {
+ Store(DeRefOf(Index(p000, Local2)), Local3)
+ if (LNotEqual(Local3, Local1)) {
+ err("", zFFF, 0x001, 0, 0, Local3, Local1)
+ Break
+ }
+ Decrement(Local0)
+ Increment(Local1)
+ Increment(Local2)
+ }
+ if (LNot(Local0)) {Store("Ok", Debug)}
+ }
+ }
+
+ // gr2.asl
+
+ Method(mf55, 1)
+ {
+ if (Arg0) {
+ Return (Multiply(Arg0, mf55(Subtract(Arg0, 1))))
+ } else {
+ Return (1)
+ }
+ }
+
+ Method(mf56)
+ {
+ Store("mf55(4):", Debug)
+ mf55(4)
+
+ Store("mf55(25):", Debug)
+ mf55(25)
+ }
+
+ // gr3.asl
+
+ Method(mf57,, Serialized)
+ {
+ Name(i000, 0)
+
+ Method(mm00, 1)
+ {
+ Increment(i000)
+
+ if (arg0) {
+ mm01()
+ }
+ }
+
+ Method(mm01) {mm00(0)}
+
+ Store(0, i000)
+ mm00(0)
+ if (LNotEqual(i000, 1)) {
+ err("", zFFF, 0x002, 0, 0, i000, 1)
+ }
+
+ Store(0, i000)
+ mm00(1)
+ if (LNotEqual(i000, 2)) {
+ err("", zFFF, 0x003, 0, 0, i000, 2)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/MAIN.asl
index a374e3109..9148c0c5c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B167.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0167/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0167/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B167.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0167/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0167/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/RUN.asl
index 22f05f672..0cad778d2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0167/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 167", TCLD, 167, W017)) {
- SRMT("mf54")
- mf54()
- SRMT("mf56")
- mf56()
- SRMT("mf57")
- mf57()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 167", TCLD, 167, W017)) {
+ SRMT("mf54")
+ mf54()
+ SRMT("mf56")
+ mf56()
+ SRMT("mf57")
+ mf57()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/DECL.asl
index f827cd4fd..d728877a8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/DECL.asl
@@ -1,72 +1,72 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 168:
- *
- * SUMMARY: Wrong specific Package obtained for not optimized AML code
- *
- * The demo shows different behavior of the AML codes
- * obtained without and with -oa option:
- *
- * Method(mf59, 1) {Return(Index(Package(){2, 12}, arg0)}
- * Both AML codes deal with 2-element Packages, but unexpectedly
- * the elements of the Package in the not optimized case are:
- *
- * [ACPI Debug] (00) Integer: 0x000000000000000C
- * [ACPI Debug] (01) <Null Object>
- *
- * against the properly built elements in the optimized case:
- *
- * [ACPI Debug] (00) Integer: 0x0000000000000002
- * [ACPI Debug] (01) Integer: 0x000000000000000C
- *
- *
- * NOTE: run it in both modes - opt & nopt
- */
-
- Method(mf59, 1) {Return (Index(Package(){2, 12}, arg0))}
-
- Method(mf5a)
- {
- Store(mf59(0), Debug)
-
- Store(mf59(0), Local0)
- Store(DerefOf(Local0), Local1)
- if (LNotEqual(Local1, 2)){
- err("", zFFF, 0x000, 0, 0, Local1, 2)
- }
-
- Store(mf59(1), Debug)
-
- Store(mf59(1), Local0)
- Store(DerefOf(Local0), Local1)
- if (LNotEqual(Local1, 12)){
- err("", zFFF, 0x001, 0, 0, Local1, 12)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 168:
+ *
+ * SUMMARY: Wrong specific Package obtained for not optimized AML code
+ *
+ * The demo shows different behavior of the AML codes
+ * obtained without and with -oa option:
+ *
+ * Method(mf59, 1) {Return(Index(Package(){2, 12}, arg0)}
+ * Both AML codes deal with 2-element Packages, but unexpectedly
+ * the elements of the Package in the not optimized case are:
+ *
+ * [ACPI Debug] (00) Integer: 0x000000000000000C
+ * [ACPI Debug] (01) <Null Object>
+ *
+ * against the properly built elements in the optimized case:
+ *
+ * [ACPI Debug] (00) Integer: 0x0000000000000002
+ * [ACPI Debug] (01) Integer: 0x000000000000000C
+ *
+ *
+ * NOTE: run it in both modes - opt & nopt
+ */
+
+ Method(mf59, 1) {Return (Index(Package(){2, 12}, arg0))}
+
+ Method(mf5a)
+ {
+ Store(mf59(0), Debug)
+
+ Store(mf59(0), Local0)
+ Store(DerefOf(Local0), Local1)
+ if (LNotEqual(Local1, 2)){
+ err("", zFFF, 0x000, 0, 0, Local1, 2)
+ }
+
+ Store(mf59(1), Debug)
+
+ Store(mf59(1), Local0)
+ Store(DerefOf(Local0), Local1)
+ if (LNotEqual(Local1, 12)){
+ err("", zFFF, 0x001, 0, 0, Local1, 12)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/MAIN.asl
index 7710f155d..ac777ea0f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B168.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B168.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/RUN.asl
index d2c37f84d..44e5f3d63 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0168_ACT_REQ_NOPT/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 168", TCLD, 168, W017)) {
- SRMT("mf5a")
- mf5a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 168", TCLD, 168, W017)) {
+ SRMT("mf5a")
+ mf5a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/DECL.asl
index d166d2dc0..fc2c03256 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 169:
- *
- * SUMMARY: Improper work of ShiftLeft and ShiftRight operators on Linux in a specific case
- */
-
- Method(mf5b)
- {
- ShiftLeft(0xffffffffffffffff, 64, Local0)
- if (LNotEqual(Local0, 0)){
- err("", zFFF, 0x000, 0, 0, Local0, 0)
- }
- ShiftLeft(0xffffffffffffffff, 65, Local0)
- if (LNotEqual(Local0, 0)){
- err("", zFFF, 0x001, 0, 0, Local0, 0)
- }
- ShiftRight(0xffffffffffffffff, 64, Local0)
- if (LNotEqual(Local0, 0)){
- err("", zFFF, 0x002, 0, 0, Local0, 0)
- }
- ShiftRight(0xffffffffffffffff, 65, Local0)
- if (LNotEqual(Local0, 0)){
- err("", zFFF, 0x003, 0, 0, Local0, 0)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 169:
+ *
+ * SUMMARY: Improper work of ShiftLeft and ShiftRight operators on Linux in a specific case
+ */
+
+ Method(mf5b)
+ {
+ ShiftLeft(0xffffffffffffffff, 64, Local0)
+ if (LNotEqual(Local0, 0)){
+ err("", zFFF, 0x000, 0, 0, Local0, 0)
+ }
+ ShiftLeft(0xffffffffffffffff, 65, Local0)
+ if (LNotEqual(Local0, 0)){
+ err("", zFFF, 0x001, 0, 0, Local0, 0)
+ }
+ ShiftRight(0xffffffffffffffff, 64, Local0)
+ if (LNotEqual(Local0, 0)){
+ err("", zFFF, 0x002, 0, 0, Local0, 0)
+ }
+ ShiftRight(0xffffffffffffffff, 65, Local0)
+ if (LNotEqual(Local0, 0)){
+ err("", zFFF, 0x003, 0, 0, Local0, 0)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/MAIN.asl
index b7613fb12..ea8f2c235 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B169.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0169/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0169/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B169.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0169/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0169/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/RUN.asl
index 631370865..4d90ea5b1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0169/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 169", TCLD, 169, W017)) {
- SRMT("mf5b")
- mf5b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 169", TCLD, 169, W017)) {
+ SRMT("mf5b")
+ mf5b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/DECL.asl
index 155d8adfe..6d2209362 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/DECL.asl
@@ -1,58 +1,58 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 170:
- *
- * SUMMARY: identical to bug 191
- *
- * see if to rewrite it for Fields but not for BufferFields
- */
-
- Method(mf5c,, Serialized)
- {
- Name(b010, Buffer(4) {1,0x77,3,4})
- CreateField(b010, 8, 8, bf90)
-
- Store(ObjectType(bf90), Local0)
-
- if (LNotEqual(Local0, 14)) {
- err("", zFFF, 0x000, 0, 0, Local0, 14)
- } else {
-
- Store(0x9999992b, bf90)
-
- Store(ObjectType(bf90), Local1)
-
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x001, 0, 0, Local1, Local0)
- } elseif (LNotEqual(bf90, 0x2b)) {
- err("", zFFF, 0x002, 0, 0, bf90, 0x2b)
- }
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 170:
+ *
+ * SUMMARY: identical to bug 191
+ *
+ * see if to rewrite it for Fields but not for BufferFields
+ */
+
+ Method(mf5c,, Serialized)
+ {
+ Name(b010, Buffer(4) {1,0x77,3,4})
+ CreateField(b010, 8, 8, bf90)
+
+ Store(ObjectType(bf90), Local0)
+
+ if (LNotEqual(Local0, 14)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 14)
+ } else {
+
+ Store(0x9999992b, bf90)
+
+ Store(ObjectType(bf90), Local1)
+
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local1, Local0)
+ } elseif (LNotEqual(bf90, 0x2b)) {
+ err("", zFFF, 0x002, 0, 0, bf90, 0x2b)
+ }
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/MAIN.asl
index 94063899e..7281430eb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B170.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0170/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0170/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B170.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0170/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0170/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/RUN.asl
index d5b221dec..7274b85a6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0170/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 170", TCLD, 170, W017)) {
- SRMT("mf5c")
- mf5c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 170", TCLD, 170, W017)) {
+ SRMT("mf5c")
+ mf5c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl
index 15e468dcc..75ddbc10b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl
@@ -1,57 +1,57 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 171:
- *
- * SUMMARY: Improper Integer to String implicit conversion in a specific case
- *
- * COMMENT:
- *
- * The demo program shows that the result
- * of Integer to String implicit conversion
- * in 32-bit mode can look like 64-bit mode
- * takes place.
- * The ComplianceRevision field of the demo program
- * should be 2, but run ASL compiler with "-r 1" option.
- * The anomaly is not observed when AML code is obtained
- * with "-r 1 -oa" options.
- */
-
- Method(mf5e)
- {
- Store(LEqual("C179B3FE", 0xc179b3fe), Local0)
- if (LNotEqual(Local0, Ones)) {
- err("", zFFF, 0x000, 0, 0, Local0, Ones)
- }
-
- Store(LEqual(0xc179b3fe, "C179B3FE"), Local0)
- if (LNotEqual(Local0, Ones)) {
- err("", zFFF, 0x001, 0, 0, Local0, Ones)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 171:
+ *
+ * SUMMARY: Improper Integer to String implicit conversion in a specific case
+ *
+ * COMMENT:
+ *
+ * The demo program shows that the result
+ * of Integer to String implicit conversion
+ * in 32-bit mode can look like 64-bit mode
+ * takes place.
+ * The ComplianceRevision field of the demo program
+ * should be 2, but run ASL compiler with "-r 1" option.
+ * The anomaly is not observed when AML code is obtained
+ * with "-r 1 -oa" options.
+ */
+
+ Method(mf5e)
+ {
+ Store(LEqual("C179B3FE", 0xc179b3fe), Local0)
+ if (LNotEqual(Local0, Ones)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Ones)
+ }
+
+ Store(LEqual(0xc179b3fe, "C179B3FE"), Local0)
+ if (LNotEqual(Local0, Ones)) {
+ err("", zFFF, 0x001, 0, 0, Local0, Ones)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/MAIN.asl
index 8f9d5add6..32ee288dd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B171.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B171.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl
index 472c79cbb..fca52d8e2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 171", TCLD, 171, W017)) {
- SRMT("mf5e")
- if (F64) {
- SKIP()
- } else {
- mf5e()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 171", TCLD, 171, W017)) {
+ SRMT("mf5e")
+ if (F64) {
+ SKIP()
+ } else {
+ mf5e()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/DECL.asl
index 685866e4f..ed7d844b8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/DECL.asl
@@ -1,49 +1,49 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 172:
- *
- * SUMMARY: Outstanding allocations to be investigated
- *
- * COMMENT:
- *
- * The message Outstanding: 0xFFFFFFFE allocations after execution
- * is caused by the Store(id1e, ) operations (see demo).
- * There is no any visible reason to get it.
- * The cause should be investigated (and eliminated).
- */
-
- Method(mf5f)
- {
- Store(id1e, ed04)
- Store(id1e, pd10)
-
-// Store("Outstanding allocations to be investigated!", Debug)
-// err("", zFFF, 0x000, 0, 0, 0, 0)
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 172:
+ *
+ * SUMMARY: Outstanding allocations to be investigated
+ *
+ * COMMENT:
+ *
+ * The message Outstanding: 0xFFFFFFFE allocations after execution
+ * is caused by the Store(id1e, ) operations (see demo).
+ * There is no any visible reason to get it.
+ * The cause should be investigated (and eliminated).
+ */
+
+ Method(mf5f)
+ {
+ Store(id1e, ed04)
+ Store(id1e, pd10)
+
+// Store("Outstanding allocations to be investigated!", Debug)
+// err("", zFFF, 0x000, 0, 0, 0, 0)
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/MAIN.asl
index 2bc497690..0b12c7d9c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B172.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B172.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/RUN.asl
index dfd678cc6..2633a4722 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0172_OUTSTAND_ALLOC/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 172", TCLD, 172, W017)) {
- SRMT("mf5f")
- mf5f()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 172", TCLD, 172, W017)) {
+ SRMT("mf5f")
+ mf5f()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0173_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0173_DEMO_IMPOSSIBLE/DECL.asl
index af4dbf216..11698fff5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0173_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0173_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,52 +1,52 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 173:
- *
- * SUMMARY: Two the same fragments of code should be compacted to one
- */
-
-COMMENT
-
-There are two the same fragments of code in the same routine
-(AcpiExResolveMultiple, file interpreter/executer/exresolv.c)
-which could be compacted to one. The patch attached provides
-that minor update.
-
-The only difference between the two fragments of code (34 lines each)
-is like this:
-
- .............................
- < case AML_REF_OF_OP:
- ---
- > case AML_INT_NAMEPATH_OP:
- < Node = ObjDesc->Reference.Object;
- ---
- > Node = ObjDesc->Reference.Node;
- .............................
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 173:
+ *
+ * SUMMARY: Two the same fragments of code should be compacted to one
+ */
+
+COMMENT
+
+There are two the same fragments of code in the same routine
+(AcpiExResolveMultiple, file interpreter/executer/exresolv.c)
+which could be compacted to one. The patch attached provides
+that minor update.
+
+The only difference between the two fragments of code (34 lines each)
+is like this:
+
+ .............................
+ < case AML_REF_OF_OP:
+ ---
+ > case AML_INT_NAMEPATH_OP:
+ < Node = ObjDesc->Reference.Object;
+ ---
+ > Node = ObjDesc->Reference.Node;
+ .............................
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/DECL.asl
index d25c5b901..03cd1118e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/DECL.asl
@@ -1,40 +1,40 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 174:
- *
- * SUMMARY: Inappropriate constant in DescriptorType field of the Descriptor->Address64 structure
- */
-
- Method(mf60)
- {
- if (LNotEqual(rtd1, bd0c)) {
- err("", zFFF, 0x000, 0, 0, rtd1, bd0c)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 174:
+ *
+ * SUMMARY: Inappropriate constant in DescriptorType field of the Descriptor->Address64 structure
+ */
+
+ Method(mf60)
+ {
+ if (LNotEqual(rtd1, bd0c)) {
+ err("", zFFF, 0x000, 0, 0, rtd1, bd0c)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/MAIN.asl
index bd0e89019..6597dae94 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B174.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0174/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0174/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B174.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0174/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0174/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/RUN.asl
index f631ae126..891a5205d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0174/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 174", TCLD, 174, W017)) {
- SRMT("mf60")
- mf60()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 174", TCLD, 174, W017)) {
+ SRMT("mf60")
+ mf60()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/DECL.asl
index 145174183..e1123dd8a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 175:
- *
- * SUMMARY: Unexpected exception on Store of ThermalZone to Debug operation
- */
-
-Method(mf5d)
-{
- CH03("", 0, 0x000, 0, 0)
-
- Store(prd1, Debug)
- Store(rd06, Debug)
- Store(pwd1, Debug)
- Store(ed03, Debug)
- Store(mxd2, Debug)
- Store(dd0c, Debug)
-
- // Unexpected exception
-
- Store("Printing ThermalZone:", Debug)
-
- Store(tzd1, Debug)
-
- CH03("", 0, 0x001, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 175:
+ *
+ * SUMMARY: Unexpected exception on Store of ThermalZone to Debug operation
+ */
+
+Method(mf5d)
+{
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(prd1, Debug)
+ Store(rd06, Debug)
+ Store(pwd1, Debug)
+ Store(ed03, Debug)
+ Store(mxd2, Debug)
+ Store(dd0c, Debug)
+
+ // Unexpected exception
+
+ Store("Printing ThermalZone:", Debug)
+
+ Store(tzd1, Debug)
+
+ CH03("", 0, 0x001, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/MAIN.asl
index 31f6d18b2..e8c2ec113 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B175.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0175/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0175/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B175.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0175/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0175/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/RUN.asl
index b6cc30224..e16ceffa6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0175/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 175", TCLD, 175, W017)) {
- SRMT("mf5d")
- mf5d()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 175", TCLD, 175, W017)) {
+ SRMT("mf5d")
+ mf5d()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/DECL.asl
index 675cfa678..b0b61b9ab 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/DECL.asl
@@ -1,52 +1,52 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 176:
- *
- * SUMMARY: Store-to-Debug an element of Package having reference to itself results in an infinite loop
- */
-
- Method(me59,, Serialized)
- {
- Name(p000, Package(32) { 0, p000 })
-
- Store(Index(p000, 0), Local0)
- Store(Local0, Local1)
- Store(Local0, Debug)
- }
-
- Method(me5a,, Serialized)
- {
- Name(p000, Package(32) { 0, p000 })
-
- Index(p000, 0, Local0)
- Store(Local0, Local1)
- Store(Local0, Debug)
-
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 176:
+ *
+ * SUMMARY: Store-to-Debug an element of Package having reference to itself results in an infinite loop
+ */
+
+ Method(me59,, Serialized)
+ {
+ Name(p000, Package(32) { 0, p000 })
+
+ Store(Index(p000, 0), Local0)
+ Store(Local0, Local1)
+ Store(Local0, Debug)
+ }
+
+ Method(me5a,, Serialized)
+ {
+ Name(p000, Package(32) { 0, p000 })
+
+ Index(p000, 0, Local0)
+ Store(Local0, Local1)
+ Store(Local0, Debug)
+
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/MAIN.asl
index a6c805a6e..2379196fe 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B176.aml", // Output filename
- "DSDT", // Signature
- 0x01, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0176/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0176/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B176.aml", // Output filename
+ "DSDT", // Signature
+ 0x01, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0176/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0176/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/RUN.asl
index 32b596d96..3d313ea0e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0176/RUN.asl
@@ -1,44 +1,44 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 176", TCLD, 176, W017)) {
- SRMT("me59")
- if (y176) {
- me59()
- } else {
- BLCK()
- }
- SRMT("me5a")
- if (y176) {
- me5a()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 176", TCLD, 176, W017)) {
+ SRMT("me59")
+ if (y176) {
+ me59()
+ } else {
+ BLCK()
+ }
+ SRMT("me5a")
+ if (y176) {
+ me5a()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/DECL.asl
index de77a2507..624959a78 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/DECL.asl
@@ -1,122 +1,122 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 177:
- *
- * SUMMARY: Exception BUFFER_LIMIT occurs instead of STRING_LIMIT one
- */
-
- Method(mf07,, Serialized)
- {
- Name(i000, 1)
- OperationRegion(r000, SystemMemory, 0, i000)
- Field(r000, ByteAcc, NoLock, Preserve) {f000, 8}
- Field(r000, ByteAcc, NoLock, Preserve) {f001, 9}
-
- Name(p000, Package(2){0, 1})
- Name(b000, Buffer(3){2, 3, 4})
- Name(s000, "5678")
-
- Name(i001, 0)
- OperationRegion(r001, SystemMemory, 0x100, 0x100)
- Field(r001, ByteAcc, NoLock, Preserve) { bnk0, 2 }
- BankField(r001, bnk0, 4, ByteAcc, NoLock, Preserve) { bkf0, 9 }
-
- // Named
-
- CH03("", 0, 0x000, 0, 0)
- Store(Index(p000, 2), Local1)
- CH04("", 1, 55, 0, 0x001, 0, 0) // AE_AML_PACKAGE_LIMIT
-
- CH03("", 0, 0x002, 0, 0)
- Store(Index(b000, 3), Local1)
- CH04("", 1, 54, 0, 0x003, 0, 0) // AE_AML_BUFFER_LIMIT
-
- CH03("", 0, 0x004, 0, 0)
- Store(Index(s000, 4), Local1)
- CH04("", 1, 61, 0, 0x005, 0, 0) // AE_AML_STRING_LIMIT
-
- // Immediate
-
- CH03("", 0, 0x006, 0, 0)
- Store(Index(Package(2){0, 1}, 2), Local1)
- if (y900) {
- CH04("", 1, 55, 0, 0x007, 0, 0) // AE_AML_PACKAGE_LIMIT
- } else {
- CH04("", 0, 85, 0, 0x008, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
-
- CH03("", 0, 0x009, 0, 0)
- Store(Index(Buffer(3){2, 3, 4}, 3), Local1)
- if (y900) {
- CH04("", 1, 54, 0, 0x00a, 0, 0) // AE_AML_BUFFER_LIMIT
- } else {
- CH04("", 0, 85, 0, 0x00b, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
-
- CH03("", 0, 0x00c, 0, 0)
- Store(Index("5678", 4), Local1)
- if (y900) {
- CH04("", 1, 61, 0, 0x00d, 0, 0) // AE_AML_STRING_LIMIT
- } else {
- CH04("", 0, 85, 0, 0x00e, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
- }
-
- // Fields
-
- CH03("", 0, 0x00f, 0, 0)
- Store(f000, Local0)
- CH03("", 0, 0x010, 0, 0)
-
- CH03("", 0, 0x011, 0, 0)
- Store(f001, Local0)
- if (y263) {
- /*
- * After the bug 263 fixed we started actually
- * have there several exceptions:
- * - on evaluation of f001 stage
- * - and on Store-to-debug stage
- * Check opcode of the last exception.
- */
- CH04("", 2, 53, 0, 0x013, 0, 0) // AE_AML_REGION_LIMIT
- } else {
- CH04("", 0, 53, 0, 0x013, 0, 0) // AE_AML_REGION_LIMIT
- }
-
- CH03("", 0, 0x014, 0, 0)
- Store(bkf0, Local0)
- if (y263) {
- /* See comment to sub-test above */
- CH04("", 2, 68, 0, 0x016, 0, 0) // AE_AML_REGISTER_LIMIT
- } else {
- CH04("", 0, 68, 0, 0x016, 0, 0) // AE_AML_REGISTER_LIMIT
- }
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 177:
+ *
+ * SUMMARY: Exception BUFFER_LIMIT occurs instead of STRING_LIMIT one
+ */
+
+ Method(mf07,, Serialized)
+ {
+ Name(i000, 1)
+ OperationRegion(r000, SystemMemory, 0, i000)
+ Field(r000, ByteAcc, NoLock, Preserve) {f000, 8}
+ Field(r000, ByteAcc, NoLock, Preserve) {f001, 9}
+
+ Name(p000, Package(2){0, 1})
+ Name(b000, Buffer(3){2, 3, 4})
+ Name(s000, "5678")
+
+ Name(i001, 0)
+ OperationRegion(r001, SystemMemory, 0x100, 0x100)
+ Field(r001, ByteAcc, NoLock, Preserve) { bnk0, 2 }
+ BankField(r001, bnk0, 4, ByteAcc, NoLock, Preserve) { bkf0, 9 }
+
+ // Named
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(Index(p000, 2), Local1)
+ CH04("", 1, 55, 0, 0x001, 0, 0) // AE_AML_PACKAGE_LIMIT
+
+ CH03("", 0, 0x002, 0, 0)
+ Store(Index(b000, 3), Local1)
+ CH04("", 1, 54, 0, 0x003, 0, 0) // AE_AML_BUFFER_LIMIT
+
+ CH03("", 0, 0x004, 0, 0)
+ Store(Index(s000, 4), Local1)
+ CH04("", 1, 61, 0, 0x005, 0, 0) // AE_AML_STRING_LIMIT
+
+ // Immediate
+
+ CH03("", 0, 0x006, 0, 0)
+ Store(Index(Package(2){0, 1}, 2), Local1)
+ if (y900) {
+ CH04("", 1, 55, 0, 0x007, 0, 0) // AE_AML_PACKAGE_LIMIT
+ } else {
+ CH04("", 0, 85, 0, 0x008, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+
+ CH03("", 0, 0x009, 0, 0)
+ Store(Index(Buffer(3){2, 3, 4}, 3), Local1)
+ if (y900) {
+ CH04("", 1, 54, 0, 0x00a, 0, 0) // AE_AML_BUFFER_LIMIT
+ } else {
+ CH04("", 0, 85, 0, 0x00b, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+
+ CH03("", 0, 0x00c, 0, 0)
+ Store(Index("5678", 4), Local1)
+ if (y900) {
+ CH04("", 1, 61, 0, 0x00d, 0, 0) // AE_AML_STRING_LIMIT
+ } else {
+ CH04("", 0, 85, 0, 0x00e, 0, 0) // AE_INDEX_TO_NOT_ATTACHED
+ }
+
+ // Fields
+
+ CH03("", 0, 0x00f, 0, 0)
+ Store(f000, Local0)
+ CH03("", 0, 0x010, 0, 0)
+
+ CH03("", 0, 0x011, 0, 0)
+ Store(f001, Local0)
+ if (y263) {
+ /*
+ * After the bug 263 fixed we started actually
+ * have there several exceptions:
+ * - on evaluation of f001 stage
+ * - and on Store-to-debug stage
+ * Check opcode of the last exception.
+ */
+ CH04("", 2, 53, 0, 0x013, 0, 0) // AE_AML_REGION_LIMIT
+ } else {
+ CH04("", 0, 53, 0, 0x013, 0, 0) // AE_AML_REGION_LIMIT
+ }
+
+ CH03("", 0, 0x014, 0, 0)
+ Store(bkf0, Local0)
+ if (y263) {
+ /* See comment to sub-test above */
+ CH04("", 2, 68, 0, 0x016, 0, 0) // AE_AML_REGISTER_LIMIT
+ } else {
+ CH04("", 0, 68, 0, 0x016, 0, 0) // AE_AML_REGISTER_LIMIT
+ }
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/MAIN.asl
index dcaede7ec..be8a02fc6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B177.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0177/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0177/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B177.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0177/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0177/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/RUN.asl
index 09c4842a4..555372741 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0177/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 177", TCLD, 177, W017)) {
- SRMT("mf07")
- mf07()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 177", TCLD, 177, W017)) {
+ SRMT("mf07")
+ mf07()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/DECL.asl
index 1a6234fad..e38905d3c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/DECL.asl
@@ -1,110 +1,110 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 178:
- *
- * SUMMARY: Unexpected exception occurs on access to the Fields specified by BankField
- */
-
- Method(mf0a,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
- BankField(r000, bnk0, 4, ByteAcc, NoLock, Preserve) { bkf0, 9 }
-
-
- CH03("", 0, 0x000, 0, 0)
- Store(bkf0, Local0)
-
- if (y263) {
- /*
- * After the bug 263 fixed we started actually
- * have there several exceptions:
- * - on evaluation of f001 stage
- * - and on Store-to-debug stage
- * Check opcode of the last exception.
- */
- CH04("", 2, 68, 0, 0x001, 0, 0) // AE_AML_REGISTER_LIMIT
- } else {
- CH04("", 0, 68, 0, 0x001, 0, 0) // AE_AML_REGISTER_LIMIT
- }
- }
-
- Method(mf0b,, Serialized)
- {
- Name(i000, 4)
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
- BankField(r000, bnk0, i000, ByteAcc, NoLock, Preserve) { bkf0, 9 }
-
-
- CH03("", 0, 0x002, 0, 0)
- Store(bkf0, Local0)
- CH04("", 0, 68, 0, 0x003, 0, 0) // AE_AML_REGISTER_LIMIT
- }
-
- Method(mf0c,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
- BankField(r000, bnk0, 0, ByteAcc, NoLock, Preserve) { bkf0, 9 }
-
-
- CH03("", 0, 0x004, 0, 0)
- Store(bkf0, Local0)
- CH03("", 0, 0x005, 0, 0)
- }
-
- Method(mf0d,, Serialized)
- {
- Name(i000, 0)
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
- BankField(r000, bnk0, Add(i000, 0), ByteAcc, NoLock, Preserve) { bkf0, 9 }
-
-
- CH03("", 0, 0x006, 0, 0)
- Store(bkf0, Local0)
- CH03("", 0, 0x007, 0, 0)
- }
-
- Method(mf0e,, Serialized)
- {
- Name(i000, 0)
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
- BankField(r000, bnk0, i000, ByteAcc, NoLock, Preserve) { bkf0, 9 }
-
-
- CH03("", 0, 0x008, 0, 0)
- Store(bkf0, Local0)
- CH03("", 0, 0x009, 0, 0)
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 178:
+ *
+ * SUMMARY: Unexpected exception occurs on access to the Fields specified by BankField
+ */
+
+ Method(mf0a,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
+ BankField(r000, bnk0, 4, ByteAcc, NoLock, Preserve) { bkf0, 9 }
+
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(bkf0, Local0)
+
+ if (y263) {
+ /*
+ * After the bug 263 fixed we started actually
+ * have there several exceptions:
+ * - on evaluation of f001 stage
+ * - and on Store-to-debug stage
+ * Check opcode of the last exception.
+ */
+ CH04("", 2, 68, 0, 0x001, 0, 0) // AE_AML_REGISTER_LIMIT
+ } else {
+ CH04("", 0, 68, 0, 0x001, 0, 0) // AE_AML_REGISTER_LIMIT
+ }
+ }
+
+ Method(mf0b,, Serialized)
+ {
+ Name(i000, 4)
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
+ BankField(r000, bnk0, i000, ByteAcc, NoLock, Preserve) { bkf0, 9 }
+
+
+ CH03("", 0, 0x002, 0, 0)
+ Store(bkf0, Local0)
+ CH04("", 0, 68, 0, 0x003, 0, 0) // AE_AML_REGISTER_LIMIT
+ }
+
+ Method(mf0c,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
+ BankField(r000, bnk0, 0, ByteAcc, NoLock, Preserve) { bkf0, 9 }
+
+
+ CH03("", 0, 0x004, 0, 0)
+ Store(bkf0, Local0)
+ CH03("", 0, 0x005, 0, 0)
+ }
+
+ Method(mf0d,, Serialized)
+ {
+ Name(i000, 0)
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
+ BankField(r000, bnk0, Add(i000, 0), ByteAcc, NoLock, Preserve) { bkf0, 9 }
+
+
+ CH03("", 0, 0x006, 0, 0)
+ Store(bkf0, Local0)
+ CH03("", 0, 0x007, 0, 0)
+ }
+
+ Method(mf0e,, Serialized)
+ {
+ Name(i000, 0)
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field(r000, ByteAcc, NoLock, Preserve) { bnk0, 2 }
+ BankField(r000, bnk0, i000, ByteAcc, NoLock, Preserve) { bkf0, 9 }
+
+
+ CH03("", 0, 0x008, 0, 0)
+ Store(bkf0, Local0)
+ CH03("", 0, 0x009, 0, 0)
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/MAIN.asl
index ab5671ff0..8ba46f7fc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B178.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0178/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0178/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B178.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0178/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0178/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/RUN.asl
index f6c0dbbb5..e04e985d5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0178/RUN.asl
@@ -1,48 +1,48 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 178", TCLD, 178, W017)) {
- SRMT("mf0a")
- mf0a()
- SRMT("mf0b")
- mf0b()
- SRMT("mf0c")
- mf0c()
-
- SRMT("mf0d")
- if (y178) {
- mf0d()
- } else {
- BLCK()
- }
-
- SRMT("mf0e")
- mf0e()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 178", TCLD, 178, W017)) {
+ SRMT("mf0a")
+ mf0a()
+ SRMT("mf0b")
+ mf0b()
+ SRMT("mf0c")
+ mf0c()
+
+ SRMT("mf0d")
+ if (y178) {
+ mf0d()
+ } else {
+ BLCK()
+ }
+
+ SRMT("mf0e")
+ mf0e()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/DECL.asl
index 88fde5c97..8334005de 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/DECL.asl
@@ -1,42 +1,42 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 179:
- *
- * SUMMARY: ConcatenateResTemplate operation falls into an endless loop
- */
-
- Method(mf58)
- {
- Store(ConcatenateResTemplate(rtd0, rtd0), Local0)
-
- if (LNotEqual(Local0, bd0b)) {
- err("", zFFF, 0x000, 0, 0, Local0, 256)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 179:
+ *
+ * SUMMARY: ConcatenateResTemplate operation falls into an endless loop
+ */
+
+ Method(mf58)
+ {
+ Store(ConcatenateResTemplate(rtd0, rtd0), Local0)
+
+ if (LNotEqual(Local0, bd0b)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 256)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/MAIN.asl
index 668901253..c94adae88 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B179.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0179/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0179/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B179.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0179/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0179/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/RUN.asl
index b02c1beec..932b75086 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0179/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 179", TCLD, 179, W017)) {
- SRMT("mf58")
- mf58()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 179", TCLD, 179, W017)) {
+ SRMT("mf58")
+ mf58()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl
index 13513bbae..57dad4184 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl
@@ -1,73 +1,73 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0180:
- *
- * SUMMARY: Failed to compiler Switch/Case operators
- */
-
-Method(me89, 1, Serialized)
-{
- Store(0xff, Local0)
-
- Switch (ToInteger (arg0)) {
- Case (0) {
- Store(0, Local0)
- }
- Case (1) {
- Store(1, Local0)
- }
- Default {
- Store(2, Local0)
- }
- }
-
- if (LEqual(arg0, 0)) {
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0)
- }
- }
- if (LEqual(arg0, 1)) {
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x000, 0, 0, Local0, 1)
- }
- }
- if (LEqual(arg0, 2)) {
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x000, 0, 0, Local0, 2)
- }
- }
-}
-
-Method(me8a)
-{
- me89(0)
- me89(1)
- me89(2)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0180:
+ *
+ * SUMMARY: Failed to compiler Switch/Case operators
+ */
+
+Method(me89, 1, Serialized)
+{
+ Store(0xff, Local0)
+
+ Switch (ToInteger (arg0)) {
+ Case (0) {
+ Store(0, Local0)
+ }
+ Case (1) {
+ Store(1, Local0)
+ }
+ Default {
+ Store(2, Local0)
+ }
+ }
+
+ if (LEqual(arg0, 0)) {
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0)
+ }
+ }
+ if (LEqual(arg0, 1)) {
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 1)
+ }
+ }
+ if (LEqual(arg0, 2)) {
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 2)
+ }
+ }
+}
+
+Method(me8a)
+{
+ me89(0)
+ me89(1)
+ me89(2)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/MAIN.asl
index d0019fcc0..f3a260b6e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B180.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B180.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl
index ed4a048de..2775bf371 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 180", TCLD, 180, W017)) {
- SRMT("me8a")
- me8a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 180", TCLD, 180, W017)) {
+ SRMT("me8a")
+ me8a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl
index 0031a41c2..bdaa00fa6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl
@@ -1,44 +1,44 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 0181:
- *
- * SUMMARY: Failed to compiler specific Method
- */
-
-Method(me8b,, Serialized)
-{
- Name(i000, 0)
- Method(mm20, 1, , , , {{IntObj}}) {Store(32, i000)}
- mm20(1)
-
- if (LNotEqual(i000, 32)) {
- err("", zFFF, 0x000, 0, 0, i000, 32)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 0181:
+ *
+ * SUMMARY: Failed to compiler specific Method
+ */
+
+Method(me8b,, Serialized)
+{
+ Name(i000, 0)
+ Method(mm20, 1, , , , {{IntObj}}) {Store(32, i000)}
+ mm20(1)
+
+ if (LNotEqual(i000, 32)) {
+ err("", zFFF, 0x000, 0, 0, i000, 32)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/MAIN.asl
index caf61c2d6..3c9a0acbd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B181.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B181.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl
index e65eed18f..ac906fe2d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 181", TCLD, 181, W017)) {
- SRMT("me8b")
- me8b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 181", TCLD, 181, W017)) {
+ SRMT("me8b")
+ me8b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/DECL.asl
index 7ae30faf6..f3ec8617f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/DECL.asl
@@ -1,72 +1,72 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 182:
- *
- * SUMMARY: Exception on a specific declarations of objects of the same name
- *
- * (no exception is expected here because id23 has already
- * been defined at the first use of it).
- */
-
-Name(id23, 0xabcd0000)
-
-Method (mf78,, Serialized)
-{
- CH03("", 0, 0x000, 0, 0)
-
- if (LNotEqual(id23, 0xabcd0000)) {
- err("", zFFF, 0x001, 0, 0, id23, 0xabcd0000)
- }
-
- Name (id23, 0xabcd0001)
-
- if (LNotEqual(id23, 0xabcd0001)) {
- err("", zFFF, 0x002, 0, 0, id23, 0xabcd0001)
- }
-
- CH03("", 0, 0x003, 0, 0)
-}
-
-/*
- * ATTENTION: i9z8 should be unique in the namespace,
- * not declared somewhere else in the NS tree.
- */
-Method (mf85,, Serialized)
-{
- CH03("", 0, 0x004, 0, 0)
-
- if (LNotEqual(i9z8, 0xabcd0001)) {
- err("", zFFF, 0x005, 0, 0, i9z8, 0xabcd0001)
- }
-
- Name (i9z8, 0xabcd0001)
-
- CH04("", 0, 0xff, 0, 0x006, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 182:
+ *
+ * SUMMARY: Exception on a specific declarations of objects of the same name
+ *
+ * (no exception is expected here because id23 has already
+ * been defined at the first use of it).
+ */
+
+Name(id23, 0xabcd0000)
+
+Method (mf78,, Serialized)
+{
+ CH03("", 0, 0x000, 0, 0)
+
+ if (LNotEqual(id23, 0xabcd0000)) {
+ err("", zFFF, 0x001, 0, 0, id23, 0xabcd0000)
+ }
+
+ Name (id23, 0xabcd0001)
+
+ if (LNotEqual(id23, 0xabcd0001)) {
+ err("", zFFF, 0x002, 0, 0, id23, 0xabcd0001)
+ }
+
+ CH03("", 0, 0x003, 0, 0)
+}
+
+/*
+ * ATTENTION: i9z8 should be unique in the namespace,
+ * not declared somewhere else in the NS tree.
+ */
+Method (mf85,, Serialized)
+{
+ CH03("", 0, 0x004, 0, 0)
+
+ if (LNotEqual(i9z8, 0xabcd0001)) {
+ err("", zFFF, 0x005, 0, 0, i9z8, 0xabcd0001)
+ }
+
+ Name (i9z8, 0xabcd0001)
+
+ CH04("", 0, 0xff, 0, 0x006, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/MAIN.asl
index 9b7334259..a60ef52ba 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B182.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0182/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0182/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B182.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0182/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0182/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/RUN.asl
index b7f76b0ed..3724538c1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0182/RUN.asl
@@ -1,36 +1,36 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 182", TCLD, 182, W017)) {
- SRMT("mf78")
- mf78()
- SRMT("mf85")
- mf85()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 182", TCLD, 182, W017)) {
+ SRMT("mf78")
+ mf78()
+ SRMT("mf85")
+ mf85()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/DECL.asl
index a9d3a542c..c0e1a0aea 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/DECL.asl
@@ -1,62 +1,62 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 183:
- *
- * SUMMARY: Stack OverFlow of ASL compiler on processing the specific recursive method call
- */
-
-Method(mf79, 1)
-{
- if (Arg0) {
- Return (mf79(Subtract(Arg0, 1)))
- } else {
- Return (0)
- }
-}
-
-Method(mf7a)
-{
- CH03("", 0, 0x000, 0, 0)
-
- Store("mf79(250):", Debug)
- Store(mf79(250), Debug)
-
- CH03("", 0, 0x001, 0, 0)
-}
-
-Method(m27e)
-{
- CH03("", 0, 0x002, 0, 0)
-
- Store("mf79(248):", Debug)
- Store(mf79(248), Debug)
-
- CH03("", 0, 0x003, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 183:
+ *
+ * SUMMARY: Stack OverFlow of ASL compiler on processing the specific recursive method call
+ */
+
+Method(mf79, 1)
+{
+ if (Arg0) {
+ Return (mf79(Subtract(Arg0, 1)))
+ } else {
+ Return (0)
+ }
+}
+
+Method(mf7a)
+{
+ CH03("", 0, 0x000, 0, 0)
+
+ Store("mf79(250):", Debug)
+ Store(mf79(250), Debug)
+
+ CH03("", 0, 0x001, 0, 0)
+}
+
+Method(m27e)
+{
+ CH03("", 0, 0x002, 0, 0)
+
+ Store("mf79(248):", Debug)
+ Store(mf79(248), Debug)
+
+ CH03("", 0, 0x003, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/MAIN.asl
index daec573e3..94a9e531e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B183.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0183/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0183/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B183.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0183/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0183/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/RUN.asl
index 532e9323d..a96e04dc9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0183/RUN.asl
@@ -1,40 +1,40 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 183", TCLD, 183, W017)) {
- SRMT("mf7a")
- if (y200) {
- mf7a()
- } else {
- BLCK()
- }
- SRMT("m27e")
- m27e()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 183", TCLD, 183, W017)) {
+ SRMT("mf7a")
+ if (y200) {
+ mf7a()
+ } else {
+ BLCK()
+ }
+ SRMT("m27e")
+ m27e()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/DECL.asl
index 6703279c4..66e64b22c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/DECL.asl
@@ -1,48 +1,48 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 184:
- *
- * SUMMARY: Nesting Methods cause exceptions
- */
-
-Method(mf7b)
-{
- Method(m000)
- {
- Store ("m000", Debug)
- }
-
- Store ("mf7b", Debug)
-
- CH03("", 0, 0x000, 0, 0)
- m000()
- CH03("", 0, 0x001, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 184:
+ *
+ * SUMMARY: Nesting Methods cause exceptions
+ */
+
+Method(mf7b)
+{
+ Method(m000)
+ {
+ Store ("m000", Debug)
+ }
+
+ Store ("mf7b", Debug)
+
+ CH03("", 0, 0x000, 0, 0)
+ m000()
+ CH03("", 0, 0x001, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/MAIN.asl
index 1a226351e..7cd8aa12a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B184.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0184/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0184/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B184.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0184/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0184/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/RUN.asl
index 39966ede8..5d608a27b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0184/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 184", TCLD, 184, W017)) {
- SRMT("mf7b")
- mf7b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 184", TCLD, 184, W017)) {
+ SRMT("mf7b")
+ mf7b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/DECL.asl
index db838ce92..b9476f6a1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/DECL.asl
@@ -1,96 +1,96 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 185:
- *
- * SUMMARY: In a slack mode Method should implicitly return zero (0) as a default value
- */
-
-
-Method(mfc2,, Serialized)
-{
- Name(fl00, 0)
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0001)
-
- Method(m000)
- {
- if (fl00) {
- Return (0)
- }
- }
-
- Method(m009)
- {
- Method(m000)
- {
- }
-
- if (fl00) {
- Return (0)
- }
-
- m000()
- }
-
-
- // m000
-
- Store(0xdddd9000, i000)
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(m000, i000)
-
- if (SLCK) {
- CH03("", 0, 0x001, 0, 0)
- if (LNotEqual(i000, 0)) {
- err("", zFFF, 0x002, 0, 0, i000, 0)
- }
- } else {
- CH07("", 0, 0xff, 0, 0x003, 0, 0)
- }
-
- // m009
-
- Store(0xdddd9000, i000)
-
- CH03("", 0, 0x004, 0, 0)
-
- Store(m009, i000)
-
- if (SLCK) {
- CH03("", 0, 0x005, 0, 0)
- if (LNotEqual(i000, 0)) {
- err("", zFFF, 0x006, 0, 0, i000, 0)
- }
- } else {
- CH07("", 0, 0xff, 0, 0x007, 0, 0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 185:
+ *
+ * SUMMARY: In a slack mode Method should implicitly return zero (0) as a default value
+ */
+
+
+Method(mfc2,, Serialized)
+{
+ Name(fl00, 0)
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0001)
+
+ Method(m000)
+ {
+ if (fl00) {
+ Return (0)
+ }
+ }
+
+ Method(m009)
+ {
+ Method(m000)
+ {
+ }
+
+ if (fl00) {
+ Return (0)
+ }
+
+ m000()
+ }
+
+
+ // m000
+
+ Store(0xdddd9000, i000)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(m000, i000)
+
+ if (SLCK) {
+ CH03("", 0, 0x001, 0, 0)
+ if (LNotEqual(i000, 0)) {
+ err("", zFFF, 0x002, 0, 0, i000, 0)
+ }
+ } else {
+ CH07("", 0, 0xff, 0, 0x003, 0, 0)
+ }
+
+ // m009
+
+ Store(0xdddd9000, i000)
+
+ CH03("", 0, 0x004, 0, 0)
+
+ Store(m009, i000)
+
+ if (SLCK) {
+ CH03("", 0, 0x005, 0, 0)
+ if (LNotEqual(i000, 0)) {
+ err("", zFFF, 0x006, 0, 0, i000, 0)
+ }
+ } else {
+ CH07("", 0, 0xff, 0, 0x007, 0, 0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/MAIN.asl
index b8c39eb7a..360f93e39 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B185.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0185/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0185/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B185.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0185/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0185/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/RUN.asl
index fde420ffc..4d8a4d01b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0185/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 185", TCLD, 185, W017)) {
- SRMT("mfc2")
- mfc2()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 185", TCLD, 185, W017)) {
+ SRMT("mfc2")
+ mfc2()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/DECL.asl
index 4b9f52999..972bf3e10 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/DECL.asl
@@ -1,144 +1,144 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 186:
- *
- * SUMMARY: The predicate value of If/While operations is implicitly returned in slack mode
- */
-
-
-Method(mf6d, 0, Serialized)
-{
- Name(fl00, 0)
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0001)
-
- Method(m000)
- {
- Switch (ToInteger (Store(0xabcd0000, i001))) {
- Case (0) {
- if (fl00) {
- Return (0)
- }
- }
- }
- }
-
- Method(m001)
- {
- if (Store(0xabcd0001, i001)) {
- if (fl00) {
- Return (0)
- }
- }
- }
-
- Method(m002)
- {
- While (Store(0xabcd0002, i001)) {
- if (fl00) {
- Return (0)
- }
- Break
- }
- }
-
-
- // m000
-
- Store(0xdddd0000, i000)
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(m000, i000)
-
- if (SLCK) {
- CH03("", 0, 0x001, 0, 0)
-
- //y901: Predicate generates Implicit Return since ACPICA release 20080926
- if (y901) {
- Store(0, Local0)
- } else {
- Store(0xabcd0000, Local0)
- }
- if (LNotEqual(i000, Local0)) {
- err("", zFFF, 0x002, 0, 0, i000, Local0)
- }
- } else {
- CH07("", 0, 0xff, 0, 0x003, 0, 0)
- }
-
- // m001
-
- Store(0xdddd0001, i000)
-
- CH03("", 0, 0x004, 0, 0)
-
- Store(m001, i000)
-
- if (SLCK) {
- CH03("", 0, 0x005, 0, 0)
-
- //y901: Predicate generates Implicit Return since ACPICA release 20080926
- if (y901) {
- Store(0, Local0)
- } else {
- Store(0xabcd0001, Local0)
- }
- if (LNotEqual(i000, Local0)) {
- err("", zFFF, 0x006, 0, 0, i000, Local0)
- }
- } else {
- CH07("", 0, 0xff, 0, 0x007, 0, 0)
- }
-
- // m002
-
- Store(0xdddd0002, i000)
-
- CH03("", 0, 0x008, 0, 0)
-
- Store(m001, i000)
-
- if (SLCK) {
- CH03("", 0, 0x009, 0, 0)
-
- //y901: Predicate generates Implicit Return since ACPICA release 20080926
- if (y901) {
- Store(0, Local0)
- } else {
- Store(0xabcd0002, Local0)
- }
- if (LNotEqual(i000, Local0)) {
- err("", zFFF, 0x00a, 0, 0, i000, Local0)
- }
- } else {
- CH07("", 0, 0xff, 0, 0x00b, 0, 0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 186:
+ *
+ * SUMMARY: The predicate value of If/While operations is implicitly returned in slack mode
+ */
+
+
+Method(mf6d, 0, Serialized)
+{
+ Name(fl00, 0)
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0001)
+
+ Method(m000)
+ {
+ Switch (ToInteger (Store(0xabcd0000, i001))) {
+ Case (0) {
+ if (fl00) {
+ Return (0)
+ }
+ }
+ }
+ }
+
+ Method(m001)
+ {
+ if (Store(0xabcd0001, i001)) {
+ if (fl00) {
+ Return (0)
+ }
+ }
+ }
+
+ Method(m002)
+ {
+ While (Store(0xabcd0002, i001)) {
+ if (fl00) {
+ Return (0)
+ }
+ Break
+ }
+ }
+
+
+ // m000
+
+ Store(0xdddd0000, i000)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(m000, i000)
+
+ if (SLCK) {
+ CH03("", 0, 0x001, 0, 0)
+
+ //y901: Predicate generates Implicit Return since ACPICA release 20080926
+ if (y901) {
+ Store(0, Local0)
+ } else {
+ Store(0xabcd0000, Local0)
+ }
+ if (LNotEqual(i000, Local0)) {
+ err("", zFFF, 0x002, 0, 0, i000, Local0)
+ }
+ } else {
+ CH07("", 0, 0xff, 0, 0x003, 0, 0)
+ }
+
+ // m001
+
+ Store(0xdddd0001, i000)
+
+ CH03("", 0, 0x004, 0, 0)
+
+ Store(m001, i000)
+
+ if (SLCK) {
+ CH03("", 0, 0x005, 0, 0)
+
+ //y901: Predicate generates Implicit Return since ACPICA release 20080926
+ if (y901) {
+ Store(0, Local0)
+ } else {
+ Store(0xabcd0001, Local0)
+ }
+ if (LNotEqual(i000, Local0)) {
+ err("", zFFF, 0x006, 0, 0, i000, Local0)
+ }
+ } else {
+ CH07("", 0, 0xff, 0, 0x007, 0, 0)
+ }
+
+ // m002
+
+ Store(0xdddd0002, i000)
+
+ CH03("", 0, 0x008, 0, 0)
+
+ Store(m001, i000)
+
+ if (SLCK) {
+ CH03("", 0, 0x009, 0, 0)
+
+ //y901: Predicate generates Implicit Return since ACPICA release 20080926
+ if (y901) {
+ Store(0, Local0)
+ } else {
+ Store(0xabcd0002, Local0)
+ }
+ if (LNotEqual(i000, Local0)) {
+ err("", zFFF, 0x00a, 0, 0, i000, Local0)
+ }
+ } else {
+ CH07("", 0, 0xff, 0, 0x00b, 0, 0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/MAIN.asl
index cc63fc302..44f1cc866 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B186.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0186/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0186/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B186.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0186/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0186/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/RUN.asl
index 490530d70..0d1f466c6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0186/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 186", TCLD, 186, W017)) {
- SRMT("mf6d")
- mf6d()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 186", TCLD, 186, W017)) {
+ SRMT("mf6d")
+ mf6d()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/DECL.asl
index f08499198..1c88789ed 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/DECL.asl
@@ -1,60 +1,60 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 187:
- *
- * SUMMARY: No exception in non-slack mode on attempt to obtain value from Method terminated by the standalone Return
- */
-
-Method(mf70,, Serialized)
-{
- Name(i000, 0xabcd0000)
-
- Method(m000)
- {
- Return(0)
- }
-
- // m000
-
- Store(0xdddd9000, i000)
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(m000(), i000)
-
- if (SLCK) {
- CH03("", 0, 0x001, 0, 0)
- if (LNotEqual(i000, 0)) {
- err("", zFFF, 0x002, 0, 0, i000, 0)
- }
- } else {
- CH07("", 0, 0xff, 0, 0x003, 0, 0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 187:
+ *
+ * SUMMARY: No exception in non-slack mode on attempt to obtain value from Method terminated by the standalone Return
+ */
+
+Method(mf70,, Serialized)
+{
+ Name(i000, 0xabcd0000)
+
+ Method(m000)
+ {
+ Return(0)
+ }
+
+ // m000
+
+ Store(0xdddd9000, i000)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(m000(), i000)
+
+ if (SLCK) {
+ CH03("", 0, 0x001, 0, 0)
+ if (LNotEqual(i000, 0)) {
+ err("", zFFF, 0x002, 0, 0, i000, 0)
+ }
+ } else {
+ CH07("", 0, 0xff, 0, 0x003, 0, 0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/MAIN.asl
index 15876f5a0..cf6cee34f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B187.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0187/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0187/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B187.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0187/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0187/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/RUN.asl
index 5ac190277..f913c0fdd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0187/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 187", TCLD, 187, W017)) {
- SRMT("mf70")
- mf70()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 187", TCLD, 187, W017)) {
+ SRMT("mf70")
+ mf70()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/DECL.asl
index 9c7467781..f03644eba 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/DECL.asl
@@ -1,58 +1,58 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 188:
- *
- * SUMMARY: ConcatenateResTemplate doesn't consume an empty buffer
- */
-
-Method(mf7c,, Serialized)
-{
- Name(b000, Buffer() {0x22, 0x02, 0x00, 0x79, 0x00})
- Name(RT00, ResourceTemplate () {IRQNoFlags () {1}})
-
- // Empty buffer
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(0, Local0)
- Store(Buffer(Local0){}, Local1)
-
- Store(ConcatenateResTemplate(RT00, Local1), Local2)
-
- if (LNotEqual(Local2, b000)) {
- err("", zFFF, 0x001, 0, 0, Local2, b000)
- }
-
- if (LNotEqual(RT00, b000)) {
- err("", zFFF, 0x002, 0, 0, RT00, b000)
- }
-
- CH03("", 0, 0x003, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 188:
+ *
+ * SUMMARY: ConcatenateResTemplate doesn't consume an empty buffer
+ */
+
+Method(mf7c,, Serialized)
+{
+ Name(b000, Buffer() {0x22, 0x02, 0x00, 0x79, 0x00})
+ Name(RT00, ResourceTemplate () {IRQNoFlags () {1}})
+
+ // Empty buffer
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(0, Local0)
+ Store(Buffer(Local0){}, Local1)
+
+ Store(ConcatenateResTemplate(RT00, Local1), Local2)
+
+ if (LNotEqual(Local2, b000)) {
+ err("", zFFF, 0x001, 0, 0, Local2, b000)
+ }
+
+ if (LNotEqual(RT00, b000)) {
+ err("", zFFF, 0x002, 0, 0, RT00, b000)
+ }
+
+ CH03("", 0, 0x003, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/MAIN.asl
index 346df5125..adaf4d41e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B188.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0188/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0188/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B188.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0188/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0188/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/RUN.asl
index f8383a4b4..6f59dbd10 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0188/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 188", TCLD, 188, W017)) {
- SRMT("mf7c")
- mf7c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 188", TCLD, 188, W017)) {
+ SRMT("mf7c")
+ mf7c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/DECL.asl
index 11a8b32b5..a6cf12efa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 189:
- *
- * SUMMARY: The 1-byte buffer passed to ConcatenateResTemplate doesn't cause a run-time error
- */
-
-Method(mf7d,, Serialized)
-{
- Name(RT00, ResourceTemplate () {IRQNoFlags () {1}})
-
- Store(Buffer(){0x79}, Local0)
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(ConcatenateResTemplate(RT00, Local0), Local1)
-
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- Store(Buffer(){0x78}, Local0)
-
- Store(ConcatenateResTemplate(RT00, Local0), Local1)
-
- CH04("", 0, 0xff, 0, 0x002, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 189:
+ *
+ * SUMMARY: The 1-byte buffer passed to ConcatenateResTemplate doesn't cause a run-time error
+ */
+
+Method(mf7d,, Serialized)
+{
+ Name(RT00, ResourceTemplate () {IRQNoFlags () {1}})
+
+ Store(Buffer(){0x79}, Local0)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(ConcatenateResTemplate(RT00, Local0), Local1)
+
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ Store(Buffer(){0x78}, Local0)
+
+ Store(ConcatenateResTemplate(RT00, Local0), Local1)
+
+ CH04("", 0, 0xff, 0, 0x002, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/MAIN.asl
index 0cb9ca773..cf2e3ffd9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B189.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0189/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0189/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B189.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0189/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0189/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/RUN.asl
index 18f8a9c6d..d310d7145 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0189/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 189", TCLD, 189, W017)) {
- SRMT("mf7d")
- mf7d()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 189", TCLD, 189, W017)) {
+ SRMT("mf7d")
+ mf7d()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/DECL.asl
index de9d33530..ead7bed68 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/DECL.asl
@@ -1,48 +1,48 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 190:
- *
- * SUMMARY: In ConcatenateResTemplate an operand ending only with the first byte of the end tag doesn't cause a run-time error
- */
-
-Method(mf7e,, Serialized)
-{
- Name(RT00, ResourceTemplate () {IRQNoFlags () {1}})
-
- // Nearly resource template buffer
-
- Store(Buffer(){0x2a, 0x10, 0x05, 0x79}, Local0)
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(ConcatenateResTemplate(RT00, Local0), Local1)
-
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 190:
+ *
+ * SUMMARY: In ConcatenateResTemplate an operand ending only with the first byte of the end tag doesn't cause a run-time error
+ */
+
+Method(mf7e,, Serialized)
+{
+ Name(RT00, ResourceTemplate () {IRQNoFlags () {1}})
+
+ // Nearly resource template buffer
+
+ Store(Buffer(){0x2a, 0x10, 0x05, 0x79}, Local0)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(ConcatenateResTemplate(RT00, Local0), Local1)
+
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/MAIN.asl
index 5bf3fc492..e7c13a56a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B190.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0190/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0190/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B190.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0190/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0190/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/RUN.asl
index 1e2bed5e2..dcf8b3c58 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0190/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 190", TCLD, 190, W017)) {
- SRMT("mf7e")
- mf7e()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 190", TCLD, 190, W017)) {
+ SRMT("mf7e")
+ mf7e()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/DECL.asl
index 87213cc3d..0a8fe27c1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/DECL.asl
@@ -1,59 +1,59 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 191:
- *
- * SUMMARY: CopyObject to Buffer Field specification/implementation should be clarified/fixed
- */
-
-Method(mfa3)
-{
- CreateField(bd0e, 8, 8, bf90)
-
- Store(ObjectType(bf90), Local0)
- if (LNotEqual(Local0, 14)) {
- err("", zFFF, 0x000, 0, 0, Local0, 14)
- }
-
- if (LNotEqual(bf90, 0x77)) {
- err("", zFFF, 0x001, 0, 0, bf90, 0x77)
- }
-
- CopyObject(0x9999992b, bf90)
-
- Store(ObjectType(bf90), Local0)
- if (LNotEqual(Local0, 14)) {
- err("", zFFF, 0x002, 0, 0, Local0, 14)
- }
-
- if (LNotEqual(bf90, 0x2b)) {
- err("", zFFF, 0x003, 0, 0, bf90, 0x2b)
- Store(bf90, Debug)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 191:
+ *
+ * SUMMARY: CopyObject to Buffer Field specification/implementation should be clarified/fixed
+ */
+
+Method(mfa3)
+{
+ CreateField(bd0e, 8, 8, bf90)
+
+ Store(ObjectType(bf90), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 14)
+ }
+
+ if (LNotEqual(bf90, 0x77)) {
+ err("", zFFF, 0x001, 0, 0, bf90, 0x77)
+ }
+
+ CopyObject(0x9999992b, bf90)
+
+ Store(ObjectType(bf90), Local0)
+ if (LNotEqual(Local0, 14)) {
+ err("", zFFF, 0x002, 0, 0, Local0, 14)
+ }
+
+ if (LNotEqual(bf90, 0x2b)) {
+ err("", zFFF, 0x003, 0, 0, bf90, 0x2b)
+ Store(bf90, Debug)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/MAIN.asl
index 5e4475787..41a15a46d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B191.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0191/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0191/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B191.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0191/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0191/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/RUN.asl
index 053d2adcf..5bdad7731 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0191/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 191", TCLD, 191, W017)) {
- SRMT("mfa3")
- mfa3()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 191", TCLD, 191, W017)) {
+ SRMT("mfa3")
+ mfa3()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/DECL.asl
index e0766be3c..338352f58 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/DECL.asl
@@ -1,1167 +1,1167 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 192:
- *
- * SUMMARY: Incorrect value of Bank register after storing to its banked field
- */
-
-Method(mfa4,, Serialized)
-{
- // CHK0 (CheckValue, BenchMarkValue, CheckNum)
- Method(CHK0, 3)
- {
- if (LNotEqual(arg0, arg1)) {
- err("", zFFF, arg2, 0, 0, arg0, arg1)
- }
- }
-
- // 8-bit Bank field
- Method(m010,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- bnk0, 8
- }
-
- BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, 0xFF, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x000)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x001)
- CHK0(bf00, 0x87, 0x002)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x003)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x004)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x005)
- CHK0(bf01, 0x96, 0x006)
-
- // Deal with 0xFF-th bank layout:
-
- Store(0xFF, bnk0)
- CHK0(bnk0, 0xFF, 0x007)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x008)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFF, 0x009)
- CHK0(bfff, 0xC3, 0x00a)
- }
-
- // 16-bit Bank field
- Method(m011,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, WordAcc, NoLock, Preserve) {
- bnk0, 16
- }
-
- BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, 0xFFFF, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x00b)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x00c)
- CHK0(bf00, 0x87, 0x00d)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x00e)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x00f)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x010)
- CHK0(bf01, 0x96, 0x011)
-
- // Deal with 0xFFFF-th bank layout:
-
- Store(0xFFFF, bnk0)
- CHK0(bnk0, 0xFFFF, 0x012)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x013)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFF, 0x014)
- CHK0(bfff, 0xC3, 0x015)
- }
-
- // 32-bit Bank field
- Method(m012,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, DWordAcc, NoLock, Preserve) {
- bnk0, 32
- }
-
- BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, 0xFFFFFFFF, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x016)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x017)
- CHK0(bf00, 0x87, 0x018)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x019)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x01a)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x01b)
- CHK0(bf01, 0x96, 0x01c)
-
- // Deal with 0xFFFFFFFF-th bank layout:
-
- Store(0xFFFFFFFF, bnk0)
- CHK0(bnk0, 0xFFFFFFFF, 0x01d)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x01e)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFFFFFF, 0x01f)
- CHK0(bfff, 0xC3, 0x020)
- }
-
- // 33-bit Bank field and QWordAcc
- Method(m013,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, QWordAcc, NoLock, Preserve) {
- bnk0, 33
- }
- BankField (r000, bnk0, 0x1FFFFFFFF, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0x1FFFFFFFF-th bank layout:
-
- Store(0x1FFFFFFFF, bnk0)
- CHK0(bnk0, 0x1FFFFFFFF, 0x021)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x022)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0x1FFFFFFFF, 0x023)
- CHK0(bfff, 0xC3, 0x024)
- }
-
- // BankValues set up with Integer Constants
- Method(m001)
- {
- // 8-bit Bank field
- m010()
-
- // 16-bit Bank field
- m011()
-
- // 32-bit Bank field
- m012()
-
- // 33-bit Bank field and QWordAcc
- if (y215) {
- m013()
- }
- }
-
- // BankValues set up with Named Integers
-
- Name(i000, 0)
- Name(i001, 1)
- Name(i002, 0xFF)
- Name(i003, 0xFFFF)
- Name(i004, 0xFFFFFFFF)
- Name(i005, 0x1FFFFFFFF)
-
- // 8-bit Bank field
- Method(m020,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- bnk0, 8
- }
-
- BankField (r000, bnk0, i000, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, i001, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, i002, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x025)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 1)
- CHK0(bf00, 0x87, 0x026)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x027)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x028)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x029)
- CHK0(bf01, 0x96, 0x02a)
-
- // Deal with 0xFF-th bank layout:
-
- Store(0xFF, bnk0)
- CHK0(bnk0, 0xFF, 0x02b)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x02c)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFF, 0x02d)
- CHK0(bfff, 0xC3, 0x02e)
- }
-
- // 16-bit Bank field
- Method(m021,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, WordAcc, NoLock, Preserve) {
- bnk0, 16
- }
-
- BankField (r000, bnk0, i000, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, i001, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, i003, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x02f)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x030)
- CHK0(bf00, 0x87, 0x031)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x032)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x033)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x034)
- CHK0(bf01, 0x96, 0x035)
-
- // Deal with 0xFFFF-th bank layout:
-
- Store(0xFFFF, bnk0)
- CHK0(bnk0, 0xFFFF, 0x036)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 19)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFF, 0x037)
- CHK0(bfff, 0xC3, 0x038)
- }
-
- // 32-bit Bank field
- Method(m022,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, DWordAcc, NoLock, Preserve) {
- bnk0, 32
- }
-
- BankField (r000, bnk0, i000, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, i001, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, i004, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x039)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x03a)
- CHK0(bf00, 0x87, 0x03b)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x03c)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x03e)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x03f)
- CHK0(bf01, 0x96, 0x040)
-
- // Deal with 0xFFFFFFFF-th bank layout:
-
- Store(0xFFFFFFFF, bnk0)
- CHK0(bnk0, 0xFFFFFFFF, 0x041)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x042)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFFFFFF, 0x043)
- CHK0(bfff, 0xC3, 0x044)
- }
-
- // 33-bit Bank field and QWordAcc
- Method(m023,, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, QWordAcc, NoLock, Preserve) {
- bnk0, 33
- }
- BankField (r000, bnk0, i005, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0x1FFFFFFFF-th bank layout:
-
- Store(0x1FFFFFFFF, bnk0)
- CHK0(bnk0, 0x1FFFFFFFF, 0x045)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x04e)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0x1FFFFFFFF, 0x046)
- CHK0(bfff, 0xC3, 0x047)
- }
-
- // BankValues set up with Named Integers
- Method(m002)
- {
- // 8-bit Bank field
- m020()
-
- // 16-bit Bank field
- m021()
-
- // 32-bit Bank field
- m022()
-
- // 33-bit Bank field and QWordAcc
- if (y215) {
- m023()
- }
- }
-
- // BankValues set up with LocalX
-
- // 8-bit Bank field
- Method(m030,, Serialized)
- {
- Store(0, Local0)
- Store(1, Local1)
- Store(0xFF, Local2)
-
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- bnk0, 8
- }
-
- BankField (r000, bnk0, Local0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Local1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Local2, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x048)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x049)
- CHK0(bf00, 0x87, 0x04a)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x04b)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x04c)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x04e)
- CHK0(bf01, 0x96, 0x04f)
-
- // Deal with 0xFF-th bank layout:
-
- Store(0xFF, bnk0)
- CHK0(bnk0, 0xFF, 0x050)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 8)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFF, 0x051)
- CHK0(bfff, 0xC3, 0x052)
- }
-
- // 16-bit Bank field
- Method(m031,, Serialized)
- {
- Store(0, Local0)
- Store(1, Local1)
- Store(0xFFFF, Local3)
-
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, WordAcc, NoLock, Preserve) {
- bnk0, 16
- }
-
- BankField (r000, bnk0, Local0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Local1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Local3, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x053)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x054)
- CHK0(bf00, 0x87, 0x055)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x056)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x057)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x058)
- CHK0(bf01, 0x96, 0x059)
-
- // Deal with 0xFFFF-th bank layout:
-
- Store(0xFFFF, bnk0)
- CHK0(bnk0, 0xFFFF, 0x05a)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x05b)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFF, 0x05c)
- CHK0(bfff, 0xC3, 0x05d)
- }
-
- // 32-bit Bank field
- Method(m032,, Serialized)
- {
- Store(0, Local0)
- Store(1, Local1)
- Store(0xFFFFFFFF, Local4)
-
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, DWordAcc, NoLock, Preserve) {
- bnk0, 32
- }
-
- BankField (r000, bnk0, Local0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Local1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Local4, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x05e)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x05f)
- CHK0(bf00, 0x87, 0x060)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x061)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x062)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x063)
- CHK0(bf01, 0x96, 0x064)
-
- // Deal with 0xFFFFFFFF-th bank layout:
-
- Store(0xFFFFFFFF, bnk0)
- CHK0(bnk0, 0xFFFFFFFF, 0x065)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x066)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFFFFFF, 0x067)
- CHK0(bfff, 0xC3, 0x068)
- }
-
- // 33-bit Bank field and QWordAcc
- Method(m033,, Serialized)
- {
- Store(0x1FFFFFFFF, Local5)
-
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, QWordAcc, NoLock, Preserve) {
- bnk0, 33
- }
- BankField (r000, bnk0, Local5, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0x1FFFFFFFF-th bank layout:
-
- Store(0x1FFFFFFFF, bnk0)
- CHK0(bnk0, 0x1FFFFFFFF, 0x069)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x06a)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0x1FFFFFFFF, 0x06b)
- CHK0(bfff, 0xC3, 0x06c)
- }
-
- // BankValues set up with LocalX
- Method(m003)
- {
- // 8-bit Bank field
- m030()
-
- // 16-bit Bank field
- m031()
-
- // 32-bit Bank field
- m032()
-
- // 33-bit Bank field and QWordAcc
- if (y215) {
- m033()
- }
- }
-
- // BankValues set up with ArgX
-
- // 8-bit Bank field
- Method(m040, 3, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- bnk0, 8
- }
-
- BankField (r000, bnk0, Arg0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Arg1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Arg2, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x06e)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x06f)
- CHK0(bf00, 0x87, 0x070)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x071)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x072)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x073)
- CHK0(bf01, 0x96, 0x074)
-
- // Deal with 0xFF-th bank layout:
-
- Store(0xFF, bnk0)
- CHK0(bnk0, 0xFF, 0x075)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x076)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFF, 0x077)
- CHK0(bfff, 0xC3, 0x078)
- }
-
- // 16-bit Bank field
- Method(m041, 3, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, WordAcc, NoLock, Preserve) {
- bnk0, 16
- }
-
- BankField (r000, bnk0, Arg0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Arg1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Arg2, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x079)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x07a)
- CHK0(bf00, 0x87, 0x07b)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x07c)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x07e)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x07f)
- CHK0(bf01, 0x96, 0x080)
-
- // Deal with 0xFFFF-th bank layout:
-
- Store(0xFFFF, bnk0)
- CHK0(bnk0, 0xFFFF, 0x081)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x082)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFF, 0x083)
- CHK0(bfff, 0xC3, 0x084)
- }
-
- // 32-bit Bank field
- Method(m042, 3, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, DWordAcc, NoLock, Preserve) {
- bnk0, 32
- }
-
- BankField (r000, bnk0, Arg0, ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Arg1, ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Arg2, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x085)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x086)
- CHK0(bf00, 0x87, 0x087)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x088)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x089)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x08a)
- CHK0(bf01, 0x96, 0x08b)
-
- // Deal with 0xFFFFFFFF-th bank layout:
-
- Store(0xFFFFFFFF, bnk0)
- CHK0(bnk0, 0xFFFFFFFF, 0x08c)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x08d)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFFFFFF, 0x08e)
- CHK0(bfff, 0xC3, 0x08f)
- }
-
- // 33-bit Bank field and QWordAcc
- Method(m043, 1, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, QWordAcc, NoLock, Preserve) {
- bnk0, 33
- }
- BankField (r000, bnk0, Arg0, ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0x1FFFFFFFF-th bank layout:
-
- Store(0x1FFFFFFFF, bnk0)
- CHK0(bnk0, 0x1FFFFFFFF, 0x090)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x091)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0x1FFFFFFFF, 0x092)
- CHK0(bfff, 0xC3, 0x093)
- }
-
- // BankValues set up with ArgX
- Method(m004)
- {
- // 8-bit Bank field
- m040(0, 1, 0xFF)
-
- // 16-bit Bank field
- m041(0, 1, 0xFFFF)
-
- // 32-bit Bank field
- m042(0, 1, 0xFFFFFFFF)
-
- // 33-bit Bank field and QWordAcc
- if (y215) {
- m043(0x1FFFFFFFF)
- }
- }
-
- // BankValues set up with Expressions
-
- // 8-bit Bank field
- Method(m050, 3, Serialized)
- {
- Store(0, Local0)
- Store(1, Local1)
-
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, ByteAcc, NoLock, Preserve) {
- bnk0, 8
- }
-
- BankField (r000, bnk0, Add(Arg0, Local0), ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Add(Arg1, 1), ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Add(Arg2, Local1), ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x094)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x095)
- CHK0(bf00, 0x87, 0x096)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x097)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x098)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x099)
- CHK0(bf01, 0x96, 0x09a)
-
- // Deal with 0xFF-th bank layout:
-
- Store(0xFF, bnk0)
- CHK0(bnk0, 0xFF, 0x09b)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x09c)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFF, 0x09d)
- CHK0(bfff, 0xC3, 0x09e)
- }
-
- // 16-bit Bank field
- Method(m051, 3, Serialized)
- {
- Store(0, Local0)
- Store(1, Local1)
-
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, WordAcc, NoLock, Preserve) {
- bnk0, 16
- }
-
- BankField (r000, bnk0, Add(Arg0, Local0), ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Add(Arg1, Local1), ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Add(Arg2, 1), ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x09f)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x0a0)
- CHK0(bf00, 0x87, 0x0a1)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x0a2)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x0a3)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x0a4)
- CHK0(bf01, 0x96, 0x0a5)
-
- // Deal with 0xFFFF-th bank layout:
-
- Store(0xFFFF, bnk0)
- CHK0(bnk0, 0xFFFF, 0x0a6)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x0a7)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFF, 0x0a8)
- CHK0(bfff, 0xC3, 0x0a9)
- }
-
- // 32-bit Bank field
- Method(m052, 3, Serialized)
- {
- Store(0, Local0)
- Store(1, Local1)
-
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, DWordAcc, NoLock, Preserve) {
- bnk0, 32
- }
-
- BankField (r000, bnk0, Add(Arg0, Local0), ByteAcc, NoLock, Preserve) {
- Offset(16),
- bf00, 8,
- }
-
- BankField (r000, bnk0, Add(Arg1, Local1), ByteAcc, NoLock, Preserve) {
- Offset(17),
- bf01, 8,
- }
-
- BankField (r000, bnk0, Add(Arg2, 1), ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0-th bank layout:
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x0aa)
-
- Store(0x87, bf00)
- CHK0(bnk0, 0, 0x0ab)
- CHK0(bf00, 0x87, 0x0ac)
-
- // Deal with 1-th bank layout:
-
- Store(1, bnk0)
- CHK0(bnk0, 1, 0x0ad)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x0ae)
-
- Store(0x96, bf01)
- CHK0(bnk0, 1, 0x0af)
- CHK0(bf01, 0x96, 0x0b0)
-
- // Deal with 0xFFFFFFFF-th bank layout:
-
- Store(0xFFFFFFFF, bnk0)
- CHK0(bnk0, 0xFFFFFFFF, 0x0b1)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x0b2)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0xFFFFFFFF, 0x0b3)
- CHK0(bfff, 0xC3, 0x0b4)
- }
-
- // 33-bit Bank field and QWordAcc
- Method(m053, 1, Serialized)
- {
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- Field (r000, QWordAcc, NoLock, Preserve) {
- bnk0, 33
- }
- BankField (r000, bnk0, Add(Arg0, 1), ByteAcc, NoLock, Preserve) {
- Offset(18),
- bfff, 8,
- }
-
- // Deal with 0x1FFFFFFFF-th bank layout:
-
- Store(0x1FFFFFFFF, bnk0)
- CHK0(bnk0, 0x1FFFFFFFF, 0x0b5)
-
- Store(0, bnk0)
- CHK0(bnk0, 0, 0x0b6)
-
- Store(0xC3, bfff)
- CHK0(bnk0, 0x1FFFFFFFF, 0x0b7)
- CHK0(bfff, 0xC3, 0x0b8)
- }
-
- // BankValues set up with Expressions
- Method(m005)
- {
- // 8-bit Bank field
- m050(0, 0, 0xFE)
-
- // 16-bit Bank field
- m051(0, 0, 0xFFFE)
-
- // 32-bit Bank field
- m052(0, 0, 0xFFFFFFFE)
-
- // 33-bit Bank field and QWordAcc
- if (y215) {
- m053(0x1FFFFFFFE)
- }
- }
-
- Store("BankValues set up with Integer Constants", Debug)
- m001()
-
- Store("BankValues set up with Named Integers", Debug)
- m002()
-
- Store("BankValues set up with LocalX", Debug)
- m003()
-
- Store("BankValues set up with ArgX", Debug)
- m004()
-
- Store("BankValues set up with Expressions", Debug)
- m005()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 192:
+ *
+ * SUMMARY: Incorrect value of Bank register after storing to its banked field
+ */
+
+Method(mfa4,, Serialized)
+{
+ // CHK0 (CheckValue, BenchMarkValue, CheckNum)
+ Method(CHK0, 3)
+ {
+ if (LNotEqual(arg0, arg1)) {
+ err("", zFFF, arg2, 0, 0, arg0, arg1)
+ }
+ }
+
+ // 8-bit Bank field
+ Method(m010,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ bnk0, 8
+ }
+
+ BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, 0xFF, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x000)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x001)
+ CHK0(bf00, 0x87, 0x002)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x003)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x004)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x005)
+ CHK0(bf01, 0x96, 0x006)
+
+ // Deal with 0xFF-th bank layout:
+
+ Store(0xFF, bnk0)
+ CHK0(bnk0, 0xFF, 0x007)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x008)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFF, 0x009)
+ CHK0(bfff, 0xC3, 0x00a)
+ }
+
+ // 16-bit Bank field
+ Method(m011,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, WordAcc, NoLock, Preserve) {
+ bnk0, 16
+ }
+
+ BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, 0xFFFF, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x00b)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x00c)
+ CHK0(bf00, 0x87, 0x00d)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x00e)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x00f)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x010)
+ CHK0(bf01, 0x96, 0x011)
+
+ // Deal with 0xFFFF-th bank layout:
+
+ Store(0xFFFF, bnk0)
+ CHK0(bnk0, 0xFFFF, 0x012)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x013)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFF, 0x014)
+ CHK0(bfff, 0xC3, 0x015)
+ }
+
+ // 32-bit Bank field
+ Method(m012,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, DWordAcc, NoLock, Preserve) {
+ bnk0, 32
+ }
+
+ BankField (r000, bnk0, 0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, 1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, 0xFFFFFFFF, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x016)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x017)
+ CHK0(bf00, 0x87, 0x018)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x019)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x01a)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x01b)
+ CHK0(bf01, 0x96, 0x01c)
+
+ // Deal with 0xFFFFFFFF-th bank layout:
+
+ Store(0xFFFFFFFF, bnk0)
+ CHK0(bnk0, 0xFFFFFFFF, 0x01d)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x01e)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFFFFFF, 0x01f)
+ CHK0(bfff, 0xC3, 0x020)
+ }
+
+ // 33-bit Bank field and QWordAcc
+ Method(m013,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, QWordAcc, NoLock, Preserve) {
+ bnk0, 33
+ }
+ BankField (r000, bnk0, 0x1FFFFFFFF, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0x1FFFFFFFF-th bank layout:
+
+ Store(0x1FFFFFFFF, bnk0)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x021)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x022)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x023)
+ CHK0(bfff, 0xC3, 0x024)
+ }
+
+ // BankValues set up with Integer Constants
+ Method(m001)
+ {
+ // 8-bit Bank field
+ m010()
+
+ // 16-bit Bank field
+ m011()
+
+ // 32-bit Bank field
+ m012()
+
+ // 33-bit Bank field and QWordAcc
+ if (y215) {
+ m013()
+ }
+ }
+
+ // BankValues set up with Named Integers
+
+ Name(i000, 0)
+ Name(i001, 1)
+ Name(i002, 0xFF)
+ Name(i003, 0xFFFF)
+ Name(i004, 0xFFFFFFFF)
+ Name(i005, 0x1FFFFFFFF)
+
+ // 8-bit Bank field
+ Method(m020,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ bnk0, 8
+ }
+
+ BankField (r000, bnk0, i000, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, i001, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, i002, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x025)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 1)
+ CHK0(bf00, 0x87, 0x026)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x027)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x028)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x029)
+ CHK0(bf01, 0x96, 0x02a)
+
+ // Deal with 0xFF-th bank layout:
+
+ Store(0xFF, bnk0)
+ CHK0(bnk0, 0xFF, 0x02b)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x02c)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFF, 0x02d)
+ CHK0(bfff, 0xC3, 0x02e)
+ }
+
+ // 16-bit Bank field
+ Method(m021,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, WordAcc, NoLock, Preserve) {
+ bnk0, 16
+ }
+
+ BankField (r000, bnk0, i000, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, i001, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, i003, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x02f)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x030)
+ CHK0(bf00, 0x87, 0x031)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x032)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x033)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x034)
+ CHK0(bf01, 0x96, 0x035)
+
+ // Deal with 0xFFFF-th bank layout:
+
+ Store(0xFFFF, bnk0)
+ CHK0(bnk0, 0xFFFF, 0x036)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 19)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFF, 0x037)
+ CHK0(bfff, 0xC3, 0x038)
+ }
+
+ // 32-bit Bank field
+ Method(m022,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, DWordAcc, NoLock, Preserve) {
+ bnk0, 32
+ }
+
+ BankField (r000, bnk0, i000, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, i001, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, i004, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x039)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x03a)
+ CHK0(bf00, 0x87, 0x03b)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x03c)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x03e)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x03f)
+ CHK0(bf01, 0x96, 0x040)
+
+ // Deal with 0xFFFFFFFF-th bank layout:
+
+ Store(0xFFFFFFFF, bnk0)
+ CHK0(bnk0, 0xFFFFFFFF, 0x041)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x042)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFFFFFF, 0x043)
+ CHK0(bfff, 0xC3, 0x044)
+ }
+
+ // 33-bit Bank field and QWordAcc
+ Method(m023,, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, QWordAcc, NoLock, Preserve) {
+ bnk0, 33
+ }
+ BankField (r000, bnk0, i005, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0x1FFFFFFFF-th bank layout:
+
+ Store(0x1FFFFFFFF, bnk0)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x045)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x04e)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x046)
+ CHK0(bfff, 0xC3, 0x047)
+ }
+
+ // BankValues set up with Named Integers
+ Method(m002)
+ {
+ // 8-bit Bank field
+ m020()
+
+ // 16-bit Bank field
+ m021()
+
+ // 32-bit Bank field
+ m022()
+
+ // 33-bit Bank field and QWordAcc
+ if (y215) {
+ m023()
+ }
+ }
+
+ // BankValues set up with LocalX
+
+ // 8-bit Bank field
+ Method(m030,, Serialized)
+ {
+ Store(0, Local0)
+ Store(1, Local1)
+ Store(0xFF, Local2)
+
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ bnk0, 8
+ }
+
+ BankField (r000, bnk0, Local0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Local1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Local2, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x048)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x049)
+ CHK0(bf00, 0x87, 0x04a)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x04b)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x04c)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x04e)
+ CHK0(bf01, 0x96, 0x04f)
+
+ // Deal with 0xFF-th bank layout:
+
+ Store(0xFF, bnk0)
+ CHK0(bnk0, 0xFF, 0x050)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 8)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFF, 0x051)
+ CHK0(bfff, 0xC3, 0x052)
+ }
+
+ // 16-bit Bank field
+ Method(m031,, Serialized)
+ {
+ Store(0, Local0)
+ Store(1, Local1)
+ Store(0xFFFF, Local3)
+
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, WordAcc, NoLock, Preserve) {
+ bnk0, 16
+ }
+
+ BankField (r000, bnk0, Local0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Local1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Local3, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x053)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x054)
+ CHK0(bf00, 0x87, 0x055)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x056)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x057)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x058)
+ CHK0(bf01, 0x96, 0x059)
+
+ // Deal with 0xFFFF-th bank layout:
+
+ Store(0xFFFF, bnk0)
+ CHK0(bnk0, 0xFFFF, 0x05a)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x05b)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFF, 0x05c)
+ CHK0(bfff, 0xC3, 0x05d)
+ }
+
+ // 32-bit Bank field
+ Method(m032,, Serialized)
+ {
+ Store(0, Local0)
+ Store(1, Local1)
+ Store(0xFFFFFFFF, Local4)
+
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, DWordAcc, NoLock, Preserve) {
+ bnk0, 32
+ }
+
+ BankField (r000, bnk0, Local0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Local1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Local4, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x05e)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x05f)
+ CHK0(bf00, 0x87, 0x060)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x061)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x062)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x063)
+ CHK0(bf01, 0x96, 0x064)
+
+ // Deal with 0xFFFFFFFF-th bank layout:
+
+ Store(0xFFFFFFFF, bnk0)
+ CHK0(bnk0, 0xFFFFFFFF, 0x065)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x066)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFFFFFF, 0x067)
+ CHK0(bfff, 0xC3, 0x068)
+ }
+
+ // 33-bit Bank field and QWordAcc
+ Method(m033,, Serialized)
+ {
+ Store(0x1FFFFFFFF, Local5)
+
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, QWordAcc, NoLock, Preserve) {
+ bnk0, 33
+ }
+ BankField (r000, bnk0, Local5, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0x1FFFFFFFF-th bank layout:
+
+ Store(0x1FFFFFFFF, bnk0)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x069)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x06a)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x06b)
+ CHK0(bfff, 0xC3, 0x06c)
+ }
+
+ // BankValues set up with LocalX
+ Method(m003)
+ {
+ // 8-bit Bank field
+ m030()
+
+ // 16-bit Bank field
+ m031()
+
+ // 32-bit Bank field
+ m032()
+
+ // 33-bit Bank field and QWordAcc
+ if (y215) {
+ m033()
+ }
+ }
+
+ // BankValues set up with ArgX
+
+ // 8-bit Bank field
+ Method(m040, 3, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ bnk0, 8
+ }
+
+ BankField (r000, bnk0, Arg0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Arg1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Arg2, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x06e)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x06f)
+ CHK0(bf00, 0x87, 0x070)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x071)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x072)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x073)
+ CHK0(bf01, 0x96, 0x074)
+
+ // Deal with 0xFF-th bank layout:
+
+ Store(0xFF, bnk0)
+ CHK0(bnk0, 0xFF, 0x075)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x076)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFF, 0x077)
+ CHK0(bfff, 0xC3, 0x078)
+ }
+
+ // 16-bit Bank field
+ Method(m041, 3, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, WordAcc, NoLock, Preserve) {
+ bnk0, 16
+ }
+
+ BankField (r000, bnk0, Arg0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Arg1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Arg2, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x079)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x07a)
+ CHK0(bf00, 0x87, 0x07b)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x07c)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x07e)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x07f)
+ CHK0(bf01, 0x96, 0x080)
+
+ // Deal with 0xFFFF-th bank layout:
+
+ Store(0xFFFF, bnk0)
+ CHK0(bnk0, 0xFFFF, 0x081)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x082)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFF, 0x083)
+ CHK0(bfff, 0xC3, 0x084)
+ }
+
+ // 32-bit Bank field
+ Method(m042, 3, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, DWordAcc, NoLock, Preserve) {
+ bnk0, 32
+ }
+
+ BankField (r000, bnk0, Arg0, ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Arg1, ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Arg2, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x085)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x086)
+ CHK0(bf00, 0x87, 0x087)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x088)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x089)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x08a)
+ CHK0(bf01, 0x96, 0x08b)
+
+ // Deal with 0xFFFFFFFF-th bank layout:
+
+ Store(0xFFFFFFFF, bnk0)
+ CHK0(bnk0, 0xFFFFFFFF, 0x08c)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x08d)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFFFFFF, 0x08e)
+ CHK0(bfff, 0xC3, 0x08f)
+ }
+
+ // 33-bit Bank field and QWordAcc
+ Method(m043, 1, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, QWordAcc, NoLock, Preserve) {
+ bnk0, 33
+ }
+ BankField (r000, bnk0, Arg0, ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0x1FFFFFFFF-th bank layout:
+
+ Store(0x1FFFFFFFF, bnk0)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x090)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x091)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x092)
+ CHK0(bfff, 0xC3, 0x093)
+ }
+
+ // BankValues set up with ArgX
+ Method(m004)
+ {
+ // 8-bit Bank field
+ m040(0, 1, 0xFF)
+
+ // 16-bit Bank field
+ m041(0, 1, 0xFFFF)
+
+ // 32-bit Bank field
+ m042(0, 1, 0xFFFFFFFF)
+
+ // 33-bit Bank field and QWordAcc
+ if (y215) {
+ m043(0x1FFFFFFFF)
+ }
+ }
+
+ // BankValues set up with Expressions
+
+ // 8-bit Bank field
+ Method(m050, 3, Serialized)
+ {
+ Store(0, Local0)
+ Store(1, Local1)
+
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, ByteAcc, NoLock, Preserve) {
+ bnk0, 8
+ }
+
+ BankField (r000, bnk0, Add(Arg0, Local0), ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Add(Arg1, 1), ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Add(Arg2, Local1), ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x094)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x095)
+ CHK0(bf00, 0x87, 0x096)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x097)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x098)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x099)
+ CHK0(bf01, 0x96, 0x09a)
+
+ // Deal with 0xFF-th bank layout:
+
+ Store(0xFF, bnk0)
+ CHK0(bnk0, 0xFF, 0x09b)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x09c)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFF, 0x09d)
+ CHK0(bfff, 0xC3, 0x09e)
+ }
+
+ // 16-bit Bank field
+ Method(m051, 3, Serialized)
+ {
+ Store(0, Local0)
+ Store(1, Local1)
+
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, WordAcc, NoLock, Preserve) {
+ bnk0, 16
+ }
+
+ BankField (r000, bnk0, Add(Arg0, Local0), ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Add(Arg1, Local1), ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Add(Arg2, 1), ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x09f)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x0a0)
+ CHK0(bf00, 0x87, 0x0a1)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x0a2)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x0a3)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x0a4)
+ CHK0(bf01, 0x96, 0x0a5)
+
+ // Deal with 0xFFFF-th bank layout:
+
+ Store(0xFFFF, bnk0)
+ CHK0(bnk0, 0xFFFF, 0x0a6)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x0a7)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFF, 0x0a8)
+ CHK0(bfff, 0xC3, 0x0a9)
+ }
+
+ // 32-bit Bank field
+ Method(m052, 3, Serialized)
+ {
+ Store(0, Local0)
+ Store(1, Local1)
+
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, DWordAcc, NoLock, Preserve) {
+ bnk0, 32
+ }
+
+ BankField (r000, bnk0, Add(Arg0, Local0), ByteAcc, NoLock, Preserve) {
+ Offset(16),
+ bf00, 8,
+ }
+
+ BankField (r000, bnk0, Add(Arg1, Local1), ByteAcc, NoLock, Preserve) {
+ Offset(17),
+ bf01, 8,
+ }
+
+ BankField (r000, bnk0, Add(Arg2, 1), ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0-th bank layout:
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x0aa)
+
+ Store(0x87, bf00)
+ CHK0(bnk0, 0, 0x0ab)
+ CHK0(bf00, 0x87, 0x0ac)
+
+ // Deal with 1-th bank layout:
+
+ Store(1, bnk0)
+ CHK0(bnk0, 1, 0x0ad)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x0ae)
+
+ Store(0x96, bf01)
+ CHK0(bnk0, 1, 0x0af)
+ CHK0(bf01, 0x96, 0x0b0)
+
+ // Deal with 0xFFFFFFFF-th bank layout:
+
+ Store(0xFFFFFFFF, bnk0)
+ CHK0(bnk0, 0xFFFFFFFF, 0x0b1)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x0b2)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0xFFFFFFFF, 0x0b3)
+ CHK0(bfff, 0xC3, 0x0b4)
+ }
+
+ // 33-bit Bank field and QWordAcc
+ Method(m053, 1, Serialized)
+ {
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ Field (r000, QWordAcc, NoLock, Preserve) {
+ bnk0, 33
+ }
+ BankField (r000, bnk0, Add(Arg0, 1), ByteAcc, NoLock, Preserve) {
+ Offset(18),
+ bfff, 8,
+ }
+
+ // Deal with 0x1FFFFFFFF-th bank layout:
+
+ Store(0x1FFFFFFFF, bnk0)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x0b5)
+
+ Store(0, bnk0)
+ CHK0(bnk0, 0, 0x0b6)
+
+ Store(0xC3, bfff)
+ CHK0(bnk0, 0x1FFFFFFFF, 0x0b7)
+ CHK0(bfff, 0xC3, 0x0b8)
+ }
+
+ // BankValues set up with Expressions
+ Method(m005)
+ {
+ // 8-bit Bank field
+ m050(0, 0, 0xFE)
+
+ // 16-bit Bank field
+ m051(0, 0, 0xFFFE)
+
+ // 32-bit Bank field
+ m052(0, 0, 0xFFFFFFFE)
+
+ // 33-bit Bank field and QWordAcc
+ if (y215) {
+ m053(0x1FFFFFFFE)
+ }
+ }
+
+ Store("BankValues set up with Integer Constants", Debug)
+ m001()
+
+ Store("BankValues set up with Named Integers", Debug)
+ m002()
+
+ Store("BankValues set up with LocalX", Debug)
+ m003()
+
+ Store("BankValues set up with ArgX", Debug)
+ m004()
+
+ Store("BankValues set up with Expressions", Debug)
+ m005()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/MAIN.asl
index 71f86b0d2..fdb968aca 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B192.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0192/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0192/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B192.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0192/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0192/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/RUN.asl
index 206528adf..4cd1e9867 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0192/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 192", TCLD, 192, W017)) {
- SRMT("mfa4")
- mfa4()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 192", TCLD, 192, W017)) {
+ SRMT("mfa4")
+ mfa4()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/DECL.asl
index 0f04f49c3..a576f8145 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/DECL.asl
@@ -1,91 +1,91 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 193 (local-bugzilla-354):
- *
- * SUMMARY: storing opt. results of Not/NAnd/NOr into Buffer Field in 32-bit mode can soil the higher bits of BF
- *
- * In 32-bit mode optional storing of the result of any of
- * Not, NAnd, and NOr ASL operators to Buffer Field of more
- * than 4 bytes in length can produce non-zero bits outside
- * the first 32 bits (though zeros are expected):
- */
-
-Method(mfa5, 1, Serialized)
-{
- // Source Named Object
- Name(SRC0, 0xfedcba9876543210)
-
- // Target Buffer Field Object
- Createfield(bd0f, 0, 69, BFL1)
-
- // Explicit storing
- Store(0, BFL1)
- if (LEqual(arg0, 0)) {
- Store(Not(SRC0), BFL1)
- } elseif (LEqual(arg0, 1)) {
- Store(NAnd(SRC0, Ones), BFL1)
- } elseif (LEqual(arg0, 2)) {
- Store(NOr(SRC0, Zero), BFL1)
- }
- if (LEqual(BFL1, bd10)) {
- Store("Ok 1", Debug)
- } else {
- err("", zFFF, 0x000, 0, 0, BFL1, bd10)
- }
-
- // Optional storing
- Store(0, BFL1)
- if (LEqual(arg0, 0)) {
- Not(SRC0, BFL1)
- } elseif (LEqual(arg0, 1)) {
- NAnd(SRC0, Ones, BFL1)
- } elseif (LEqual(arg0, 2)) {
- NOr(SRC0, Zero, BFL1)
- }
- if (LEqual(BFL1, bd10)) {
- Store("Ok 2", Debug)
- } else {
- err("", zFFF, 0x001, 0, 0, BFL1, bd10)
- }
-}
-
-Method(mfa6)
-{
- Store(Not(0xfedcba9876543210), bd10)
-
- Store("Not operator", Debug)
- mfa5(0)
-
- Store("NAnd operator", Debug)
- mfa5(1)
-
- Store("NOr operator", Debug)
- mfa5(1)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 193 (local-bugzilla-354):
+ *
+ * SUMMARY: storing opt. results of Not/NAnd/NOr into Buffer Field in 32-bit mode can soil the higher bits of BF
+ *
+ * In 32-bit mode optional storing of the result of any of
+ * Not, NAnd, and NOr ASL operators to Buffer Field of more
+ * than 4 bytes in length can produce non-zero bits outside
+ * the first 32 bits (though zeros are expected):
+ */
+
+Method(mfa5, 1, Serialized)
+{
+ // Source Named Object
+ Name(SRC0, 0xfedcba9876543210)
+
+ // Target Buffer Field Object
+ Createfield(bd0f, 0, 69, BFL1)
+
+ // Explicit storing
+ Store(0, BFL1)
+ if (LEqual(arg0, 0)) {
+ Store(Not(SRC0), BFL1)
+ } elseif (LEqual(arg0, 1)) {
+ Store(NAnd(SRC0, Ones), BFL1)
+ } elseif (LEqual(arg0, 2)) {
+ Store(NOr(SRC0, Zero), BFL1)
+ }
+ if (LEqual(BFL1, bd10)) {
+ Store("Ok 1", Debug)
+ } else {
+ err("", zFFF, 0x000, 0, 0, BFL1, bd10)
+ }
+
+ // Optional storing
+ Store(0, BFL1)
+ if (LEqual(arg0, 0)) {
+ Not(SRC0, BFL1)
+ } elseif (LEqual(arg0, 1)) {
+ NAnd(SRC0, Ones, BFL1)
+ } elseif (LEqual(arg0, 2)) {
+ NOr(SRC0, Zero, BFL1)
+ }
+ if (LEqual(BFL1, bd10)) {
+ Store("Ok 2", Debug)
+ } else {
+ err("", zFFF, 0x001, 0, 0, BFL1, bd10)
+ }
+}
+
+Method(mfa6)
+{
+ Store(Not(0xfedcba9876543210), bd10)
+
+ Store("Not operator", Debug)
+ mfa5(0)
+
+ Store("NAnd operator", Debug)
+ mfa5(1)
+
+ Store("NOr operator", Debug)
+ mfa5(1)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/MAIN.asl
index 3aaa0e0c5..b425c91c4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B193.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0193/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0193/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B193.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0193/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0193/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/RUN.asl
index 5ead7b0ab..5f4810959 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0193/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 193", TCLD, 193, W017)) {
- SRMT("mfa6")
- mfa6()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 193", TCLD, 193, W017)) {
+ SRMT("mfa6")
+ mfa6()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/DECL.asl
index a96e408f7..782e5e083 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/DECL.asl
@@ -1,83 +1,83 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 194:
- *
- * SUMMARY: Incorrect length of result of ToBuffer in case it is stored into a Named Buffer
- */
-Method (bcmp, 2)
-{
- Store(Sizeof(Arg0), Local0)
- Store(Sizeof(Arg1), Local1)
-
- if (LGreater(Local0, Local1))
- {
- Store(Local1, Local0)
- }
- while(Local0) {
- Decrement(Local0)
- Store(Local0, Debug)
- Store(DerefOf(Index(Arg0, Local0)), Local1)
- Store(DerefOf(Index(Arg1, Local0)), Local2)
- if (LNotEqual(Local1, Local2))
- {
- return (0)
- }
- }
- return (1)
-}
-
-Method(mfa7, 1, Serialized)
-{
- Name(b000, Buffer(1){0x3c})
- Name(b001, Buffer(3){0x01, 0x02, 0x03})
-
- Name(bb00, Buffer(1){0x3c})
- Name(bb01, Buffer(3){0x01, 0x02, 0x03})
-
- if (arg0) {
- Store("ToBuffer(b001, b000)", Debug)
- ToBuffer(b001, b000)
- if (LNot(bcmp(b000, bb01))) {
- err("", zFFF, 0x000, 0, 0, b000, bb01)
- }
- } else {
- Store("ToBuffer(b000, b001)", Debug)
- ToBuffer(b000, b001)
- if (Lnot(bcmp(b001, bb00))) {
- err("", zFFF, 0x000, 0, 0, b001, bb00)
- }
- }
-}
-
-Method(mfa8)
-{
- mfa7(0)
- mfa7(1)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 194:
+ *
+ * SUMMARY: Incorrect length of result of ToBuffer in case it is stored into a Named Buffer
+ */
+Method (bcmp, 2)
+{
+ Store(Sizeof(Arg0), Local0)
+ Store(Sizeof(Arg1), Local1)
+
+ if (LGreater(Local0, Local1))
+ {
+ Store(Local1, Local0)
+ }
+ while(Local0) {
+ Decrement(Local0)
+ Store(Local0, Debug)
+ Store(DerefOf(Index(Arg0, Local0)), Local1)
+ Store(DerefOf(Index(Arg1, Local0)), Local2)
+ if (LNotEqual(Local1, Local2))
+ {
+ return (0)
+ }
+ }
+ return (1)
+}
+
+Method(mfa7, 1, Serialized)
+{
+ Name(b000, Buffer(1){0x3c})
+ Name(b001, Buffer(3){0x01, 0x02, 0x03})
+
+ Name(bb00, Buffer(1){0x3c})
+ Name(bb01, Buffer(3){0x01, 0x02, 0x03})
+
+ if (arg0) {
+ Store("ToBuffer(b001, b000)", Debug)
+ ToBuffer(b001, b000)
+ if (LNot(bcmp(b000, bb01))) {
+ err("", zFFF, 0x000, 0, 0, b000, bb01)
+ }
+ } else {
+ Store("ToBuffer(b000, b001)", Debug)
+ ToBuffer(b000, b001)
+ if (Lnot(bcmp(b001, bb00))) {
+ err("", zFFF, 0x000, 0, 0, b001, bb00)
+ }
+ }
+}
+
+Method(mfa8)
+{
+ mfa7(0)
+ mfa7(1)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/MAIN.asl
index c606ae8d0..8ff278429 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B194.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0194/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0194/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B194.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0194/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0194/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/RUN.asl
index da9a3924e..206dd1191 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0194/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 194", TCLD, 194, W017)) {
- SRMT("mfa8")
- mfa8()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 194", TCLD, 194, W017)) {
+ SRMT("mfa8")
+ mfa8()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/DECL.asl
index c11c56ab7..6d32eca6f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/DECL.asl
@@ -1,100 +1,100 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 195 (local-bugzilla-353):
- *
- * SUMMARY: Increment and Decrement of String or Buffer changes the type of operand
- *
- * Increment and Decrement of either String or Buffer Object
- * unexpectedly change the type of operand (Addend and Minuend
- * respectively) to Integer. Operands should preserve the initial
- * types.
- *
- * By the way, the relevant "equivalent" operations
- * Add(Addend, 1, Addend) and Subtract(Minuend, 1, Minuend)
- * don't change the type of Addend and Minuend respectively.
- */
-
-Method(mfaf,, Serialized)
-{
- Name(s000, "0321")
- Name(s001, "0321")
- Name(b000, Buffer(3){0x21, 0x03, 0x00})
- Name(b001, Buffer(3){0x21, 0x03, 0x00})
-
- Decrement(s000)
- Subtract(s001, 1, s001)
-
- Store("======== :", Debug)
- Store(s000, Debug)
- Store(s001, Debug)
- Store("========.", Debug)
-
- Store(ObjectType(s000), Local0)
- Store(ObjectType(s001), Local1)
-
- if (LNotEqual(Local0, Local1)) {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- } elseif (LNotEqual(s000, s001)) {
- err("", zFFF, 0x001, 0, 0, s000, s001)
- }
-
- if (LNotEqual(Local0, 2)) {
- err("", zFFF, 0x002, 0, 0, Local0, 2)
- }
-
- if (LNotEqual(Local1, 2)) {
- err("", zFFF, 0x003, 0, 0, Local1, 2)
- }
-
- Increment(b000)
- Add(b001, 1, b001)
-
- Store("======== :", Debug)
- Store(b000, Debug)
- Store(b001, Debug)
- Store("========.", Debug)
-
- Store(ObjectType(b000), Local0)
- Store(ObjectType(b001), Local1)
-
- if (LNotEqual(Local0, Local1)) {
- err("", zFFF, 0x004, 0, 0, Local0, Local1)
- } elseif (LNotEqual(b000, b001)) {
- err("", zFFF, 0x005, 0, 0, b000, b001)
- }
-
- if (LNotEqual(Local0, 3)) {
- err("", zFFF, 0x006, 0, 0, Local0, 3)
- }
-
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, 0x007, 0, 0, Local1, 3)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 195 (local-bugzilla-353):
+ *
+ * SUMMARY: Increment and Decrement of String or Buffer changes the type of operand
+ *
+ * Increment and Decrement of either String or Buffer Object
+ * unexpectedly change the type of operand (Addend and Minuend
+ * respectively) to Integer. Operands should preserve the initial
+ * types.
+ *
+ * By the way, the relevant "equivalent" operations
+ * Add(Addend, 1, Addend) and Subtract(Minuend, 1, Minuend)
+ * don't change the type of Addend and Minuend respectively.
+ */
+
+Method(mfaf,, Serialized)
+{
+ Name(s000, "0321")
+ Name(s001, "0321")
+ Name(b000, Buffer(3){0x21, 0x03, 0x00})
+ Name(b001, Buffer(3){0x21, 0x03, 0x00})
+
+ Decrement(s000)
+ Subtract(s001, 1, s001)
+
+ Store("======== :", Debug)
+ Store(s000, Debug)
+ Store(s001, Debug)
+ Store("========.", Debug)
+
+ Store(ObjectType(s000), Local0)
+ Store(ObjectType(s001), Local1)
+
+ if (LNotEqual(Local0, Local1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ } elseif (LNotEqual(s000, s001)) {
+ err("", zFFF, 0x001, 0, 0, s000, s001)
+ }
+
+ if (LNotEqual(Local0, 2)) {
+ err("", zFFF, 0x002, 0, 0, Local0, 2)
+ }
+
+ if (LNotEqual(Local1, 2)) {
+ err("", zFFF, 0x003, 0, 0, Local1, 2)
+ }
+
+ Increment(b000)
+ Add(b001, 1, b001)
+
+ Store("======== :", Debug)
+ Store(b000, Debug)
+ Store(b001, Debug)
+ Store("========.", Debug)
+
+ Store(ObjectType(b000), Local0)
+ Store(ObjectType(b001), Local1)
+
+ if (LNotEqual(Local0, Local1)) {
+ err("", zFFF, 0x004, 0, 0, Local0, Local1)
+ } elseif (LNotEqual(b000, b001)) {
+ err("", zFFF, 0x005, 0, 0, b000, b001)
+ }
+
+ if (LNotEqual(Local0, 3)) {
+ err("", zFFF, 0x006, 0, 0, Local0, 3)
+ }
+
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, 0x007, 0, 0, Local1, 3)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/MAIN.asl
index 39d6c3c80..cae76c826 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B195.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0195/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0195/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B195.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0195/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0195/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/RUN.asl
index 2cc05a05a..b3f7ecec5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0195/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 195", TCLD, 195, W017)) {
- SRMT("mfaf")
- mfaf()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 195", TCLD, 195, W017)) {
+ SRMT("mfaf")
+ mfaf()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/DECL.asl
index 0b90faaa2..156dfcee2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/DECL.asl
@@ -1,40 +1,40 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 196:
- *
- * SUMMARY: Incorrect conversion of String to Integer for ToInteger("0x0x12345678")
- */
-
-Method(mfb0)
-{
- CH03("", 0, 0x000, 0, 0)
- ToInteger("0x0x12345678", Local0)
- CH04("", 0, 34, 0, 0x001, 0, 0) // AE_BAD_HEX_CONSTANT
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 196:
+ *
+ * SUMMARY: Incorrect conversion of String to Integer for ToInteger("0x0x12345678")
+ */
+
+Method(mfb0)
+{
+ CH03("", 0, 0x000, 0, 0)
+ ToInteger("0x0x12345678", Local0)
+ CH04("", 0, 34, 0, 0x001, 0, 0) // AE_BAD_HEX_CONSTANT
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/MAIN.asl
index bde5dc3cf..1383433e9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B196.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0196/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0196/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B196.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0196/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0196/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/RUN.asl
index 65008c1a0..0c273cef0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0196/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 196", TCLD, 196, W017)) {
- SRMT("mfb0")
- mfb0()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 196", TCLD, 196, W017)) {
+ SRMT("mfb0")
+ mfb0()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/DECL.asl
index c11c2b781..e33ca7dcd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/DECL.asl
@@ -1,40 +1,40 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 197:
- *
- * SUMMARY: No exception occurs for incorrect String-image of Integer passed to ToInteger like "0x 1234"
- */
-
-Method(mfb1)
-{
- CH03("", 0, 0x000, 0, 0)
- ToInteger("0x 12345678", Local0)
- CH04("", 0, 34, 0, 0x001, 0, 0) // AE_BAD_HEX_CONSTANT
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 197:
+ *
+ * SUMMARY: No exception occurs for incorrect String-image of Integer passed to ToInteger like "0x 1234"
+ */
+
+Method(mfb1)
+{
+ CH03("", 0, 0x000, 0, 0)
+ ToInteger("0x 12345678", Local0)
+ CH04("", 0, 34, 0, 0x001, 0, 0) // AE_BAD_HEX_CONSTANT
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/MAIN.asl
index e64304d25..63ca74b4f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B197.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0197/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0197/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B197.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0197/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0197/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/RUN.asl
index f8bd51c5e..819a1b456 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0197/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 197", TCLD, 197, W017)) {
- SRMT("mfb1")
- mfb1()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 197", TCLD, 197, W017)) {
+ SRMT("mfb1")
+ mfb1()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.0000.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.0000.asl
index 88daacc17..b28fd125a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.0000.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.0000.asl
@@ -1,168 +1,168 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 198:
- *
- * COMPONENT:
- *
- * SUMMARY:
- */
-
-Method(mfa9) {
-
- Event(e900)
- Event(e9Z0)
- Mutex(mx90, 0)
- Mutex(mx91, 0)
- Device(d900) { Name(i900, 0xabcd0017) }
- Device(d9Z0) { Name(i900, 0xabcd0017) }
- ThermalZone(tz90) {}
- ThermalZone(tz91) {}
- Processor(pr90, 0, 0xFFFFFFFF, 0) {}
- Processor(pr91, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r900, SystemMemory, 0x100, 0x100)
- OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
- PowerResource(pw90, 1, 0) {Method(mmmm){return (0)}}
- PowerResource(pw91, 1, 0) {Method(mmmm){return (0)}}
-
- Name(RMRC, 0)
- Name(NRMT, "QQQQ")
- Name(CTST, "CTST")
- Name(RR44, Package(8) {})
- Name(RR55, Package(8) {})
- Name(s000, "The expected contents of 0-th elements of both Packages - RR44 and RR55")
-
- // Error checking
- Method(m000, 1) {
- Store("======================================== sit 1", Debug)
- Store(arg0, Debug)
- Store(RMRC, Debug)
- Store(DerefOf(Index(RR44, 0)), Debug)
- Store(DerefOf(Index(RR55, 0)), Debug)
-
- Store(DerefOf(Index(RR44, 0)), Local0)
- Store(DerefOf(Index(RR55, 0)), Local1)
-
- if (LNotEqual(Local0, s000)) {
- // Store("Error 0", Debug)
- err("", zFFF, 0x000, 0, 0, Local0, s000)
- }
- if (LNotEqual(Local1, s000)) {
- // Store("Error 1", Debug)
- err("", zFFF, 0x001, 0, 0, Local0, s000)
- }
-
- Store("========================================.", Debug)
- }
-
- Method(m001) {
-
- Name(b000, Buffer(4) {})
-
- if (SizeOf(NRMT)) {
- Store("vvvvvv", Local0)
- Concatenate(Local0, "PASS:", Local1)
- Concatenate(":", CTST, Local0)
-
- // This - eliminates the effect
- // Store(s000, Local0)
-
- Store("The expected contents of 0-th elements of both Packages - RR44 and RR55", Local0)
-
- // The order of RR55 and RR44 is essential, only the first is then corrupted:
-
- Store(Local0, Index(RR44, RMRC))
- Store(Local0, Index(RR55, RMRC))
-
- m000(0x1000)
-// m000()
-
- Increment(RMRC)
- }
-
- m000(0x1001)
-// m000()
- }
-
-Method(m002)
-{
- Store("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ RR44", Index(RR44, 0))
- Store("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ RR55", Index(RR55, 0))
-
- Store(10000000000, Local0)
- // Store(1000000, Local0)
- Store(0, Local1)
-
- ToBCD(Local0, Local2)
-
-
- // These dont cause the effect:
- // Divide(1, Local1, Local2)
- // Divide(1, Local1, Local7, Local2)
- // Store(SizeOf(d9Z0), Local2)
-
- if (LNotEqual(Local2, 0)) {
- Store("Zizi 012345", Debug)
- }
-
- // If you uncomment this Store the effect will disappear
-
- // Store(0, Local0)
-}
-
- // If you uncomment this Store then another one of RR44 and RR55 will be corrupted
- // (see comment to m001)
-
- // Store("m002", NRMT)
-
-// Store("--------------!!!!!!!!!!!--------- RR44", Debug)
-// Store(Index(RR44, 0), Debug)
-// Store("--------------!!!!!!!!!!!--------- RR55", Debug)
-// Store(Index(RR55, 0), Debug)
- Store("---------------------------------- SSSSSSSS 0", Debug)
-
- CH03("", 0, 0x002, 0, 0)
- m002()
-
-// Store("---------------------------------- SSSSSSSS 1", Debug)
-
- m001()
-
-// Store("---------------------------------- SSSSSSSS 2", Debug)
-
- m000(0x1009)
-
-// m000()
-
- if (F64) {
- CH03("", 0, 0x003, 0, 0)
- } else {
- CH04("", 0, 0xff, 0, 0x004, 0, 0) // AE_AML_NUMERIC_OVERFLOW
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 198:
+ *
+ * COMPONENT:
+ *
+ * SUMMARY:
+ */
+
+Method(mfa9) {
+
+ Event(e900)
+ Event(e9Z0)
+ Mutex(mx90, 0)
+ Mutex(mx91, 0)
+ Device(d900) { Name(i900, 0xabcd0017) }
+ Device(d9Z0) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz90) {}
+ ThermalZone(tz91) {}
+ Processor(pr90, 0, 0xFFFFFFFF, 0) {}
+ Processor(pr91, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r900, SystemMemory, 0x100, 0x100)
+ OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
+ PowerResource(pw90, 1, 0) {Method(mmmm){return (0)}}
+ PowerResource(pw91, 1, 0) {Method(mmmm){return (0)}}
+
+ Name(RMRC, 0)
+ Name(NRMT, "QQQQ")
+ Name(CTST, "CTST")
+ Name(RR44, Package(8) {})
+ Name(RR55, Package(8) {})
+ Name(s000, "The expected contents of 0-th elements of both Packages - RR44 and RR55")
+
+ // Error checking
+ Method(m000, 1) {
+ Store("======================================== sit 1", Debug)
+ Store(arg0, Debug)
+ Store(RMRC, Debug)
+ Store(DerefOf(Index(RR44, 0)), Debug)
+ Store(DerefOf(Index(RR55, 0)), Debug)
+
+ Store(DerefOf(Index(RR44, 0)), Local0)
+ Store(DerefOf(Index(RR55, 0)), Local1)
+
+ if (LNotEqual(Local0, s000)) {
+ // Store("Error 0", Debug)
+ err("", zFFF, 0x000, 0, 0, Local0, s000)
+ }
+ if (LNotEqual(Local1, s000)) {
+ // Store("Error 1", Debug)
+ err("", zFFF, 0x001, 0, 0, Local0, s000)
+ }
+
+ Store("========================================.", Debug)
+ }
+
+ Method(m001) {
+
+ Name(b000, Buffer(4) {})
+
+ if (SizeOf(NRMT)) {
+ Store("vvvvvv", Local0)
+ Concatenate(Local0, "PASS:", Local1)
+ Concatenate(":", CTST, Local0)
+
+ // This - eliminates the effect
+ // Store(s000, Local0)
+
+ Store("The expected contents of 0-th elements of both Packages - RR44 and RR55", Local0)
+
+ // The order of RR55 and RR44 is essential, only the first is then corrupted:
+
+ Store(Local0, Index(RR44, RMRC))
+ Store(Local0, Index(RR55, RMRC))
+
+ m000(0x1000)
+// m000()
+
+ Increment(RMRC)
+ }
+
+ m000(0x1001)
+// m000()
+ }
+
+Method(m002)
+{
+ Store("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ RR44", Index(RR44, 0))
+ Store("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ RR55", Index(RR55, 0))
+
+ Store(10000000000, Local0)
+ // Store(1000000, Local0)
+ Store(0, Local1)
+
+ ToBCD(Local0, Local2)
+
+
+ // These dont cause the effect:
+ // Divide(1, Local1, Local2)
+ // Divide(1, Local1, Local7, Local2)
+ // Store(SizeOf(d9Z0), Local2)
+
+ if (LNotEqual(Local2, 0)) {
+ Store("Zizi 012345", Debug)
+ }
+
+ // If you uncomment this Store the effect will disappear
+
+ // Store(0, Local0)
+}
+
+ // If you uncomment this Store then another one of RR44 and RR55 will be corrupted
+ // (see comment to m001)
+
+ // Store("m002", NRMT)
+
+// Store("--------------!!!!!!!!!!!--------- RR44", Debug)
+// Store(Index(RR44, 0), Debug)
+// Store("--------------!!!!!!!!!!!--------- RR55", Debug)
+// Store(Index(RR55, 0), Debug)
+ Store("---------------------------------- SSSSSSSS 0", Debug)
+
+ CH03("", 0, 0x002, 0, 0)
+ m002()
+
+// Store("---------------------------------- SSSSSSSS 1", Debug)
+
+ m001()
+
+// Store("---------------------------------- SSSSSSSS 2", Debug)
+
+ m000(0x1009)
+
+// m000()
+
+ if (F64) {
+ CH03("", 0, 0x003, 0, 0)
+ } else {
+ CH04("", 0, 0xff, 0, 0x004, 0, 0) // AE_AML_NUMERIC_OVERFLOW
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.asl
index aa1c77e75..e7486e8fa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/DECL.asl
@@ -1,225 +1,225 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 198:
- *
- * SUMMARY: AML interpretation in 32-bit slack mode becomes unstable after some exceptions
- */
-
-/* SEE below: "Would be useful to continue for other ASL operators" */
-
-Name(id24, 0)
-
-Method(mfa9,, Serialized) {
-
- Event(e900)
- Event(e9Z0)
- Mutex(mx90, 0)
- Mutex(mx91, 0)
- Device(d900) { Name(i900, 0xabcd0017) }
- Device(d9Z0) { Name(i900, 0xabcd0017) }
- ThermalZone(tz90) {}
- ThermalZone(tz91) {}
- Processor(pr90, 0, 0xFFFFFFFF, 0) {}
- Processor(pr91, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r900, SystemMemory, 0x100, 0x100)
- OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
- PowerResource(pw90, 1, 0) {Method(mmmm){return (0)}}
- PowerResource(pw91, 1, 0) {Method(mmmm){return (0)}}
-
- Name(RMRC, 0)
- Name(NRMT, "QQQQ")
- Name(CTST, "CTST")
- Name(RR44, Package(8) {})
- Name(RR55, Package(8) {})
- Name(s000, "The expected contents of 0-th elements of both Packages - RR44 and RR55")
-
- // Error checking
- Method(m000, 1) {
- Store("======================================== sit 1", Debug)
- Store(arg0, Debug)
- Store(RMRC, Debug)
- Store(DerefOf(Index(RR44, 0)), Debug)
- Store(DerefOf(Index(RR55, 0)), Debug)
-
- Store(DerefOf(Index(RR44, 0)), Local0)
- Store(DerefOf(Index(RR55, 0)), Local1)
-
- if (LNotEqual(Local0, s000)) {
- // Store("Error 0", Debug)
- err("", zFFF, 0x000, 0, 0, Local0, s000)
- }
- if (LNotEqual(Local1, s000)) {
- // Store("Error 1", Debug)
- err("", zFFF, 0x001, 0, 0, Local0, s000)
- }
-
- Store("========================================.", Debug)
- }
-
- Method(m001,, Serialized) {
-
- Name(b000, Buffer(4) {})
-
- if (SizeOf(NRMT)) {
- Store("vvvvvv", Local0)
- Concatenate(Local0, "PASS:", Local1)
- Concatenate(":", CTST, Local0)
-
- // This - eliminates the effect
- // Store(s000, Local0)
-
- Store("The expected contents of 0-th elements of both Packages - RR44 and RR55", Local0)
-
- // The order of RR55 and RR44 is essential, only the first is then corrupted:
-
- Store(Local0, Index(RR44, RMRC))
- Store(Local0, Index(RR55, RMRC))
-
- m000(0x1000)
-// m000()
-
- Increment(RMRC)
- }
-
- m000(0x1001)
-// m000()
- }
-
- Method(m002)
- {
- Store("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ RR44", Index(RR44, 0))
- Store("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ RR55", Index(RR55, 0))
-
- Store(10000000000, Local0)
- Store(0, Local1)
-
- if (LEqual(id24, 0)) {
- // Only this causes the effect:
- ToBCD(Local0, Local2)
- } elseif (LEqual(id24, 1)) {
- Divide(1, Local1, Local2)
- } elseif (LEqual(id24, 2)) {
- Divide(1, Local1, Local7, Local2)
- } elseif (LEqual(id24, 3)) {
- Store(SizeOf(d9Z0), Local2)
- } elseif (LEqual(id24, 4)) {
- Store(0, Local0)
- Store(Acquire (Local0, 1), Local2)
- } elseif (LEqual(id24, 5)) {
- CopyObject(e900, Local0)
- Add(0, Local0, Local2)
- } elseif (LEqual(id24, 6)) {
- CopyObject(e900, Local0)
- And(0, Local0, Local2)
- } elseif (LEqual(id24, 7)) {
- Store("zzzzzxx", Local0)
- CopyObject(e900, Local1)
- Concatenate(Local0, Local1, Local2)
- } elseif (LEqual(id24, 8)) {
- CopyObject(e900, Local0)
- CondRefOf(Local0, Local2)
- }
-
- if (LNotEqual(Local2, 0)) {
- Store("Zizi 012345", Debug)
- }
-
- // If you uncomment this Store the effect will disappear
-
- // Store(0, Local0)
- }
-
-
- // If you uncomment this Store then another one of RR44 and RR55 will be corrupted
- // (see comment to m001)
-
- // Store("m002", NRMT)
-
-// Store("--------------!!!!!!!!!!!--------- RR44", Debug)
-// Store(Index(RR44, 0), Debug)
-// Store("--------------!!!!!!!!!!!--------- RR55", Debug)
-// Store(Index(RR55, 0), Debug)
- Store("---------------------------------- SSSSSSSS 0", Debug)
-
- CH03("", 0, 0x002, 0, 0)
- m002()
-
-// Store("---------------------------------- SSSSSSSS 1", Debug)
-
- m001()
-
-// Store("---------------------------------- SSSSSSSS 2", Debug)
-
- m000(0x1009)
-
-// m000()
-
- if (LEqual(id24, 0)) {
- if (F64) {
- CH03("", 0, 0x003, 0, 0)
- } else {
- CH04("", 0, 0xff, 0, 0x004, 0, 0) // AE_AML_NUMERIC_OVERFLOW
- }
- } else {
- CH04("", 0, 0xff, 0, 0x004, 0, 0) // AE_AML_NUMERIC_OVERFLOW
- }
-}
-
-Method(mfaa) {
-
- Store(0, id24)
- mfa9()
-
- Store(1, id24)
- mfa9()
-
- Store(2, id24)
- mfa9()
-
- Store(3, id24)
- mfa9()
-
- Store(4, id24)
- mfa9()
-
- Store(5, id24)
- mfa9()
-
- Store(6, id24)
- mfa9()
-
- Store(7, id24)
- mfa9()
-
- Store(8, id24)
- mfa9()
-
- /* Would be useful to continue for other ASL operators */
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 198:
+ *
+ * SUMMARY: AML interpretation in 32-bit slack mode becomes unstable after some exceptions
+ */
+
+/* SEE below: "Would be useful to continue for other ASL operators" */
+
+Name(id24, 0)
+
+Method(mfa9,, Serialized) {
+
+ Event(e900)
+ Event(e9Z0)
+ Mutex(mx90, 0)
+ Mutex(mx91, 0)
+ Device(d900) { Name(i900, 0xabcd0017) }
+ Device(d9Z0) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz90) {}
+ ThermalZone(tz91) {}
+ Processor(pr90, 0, 0xFFFFFFFF, 0) {}
+ Processor(pr91, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r900, SystemMemory, 0x100, 0x100)
+ OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
+ PowerResource(pw90, 1, 0) {Method(mmmm){return (0)}}
+ PowerResource(pw91, 1, 0) {Method(mmmm){return (0)}}
+
+ Name(RMRC, 0)
+ Name(NRMT, "QQQQ")
+ Name(CTST, "CTST")
+ Name(RR44, Package(8) {})
+ Name(RR55, Package(8) {})
+ Name(s000, "The expected contents of 0-th elements of both Packages - RR44 and RR55")
+
+ // Error checking
+ Method(m000, 1) {
+ Store("======================================== sit 1", Debug)
+ Store(arg0, Debug)
+ Store(RMRC, Debug)
+ Store(DerefOf(Index(RR44, 0)), Debug)
+ Store(DerefOf(Index(RR55, 0)), Debug)
+
+ Store(DerefOf(Index(RR44, 0)), Local0)
+ Store(DerefOf(Index(RR55, 0)), Local1)
+
+ if (LNotEqual(Local0, s000)) {
+ // Store("Error 0", Debug)
+ err("", zFFF, 0x000, 0, 0, Local0, s000)
+ }
+ if (LNotEqual(Local1, s000)) {
+ // Store("Error 1", Debug)
+ err("", zFFF, 0x001, 0, 0, Local0, s000)
+ }
+
+ Store("========================================.", Debug)
+ }
+
+ Method(m001,, Serialized) {
+
+ Name(b000, Buffer(4) {})
+
+ if (SizeOf(NRMT)) {
+ Store("vvvvvv", Local0)
+ Concatenate(Local0, "PASS:", Local1)
+ Concatenate(":", CTST, Local0)
+
+ // This - eliminates the effect
+ // Store(s000, Local0)
+
+ Store("The expected contents of 0-th elements of both Packages - RR44 and RR55", Local0)
+
+ // The order of RR55 and RR44 is essential, only the first is then corrupted:
+
+ Store(Local0, Index(RR44, RMRC))
+ Store(Local0, Index(RR55, RMRC))
+
+ m000(0x1000)
+// m000()
+
+ Increment(RMRC)
+ }
+
+ m000(0x1001)
+// m000()
+ }
+
+ Method(m002)
+ {
+ Store("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ RR44", Index(RR44, 0))
+ Store("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ RR55", Index(RR55, 0))
+
+ Store(10000000000, Local0)
+ Store(0, Local1)
+
+ if (LEqual(id24, 0)) {
+ // Only this causes the effect:
+ ToBCD(Local0, Local2)
+ } elseif (LEqual(id24, 1)) {
+ Divide(1, Local1, Local2)
+ } elseif (LEqual(id24, 2)) {
+ Divide(1, Local1, Local7, Local2)
+ } elseif (LEqual(id24, 3)) {
+ Store(SizeOf(d9Z0), Local2)
+ } elseif (LEqual(id24, 4)) {
+ Store(0, Local0)
+ Store(Acquire (Local0, 1), Local2)
+ } elseif (LEqual(id24, 5)) {
+ CopyObject(e900, Local0)
+ Add(0, Local0, Local2)
+ } elseif (LEqual(id24, 6)) {
+ CopyObject(e900, Local0)
+ And(0, Local0, Local2)
+ } elseif (LEqual(id24, 7)) {
+ Store("zzzzzxx", Local0)
+ CopyObject(e900, Local1)
+ Concatenate(Local0, Local1, Local2)
+ } elseif (LEqual(id24, 8)) {
+ CopyObject(e900, Local0)
+ CondRefOf(Local0, Local2)
+ }
+
+ if (LNotEqual(Local2, 0)) {
+ Store("Zizi 012345", Debug)
+ }
+
+ // If you uncomment this Store the effect will disappear
+
+ // Store(0, Local0)
+ }
+
+
+ // If you uncomment this Store then another one of RR44 and RR55 will be corrupted
+ // (see comment to m001)
+
+ // Store("m002", NRMT)
+
+// Store("--------------!!!!!!!!!!!--------- RR44", Debug)
+// Store(Index(RR44, 0), Debug)
+// Store("--------------!!!!!!!!!!!--------- RR55", Debug)
+// Store(Index(RR55, 0), Debug)
+ Store("---------------------------------- SSSSSSSS 0", Debug)
+
+ CH03("", 0, 0x002, 0, 0)
+ m002()
+
+// Store("---------------------------------- SSSSSSSS 1", Debug)
+
+ m001()
+
+// Store("---------------------------------- SSSSSSSS 2", Debug)
+
+ m000(0x1009)
+
+// m000()
+
+ if (LEqual(id24, 0)) {
+ if (F64) {
+ CH03("", 0, 0x003, 0, 0)
+ } else {
+ CH04("", 0, 0xff, 0, 0x004, 0, 0) // AE_AML_NUMERIC_OVERFLOW
+ }
+ } else {
+ CH04("", 0, 0xff, 0, 0x004, 0, 0) // AE_AML_NUMERIC_OVERFLOW
+ }
+}
+
+Method(mfaa) {
+
+ Store(0, id24)
+ mfa9()
+
+ Store(1, id24)
+ mfa9()
+
+ Store(2, id24)
+ mfa9()
+
+ Store(3, id24)
+ mfa9()
+
+ Store(4, id24)
+ mfa9()
+
+ Store(5, id24)
+ mfa9()
+
+ Store(6, id24)
+ mfa9()
+
+ Store(7, id24)
+ mfa9()
+
+ Store(8, id24)
+ mfa9()
+
+ /* Would be useful to continue for other ASL operators */
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/MAIN.asl
index ca7d42599..3cfbb78d8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B198.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0198/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0198/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B198.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0198/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0198/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/RUN.asl
index 5511b12be..38b45c069 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0198/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 198", TCLD, 198, W017)) {
- SRMT("mfaa")
- mfaa()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 198", TCLD, 198, W017)) {
+ SRMT("mfaa")
+ mfaa()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/DECL.asl
index d7f09c797..918e0ff47 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/DECL.asl
@@ -1,91 +1,91 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 199:
- *
- * SUMMARY: No exception on DerefOf for parameter which is none of ObjectReference/IndexReference/String
- */
-
-Method(mfb2,, Serialized)
- {
- Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
- Name(i000, 0xabbc0000)
- Name(p000, Package() {1,2,3,4})
-
- CH03("", 0, 0x000, 0, 0)
- Store(DerefOf(b000), Local0)
- CH04("", 1, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x002, 0, 0)
- Store(DerefOf(i000), Local0)
- CH04("", 1, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x004, 0, 0)
- Store(DerefOf(p000), Local0)
- CH04("", 1, 47, 0, 0x005, 0, 0) // AE_AML_OPERAND_TYPE
-}
-
-Method(mfb3,, Serialized)
-{
- Event(e000)
- Mutex(mx00, 0)
- Device(d000) { Name(i900, 0xabcd0017) }
- ThermalZone(tz00) {}
- Processor(pr00, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r000, SystemMemory, 0x100, 0x100)
- PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
-
- CH03("", 0, 0x006, 0, 0)
- Store(DerefOf(e000), Local0)
- CH04("", 1, 47, 0, 0x007, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x008, 0, 0)
- Store(DerefOf(mx00), Local0)
- CH04("", 1, 47, 0, 0x009, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x00a, 0, 0)
- Store(DerefOf(d000), Local0)
- CH04("", 1, 47, 0, 0x00b, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x00c, 0, 0)
- Store(DerefOf(tz00), Local0)
- CH04("", 1, 47, 0, 0x00d, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x00e, 0, 0)
- Store(DerefOf(pr00), Local0)
- CH04("", 1, 47, 0, 0x00f, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x010, 0, 0)
- Store(DerefOf(r000), Local0)
- CH04("", 1, 47, 0, 0x011, 0, 0) // AE_AML_OPERAND_TYPE
-
- CH03("", 0, 0x012, 0, 0)
- Store(DerefOf(pw00), Local0)
- CH04("", 1, 47, 0, 0x013, 0, 0) // AE_AML_OPERAND_TYPE
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 199:
+ *
+ * SUMMARY: No exception on DerefOf for parameter which is none of ObjectReference/IndexReference/String
+ */
+
+Method(mfb2,, Serialized)
+ {
+ Name(b000, Buffer(){ 1, 2, 3, 4, 0x95, 6, 7, 8})
+ Name(i000, 0xabbc0000)
+ Name(p000, Package() {1,2,3,4})
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(DerefOf(b000), Local0)
+ CH04("", 1, 47, 0, 0x001, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x002, 0, 0)
+ Store(DerefOf(i000), Local0)
+ CH04("", 1, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x004, 0, 0)
+ Store(DerefOf(p000), Local0)
+ CH04("", 1, 47, 0, 0x005, 0, 0) // AE_AML_OPERAND_TYPE
+}
+
+Method(mfb3,, Serialized)
+{
+ Event(e000)
+ Mutex(mx00, 0)
+ Device(d000) { Name(i900, 0xabcd0017) }
+ ThermalZone(tz00) {}
+ Processor(pr00, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r000, SystemMemory, 0x100, 0x100)
+ PowerResource(pw00, 1, 0) {Method(mmmm){return (0)}}
+
+ CH03("", 0, 0x006, 0, 0)
+ Store(DerefOf(e000), Local0)
+ CH04("", 1, 47, 0, 0x007, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x008, 0, 0)
+ Store(DerefOf(mx00), Local0)
+ CH04("", 1, 47, 0, 0x009, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x00a, 0, 0)
+ Store(DerefOf(d000), Local0)
+ CH04("", 1, 47, 0, 0x00b, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x00c, 0, 0)
+ Store(DerefOf(tz00), Local0)
+ CH04("", 1, 47, 0, 0x00d, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x00e, 0, 0)
+ Store(DerefOf(pr00), Local0)
+ CH04("", 1, 47, 0, 0x00f, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x010, 0, 0)
+ Store(DerefOf(r000), Local0)
+ CH04("", 1, 47, 0, 0x011, 0, 0) // AE_AML_OPERAND_TYPE
+
+ CH03("", 0, 0x012, 0, 0)
+ Store(DerefOf(pw00), Local0)
+ CH04("", 1, 47, 0, 0x013, 0, 0) // AE_AML_OPERAND_TYPE
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/MAIN.asl
index d7e4080a0..34d6e70f2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B199.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0199/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0199/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B199.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0199/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0199/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/RUN.asl
index 61760c629..fe58da376 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0199/RUN.asl
@@ -1,36 +1,36 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 199", TCLD, 199, W017)) {
- SRMT("mfb2")
- mfb2()
- SRMT("mfb3")
- mfb3()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 199", TCLD, 199, W017)) {
+ SRMT("mfb2")
+ mfb2()
+ SRMT("mfb3")
+ mfb3()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/DECL.asl
index 74db70dba..3ba0d7601 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/DECL.asl
@@ -1,222 +1,222 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 200 (local-bugzilla-352):
- *
- * SUMMARY: the code path taken after exception is incorrect
- *
- * AcpiPsParseLoop --> AcpiDsGetPredicateValue --> FAILURE -->>
- * doesn't fall into AcpiDsMethodError routine after FAILURE (exception)
- * (the ASLTS-testing stops after these FAILUREs).
- */
-
-
-Method(mfb4)
-{
- Store("Message from mfb4 -------------------------------!!!", Debug)
-}
-
-Method(mfb5)
-{
- Store(0, Local7)
- Divide(1, Local7, Local2)
- if (LNotEqual(Local2, 0)) {
- mfb4()
- }
-}
-
-Method(mfb6)
-{
- Store(0, Local7)
- Divide(1, Local7, Local2)
- if (LNotEqual(Local2, 0)) {
- Store("Message 0 !!!!!!!!!!!!!!!!!!!!!!", Debug)
- mfb4()
- }
-}
-
-Method(mfb7)
-{
- Store(0, Local7)
- Divide(1, Local7, Local2)
-}
-
-Method(mfb8)
-{
- Store(0, Local7)
- Divide(1, Local7, Local2)
- while (LNotEqual(Local2, 0)) {
- mfb4()
- break
- }
-}
-
-Method(mfb9)
-{
- Store(0, Local7)
- Divide(1, Local7, Local2)
- while (LNotEqual(Local2, 0)) {
- Store("Message 1 !!!!!!!!!!!!!!!!!!!!!!", Debug)
- mfb4()
- break
- }
-}
-
-Method(mfba, 0, Serialized)
-{
- Store(0, Local7)
- Divide(1, Local7, Local2)
- switch (LNotEqual(Local2, 0)) {
- case (0)
- {
- mfb4()
- }
- }
-}
-
-Method(mfbb, 0, Serialized)
-{
- Store(0, Local7)
- Divide(1, Local7, Local2)
- switch (LNotEqual(Local2, 0)) {
- case (0)
- {
- Store("Message 2 !!!!!!!!!!!!!!!!!!!!!!", Debug)
- mfb4()
- }
- }
-}
-
-Method(mfbc)
-{
- Store(0, Local7)
- Divide(1, Local7, Local2)
- Return (Local2)
-}
-
-Method(mfbd)
-{
- if (mfbc()) {
- Store("Message 3 !!!!!!!!!!!!!!!!!!!!!!", Debug)
- }
-}
-
-Method(mfbe)
-{
- while (mfbc()) {
- break
- }
-}
-
-Method(mfbf, 0, Serialized)
-{
- switch (ToInteger (mfbc())) {
- case (0)
- {
- Store("Message 4 !!!!!!!!!!!!!!!!!!!!!!", Debug)
- }
- }
-}
-
-Method(mfc0)
-{
- /*
- * The code path taken after the exception here
- * is not correct for each of these Method calls:
- */
-
- SRMT("mfb5")
- if (y200) {
- CH03("", 0, 0x000, 0, 0)
- mfb5()
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
- } else {
- BLCK()
- }
-
- SRMT("mfbd")
- if (y200) {
- CH03("", 0, 0x002, 0, 0)
- mfbd()
- CH04("", 0, 0xff, 0, 0x003, 0, 0)
- } else {
- BLCK()
- }
-
- SRMT("mfbe")
- if (y200) {
- CH03("", 0, 0x004, 0, 0)
- mfbe()
- CH04("", 0, 0xff, 0, 0x005, 0, 0)
- } else {
- BLCK()
- }
-
- /*
- * These work Ok:
- */
-
- SRMT("mfb6")
- CH03("", 0, 0x006, 0, 0)
- mfb6()
- CH04("", 0, 0xff, 0, 0x007, 0, 0)
-
- SRMT("mfb7")
- CH03("", 0, 0x008, 0, 0)
- mfb7()
- CH04("", 0, 0xff, 0, 0x009, 0, 0)
-
- SRMT("mfb8")
- CH03("", 0, 0x00a, 0, 0)
- mfb8()
- CH04("", 0, 0xff, 0, 0x00b, 0, 0)
-
- SRMT("mfb9")
- CH03("", 0, 0x00c, 0, 0)
- mfb9()
- CH04("", 0, 0xff, 0, 0x00d, 0, 0)
-
- SRMT("mfba")
- CH03("", 0, 0x00e, 0, 0)
- mfba()
- CH04("", 0, 0xff, 0, 0x00f, 0, 0)
-
- SRMT("mfbb")
- CH03("", 0, 0x010, 0, 0)
- mfbb()
- CH04("", 0, 0xff, 0, 0x011, 0, 0)
-
- SRMT("mfbf")
- CH03("", 0, 0x012, 0, 0)
- mfbf()
- CH04("", 0, 0xff, 0, 0x013, 0, 0)
-
- Store("mfc0 ==== successfully returned to mfc0; finished !!!!!", Debug)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 200 (local-bugzilla-352):
+ *
+ * SUMMARY: the code path taken after exception is incorrect
+ *
+ * AcpiPsParseLoop --> AcpiDsGetPredicateValue --> FAILURE -->>
+ * doesn't fall into AcpiDsMethodError routine after FAILURE (exception)
+ * (the ASLTS-testing stops after these FAILUREs).
+ */
+
+
+Method(mfb4)
+{
+ Store("Message from mfb4 -------------------------------!!!", Debug)
+}
+
+Method(mfb5)
+{
+ Store(0, Local7)
+ Divide(1, Local7, Local2)
+ if (LNotEqual(Local2, 0)) {
+ mfb4()
+ }
+}
+
+Method(mfb6)
+{
+ Store(0, Local7)
+ Divide(1, Local7, Local2)
+ if (LNotEqual(Local2, 0)) {
+ Store("Message 0 !!!!!!!!!!!!!!!!!!!!!!", Debug)
+ mfb4()
+ }
+}
+
+Method(mfb7)
+{
+ Store(0, Local7)
+ Divide(1, Local7, Local2)
+}
+
+Method(mfb8)
+{
+ Store(0, Local7)
+ Divide(1, Local7, Local2)
+ while (LNotEqual(Local2, 0)) {
+ mfb4()
+ break
+ }
+}
+
+Method(mfb9)
+{
+ Store(0, Local7)
+ Divide(1, Local7, Local2)
+ while (LNotEqual(Local2, 0)) {
+ Store("Message 1 !!!!!!!!!!!!!!!!!!!!!!", Debug)
+ mfb4()
+ break
+ }
+}
+
+Method(mfba, 0, Serialized)
+{
+ Store(0, Local7)
+ Divide(1, Local7, Local2)
+ switch (LNotEqual(Local2, 0)) {
+ case (0)
+ {
+ mfb4()
+ }
+ }
+}
+
+Method(mfbb, 0, Serialized)
+{
+ Store(0, Local7)
+ Divide(1, Local7, Local2)
+ switch (LNotEqual(Local2, 0)) {
+ case (0)
+ {
+ Store("Message 2 !!!!!!!!!!!!!!!!!!!!!!", Debug)
+ mfb4()
+ }
+ }
+}
+
+Method(mfbc)
+{
+ Store(0, Local7)
+ Divide(1, Local7, Local2)
+ Return (Local2)
+}
+
+Method(mfbd)
+{
+ if (mfbc()) {
+ Store("Message 3 !!!!!!!!!!!!!!!!!!!!!!", Debug)
+ }
+}
+
+Method(mfbe)
+{
+ while (mfbc()) {
+ break
+ }
+}
+
+Method(mfbf, 0, Serialized)
+{
+ switch (ToInteger (mfbc())) {
+ case (0)
+ {
+ Store("Message 4 !!!!!!!!!!!!!!!!!!!!!!", Debug)
+ }
+ }
+}
+
+Method(mfc0)
+{
+ /*
+ * The code path taken after the exception here
+ * is not correct for each of these Method calls:
+ */
+
+ SRMT("mfb5")
+ if (y200) {
+ CH03("", 0, 0x000, 0, 0)
+ mfb5()
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+ } else {
+ BLCK()
+ }
+
+ SRMT("mfbd")
+ if (y200) {
+ CH03("", 0, 0x002, 0, 0)
+ mfbd()
+ CH04("", 0, 0xff, 0, 0x003, 0, 0)
+ } else {
+ BLCK()
+ }
+
+ SRMT("mfbe")
+ if (y200) {
+ CH03("", 0, 0x004, 0, 0)
+ mfbe()
+ CH04("", 0, 0xff, 0, 0x005, 0, 0)
+ } else {
+ BLCK()
+ }
+
+ /*
+ * These work Ok:
+ */
+
+ SRMT("mfb6")
+ CH03("", 0, 0x006, 0, 0)
+ mfb6()
+ CH04("", 0, 0xff, 0, 0x007, 0, 0)
+
+ SRMT("mfb7")
+ CH03("", 0, 0x008, 0, 0)
+ mfb7()
+ CH04("", 0, 0xff, 0, 0x009, 0, 0)
+
+ SRMT("mfb8")
+ CH03("", 0, 0x00a, 0, 0)
+ mfb8()
+ CH04("", 0, 0xff, 0, 0x00b, 0, 0)
+
+ SRMT("mfb9")
+ CH03("", 0, 0x00c, 0, 0)
+ mfb9()
+ CH04("", 0, 0xff, 0, 0x00d, 0, 0)
+
+ SRMT("mfba")
+ CH03("", 0, 0x00e, 0, 0)
+ mfba()
+ CH04("", 0, 0xff, 0, 0x00f, 0, 0)
+
+ SRMT("mfbb")
+ CH03("", 0, 0x010, 0, 0)
+ mfbb()
+ CH04("", 0, 0xff, 0, 0x011, 0, 0)
+
+ SRMT("mfbf")
+ CH03("", 0, 0x012, 0, 0)
+ mfbf()
+ CH04("", 0, 0xff, 0, 0x013, 0, 0)
+
+ Store("mfc0 ==== successfully returned to mfc0; finished !!!!!", Debug)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/MAIN.asl
index b09c055ac..714e3f4fa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B200.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0200/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0200/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B200.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0200/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0200/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/RUN.asl
index 61c995cf8..33b6a0982 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0200/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 200", TCLD, 200, W017)) {
- mfc0()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 200", TCLD, 200, W017)) {
+ mfc0()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl
index d30635cd0..1bd614ac0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl
@@ -1,175 +1,175 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 201:
- *
- * SUMMARY: Many Outstanding allocations on ASLTS tests run
- *
- * Note: automate in future counting the number of Outstanding allocations
- * per-test and expect here zero which would mean success of test.
- * Currently, always FAILURE.
- */
-
-Method(mfc1)
-{
- Store("To be investigated:", Debug)
- Store("many Outstanding allocations on Reference ASLTS test run and other ASLTS tests.", Debug)
-
- err("", zFFF, 0x000, 0, 0, 0, 0)
-}
-
-/*
-
-To be investigated.
-
-Many Outstanding allocations on Reference ASLTS test run:
-Outstanding: 0xDB allocations after execution
-ACPI Error (utalloc-1053): 100(64) Outstanding allocations [20060127]
-
-.............. Output of test:
-(.......)
-[ACPI Debug] String: [0x25] ":STST:functional:reference:m26a:PASS:"
-[ACPI Debug] String: [0x3A] ":STST:functional:reference:m26b:FAIL:Errors # 11 00 00 00:"
-[ACPI Debug] String: [0x25] ":STST:functional:reference:m26c:PASS:"
-[ACPI Debug] String: [0x25] ":STST:functional:reference:m26d:PASS:"
-[ACPI Debug] String: [0x3A] ":STST:functional:reference:m26e:FAIL:Errors # 01 00 00 00:"
-[ACPI Debug] String: [0x25] ":STST:functional:reference:m26f:PASS:"
-[ACPI Debug] String: [0x25] ":STST:functional:reference:m270:PASS:"
-[ACPI Debug] String: [0x25] ":STST:functional:reference:m276:PASS:"
-[ACPI Debug] String: [0x0E] "========= END."
-[ACPI Debug] String: [0x5B] "TEST ACPICA: 64-bit : FAIL : Errors # 0x0000000000000016, Failed tests # 0x0000000000000004"
-Outstanding: 0xDB allocations after execution
-Execution of \MAIN returned object 00326E38 Buflen 10
-[Integer] = 0000000000000001
-- q
-0049CCB8 Len 0028 utcache-407 [Operand] Integer R1
-00495CB8 Len 0005 dsobject-333 [UNDEFINED]
-0048C488 Len 0028 utcache-407 [Operand] Integer R1
-0047F068 Len 0028 utcache-407 [Operand] BankField R1
-0047C108 Len 0028 utcache-407 [Operand] RegionField R1
-0047D178 Len 0028 utcache-407 [Operand] IndexField R1
-0047EB88 Len 0028 utcache-407 [Operand] BufferField R1
-0047CF68 Len 0028 utcache-407 [Operand] RegionField R1
-0047E5B8 Len 0028 utcache-407 [Operand] Extra R1
-0047FFC8 Len 0028 utcache-407 [Operand] RegionField R1
-0047CE98 Len 0028 utcache-407 [Operand] RegionField R1
-0047CAB8 Len 0028 utcache-407 [Operand] IndexField R1
-0047FDD8 Len 0028 utcache-407 [Operand] BankField R1
-0047D748 Len 0028 utcache-407 [Operand] RegionField R1
-0046A2A8 Len 0028 utcache-407 [Operand] RegionField R1
-00459598 Len 0028 utcache-407 [Operand] RegionField R1
-00452F68 Len 0028 utcache-407 [Operand] RegionField R1
-00452FC8 Len 0028 utcache-407 [Operand] Extra R1
-004511B8 Len 0005 dsobject-333 [UNDEFINED]
-004532F8 Len 0028 utcache-407 [Operand] BufferField R1
-00451098 Len 0028 utcache-407 [Operand] Buffer R1
-00472138 Len 0028 utcache-407 [Operand] Buffer R1
-00495748 Len 0028 utcache-407 [Operand] Extra R1
-004934A8 Len 0028 utcache-407 [Node] ????
-00495058 Len 0028 utcache-407 [Node] ????
-004950B8 Len 0028 utcache-407 [Operand] Extra R1
-004951D8 Len 0028 utcache-407 [Operand] Region R5
-00495298 Len 0028 utcache-407 [Node] ????
-00495358 Len 0028 utcache-407 [Node] ????
-00490C88 Len 0028 utcache-407 [Node] ????
-00495C58 Len 0028 utcache-407 [Operand] Region R5
-0048F4D8 Len 0028 utcache-407 [Node] ????
-0048CB78 Len 0028 utcache-407 [Node] ????
-00497DE8 Len 0028 utcache-407 [Node] ????
-00497F08 Len 0028 utcache-407 [Node] ????
-00493B68 Len 0028 utcache-407 [Node] ????
-00493BC8 Len 0028 utcache-407 [Node] ????
-00493E68 Len 0028 utcache-407 [Node] ????
-00492278 Len 0028 utcache-407 [Node] ????
-00492528 Len 0028 utcache-407 [Node] ????
-00492AF8 Len 0028 utcache-407 [Node] ????
-00492CD8 Len 0028 utcache-407 [Node] ????
-00496F68 Len 0028 utcache-407 [Node] ????
-004972B8 Len 0028 utcache-407 [Node] ????
-004973D8 Len 0028 utcache-407 [Node] ????
-0048CAB8 Len 0028 utcache-407 [Node] ????
-0048F7F8 Len 0028 utcache-407 [Node] ????
-0048F398 Len 0028 utcache-407 [Node] ????
-0048B068 Len 0028 utcache-407 [Node] ????
-0047B198 Len 0028 utcache-407 [Node] ????
-004914E8 Len 0028 utcache-407 [Node] ????
-00491EA8 Len 0028 utcache-407 [Node] ????
-00491F08 Len 0028 utcache-407 [Node] ????
-00481F08 Len 0028 utcache-407 [Node] ????
-0047D358 Len 0005 dsobject-333 [UNDEFINED]
-00494468 Len 0028 utcache-407 [Node] ????
-0048F458 Len 0028 utcache-407 [Node] ????
-0048F858 Len 0028 utcache-407 [Operand] BankField R1
-0048F8F8 Len 0028 utcache-407 [Operand] RegionField R1
-0048F958 Len 0028 utcache-407 [Operand] IndexField R1
-0048FA08 Len 0028 utcache-407 [Operand] BufferField R1
-0048FAA8 Len 0028 utcache-407 [Operand] RegionField R1
-0048FB58 Len 0028 utcache-407 [Operand] Extra R1
-0048FBB8 Len 0028 utcache-407 [Operand] RegionField R1
-0048FC68 Len 0028 utcache-407 [Operand] RegionField R1
-0048FCC8 Len 0028 utcache-407 [Operand] IndexField R1
-0048FDC8 Len 0028 utcache-407 [Operand] BankField R1
-0048FE78 Len 0028 utcache-407 [Operand] RegionField R1
-0048FED8 Len 0028 utcache-407 [Operand] RegionField R1
-0048E0C8 Len 0028 utcache-407 [Operand] RegionField R1
-0048E128 Len 0028 utcache-407 [Operand] RegionField R1
-0048E188 Len 0028 utcache-407 [Operand] Extra R1
-0048E238 Len 0005 dsobject-333 [UNDEFINED]
-0048E278 Len 0028 utcache-407 [Operand] BufferField R1
-0048E368 Len 0028 utcache-407 [Operand] Buffer R1
-0048E528 Len 0028 utcache-407 [Operand] Buffer R1
-0048E898 Len 0028 utcache-407 [Node] ????
-0048ED08 Len 0028 utcache-407 [Node] ????
-0048EF18 Len 0028 utcache-407 [Operand] Extra R1
-0048EFC8 Len 0028 utcache-407 [Operand] Region R5
-0048D0E8 Len 0028 utcache-407 [Operand] Region R5
-0048C938 Len 0028 utcache-407 [Operand] Extra R1
-0048BB48 Len 0028 utcache-407 [Node] ????
-00489648 Len 0028 utcache-407 [Node] ????
-00489708 Len 0028 utcache-407 [Node] ????
-00489828 Len 0028 utcache-407 [Node] ????
-00489B88 Len 0028 utcache-407 [Node] ????
-0047E948 Len 0005 dsobject-333 [UNDEFINED]
-00471428 Len 0028 utcache-407 [Operand] AddrHandler R5
-0046E618 Len 0028 utcache-407 [Operand] IndexField R4
-0046E678 Len 0028 utcache-407 [Operand] BankField R4
-0046E6D8 Len 0028 utcache-407 [Operand] RegionField R4
-0046E738 Len 0028 utcache-407 [Operand] RegionField R4
-0046E798 Len 0028 utcache-407 [Operand] RegionField R4
-0046E7F8 Len 0028 utcache-407 [Operand] RegionField R4
-0046E858 Len 0028 utcache-407 [Operand] Extra R1
-0046E8B8 Len 0028 utcache-407 [Operand] BufferField R4
-0046E968 Len 0028 utcache-407 [Operand] Buffer R4
-00459C68 Len 0028 utcache-407 [Operand] Extra R1
-00459CC8 Len 0028 utcache-407 [Operand] Region R20
-ACPI Error (utalloc-1053): 100(64) Outstanding allocations [20060127]
-#
-..............................
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 201:
+ *
+ * SUMMARY: Many Outstanding allocations on ASLTS tests run
+ *
+ * Note: automate in future counting the number of Outstanding allocations
+ * per-test and expect here zero which would mean success of test.
+ * Currently, always FAILURE.
+ */
+
+Method(mfc1)
+{
+ Store("To be investigated:", Debug)
+ Store("many Outstanding allocations on Reference ASLTS test run and other ASLTS tests.", Debug)
+
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+}
+
+/*
+
+To be investigated.
+
+Many Outstanding allocations on Reference ASLTS test run:
+Outstanding: 0xDB allocations after execution
+ACPI Error (utalloc-1053): 100(64) Outstanding allocations [20060127]
+
+.............. Output of test:
+(.......)
+[ACPI Debug] String: [0x25] ":STST:functional:reference:m26a:PASS:"
+[ACPI Debug] String: [0x3A] ":STST:functional:reference:m26b:FAIL:Errors # 11 00 00 00:"
+[ACPI Debug] String: [0x25] ":STST:functional:reference:m26c:PASS:"
+[ACPI Debug] String: [0x25] ":STST:functional:reference:m26d:PASS:"
+[ACPI Debug] String: [0x3A] ":STST:functional:reference:m26e:FAIL:Errors # 01 00 00 00:"
+[ACPI Debug] String: [0x25] ":STST:functional:reference:m26f:PASS:"
+[ACPI Debug] String: [0x25] ":STST:functional:reference:m270:PASS:"
+[ACPI Debug] String: [0x25] ":STST:functional:reference:m276:PASS:"
+[ACPI Debug] String: [0x0E] "========= END."
+[ACPI Debug] String: [0x5B] "TEST ACPICA: 64-bit : FAIL : Errors # 0x0000000000000016, Failed tests # 0x0000000000000004"
+Outstanding: 0xDB allocations after execution
+Execution of \MAIN returned object 00326E38 Buflen 10
+[Integer] = 0000000000000001
+- q
+0049CCB8 Len 0028 utcache-407 [Operand] Integer R1
+00495CB8 Len 0005 dsobject-333 [UNDEFINED]
+0048C488 Len 0028 utcache-407 [Operand] Integer R1
+0047F068 Len 0028 utcache-407 [Operand] BankField R1
+0047C108 Len 0028 utcache-407 [Operand] RegionField R1
+0047D178 Len 0028 utcache-407 [Operand] IndexField R1
+0047EB88 Len 0028 utcache-407 [Operand] BufferField R1
+0047CF68 Len 0028 utcache-407 [Operand] RegionField R1
+0047E5B8 Len 0028 utcache-407 [Operand] Extra R1
+0047FFC8 Len 0028 utcache-407 [Operand] RegionField R1
+0047CE98 Len 0028 utcache-407 [Operand] RegionField R1
+0047CAB8 Len 0028 utcache-407 [Operand] IndexField R1
+0047FDD8 Len 0028 utcache-407 [Operand] BankField R1
+0047D748 Len 0028 utcache-407 [Operand] RegionField R1
+0046A2A8 Len 0028 utcache-407 [Operand] RegionField R1
+00459598 Len 0028 utcache-407 [Operand] RegionField R1
+00452F68 Len 0028 utcache-407 [Operand] RegionField R1
+00452FC8 Len 0028 utcache-407 [Operand] Extra R1
+004511B8 Len 0005 dsobject-333 [UNDEFINED]
+004532F8 Len 0028 utcache-407 [Operand] BufferField R1
+00451098 Len 0028 utcache-407 [Operand] Buffer R1
+00472138 Len 0028 utcache-407 [Operand] Buffer R1
+00495748 Len 0028 utcache-407 [Operand] Extra R1
+004934A8 Len 0028 utcache-407 [Node] ????
+00495058 Len 0028 utcache-407 [Node] ????
+004950B8 Len 0028 utcache-407 [Operand] Extra R1
+004951D8 Len 0028 utcache-407 [Operand] Region R5
+00495298 Len 0028 utcache-407 [Node] ????
+00495358 Len 0028 utcache-407 [Node] ????
+00490C88 Len 0028 utcache-407 [Node] ????
+00495C58 Len 0028 utcache-407 [Operand] Region R5
+0048F4D8 Len 0028 utcache-407 [Node] ????
+0048CB78 Len 0028 utcache-407 [Node] ????
+00497DE8 Len 0028 utcache-407 [Node] ????
+00497F08 Len 0028 utcache-407 [Node] ????
+00493B68 Len 0028 utcache-407 [Node] ????
+00493BC8 Len 0028 utcache-407 [Node] ????
+00493E68 Len 0028 utcache-407 [Node] ????
+00492278 Len 0028 utcache-407 [Node] ????
+00492528 Len 0028 utcache-407 [Node] ????
+00492AF8 Len 0028 utcache-407 [Node] ????
+00492CD8 Len 0028 utcache-407 [Node] ????
+00496F68 Len 0028 utcache-407 [Node] ????
+004972B8 Len 0028 utcache-407 [Node] ????
+004973D8 Len 0028 utcache-407 [Node] ????
+0048CAB8 Len 0028 utcache-407 [Node] ????
+0048F7F8 Len 0028 utcache-407 [Node] ????
+0048F398 Len 0028 utcache-407 [Node] ????
+0048B068 Len 0028 utcache-407 [Node] ????
+0047B198 Len 0028 utcache-407 [Node] ????
+004914E8 Len 0028 utcache-407 [Node] ????
+00491EA8 Len 0028 utcache-407 [Node] ????
+00491F08 Len 0028 utcache-407 [Node] ????
+00481F08 Len 0028 utcache-407 [Node] ????
+0047D358 Len 0005 dsobject-333 [UNDEFINED]
+00494468 Len 0028 utcache-407 [Node] ????
+0048F458 Len 0028 utcache-407 [Node] ????
+0048F858 Len 0028 utcache-407 [Operand] BankField R1
+0048F8F8 Len 0028 utcache-407 [Operand] RegionField R1
+0048F958 Len 0028 utcache-407 [Operand] IndexField R1
+0048FA08 Len 0028 utcache-407 [Operand] BufferField R1
+0048FAA8 Len 0028 utcache-407 [Operand] RegionField R1
+0048FB58 Len 0028 utcache-407 [Operand] Extra R1
+0048FBB8 Len 0028 utcache-407 [Operand] RegionField R1
+0048FC68 Len 0028 utcache-407 [Operand] RegionField R1
+0048FCC8 Len 0028 utcache-407 [Operand] IndexField R1
+0048FDC8 Len 0028 utcache-407 [Operand] BankField R1
+0048FE78 Len 0028 utcache-407 [Operand] RegionField R1
+0048FED8 Len 0028 utcache-407 [Operand] RegionField R1
+0048E0C8 Len 0028 utcache-407 [Operand] RegionField R1
+0048E128 Len 0028 utcache-407 [Operand] RegionField R1
+0048E188 Len 0028 utcache-407 [Operand] Extra R1
+0048E238 Len 0005 dsobject-333 [UNDEFINED]
+0048E278 Len 0028 utcache-407 [Operand] BufferField R1
+0048E368 Len 0028 utcache-407 [Operand] Buffer R1
+0048E528 Len 0028 utcache-407 [Operand] Buffer R1
+0048E898 Len 0028 utcache-407 [Node] ????
+0048ED08 Len 0028 utcache-407 [Node] ????
+0048EF18 Len 0028 utcache-407 [Operand] Extra R1
+0048EFC8 Len 0028 utcache-407 [Operand] Region R5
+0048D0E8 Len 0028 utcache-407 [Operand] Region R5
+0048C938 Len 0028 utcache-407 [Operand] Extra R1
+0048BB48 Len 0028 utcache-407 [Node] ????
+00489648 Len 0028 utcache-407 [Node] ????
+00489708 Len 0028 utcache-407 [Node] ????
+00489828 Len 0028 utcache-407 [Node] ????
+00489B88 Len 0028 utcache-407 [Node] ????
+0047E948 Len 0005 dsobject-333 [UNDEFINED]
+00471428 Len 0028 utcache-407 [Operand] AddrHandler R5
+0046E618 Len 0028 utcache-407 [Operand] IndexField R4
+0046E678 Len 0028 utcache-407 [Operand] BankField R4
+0046E6D8 Len 0028 utcache-407 [Operand] RegionField R4
+0046E738 Len 0028 utcache-407 [Operand] RegionField R4
+0046E798 Len 0028 utcache-407 [Operand] RegionField R4
+0046E7F8 Len 0028 utcache-407 [Operand] RegionField R4
+0046E858 Len 0028 utcache-407 [Operand] Extra R1
+0046E8B8 Len 0028 utcache-407 [Operand] BufferField R4
+0046E968 Len 0028 utcache-407 [Operand] Buffer R4
+00459C68 Len 0028 utcache-407 [Operand] Extra R1
+00459CC8 Len 0028 utcache-407 [Operand] Region R20
+ACPI Error (utalloc-1053): 100(64) Outstanding allocations [20060127]
+#
+..............................
+
*/ \ No newline at end of file
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/MAIN.asl
index d96b50e24..b7df4d945 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B201.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B201.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl
index 4c52b61f5..a297eddb9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 201", TCLD, 201, W017)) {
- SRMT("mfc1")
- mfc1()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 201", TCLD, 201, W017)) {
+ SRMT("mfc1")
+ mfc1()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0202_SEE_129/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0202_SEE_129/DECL.asl
index f384e4afe..b21d7d3b7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0202_SEE_129/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0202_SEE_129/DECL.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 202:
- *
- * SUMMARY: The ASLTS test b129 falls into an infinitive loop in a 32-bit slack mode
- *
- * It was regression revealed by some test of b129,
- * so run the test b129.
- *
- * Doesn't need separate demo.
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 202:
+ *
+ * SUMMARY: The ASLTS test b129 falls into an infinitive loop in a 32-bit slack mode
+ *
+ * It was regression revealed by some test of b129,
+ * so run the test b129.
+ *
+ * Doesn't need separate demo.
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/DECL.asl
index b8cb77821..570ed2283 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/DECL.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 203 (local-bugzilla-348):
- *
- * SUMMARY: ObjectType operation falls into infinite loop for ring of RefOf references
- *
- * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
- */
-
-Method(m813)
-{
- Method(m000)
- {
- Store(RefOf(Local0), Local1)
- Store(RefOf(Local1), Local2)
- Store(RefOf(Local2), Local0)
-
- Store(ObjectType(Local0), Local7)
-
- /* ? */
- if (LNotEqual(Local7, c008)) {
- err("", zFFF, 0x100, 0, 0, Local7, c008)
- }
-
- /* or RING_OF_REFS_EXCEPTION? */
- }
- m000()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 203 (local-bugzilla-348):
+ *
+ * SUMMARY: ObjectType operation falls into infinite loop for ring of RefOf references
+ *
+ * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
+ */
+
+Method(m813)
+{
+ Method(m000)
+ {
+ Store(RefOf(Local0), Local1)
+ Store(RefOf(Local1), Local2)
+ Store(RefOf(Local2), Local0)
+
+ Store(ObjectType(Local0), Local7)
+
+ /* ? */
+ if (LNotEqual(Local7, c008)) {
+ err("", zFFF, 0x100, 0, 0, Local7, c008)
+ }
+
+ /* or RING_OF_REFS_EXCEPTION? */
+ }
+ m000()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/MAIN.asl
index c0cf5a946..e77718614 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B203.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0203/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0203/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B203.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0203/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0203/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/RUN.asl
index e1bff49bc..a275b6c99 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0203/RUN.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 203", TCLD, 203, W017)) {
-
- SRMT("m813")
- if (y203) {
- m813()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 203", TCLD, 203, W017)) {
+
+ SRMT("m813")
+ if (y203) {
+ m813()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/DECL.asl
index 3320a7c48..f09246e12 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/DECL.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 204 (local-bugzilla-347):
- *
- * SUMMARY: SizeOf operation falls into infinite loop for ring of RefOf references
- *
- * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
- */
-
-Method(m814)
-{
- Method(m000)
- {
- Store(RefOf(Local0), Local1)
- Store(RefOf(Local1), Local2)
- Store(RefOf(Local2), Local0)
-
- Store(SizeOf(Local0), Local7)
-
- /*
- * What # of exception?
- * AE_AML_UNINITIALIZED_LOCAL or RING_OF_REFS_EXCEPTION?
- */
- }
- m000()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 204 (local-bugzilla-347):
+ *
+ * SUMMARY: SizeOf operation falls into infinite loop for ring of RefOf references
+ *
+ * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
+ */
+
+Method(m814)
+{
+ Method(m000)
+ {
+ Store(RefOf(Local0), Local1)
+ Store(RefOf(Local1), Local2)
+ Store(RefOf(Local2), Local0)
+
+ Store(SizeOf(Local0), Local7)
+
+ /*
+ * What # of exception?
+ * AE_AML_UNINITIALIZED_LOCAL or RING_OF_REFS_EXCEPTION?
+ */
+ }
+ m000()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/MAIN.asl
index 4ed2f577a..15de63b25 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B204.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0204/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0204/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B204.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0204/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0204/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/RUN.asl
index 59aeab27b..26977cbb6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0204/RUN.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 204", TCLD, 204, W017)) {
-
- SRMT("m814")
- if (y204) {
- m814()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 204", TCLD, 204, W017)) {
+
+ SRMT("m814")
+ if (y204) {
+ m814()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/DECL.asl
index ccacda556..25807939c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/DECL.asl
@@ -1,50 +1,50 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 205 (local-bugzilla-346):
- *
- * SUMMARY: Store-to-Debug operation falls into infinite loop for ring of RefOf references
- *
- * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
- */
-
-Method(m815)
-{
- Method(m000)
- {
- Store(RefOf(Local0), Local1)
- Store(RefOf(Local1), Local2)
- Store(RefOf(Local2), Local0)
-
- Store(Local0, Debug)
-
- /* RING_OF_REFS_EXCEPTION? */
- }
- m000()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 205 (local-bugzilla-346):
+ *
+ * SUMMARY: Store-to-Debug operation falls into infinite loop for ring of RefOf references
+ *
+ * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
+ */
+
+Method(m815)
+{
+ Method(m000)
+ {
+ Store(RefOf(Local0), Local1)
+ Store(RefOf(Local1), Local2)
+ Store(RefOf(Local2), Local0)
+
+ Store(Local0, Debug)
+
+ /* RING_OF_REFS_EXCEPTION? */
+ }
+ m000()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/MAIN.asl
index 15bbc0f45..9d2ec7a25 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B205.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0205/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0205/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B205.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0205/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0205/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/RUN.asl
index ece1c4d74..1fbbae183 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0205/RUN.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 205", TCLD, 205, W017)) {
-
- SRMT("m815")
- if (y205) {
- m815()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 205", TCLD, 205, W017)) {
+
+ SRMT("m815")
+ if (y205) {
+ m815()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/DECL.asl
index e13ff8a46..c67a45662 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/DECL.asl
@@ -1,58 +1,58 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 206 (local-bugzilla-345):
- *
- * SUMMARY: ObjectType operation falls into infinite loop for ring of Index references
- *
- * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
- */
-
-Method(m816)
-{
- Method(m000,, Serialized)
- {
- Name(p000, Package() {0x10,0x11,0x12,0x13})
-
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 1), Index(p000, 2))
- Store(Index(p000, 2), Index(p000, 0))
-
- Store(Index(p000, 0), Local0)
-
- Store(ObjectType(Local0), Local7)
-
- /* RING_OF_REFS_EXCEPTION? */
-
- Store(ObjectType(Index(p000, 0)), Local7)
-
- /* RING_OF_REFS_EXCEPTION? */
- }
- m000()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 206 (local-bugzilla-345):
+ *
+ * SUMMARY: ObjectType operation falls into infinite loop for ring of Index references
+ *
+ * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
+ */
+
+Method(m816)
+{
+ Method(m000,, Serialized)
+ {
+ Name(p000, Package() {0x10,0x11,0x12,0x13})
+
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 1), Index(p000, 2))
+ Store(Index(p000, 2), Index(p000, 0))
+
+ Store(Index(p000, 0), Local0)
+
+ Store(ObjectType(Local0), Local7)
+
+ /* RING_OF_REFS_EXCEPTION? */
+
+ Store(ObjectType(Index(p000, 0)), Local7)
+
+ /* RING_OF_REFS_EXCEPTION? */
+ }
+ m000()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/MAIN.asl
index fd4cc15f4..ad1b98492 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B206.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0206/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0206/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B206.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0206/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0206/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/RUN.asl
index 7811366f7..cad5708af 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0206/RUN.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 206", TCLD, 206, W017)) {
-
- SRMT("m816")
- if (y206) {
- m816()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 206", TCLD, 206, W017)) {
+
+ SRMT("m816")
+ if (y206) {
+ m816()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/DECL.asl
index f4acd1c5c..9312985ba 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/DECL.asl
@@ -1,58 +1,58 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 207 (local-bugzilla-344):
- *
- * SUMMARY: SizeOf operation falls into infinite loop for ring of Index references
- *
- * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
- */
-
-Method(m817)
-{
- Method(m000,, Serialized)
- {
- Name(p000, Package() {0x10,0x11,0x12,0x13})
-
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 1), Index(p000, 2))
- Store(Index(p000, 2), Index(p000, 0))
-
- Store(Index(p000, 0), Local0)
-
- Store(SizeOf(Local0), Local7)
-
- /* RING_OF_REFS_EXCEPTION? */
-
- Store(SizeOf(Index(p000, 0)), Local7)
-
- /* RING_OF_REFS_EXCEPTION? */
- }
- m000()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 207 (local-bugzilla-344):
+ *
+ * SUMMARY: SizeOf operation falls into infinite loop for ring of Index references
+ *
+ * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
+ */
+
+Method(m817)
+{
+ Method(m000,, Serialized)
+ {
+ Name(p000, Package() {0x10,0x11,0x12,0x13})
+
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 1), Index(p000, 2))
+ Store(Index(p000, 2), Index(p000, 0))
+
+ Store(Index(p000, 0), Local0)
+
+ Store(SizeOf(Local0), Local7)
+
+ /* RING_OF_REFS_EXCEPTION? */
+
+ Store(SizeOf(Index(p000, 0)), Local7)
+
+ /* RING_OF_REFS_EXCEPTION? */
+ }
+ m000()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/MAIN.asl
index 6e7a2187c..c26e88d84 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B207.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0207/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0207/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B207.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0207/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0207/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/RUN.asl
index 5109916dc..cb4d7a22b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0207/RUN.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 207", TCLD, 207, W017)) {
-
- SRMT("m817")
- if (y207) {
- m817()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 207", TCLD, 207, W017)) {
+
+ SRMT("m817")
+ if (y207) {
+ m817()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/DECL.asl
index 7096d7d7a..e4bbdc6c8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/DECL.asl
@@ -1,84 +1,84 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 208 (local-bugzilla-343):
- *
- * SUMMARY: Store-to-Debug operation falls into infinite loop for ring of Index references
- *
- * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
- */
-
-Method(m818)
-{
- Method(m000,, Serialized)
- {
- Name(p000, Package() {0x10,0x11,0x12,0x13})
-
- Store(Index(p000, 0), Index(p000, 1))
- Store(Index(p000, 1), Index(p000, 2))
- Store(Index(p000, 2), Index(p000, 0))
-
- Store(Index(p000, 0), Local0)
-
- Store(Local0, Debug)
-
- /* RING_OF_REFS_EXCEPTION? */
- }
-
- Method(m001,, Serialized)
- {
- Name(p000, Package() {0x10,0x11,0x12,0x13})
- Name(p001, Package() {0x20,0x21,0x22,0x23})
-
- Store(Index(p000, 0), Index(p001, 1))
- Store(Index(p001, 0), Index(p000, 1))
-
- Store(Index(p000, 0), Local0)
-
- Store(Local0, Debug)
-
- /* RING_OF_REFS_EXCEPTION? */
- }
-
- Method(m002,, Serialized)
- {
- Name(p000, Package() {0x10,0x11,0x12,0x13})
-
- Store(Index(p000, 0), Index(p000, 1))
-
- Store(Index(p000, 3), Local0)
-
- Store(Local0, Debug)
-
- /* RING_OF_REFS_EXCEPTION? */
- }
- m000()
- m001()
- m002()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 208 (local-bugzilla-343):
+ *
+ * SUMMARY: Store-to-Debug operation falls into infinite loop for ring of Index references
+ *
+ * Note: add verifications while sorting out and fixing the bug (CH03/CH04/..)
+ */
+
+Method(m818)
+{
+ Method(m000,, Serialized)
+ {
+ Name(p000, Package() {0x10,0x11,0x12,0x13})
+
+ Store(Index(p000, 0), Index(p000, 1))
+ Store(Index(p000, 1), Index(p000, 2))
+ Store(Index(p000, 2), Index(p000, 0))
+
+ Store(Index(p000, 0), Local0)
+
+ Store(Local0, Debug)
+
+ /* RING_OF_REFS_EXCEPTION? */
+ }
+
+ Method(m001,, Serialized)
+ {
+ Name(p000, Package() {0x10,0x11,0x12,0x13})
+ Name(p001, Package() {0x20,0x21,0x22,0x23})
+
+ Store(Index(p000, 0), Index(p001, 1))
+ Store(Index(p001, 0), Index(p000, 1))
+
+ Store(Index(p000, 0), Local0)
+
+ Store(Local0, Debug)
+
+ /* RING_OF_REFS_EXCEPTION? */
+ }
+
+ Method(m002,, Serialized)
+ {
+ Name(p000, Package() {0x10,0x11,0x12,0x13})
+
+ Store(Index(p000, 0), Index(p000, 1))
+
+ Store(Index(p000, 3), Local0)
+
+ Store(Local0, Debug)
+
+ /* RING_OF_REFS_EXCEPTION? */
+ }
+ m000()
+ m001()
+ m002()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/MAIN.asl
index f4224b91f..689be08a8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B208.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0208/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0208/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B208.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0208/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0208/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/RUN.asl
index ba855c9c9..f141538a7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0208/RUN.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 208", TCLD, 208, W017)) {
-
- SRMT("m818")
- if (y208) {
- m818()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 208", TCLD, 208, W017)) {
+
+ SRMT("m818")
+ if (y208) {
+ m818()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0209_ML_SEE_135/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0209_ML_SEE_135/DECL.asl
index 308d8a079..d1fc5ee02 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0209_ML_SEE_135/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0209_ML_SEE_135/DECL.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 209:
- *
- * SUMMARY: Ineffective memory consumption detected by b135 ASLTS tests
- *
- * Inefficient memory consumption during executing the mfdc sub-test
- * of b135 tests has been revealed.
- * So, refer to the test b129.
- *
- * Doesn't need separate demo.
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 209:
+ *
+ * SUMMARY: Ineffective memory consumption detected by b135 ASLTS tests
+ *
+ * Inefficient memory consumption during executing the mfdc sub-test
+ * of b135 tests has been revealed.
+ * So, refer to the test b129.
+ *
+ * Doesn't need separate demo.
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/DECL.asl
index 1fb21ae34..21e1c34a0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/DECL.asl
@@ -1,66 +1,66 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 210 (local-bugzilla-349):
- *
- * COMPONENT:
- *
- * SUMMARY: Implicit return objects are not released in Slack Mode
- * (Now on Slack Mode when an exception occurs and all nested control
- * methods are terminated, Implicit return objects are not released).
- *
- * Note: automate in future counting the number of Outstanding allocations
- * per-test and expect here zero which would mean success of test.
- * Currently, always FAILURE.
- *
- * Note: the mentioned Outstanding allocation is not visible when _ERR
- * is defined.
- */
-
-Method(m819)
-{
- Method(m000, 1)
- {
- Store(2, Local0)
- CH03("", 0, 0x000, 0, 0)
- Divide(1, arg0, Local0)
- CH04("", 0, 56, 0, 0x001, 0, 0) // AE_AML_DIVIDE_BY_ZERO
- }
-
- Method(m001)
- {
- Store(1, Local0)
- m000(0)
- }
-
- m001()
-
- Store("Fight Outstanding allocations here", Debug)
- err("", zFFF, 0x000, 0, 0, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 210 (local-bugzilla-349):
+ *
+ * COMPONENT:
+ *
+ * SUMMARY: Implicit return objects are not released in Slack Mode
+ * (Now on Slack Mode when an exception occurs and all nested control
+ * methods are terminated, Implicit return objects are not released).
+ *
+ * Note: automate in future counting the number of Outstanding allocations
+ * per-test and expect here zero which would mean success of test.
+ * Currently, always FAILURE.
+ *
+ * Note: the mentioned Outstanding allocation is not visible when _ERR
+ * is defined.
+ */
+
+Method(m819)
+{
+ Method(m000, 1)
+ {
+ Store(2, Local0)
+ CH03("", 0, 0x000, 0, 0)
+ Divide(1, arg0, Local0)
+ CH04("", 0, 56, 0, 0x001, 0, 0) // AE_AML_DIVIDE_BY_ZERO
+ }
+
+ Method(m001)
+ {
+ Store(1, Local0)
+ m000(0)
+ }
+
+ m001()
+
+ Store("Fight Outstanding allocations here", Debug)
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/MAIN.asl
index 94f9821a7..74b279c91 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B210.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0210/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0210/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B210.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0210/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0210/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/RUN.asl
index 828615c96..774a3b2e0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0210/RUN.asl
@@ -1,35 +1,35 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 210", TCLD, 210, W017)) {
-
- SRMT("m819")
- m819()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 210", TCLD, 210, W017)) {
+
+ SRMT("m819")
+ m819()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/DECL.asl
index 6cdeb4b2f..cdf0375de 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/DECL.asl
@@ -1,61 +1,61 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 211:
- *
- * COMPONENT:
- *
- * SUMMARY: ACPI-CA memory leak due to optionally stored AML Object passed through "child" Method
- * (On Slack mode outstanding allocations are detected)
- *
- * Note: automate in future counting the number of Outstanding allocations
- * per-test and expect here zero which would mean success of test.
- * Currently, always FAILURE.
- */
-
-Method(m81a)
-{
- Method(m000, 1)
- {
- Store(arg0, Debug)
- }
-
- Or(0xf0, 0x01, Local0)
- m000(Local0)
-
- Store("Fight Outstanding allocations here", Debug)
- /*
- * FIXED:
- *
- * ------- Additional Comment #8 From Len Brown 2006-06-25 21:49 -------
- * ACPICA 20060608 shipped in 2.6.17-git9, closed.
- *
- * err("", zFFF, 0x000, 0, 0, 0, 0)
- */
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 211:
+ *
+ * COMPONENT:
+ *
+ * SUMMARY: ACPI-CA memory leak due to optionally stored AML Object passed through "child" Method
+ * (On Slack mode outstanding allocations are detected)
+ *
+ * Note: automate in future counting the number of Outstanding allocations
+ * per-test and expect here zero which would mean success of test.
+ * Currently, always FAILURE.
+ */
+
+Method(m81a)
+{
+ Method(m000, 1)
+ {
+ Store(arg0, Debug)
+ }
+
+ Or(0xf0, 0x01, Local0)
+ m000(Local0)
+
+ Store("Fight Outstanding allocations here", Debug)
+ /*
+ * FIXED:
+ *
+ * ------- Additional Comment #8 From Len Brown 2006-06-25 21:49 -------
+ * ACPICA 20060608 shipped in 2.6.17-git9, closed.
+ *
+ * err("", zFFF, 0x000, 0, 0, 0, 0)
+ */
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/MAIN.asl
index 99faa62bc..094ae82aa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B211.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0211/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0211/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B211.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0211/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0211/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/RUN.asl
index 160f45e49..a6165b924 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0211/RUN.asl
@@ -1,35 +1,35 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 211", TCLD, 211, W017)) {
-
- SRMT("m81a")
- m81a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 211", TCLD, 211, W017)) {
+
+ SRMT("m81a")
+ m81a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Common.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Common.asl
index 35bd52cdf..5ebbbd957 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Common.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Common.asl
@@ -1,31 +1,31 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Methods of common use.
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Methods of common use.
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/DECL.asl
index 5249e4f82..047bde4c0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/DECL.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 212:
- *
- * SUMMARY: AML interpreter doesn't prevent dead RefOf-references
- *
- * DESCRIPTION: RefOf operation doesn't increment the ref count
- * of parent object which causes undefined results.
- */
-Include("../../../../../runtime/collections/bdemo/ACPICA/0212/Common.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0212/Misc.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 212:
+ *
+ * SUMMARY: AML interpreter doesn't prevent dead RefOf-references
+ *
+ * DESCRIPTION: RefOf operation doesn't increment the ref count
+ * of parent object which causes undefined results.
+ */
+Include("../../../../../runtime/collections/bdemo/ACPICA/0212/Common.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0212/Misc.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/MAIN.asl
index be57d4834..778b05307 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B212.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0212/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0212/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B212.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0212/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0212/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Misc.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Misc.asl
index 7741b5782..d6c86e5c3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Misc.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/Misc.asl
@@ -1,424 +1,424 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * RefCounts of named objects are incremented
- * and then decremented just after completions
- * of operations applied to them - it is true
- * for the following operations:
- *
- * - object used in AML operations except Index one
- * - object passed as parameter to Method
- *
- * The following AML operations increment the RefCounts
- * of objects which are decremented only while deleting
- * the objects where the results of these operations are
- * saved:
- *
- * - Index AML operation
- * - RefOf AML operation
- */
-
-Method(m806,, Serialized)
-{
- Name(p000, Package(64) {})
- Name(p001, Package(64) {})
- Name(s000, "01234567890-qwertyuiop[]")
- Name(b000, Buffer(){0x10,0x12,0x13,0x14,0x15,0x16,0x17})
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0001)
- Name(i002, 0xabcd0002)
- Name(i003, 0xabcd0003)
- Name(i004, 0xabcd0004)
- Name(i005, 0xabcd0005)
- Name(i006, 0xabcd0006)
- Name(i007, 0xabcd0007)
-
- Method(m000)
- {
- Store(Index(s000, 0), Index(p001, 4))
- Store(Index(s000, 0), Index(p001, 4))
- }
-
- Method(m001)
- {
- Store(Index(b000, 0), Index(p001, 7))
- Store(Index(b000, 0), Index(p001, 7))
- }
-
- m000()
- m001()
-}
-
-Method(m807,, Serialized)
-{
- Name(p000, Package(64) {})
- Name(p001, Package(64) {})
- Name(s000, "01234567890-qwertyuiop[]")
- Name(b000, Buffer(){0x10,0x12,0x13,0x14,0x15,0x16,0x17})
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0001)
- Name(i002, 0xabcd0002)
- Name(i003, 0xabcd0003)
- Name(i004, 0xabcd0004)
- Name(i005, 0xabcd0005)
- Name(i006, 0xabcd0006)
- Name(i007, 0xabcd0007)
-
- Method(mm00, 2)
- {
- Method(m000)
- {
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
-
- Store(Index(s000, 0), Index(p001, 4))
- Store(Index(s000, 1), Index(p001, 5))
- Store(Index(s000, 2), Index(p001, 6))
-
- Store(Index(b000, 0), Index(p001, 7))
- Store(Index(b000, 1), Index(p001, 8))
- Store(Index(b000, 2), Index(p001, 9))
- }
- Method(m001)
- {
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
-
- Store(Index(p001, 0), Index(p000, 0))
- Store(Index(p001, 1), Index(p000, 1))
- Store(Index(p001, 2), Index(p000, 2))
- Store(Index(p001, 3), Index(p000, 3))
-
- Store(Index(s000, 0), Index(p001, 4))
- Store(Index(s000, 1), Index(p001, 5))
- Store(Index(s000, 2), Index(p001, 6))
-
- Store(Index(b000, 0), Index(p001, 7))
- Store(Index(b000, 1), Index(p001, 8))
- Store(Index(b000, 2), Index(p001, 9))
- }
- Method(m002)
- {
- Store(Index(p000, 0), Local0)
- Store(Index(p000, 1), Local1)
- Store(Index(p000, 2), Local2)
- Store(Index(p000, 3), Local3)
- }
- Method(m003, 4)
- {
- Store(Index(p000, 0), arg0)
- Store(Index(p000, 1), arg1)
- Store(Index(p000, 2), arg2)
- Store(Index(p000, 3), arg3)
- }
- Method(m004, 4)
- {
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
-
- Store(Index(p001, 0), Index(p000, 0))
- Store(Index(p001, 1), Index(p000, 1))
- Store(Index(p001, 2), Index(p000, 2))
- Store(Index(p001, 3), Index(p000, 3))
-
- Store(Index(s000, 0), Index(p001, 4))
- Store(Index(s000, 1), Index(p001, 5))
- Store(Index(s000, 2), Index(p001, 6))
-
- Store(Index(b000, 0), Index(p001, 7))
- Store(Index(b000, 1), Index(p001, 8))
- Store(Index(b000, 2), Index(p001, 9))
-
- Store(Index(p000, 0), Local0)
- Store(Index(p000, 1), Local1)
- Store(Index(p000, 2), Local2)
- Store(Index(p000, 3), Local3)
-
- Store(Index(p000, 0), arg0)
- Store(Index(p000, 1), arg1)
- Store(Index(p000, 2), arg2)
- Store(Index(p000, 3), arg3)
- }
-
- Method(m005, 6)
- {
- Store(Index(arg0, 0), Index(arg1, 0))
- Store(Index(arg0, 1), Index(arg1, 1))
- Store(Index(arg0, 2), Index(arg1, 2))
- Store(Index(arg0, 3), Index(arg1, 3))
-
- Store(Index(arg1, 0), Index(arg0, 0))
- Store(Index(arg1, 1), Index(arg0, 1))
- Store(Index(arg1, 2), Index(arg0, 2))
- Store(Index(arg1, 3), Index(arg0, 3))
-
- Store(Index(s000, 0), Index(p001, 4))
- Store(Index(s000, 1), Index(p001, 5))
- Store(Index(s000, 2), Index(p001, 6))
-
- Store(Index(b000, 0), Index(p001, 7))
- Store(Index(b000, 1), Index(p001, 8))
- Store(Index(b000, 2), Index(p001, 9))
-
- Store(Index(arg0, 0), Local0)
- Store(Index(arg0, 1), Local1)
- Store(Index(arg0, 2), Local2)
- Store(Index(arg0, 3), Local3)
-
- Store(Index(arg0, 0), arg2)
- Store(Index(arg0, 1), arg3)
- Store(Index(arg0, 2), arg4)
- Store(Index(arg0, 3), arg5)
- }
-
- m000()
- m001()
- m002()
- m003(0,0,0,0)
- m004(0,0,0,0)
- m005(p000,p001,0,0,0,0)
- m005(arg0,arg1,0,0,0,0)
- }
-
- Method(mm01, 2)
- {
- m000()
- m001()
- m002()
- m003(0,0,0,0)
- m004(0,0,0,0)
- m005(p000,p001,0,0,0,0)
- m005(arg0,arg1,0,0,0,0)
- }
-
- Method(m000)
- {
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
- }
- Method(m001)
- {
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
-
- Store(Index(p001, 0), Index(p000, 0))
- Store(Index(p001, 1), Index(p000, 1))
- Store(Index(p001, 2), Index(p000, 2))
- Store(Index(p001, 3), Index(p000, 3))
- }
- Method(m002)
- {
- Store(Index(p000, 0), Local0)
- Store(Index(p000, 1), Local1)
- Store(Index(p000, 2), Local2)
- Store(Index(p000, 3), Local3)
- }
- Method(m003, 4)
- {
- Store(Index(p000, 0), arg0)
- Store(Index(p000, 1), arg1)
- Store(Index(p000, 2), arg2)
- Store(Index(p000, 3), arg3)
- }
-
- Method(m004, 4)
- {
- Store(Index(p000, 0), Index(p001, 0))
- Store(Index(p000, 1), Index(p001, 1))
- Store(Index(p000, 2), Index(p001, 2))
- Store(Index(p000, 3), Index(p001, 3))
-
- Store(Index(p001, 0), Index(p000, 0))
- Store(Index(p001, 1), Index(p000, 1))
- Store(Index(p001, 2), Index(p000, 2))
- Store(Index(p001, 3), Index(p000, 3))
-
- Store(Index(s000, 0), Index(p001, 4))
- Store(Index(s000, 1), Index(p001, 5))
- Store(Index(s000, 2), Index(p001, 6))
-
- Store(Index(b000, 0), Index(p001, 7))
- Store(Index(b000, 1), Index(p001, 8))
- Store(Index(b000, 2), Index(p001, 9))
-
- Store(Index(p000, 0), Local0)
- Store(Index(p000, 1), Local1)
- Store(Index(p000, 2), Local2)
- Store(Index(p000, 3), Local3)
-
- Store(Index(p000, 0), arg0)
- Store(Index(p000, 1), arg1)
- Store(Index(p000, 2), arg2)
- Store(Index(p000, 3), arg3)
- }
-
- Method(m005, 6)
- {
- Store(Index(arg0, 0), Index(arg1, 0))
- Store(Index(arg0, 1), Index(arg1, 1))
- Store(Index(arg0, 2), Index(arg1, 2))
- Store(Index(arg0, 3), Index(arg1, 3))
-
- Store(Index(arg1, 0), Index(arg0, 0))
- Store(Index(arg1, 1), Index(arg0, 1))
- Store(Index(arg1, 2), Index(arg0, 2))
- Store(Index(arg1, 3), Index(arg0, 3))
-
- Store(Index(s000, 0), Index(p001, 4))
- Store(Index(s000, 1), Index(p001, 5))
- Store(Index(s000, 2), Index(p001, 6))
-
- Store(Index(b000, 0), Index(p001, 7))
- Store(Index(b000, 1), Index(p001, 8))
- Store(Index(b000, 2), Index(p001, 9))
-
- Store(Index(arg0, 0), Local0)
- Store(Index(arg0, 1), Local1)
- Store(Index(arg0, 2), Local2)
- Store(Index(arg0, 3), Local3)
-
- Store(Index(arg0, 0), arg2)
- Store(Index(arg0, 1), arg3)
- Store(Index(arg0, 2), arg4)
- Store(Index(arg0, 3), arg5)
- }
-
- Method(m006,, Serialized)
- {
- Name(p000, Package(8) {})
- Name(p001, Package(8) {})
-
- Store(RefOf(p000), Index(p001, 0))
- Store(RefOf(p001), Index(p000, 0))
-
- Store(RefOf(p000), Index(p000, 1))
- Store(RefOf(p001), Index(p001, 1))
-
- /* Repeat the same */
-
- Store(RefOf(p000), Index(p001, 0))
- Store(RefOf(p001), Index(p000, 0))
-
- Store(RefOf(p000), Index(p000, 1))
- Store(RefOf(p001), Index(p001, 1))
- }
-
- m000()
- m001()
- m002()
- m003(0,0,0,0)
- m004(0,0,0,0)
- m005(p000,p001,0,0,0,0)
- mm00(p000,p001)
- mm01(p000,p001)
- m006()
-}
-
-Method(m80f,, Serialized)
-{
-
- Name(ig00, 0xabcd0001)
- Name(ir00, 0xabcd0002)
-
- Method(m000,, Serialized)
- {
- Name(i000, 0xabcd0003)
- CopyObject(RefOf(i000), ir00)
- }
-
- Method(m001, 1, Serialized)
- {
- Name(iii0, 0xabcd0004)
- Name(iii1, 0xabcd0005)
- Name(iii2, 0xabcd0006)
- Name(iii3, 0xabcd0007)
- Name(iii4, 0xabcd0008)
- Name(iii5, 0xabcd0009)
- Name(iii6, 0xabcd000a)
- Name(iii7, 0xabcd000b)
-
- CopyObject(DerefOf(ir00), Local0)
- if (LNotEqual(Local0, arg0)) {
- err("", zFFF, 0x534, 0, 0, Local0, arg0)
- }
- }
- m000()
- m001(0xabcd0003)
-}
-
-Method(m810,, Serialized)
-{
- Name(p000, Package(4) {0,1,2,3})
-
- Method(m000)
- {
- Store(0xabcd0009, Local0)
- Store(RefOf(Local0), Index(p000, 2))
- }
- m000()
-}
-
-Method(m811,, Serialized)
-{
- Name(p000, Package(4) {0,1,2,3})
-
- Method(m000)
- {
- Store(RefOf(Local0), Index(p000, 2))
- }
- m000()
-}
-
-Method(m805)
-{
- SRMT("m806")
- m806()
- SRMT("m807")
- if (y135) {
- m807()
- } else {
- BLCK()
- }
- SRMT("m80f")
- m80f()
- SRMT("m810")
- m810()
- SRMT("m811")
- m811()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * RefCounts of named objects are incremented
+ * and then decremented just after completions
+ * of operations applied to them - it is true
+ * for the following operations:
+ *
+ * - object used in AML operations except Index one
+ * - object passed as parameter to Method
+ *
+ * The following AML operations increment the RefCounts
+ * of objects which are decremented only while deleting
+ * the objects where the results of these operations are
+ * saved:
+ *
+ * - Index AML operation
+ * - RefOf AML operation
+ */
+
+Method(m806,, Serialized)
+{
+ Name(p000, Package(64) {})
+ Name(p001, Package(64) {})
+ Name(s000, "01234567890-qwertyuiop[]")
+ Name(b000, Buffer(){0x10,0x12,0x13,0x14,0x15,0x16,0x17})
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0001)
+ Name(i002, 0xabcd0002)
+ Name(i003, 0xabcd0003)
+ Name(i004, 0xabcd0004)
+ Name(i005, 0xabcd0005)
+ Name(i006, 0xabcd0006)
+ Name(i007, 0xabcd0007)
+
+ Method(m000)
+ {
+ Store(Index(s000, 0), Index(p001, 4))
+ Store(Index(s000, 0), Index(p001, 4))
+ }
+
+ Method(m001)
+ {
+ Store(Index(b000, 0), Index(p001, 7))
+ Store(Index(b000, 0), Index(p001, 7))
+ }
+
+ m000()
+ m001()
+}
+
+Method(m807,, Serialized)
+{
+ Name(p000, Package(64) {})
+ Name(p001, Package(64) {})
+ Name(s000, "01234567890-qwertyuiop[]")
+ Name(b000, Buffer(){0x10,0x12,0x13,0x14,0x15,0x16,0x17})
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0001)
+ Name(i002, 0xabcd0002)
+ Name(i003, 0xabcd0003)
+ Name(i004, 0xabcd0004)
+ Name(i005, 0xabcd0005)
+ Name(i006, 0xabcd0006)
+ Name(i007, 0xabcd0007)
+
+ Method(mm00, 2)
+ {
+ Method(m000)
+ {
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+
+ Store(Index(s000, 0), Index(p001, 4))
+ Store(Index(s000, 1), Index(p001, 5))
+ Store(Index(s000, 2), Index(p001, 6))
+
+ Store(Index(b000, 0), Index(p001, 7))
+ Store(Index(b000, 1), Index(p001, 8))
+ Store(Index(b000, 2), Index(p001, 9))
+ }
+ Method(m001)
+ {
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(Index(p001, 1), Index(p000, 1))
+ Store(Index(p001, 2), Index(p000, 2))
+ Store(Index(p001, 3), Index(p000, 3))
+
+ Store(Index(s000, 0), Index(p001, 4))
+ Store(Index(s000, 1), Index(p001, 5))
+ Store(Index(s000, 2), Index(p001, 6))
+
+ Store(Index(b000, 0), Index(p001, 7))
+ Store(Index(b000, 1), Index(p001, 8))
+ Store(Index(b000, 2), Index(p001, 9))
+ }
+ Method(m002)
+ {
+ Store(Index(p000, 0), Local0)
+ Store(Index(p000, 1), Local1)
+ Store(Index(p000, 2), Local2)
+ Store(Index(p000, 3), Local3)
+ }
+ Method(m003, 4)
+ {
+ Store(Index(p000, 0), arg0)
+ Store(Index(p000, 1), arg1)
+ Store(Index(p000, 2), arg2)
+ Store(Index(p000, 3), arg3)
+ }
+ Method(m004, 4)
+ {
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(Index(p001, 1), Index(p000, 1))
+ Store(Index(p001, 2), Index(p000, 2))
+ Store(Index(p001, 3), Index(p000, 3))
+
+ Store(Index(s000, 0), Index(p001, 4))
+ Store(Index(s000, 1), Index(p001, 5))
+ Store(Index(s000, 2), Index(p001, 6))
+
+ Store(Index(b000, 0), Index(p001, 7))
+ Store(Index(b000, 1), Index(p001, 8))
+ Store(Index(b000, 2), Index(p001, 9))
+
+ Store(Index(p000, 0), Local0)
+ Store(Index(p000, 1), Local1)
+ Store(Index(p000, 2), Local2)
+ Store(Index(p000, 3), Local3)
+
+ Store(Index(p000, 0), arg0)
+ Store(Index(p000, 1), arg1)
+ Store(Index(p000, 2), arg2)
+ Store(Index(p000, 3), arg3)
+ }
+
+ Method(m005, 6)
+ {
+ Store(Index(arg0, 0), Index(arg1, 0))
+ Store(Index(arg0, 1), Index(arg1, 1))
+ Store(Index(arg0, 2), Index(arg1, 2))
+ Store(Index(arg0, 3), Index(arg1, 3))
+
+ Store(Index(arg1, 0), Index(arg0, 0))
+ Store(Index(arg1, 1), Index(arg0, 1))
+ Store(Index(arg1, 2), Index(arg0, 2))
+ Store(Index(arg1, 3), Index(arg0, 3))
+
+ Store(Index(s000, 0), Index(p001, 4))
+ Store(Index(s000, 1), Index(p001, 5))
+ Store(Index(s000, 2), Index(p001, 6))
+
+ Store(Index(b000, 0), Index(p001, 7))
+ Store(Index(b000, 1), Index(p001, 8))
+ Store(Index(b000, 2), Index(p001, 9))
+
+ Store(Index(arg0, 0), Local0)
+ Store(Index(arg0, 1), Local1)
+ Store(Index(arg0, 2), Local2)
+ Store(Index(arg0, 3), Local3)
+
+ Store(Index(arg0, 0), arg2)
+ Store(Index(arg0, 1), arg3)
+ Store(Index(arg0, 2), arg4)
+ Store(Index(arg0, 3), arg5)
+ }
+
+ m000()
+ m001()
+ m002()
+ m003(0,0,0,0)
+ m004(0,0,0,0)
+ m005(p000,p001,0,0,0,0)
+ m005(arg0,arg1,0,0,0,0)
+ }
+
+ Method(mm01, 2)
+ {
+ m000()
+ m001()
+ m002()
+ m003(0,0,0,0)
+ m004(0,0,0,0)
+ m005(p000,p001,0,0,0,0)
+ m005(arg0,arg1,0,0,0,0)
+ }
+
+ Method(m000)
+ {
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+ }
+ Method(m001)
+ {
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(Index(p001, 1), Index(p000, 1))
+ Store(Index(p001, 2), Index(p000, 2))
+ Store(Index(p001, 3), Index(p000, 3))
+ }
+ Method(m002)
+ {
+ Store(Index(p000, 0), Local0)
+ Store(Index(p000, 1), Local1)
+ Store(Index(p000, 2), Local2)
+ Store(Index(p000, 3), Local3)
+ }
+ Method(m003, 4)
+ {
+ Store(Index(p000, 0), arg0)
+ Store(Index(p000, 1), arg1)
+ Store(Index(p000, 2), arg2)
+ Store(Index(p000, 3), arg3)
+ }
+
+ Method(m004, 4)
+ {
+ Store(Index(p000, 0), Index(p001, 0))
+ Store(Index(p000, 1), Index(p001, 1))
+ Store(Index(p000, 2), Index(p001, 2))
+ Store(Index(p000, 3), Index(p001, 3))
+
+ Store(Index(p001, 0), Index(p000, 0))
+ Store(Index(p001, 1), Index(p000, 1))
+ Store(Index(p001, 2), Index(p000, 2))
+ Store(Index(p001, 3), Index(p000, 3))
+
+ Store(Index(s000, 0), Index(p001, 4))
+ Store(Index(s000, 1), Index(p001, 5))
+ Store(Index(s000, 2), Index(p001, 6))
+
+ Store(Index(b000, 0), Index(p001, 7))
+ Store(Index(b000, 1), Index(p001, 8))
+ Store(Index(b000, 2), Index(p001, 9))
+
+ Store(Index(p000, 0), Local0)
+ Store(Index(p000, 1), Local1)
+ Store(Index(p000, 2), Local2)
+ Store(Index(p000, 3), Local3)
+
+ Store(Index(p000, 0), arg0)
+ Store(Index(p000, 1), arg1)
+ Store(Index(p000, 2), arg2)
+ Store(Index(p000, 3), arg3)
+ }
+
+ Method(m005, 6)
+ {
+ Store(Index(arg0, 0), Index(arg1, 0))
+ Store(Index(arg0, 1), Index(arg1, 1))
+ Store(Index(arg0, 2), Index(arg1, 2))
+ Store(Index(arg0, 3), Index(arg1, 3))
+
+ Store(Index(arg1, 0), Index(arg0, 0))
+ Store(Index(arg1, 1), Index(arg0, 1))
+ Store(Index(arg1, 2), Index(arg0, 2))
+ Store(Index(arg1, 3), Index(arg0, 3))
+
+ Store(Index(s000, 0), Index(p001, 4))
+ Store(Index(s000, 1), Index(p001, 5))
+ Store(Index(s000, 2), Index(p001, 6))
+
+ Store(Index(b000, 0), Index(p001, 7))
+ Store(Index(b000, 1), Index(p001, 8))
+ Store(Index(b000, 2), Index(p001, 9))
+
+ Store(Index(arg0, 0), Local0)
+ Store(Index(arg0, 1), Local1)
+ Store(Index(arg0, 2), Local2)
+ Store(Index(arg0, 3), Local3)
+
+ Store(Index(arg0, 0), arg2)
+ Store(Index(arg0, 1), arg3)
+ Store(Index(arg0, 2), arg4)
+ Store(Index(arg0, 3), arg5)
+ }
+
+ Method(m006,, Serialized)
+ {
+ Name(p000, Package(8) {})
+ Name(p001, Package(8) {})
+
+ Store(RefOf(p000), Index(p001, 0))
+ Store(RefOf(p001), Index(p000, 0))
+
+ Store(RefOf(p000), Index(p000, 1))
+ Store(RefOf(p001), Index(p001, 1))
+
+ /* Repeat the same */
+
+ Store(RefOf(p000), Index(p001, 0))
+ Store(RefOf(p001), Index(p000, 0))
+
+ Store(RefOf(p000), Index(p000, 1))
+ Store(RefOf(p001), Index(p001, 1))
+ }
+
+ m000()
+ m001()
+ m002()
+ m003(0,0,0,0)
+ m004(0,0,0,0)
+ m005(p000,p001,0,0,0,0)
+ mm00(p000,p001)
+ mm01(p000,p001)
+ m006()
+}
+
+Method(m80f,, Serialized)
+{
+
+ Name(ig00, 0xabcd0001)
+ Name(ir00, 0xabcd0002)
+
+ Method(m000,, Serialized)
+ {
+ Name(i000, 0xabcd0003)
+ CopyObject(RefOf(i000), ir00)
+ }
+
+ Method(m001, 1, Serialized)
+ {
+ Name(iii0, 0xabcd0004)
+ Name(iii1, 0xabcd0005)
+ Name(iii2, 0xabcd0006)
+ Name(iii3, 0xabcd0007)
+ Name(iii4, 0xabcd0008)
+ Name(iii5, 0xabcd0009)
+ Name(iii6, 0xabcd000a)
+ Name(iii7, 0xabcd000b)
+
+ CopyObject(DerefOf(ir00), Local0)
+ if (LNotEqual(Local0, arg0)) {
+ err("", zFFF, 0x534, 0, 0, Local0, arg0)
+ }
+ }
+ m000()
+ m001(0xabcd0003)
+}
+
+Method(m810,, Serialized)
+{
+ Name(p000, Package(4) {0,1,2,3})
+
+ Method(m000)
+ {
+ Store(0xabcd0009, Local0)
+ Store(RefOf(Local0), Index(p000, 2))
+ }
+ m000()
+}
+
+Method(m811,, Serialized)
+{
+ Name(p000, Package(4) {0,1,2,3})
+
+ Method(m000)
+ {
+ Store(RefOf(Local0), Index(p000, 2))
+ }
+ m000()
+}
+
+Method(m805)
+{
+ SRMT("m806")
+ m806()
+ SRMT("m807")
+ if (y135) {
+ m807()
+ } else {
+ BLCK()
+ }
+ SRMT("m80f")
+ m80f()
+ SRMT("m810")
+ m810()
+ SRMT("m811")
+ m811()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/RUN.asl
index 21604d2bd..efb974308 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0212/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 212", TCLD, 212, W017)) {
- m805()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 212", TCLD, 212, W017)) {
+ m805()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/DECL.asl
index 0b1d9fd3b..3bd245186 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/DECL.asl
@@ -1,57 +1,57 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 213 (local-bugzilla-342):
- *
- * SUMMARY: abort of AcpiExec on accessing internal object of terminated method by returned IRef
- *
- * Crash of AcpiExec occurs when an attempt is
- * made to access an internal object of method
- * by Index reference to that object returned
- * by method (so, the object is dead at the
- * time it is tried).
- */
-
-Method(m81b)
-{
- Method(m000,, Serialized)
- {
- Name(s000, "string")
- Name(p000, Package(){s000})
- Store(Index(p000, 0), Local0)
- Store(Derefof(Local0), Debug)
- Return(Local0)
- }
-
- CH03("", 0, 0x000, 0, 0)
- Store(m000(), Local0)
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
- Store(Derefof(Local0), Debug)
- CH04("", 0, 0xff, 0, 0x002, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 213 (local-bugzilla-342):
+ *
+ * SUMMARY: abort of AcpiExec on accessing internal object of terminated method by returned IRef
+ *
+ * Crash of AcpiExec occurs when an attempt is
+ * made to access an internal object of method
+ * by Index reference to that object returned
+ * by method (so, the object is dead at the
+ * time it is tried).
+ */
+
+Method(m81b)
+{
+ Method(m000,, Serialized)
+ {
+ Name(s000, "string")
+ Name(p000, Package(){s000})
+ Store(Index(p000, 0), Local0)
+ Store(Derefof(Local0), Debug)
+ Return(Local0)
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+ Store(m000(), Local0)
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+ Store(Derefof(Local0), Debug)
+ CH04("", 0, 0xff, 0, 0x002, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/MAIN.asl
index abf4c5cef..927dfd557 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B213.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0213/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0213/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B213.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0213/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0213/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/RUN.asl
index 3fb2e289b..886f3729e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0213/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 213", TCLD, 213, W017)) {
- SRMT("m81b")
- if (y213) {
- m81b()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 213", TCLD, 213, W017)) {
+ SRMT("m81b")
+ if (y213) {
+ m81b()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/DECL.asl
index 241a17fe5..cff52e918 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/DECL.asl
@@ -1,84 +1,84 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 214 (local-bugzilla-350):
- *
- *
- * SUMMARY: crash of AcpiExec on repeated CopyObject of OpRegion
- *
- * Repeated duplication of an OpRegion to another
- * dynamic OpRegion by CopyObject ASL operator causes
- * crash of AcpiExec.
- */
-
-Method(m81c,, Serialized)
-{
- Method(m000, 1, Serialized)
- {
- OperationRegion(OPR0, SystemMemory, 0, 0x10)
-
- CopyObject(arg0, OPR0)
- }
-
- OperationRegion(OPR1, SystemMemory, 0, 0x10)
-
- Method(m001,, Serialized)
- {
- Field(OPR1, ByteAcc, NoLock, WriteAsZeros) {
- rfu0, 8,
- }
-
- Store(0x01, rfu0)
- m000(OPR1)
- if (LNotEqual(rfu0, 0x01)) {
- err("", zFFF, 0x000, 0, 0, rfu0, 0x01)
- }
-
- Store(0x02, rfu0)
- m000(OPR1)
- if (LNotEqual(rfu0, 0x02)) {
- err("", zFFF, 0x001, 0, 0, rfu0, 0x02)
- }
-
- Store(0x03, rfu0)
- m000(OPR1)
- if (LNotEqual(rfu0, 0x03)) {
- err("", zFFF, 0x002, 0, 0, rfu0, 0x03)
- }
-
- Store(0x04, rfu0)
- if (LNotEqual(rfu0, 0x04)) {
- err("", zFFF, 0x003, 0, 0, rfu0, 0x04)
- }
- }
-
- CH03("", 0, 0x000, 0, 0)
- m001()
- CH03("", 0, 0x001, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 214 (local-bugzilla-350):
+ *
+ *
+ * SUMMARY: crash of AcpiExec on repeated CopyObject of OpRegion
+ *
+ * Repeated duplication of an OpRegion to another
+ * dynamic OpRegion by CopyObject ASL operator causes
+ * crash of AcpiExec.
+ */
+
+Method(m81c,, Serialized)
+{
+ Method(m000, 1, Serialized)
+ {
+ OperationRegion(OPR0, SystemMemory, 0, 0x10)
+
+ CopyObject(arg0, OPR0)
+ }
+
+ OperationRegion(OPR1, SystemMemory, 0, 0x10)
+
+ Method(m001,, Serialized)
+ {
+ Field(OPR1, ByteAcc, NoLock, WriteAsZeros) {
+ rfu0, 8,
+ }
+
+ Store(0x01, rfu0)
+ m000(OPR1)
+ if (LNotEqual(rfu0, 0x01)) {
+ err("", zFFF, 0x000, 0, 0, rfu0, 0x01)
+ }
+
+ Store(0x02, rfu0)
+ m000(OPR1)
+ if (LNotEqual(rfu0, 0x02)) {
+ err("", zFFF, 0x001, 0, 0, rfu0, 0x02)
+ }
+
+ Store(0x03, rfu0)
+ m000(OPR1)
+ if (LNotEqual(rfu0, 0x03)) {
+ err("", zFFF, 0x002, 0, 0, rfu0, 0x03)
+ }
+
+ Store(0x04, rfu0)
+ if (LNotEqual(rfu0, 0x04)) {
+ err("", zFFF, 0x003, 0, 0, rfu0, 0x04)
+ }
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+ m001()
+ CH03("", 0, 0x001, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/MAIN.asl
index 0b3405970..b78715e0a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B214.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0214/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0214/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B214.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0214/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0214/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/RUN.asl
index 49a9e9211..b309a318a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0214/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 214", TCLD, 214, W017)) {
- SRMT("m81c")
- if (y214) {
- m81c()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 214", TCLD, 214, W017)) {
+ SRMT("m81c")
+ if (y214) {
+ m81c()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/DECL.asl
index b83033839..915cc8837 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/DECL.asl
@@ -1,92 +1,92 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 215 (local-bugzilla-351):
- *
- * SUMMARY: exception on accessing IndexField with IndexName Region Field exceeding 32 bits
- *
- * Exception AE_BUFFER_OVERFLOW unexpectedly
- * occurs on access to an IndexField object if
- * the length of the respective IndexName Region
- * Field exceeds 32 bits.
- */
-
-Method(m81d)
-{
- Method(m000,, Serialized)
- {
- OperationRegion(OPR0, SystemMemory, 0, 0x30)
-
- Field(OPR0, ByteAcc, NoLock, Preserve) {
- idx0, 32,
- dta0, 32,
- }
-
- Field(OPR0, ByteAcc, NoLock, Preserve) {
- Offset(8), idx1, 32,
- Offset(16), dta1, 33,
- }
-
- Field(OPR0, ByteAcc, NoLock, Preserve) {
- Offset(24), idx2, 33,
- Offset(32), dta2, 32,
- }
-
- IndexField(idx0, dta0, ByteAcc, NoLock, Preserve) {
- idf0, 1,
- }
-
- IndexField(idx1, dta1, ByteAcc, NoLock, Preserve) {
- idf1, 1,
- }
-
- IndexField(idx2, dta2, ByteAcc, NoLock, Preserve) {
- idf2, 1,
- }
-
- Store(1, idf0)
- if (LNotEqual(idf0, 1)) {
- err("", zFFF, 0x000, 0, 0, idf0, 1)
- }
-
- Store(1, idf1)
- if (LNotEqual(idf1, 1)) {
- err("", zFFF, 0x001, 0, 0, idf1, 1)
- }
-
- Store(1, idf2)
- if (LNotEqual(idf2, 1)) {
- err("", zFFF, 0x002, 0, 0, idf2, 1)
- }
- }
-
- CH03("", 0, 0x000, 0, 0)
- m000()
- CH03("", 0, 0x001, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 215 (local-bugzilla-351):
+ *
+ * SUMMARY: exception on accessing IndexField with IndexName Region Field exceeding 32 bits
+ *
+ * Exception AE_BUFFER_OVERFLOW unexpectedly
+ * occurs on access to an IndexField object if
+ * the length of the respective IndexName Region
+ * Field exceeds 32 bits.
+ */
+
+Method(m81d)
+{
+ Method(m000,, Serialized)
+ {
+ OperationRegion(OPR0, SystemMemory, 0, 0x30)
+
+ Field(OPR0, ByteAcc, NoLock, Preserve) {
+ idx0, 32,
+ dta0, 32,
+ }
+
+ Field(OPR0, ByteAcc, NoLock, Preserve) {
+ Offset(8), idx1, 32,
+ Offset(16), dta1, 33,
+ }
+
+ Field(OPR0, ByteAcc, NoLock, Preserve) {
+ Offset(24), idx2, 33,
+ Offset(32), dta2, 32,
+ }
+
+ IndexField(idx0, dta0, ByteAcc, NoLock, Preserve) {
+ idf0, 1,
+ }
+
+ IndexField(idx1, dta1, ByteAcc, NoLock, Preserve) {
+ idf1, 1,
+ }
+
+ IndexField(idx2, dta2, ByteAcc, NoLock, Preserve) {
+ idf2, 1,
+ }
+
+ Store(1, idf0)
+ if (LNotEqual(idf0, 1)) {
+ err("", zFFF, 0x000, 0, 0, idf0, 1)
+ }
+
+ Store(1, idf1)
+ if (LNotEqual(idf1, 1)) {
+ err("", zFFF, 0x001, 0, 0, idf1, 1)
+ }
+
+ Store(1, idf2)
+ if (LNotEqual(idf2, 1)) {
+ err("", zFFF, 0x002, 0, 0, idf2, 1)
+ }
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+ m000()
+ CH03("", 0, 0x001, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/MAIN.asl
index 65c679a5b..762d9e566 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B215.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0215/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0215/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B215.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0215/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0215/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/RUN.asl
index d7eac9fdd..f5094bc40 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0215/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 215", TCLD, 215, W017)) {
- SRMT("m81d")
- m81d()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 215", TCLD, 215, W017)) {
+ SRMT("m81d")
+ m81d()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/DECL.asl
index e39da0383..d5084aa9e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/DECL.asl
@@ -1,779 +1,779 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 216(local-bugzilla-341):
- *
- * SUMMARY: exception AE_NOT_FOUND on CreateField under specific conditions
- *
- * Failed to find Buffer for CreateField both declared inside
- * some of these types: Device/ThermalZone/Processor/PowerResource
- * which in turn are declared inside some method thus created
- * dynamically.
- *
- * APPEARANCE:
- * Call method which declares object of any of these types:
- * Device
- * ThermalZone
- * Processor
- * PowerResource
- * which contains internal declarations of Buffer of name which
- * there are no in the higher levels and run CreateField for that
- * Buffer. If run method then get mentioned exception.
- *
- * May suspect, at first glance, that if the name of that Buffer fit
- * the name of some higher level Buffer (no exception in that case)
- * then CreateField deals with that higher level Buffer. Though, the
- * example with dd12 doesn't count in favour of that reason.
- *
- * Note: add verifications while fixing the bug (access to Buffer Fields..).
- */
-
-/* ======== 0 ======= */
-
-Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
-Name(bd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
-Device(dd12) {}
-
-
-Device(dd0e) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
-ThermalZone(tzd3) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
-Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
-PowerResource(pwd3, 1, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
-Method(m81e,, Serialized) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
-/* ======== 1 ======= */
-
-Device(dd0f) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
-ThermalZone(tzd4) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
-Processor(prd4, 0, 0xFFFFFFFF, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
-PowerResource(pwd4, 1, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
-Method(m81f,, Serialized) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
-/* ======== 2 ======= */
-
-Device(dd10) {
- CreateField(bd11, 0, 8, bf00)
- }
-
-ThermalZone(tzd5) {
- CreateField(bd11, 0, 8, bf00)
- }
-
-Processor(prd5, 0, 0xFFFFFFFF, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
-PowerResource(pwd5, 1, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
-Method(m820) {
- CreateField(bd11, 0, 8, bf00)
- }
-
-/* ======== 3 ======= */
-
-Device(dd11) {
-
- /* ======== 0 ======= */
-
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
-
- Device(dd0e) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- ThermalZone(tzd3) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- PowerResource(pwd3, 1, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Method(m81e,, Serialized) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- /* ======== 1 ======= */
-
- Device(dd0f) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd4) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd4, 0, 0xFFFFFFFF, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd4, 1, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m81f,, Serialized) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- /* ======== 2 ======= */
-
- Device(dd10) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd5) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd5, 0, 0xFFFFFFFF, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd5, 1, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m820) {
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-ThermalZone(tzd6) {
-
- /* ======== 0 ======= */
-
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
-
- Device(dd0e) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- ThermalZone(tzd3) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- PowerResource(pwd3, 1, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Method(m81e,, Serialized) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- /* ======== 1 ======= */
-
- Device(dd0f) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd4) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd4, 0, 0xFFFFFFFF, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd4, 1, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m81f,, Serialized) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- /* ======== 2 ======= */
-
- Device(dd10) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd5) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd5, 0, 0xFFFFFFFF, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd5, 1, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m820) {
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-Processor(prd6, 0, 0xFFFFFFFF, 0) {
-
- /* ======== 0 ======= */
-
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
-
- Device(dd0e) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- ThermalZone(tzd3) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- PowerResource(pwd3, 1, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Method(m81e,, Serialized) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- /* ======== 1 ======= */
-
- Device(dd0f) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd4) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd4, 0, 0xFFFFFFFF, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd4, 1, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m81f,, Serialized) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- /* ======== 2 ======= */
-
- Device(dd10) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd5) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd5, 0, 0xFFFFFFFF, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd5, 1, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m820) {
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-PowerResource(pwd6, 1, 0) {
-
- /* ======== 0 ======= */
-
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
-
- Device(dd0e) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- ThermalZone(tzd3) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- PowerResource(pwd3, 1, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Method(m81e,, Serialized) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- /* ======== 1 ======= */
-
- Device(dd0f) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd4) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd4, 0, 0xFFFFFFFF, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd4, 1, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m81f,, Serialized) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- /* ======== 2 ======= */
-
- Device(dd10) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd5) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd5, 0, 0xFFFFFFFF, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd5, 1, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m820) {
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-Method(m821,, Serialized)
-{
- /* ======== 0 ======= */
-
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
-
- Device(dd0e) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- ThermalZone(tzd3) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- PowerResource(pwd3, 1, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- Method(m81e,, Serialized) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-
- /* ======== 1 ======= */
-
- Device(dd0f) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd4) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd4, 0, 0xFFFFFFFF, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd4, 1, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m81f,, Serialized) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-
- /* ======== 2 ======= */
-
- Device(dd10) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- ThermalZone(tzd5) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Processor(prd5, 0, 0xFFFFFFFF, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- PowerResource(pwd5, 1, 0) {
- CreateField(bd11, 0, 8, bf00)
- }
-
- Method(m820) {
- CreateField(bd11, 0, 8, bf00)
- }
- m81e()
- m81f()
- m820()
-}
-
-/* ======== 4 ======= */
-
-Method(m822,, Serialized)
-{
- Device(dd0e) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-}
-
-Method(m823,, Serialized)
-{
- ThermalZone(tzd3) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-}
-
-Method(m824,, Serialized)
-{
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-}
-
-Method(m825,, Serialized)
-{
- PowerResource(pwd3, 1, 0) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-}
-
-Method(m826)
-{
- Method(m000,, Serialized) {
- Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd13, 0, 8, bf00)
- }
-}
-
-/* ======== 5 ======= */
-
-Method(m827,, Serialized)
-{
- Device(dd0e) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-Method(m828,, Serialized)
-{
- ThermalZone(tzd3) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-Method(m829,, Serialized)
-{
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-Method(m82a,, Serialized)
-{
- PowerResource(pwd3, 1, 0) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-Method(m82b)
-{
- Method(m000,, Serialized) {
- Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(bd11, 0, 8, bf00)
- }
-}
-
-/* ======== 6 ======= */
-
-Method(m82c,, Serialized)
-{
- Device(dd0e) {
- CreateField(bd12, 0, 8, bf00)
- }
-}
-
-Method(m82d,, Serialized)
-{
- ThermalZone(tzd3) {
- CreateField(bd12, 0, 8, bf00)
- }
-}
-
-Method(m82e,, Serialized)
-{
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- CreateField(bd12, 0, 8, bf00)
- }
-}
-
-Method(m82f,, Serialized)
-{
- PowerResource(pwd3, 1, 0) {
- CreateField(bd12, 0, 8, bf00)
- }
-}
-
-Method(m830)
-{
- Method(m000) {
- CreateField(bd12, 0, 8, bf00)
- }
-}
-
-/* ======== 7 ======= */
-
-Method(m832,, Serialized)
-{
- Device(dd0e) {
- Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(dd12, 0, 8, bf00)
- }
-}
-
-Method(m833,, Serialized)
-{
- ThermalZone(tzd3) {
- Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(dd12, 0, 8, bf00)
- }
-}
-
-Method(m834,, Serialized)
-{
- Processor(prd3, 0, 0xFFFFFFFF, 0) {
- Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(dd12, 0, 8, bf00)
- }
-}
-
-Method(m835,, Serialized)
-{
- PowerResource(pwd3, 1, 0) {
- Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(dd12, 0, 8, bf00)
- }
-}
-
-Method(m836)
-{
- Method(m000,, Serialized) {
- Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- CreateField(dd12, 0, 8, bf00)
- }
-}
-
-
-Method(m831)
-{
- CH03("", 0, 0x000, 0, 0)
-
- SRMT("m831-0")
- if (1) {
- m81e()
- m81f()
- m820()
- m821()
- }
-
- CH03("", 0, 0x001, 0, 0)
-
- SRMT("m831-1")
- if (1) {
- m822()
- CH03("", 0, 0x002, 0, 0)
- m823()
- CH03("", 0, 0x003, 0, 0)
- m824()
- CH03("", 0, 0x004, 0, 0)
- m825()
- CH03("", 0, 0x005, 0, 0)
- m826()
- CH03("", 0, 0x006, 0, 0)
- }
-
- CH03("", 0, 0x007, 0, 0)
-
- SRMT("m831-2")
- if (1) {
- m827()
- m828()
- m829()
- m82a()
- m82b()
- }
-
- CH03("", 0, 0x008, 0, 0)
-
- SRMT("m831-3")
- if (1) {
- m82c()
- m82d()
- m82e()
- m82f()
- m830()
- }
-
- CH03("", 0, 0x009, 0, 0)
-
- SRMT("m831-4")
- if (1) {
- m832()
- m833()
- m834()
- m835()
- m836()
- }
-
- CH03("", 0, 0x00a, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 216(local-bugzilla-341):
+ *
+ * SUMMARY: exception AE_NOT_FOUND on CreateField under specific conditions
+ *
+ * Failed to find Buffer for CreateField both declared inside
+ * some of these types: Device/ThermalZone/Processor/PowerResource
+ * which in turn are declared inside some method thus created
+ * dynamically.
+ *
+ * APPEARANCE:
+ * Call method which declares object of any of these types:
+ * Device
+ * ThermalZone
+ * Processor
+ * PowerResource
+ * which contains internal declarations of Buffer of name which
+ * there are no in the higher levels and run CreateField for that
+ * Buffer. If run method then get mentioned exception.
+ *
+ * May suspect, at first glance, that if the name of that Buffer fit
+ * the name of some higher level Buffer (no exception in that case)
+ * then CreateField deals with that higher level Buffer. Though, the
+ * example with dd12 doesn't count in favour of that reason.
+ *
+ * Note: add verifications while fixing the bug (access to Buffer Fields..).
+ */
+
+/* ======== 0 ======= */
+
+Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+Name(bd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+Device(dd12) {}
+
+
+Device(dd0e) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ThermalZone(tzd3) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+PowerResource(pwd3, 1, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+Method(m81e,, Serialized) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+/* ======== 1 ======= */
+
+Device(dd0f) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ThermalZone(tzd4) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+Processor(prd4, 0, 0xFFFFFFFF, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+PowerResource(pwd4, 1, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+Method(m81f,, Serialized) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+/* ======== 2 ======= */
+
+Device(dd10) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ThermalZone(tzd5) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+Processor(prd5, 0, 0xFFFFFFFF, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+PowerResource(pwd5, 1, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+Method(m820) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+/* ======== 3 ======= */
+
+Device(dd11) {
+
+ /* ======== 0 ======= */
+
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+
+ Device(dd0e) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd3) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ PowerResource(pwd3, 1, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Method(m81e,, Serialized) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ /* ======== 1 ======= */
+
+ Device(dd0f) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd4) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd4, 0, 0xFFFFFFFF, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd4, 1, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m81f,, Serialized) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ /* ======== 2 ======= */
+
+ Device(dd10) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd5) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd5, 0, 0xFFFFFFFF, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd5, 1, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m820) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+ThermalZone(tzd6) {
+
+ /* ======== 0 ======= */
+
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+
+ Device(dd0e) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd3) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ PowerResource(pwd3, 1, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Method(m81e,, Serialized) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ /* ======== 1 ======= */
+
+ Device(dd0f) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd4) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd4, 0, 0xFFFFFFFF, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd4, 1, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m81f,, Serialized) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ /* ======== 2 ======= */
+
+ Device(dd10) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd5) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd5, 0, 0xFFFFFFFF, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd5, 1, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m820) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+Processor(prd6, 0, 0xFFFFFFFF, 0) {
+
+ /* ======== 0 ======= */
+
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+
+ Device(dd0e) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd3) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ PowerResource(pwd3, 1, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Method(m81e,, Serialized) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ /* ======== 1 ======= */
+
+ Device(dd0f) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd4) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd4, 0, 0xFFFFFFFF, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd4, 1, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m81f,, Serialized) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ /* ======== 2 ======= */
+
+ Device(dd10) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd5) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd5, 0, 0xFFFFFFFF, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd5, 1, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m820) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+PowerResource(pwd6, 1, 0) {
+
+ /* ======== 0 ======= */
+
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+
+ Device(dd0e) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd3) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ PowerResource(pwd3, 1, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Method(m81e,, Serialized) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ /* ======== 1 ======= */
+
+ Device(dd0f) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd4) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd4, 0, 0xFFFFFFFF, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd4, 1, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m81f,, Serialized) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ /* ======== 2 ======= */
+
+ Device(dd10) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd5) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd5, 0, 0xFFFFFFFF, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd5, 1, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m820) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+Method(m821,, Serialized)
+{
+ /* ======== 0 ======= */
+
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+
+ Device(dd0e) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd3) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ PowerResource(pwd3, 1, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ Method(m81e,, Serialized) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+
+ /* ======== 1 ======= */
+
+ Device(dd0f) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd4) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd4, 0, 0xFFFFFFFF, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd4, 1, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m81f,, Serialized) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ /* ======== 2 ======= */
+
+ Device(dd10) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ ThermalZone(tzd5) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Processor(prd5, 0, 0xFFFFFFFF, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ PowerResource(pwd5, 1, 0) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+
+ Method(m820) {
+ CreateField(bd11, 0, 8, bf00)
+ }
+ m81e()
+ m81f()
+ m820()
+}
+
+/* ======== 4 ======= */
+
+Method(m822,, Serialized)
+{
+ Device(dd0e) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+}
+
+Method(m823,, Serialized)
+{
+ ThermalZone(tzd3) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+}
+
+Method(m824,, Serialized)
+{
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+}
+
+Method(m825,, Serialized)
+{
+ PowerResource(pwd3, 1, 0) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+}
+
+Method(m826)
+{
+ Method(m000,, Serialized) {
+ Name(bd13, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd13, 0, 8, bf00)
+ }
+}
+
+/* ======== 5 ======= */
+
+Method(m827,, Serialized)
+{
+ Device(dd0e) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+Method(m828,, Serialized)
+{
+ ThermalZone(tzd3) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+Method(m829,, Serialized)
+{
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+Method(m82a,, Serialized)
+{
+ PowerResource(pwd3, 1, 0) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+Method(m82b)
+{
+ Method(m000,, Serialized) {
+ Name(bd11, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(bd11, 0, 8, bf00)
+ }
+}
+
+/* ======== 6 ======= */
+
+Method(m82c,, Serialized)
+{
+ Device(dd0e) {
+ CreateField(bd12, 0, 8, bf00)
+ }
+}
+
+Method(m82d,, Serialized)
+{
+ ThermalZone(tzd3) {
+ CreateField(bd12, 0, 8, bf00)
+ }
+}
+
+Method(m82e,, Serialized)
+{
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ CreateField(bd12, 0, 8, bf00)
+ }
+}
+
+Method(m82f,, Serialized)
+{
+ PowerResource(pwd3, 1, 0) {
+ CreateField(bd12, 0, 8, bf00)
+ }
+}
+
+Method(m830)
+{
+ Method(m000) {
+ CreateField(bd12, 0, 8, bf00)
+ }
+}
+
+/* ======== 7 ======= */
+
+Method(m832,, Serialized)
+{
+ Device(dd0e) {
+ Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(dd12, 0, 8, bf00)
+ }
+}
+
+Method(m833,, Serialized)
+{
+ ThermalZone(tzd3) {
+ Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(dd12, 0, 8, bf00)
+ }
+}
+
+Method(m834,, Serialized)
+{
+ Processor(prd3, 0, 0xFFFFFFFF, 0) {
+ Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(dd12, 0, 8, bf00)
+ }
+}
+
+Method(m835,, Serialized)
+{
+ PowerResource(pwd3, 1, 0) {
+ Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(dd12, 0, 8, bf00)
+ }
+}
+
+Method(m836)
+{
+ Method(m000,, Serialized) {
+ Name(dd12, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ CreateField(dd12, 0, 8, bf00)
+ }
+}
+
+
+Method(m831)
+{
+ CH03("", 0, 0x000, 0, 0)
+
+ SRMT("m831-0")
+ if (1) {
+ m81e()
+ m81f()
+ m820()
+ m821()
+ }
+
+ CH03("", 0, 0x001, 0, 0)
+
+ SRMT("m831-1")
+ if (1) {
+ m822()
+ CH03("", 0, 0x002, 0, 0)
+ m823()
+ CH03("", 0, 0x003, 0, 0)
+ m824()
+ CH03("", 0, 0x004, 0, 0)
+ m825()
+ CH03("", 0, 0x005, 0, 0)
+ m826()
+ CH03("", 0, 0x006, 0, 0)
+ }
+
+ CH03("", 0, 0x007, 0, 0)
+
+ SRMT("m831-2")
+ if (1) {
+ m827()
+ m828()
+ m829()
+ m82a()
+ m82b()
+ }
+
+ CH03("", 0, 0x008, 0, 0)
+
+ SRMT("m831-3")
+ if (1) {
+ m82c()
+ m82d()
+ m82e()
+ m82f()
+ m830()
+ }
+
+ CH03("", 0, 0x009, 0, 0)
+
+ SRMT("m831-4")
+ if (1) {
+ m832()
+ m833()
+ m834()
+ m835()
+ m836()
+ }
+
+ CH03("", 0, 0x00a, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/MAIN.asl
index 6321290b3..4dda4739b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B216.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0216/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0216/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B216.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0216/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0216/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/RUN.asl
index d4f61b915..17872da39 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 216", TCLD, 216, W017)) {
- m831()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 216", TCLD, 216, W017)) {
+ m831()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/DECL.asl
index ba10fcef6..79f9d3a3c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/DECL.asl
@@ -1,58 +1,58 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 217:
- *
- * SUMMARY: Dynamic OpRegion _REG method execution problem
- */
-
-Method(m035,, Serialized)
-{
- Method(_REG, 2)
- {
- Store("m035._REG", Debug)
- Store(arg0, Debug)
- Store(arg1, Debug)
- Increment(id2a)
- }
-
- OperationRegion(OPR0, SystemMemory, 0x2000, 0x100)
-
- if (LNotEqual(id2a, 1)) {
- err("", zFFF, 0x000, 0, 0, id2a, 1)
- }
-}
-
-Method(m036)
-{
- if (LNotEqual(id2a, 0)) {
- err("", zFFF, 0x001, 0, 0, id2a, 0)
- }
- m035()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 217:
+ *
+ * SUMMARY: Dynamic OpRegion _REG method execution problem
+ */
+
+Method(m035,, Serialized)
+{
+ Method(_REG, 2)
+ {
+ Store("m035._REG", Debug)
+ Store(arg0, Debug)
+ Store(arg1, Debug)
+ Increment(id2a)
+ }
+
+ OperationRegion(OPR0, SystemMemory, 0x2000, 0x100)
+
+ if (LNotEqual(id2a, 1)) {
+ err("", zFFF, 0x000, 0, 0, id2a, 1)
+ }
+}
+
+Method(m036)
+{
+ if (LNotEqual(id2a, 0)) {
+ err("", zFFF, 0x001, 0, 0, id2a, 0)
+ }
+ m035()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/MAIN.asl
index 707adf8ea..18f26c885 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B217.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0217/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0217/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B217.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0217/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0217/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/RUN.asl
index fbd16bbea..88ef7f335 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0217/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 217", TCLD, 217, W017)) {
- SRMT("m036")
- m036()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 217", TCLD, 217, W017)) {
+ SRMT("m036")
+ m036()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/DECL.asl
index 26dc68b2b..db4afd0d6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/DECL.asl
@@ -1,94 +1,94 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 218:
- *
- * SUMMARY: Access to internal object of Method is lost after returning from the recursive call to that Method
- *
- * NOTE: Reaction on the situation generated by the test should be fixed according to this:
- *
- * >-----Original Message-----
- * >From: Moore, Robert
- * >Sent: Tuesday, September 12, 2006 10:56 PM
- * >To: Moore, Robert
- * >Subject: ACPICA version 20060912 released [Code Attached]
- * >
- * >12 September 2006. Summary of changes for version 20060912:
- * >
- * >1) ACPI CA Core Subsystem:
- * >
- * > .....................
- * >
- * >Fixed a regression where an error was no longer emitted if a control method
- * >attempts to create 2 objects of the same name. This once again returns
- * >AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
- * >that will dynamically serialize the control method to possibly prevent
- * >future errors. (BZ 440)
- * > .....................
- */
-
-Method(m037,, Serialized)
-{
- Name(i000, 0)
-
- Store(id29, i000)
- Store(id29, Local0)
-
- Store("===== Start of test", Debug)
- Store(id29, Debug)
- Store(i000, Debug)
- Store(Local0, Debug)
-
- Increment(id29)
-
- if (LLess(id29, 10)) {
- m037()
- }
-
- Decrement(id29)
-
- Store("===== Finish of test", Debug)
- Store(id29, Debug)
- Store(i000, Debug)
- Store(Local0, Debug)
-
- if (LNotEqual(i000, id29)) {
- err("", zFFF, 0x000, 0, 0, i000, id29)
- }
-
- if (LNotEqual(Local0, id29)) {
- err("", zFFF, 0x001, 0, 0, Local0, id29)
- }
-}
-
-Method(m038) {
- CH03("", 0, 0x000, 0, 0)
- m037()
- CH03("", 0, 0x001, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 218:
+ *
+ * SUMMARY: Access to internal object of Method is lost after returning from the recursive call to that Method
+ *
+ * NOTE: Reaction on the situation generated by the test should be fixed according to this:
+ *
+ * >-----Original Message-----
+ * >From: Moore, Robert
+ * >Sent: Tuesday, September 12, 2006 10:56 PM
+ * >To: Moore, Robert
+ * >Subject: ACPICA version 20060912 released [Code Attached]
+ * >
+ * >12 September 2006. Summary of changes for version 20060912:
+ * >
+ * >1) ACPI CA Core Subsystem:
+ * >
+ * > .....................
+ * >
+ * >Fixed a regression where an error was no longer emitted if a control method
+ * >attempts to create 2 objects of the same name. This once again returns
+ * >AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
+ * >that will dynamically serialize the control method to possibly prevent
+ * >future errors. (BZ 440)
+ * > .....................
+ */
+
+Method(m037,, Serialized)
+{
+ Name(i000, 0)
+
+ Store(id29, i000)
+ Store(id29, Local0)
+
+ Store("===== Start of test", Debug)
+ Store(id29, Debug)
+ Store(i000, Debug)
+ Store(Local0, Debug)
+
+ Increment(id29)
+
+ if (LLess(id29, 10)) {
+ m037()
+ }
+
+ Decrement(id29)
+
+ Store("===== Finish of test", Debug)
+ Store(id29, Debug)
+ Store(i000, Debug)
+ Store(Local0, Debug)
+
+ if (LNotEqual(i000, id29)) {
+ err("", zFFF, 0x000, 0, 0, i000, id29)
+ }
+
+ if (LNotEqual(Local0, id29)) {
+ err("", zFFF, 0x001, 0, 0, Local0, id29)
+ }
+}
+
+Method(m038) {
+ CH03("", 0, 0x000, 0, 0)
+ m037()
+ CH03("", 0, 0x001, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/MAIN.asl
index a1b13940e..ae3a928bd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B218.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0218/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0218/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B218.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0218/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0218/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/RUN.asl
index 53b616108..378511a16 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0218/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 218", TCLD, 218, W017)) {
- SRMT("m038")
- m038()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 218", TCLD, 218, W017)) {
+ SRMT("m038")
+ m038()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/DECL.asl
index f48974f64..0a98fb0e3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/DECL.asl
@@ -1,48 +1,48 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 219:
- *
- * SUMMARY: The result of Interrupt Resource Template macro is incorrect when ResourceSource is omitted
- */
-
-Method(m107,, Serialized)
-{
- Name (RT00, ResourceTemplate () {
- Interrupt (ResourceConsumer, Edge, ActiveLow, Shared,
- 0x0f) {0xfcfdfeff}
- })
-
- Name (BUF0, Buffer () {0x89, 0x07, 0x00, 0x0f, 0x01, 0xff, 0xfe, 0xfd, 0xfc,
- 0x0f, 0x79, 0x00})
-
- if (LNotEqual(RT00, BUF0)) {
- err("", zFFF, 0x000, 0, 0, RT00, BUF0)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 219:
+ *
+ * SUMMARY: The result of Interrupt Resource Template macro is incorrect when ResourceSource is omitted
+ */
+
+Method(m107,, Serialized)
+{
+ Name (RT00, ResourceTemplate () {
+ Interrupt (ResourceConsumer, Edge, ActiveLow, Shared,
+ 0x0f) {0xfcfdfeff}
+ })
+
+ Name (BUF0, Buffer () {0x89, 0x07, 0x00, 0x0f, 0x01, 0xff, 0xfe, 0xfd, 0xfc,
+ 0x0f, 0x79, 0x00})
+
+ if (LNotEqual(RT00, BUF0)) {
+ err("", zFFF, 0x000, 0, 0, RT00, BUF0)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/MAIN.asl
index bc217c1e5..a32ade153 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B219.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0219/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0219/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B219.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0219/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0219/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/RUN.asl
index b7ff3f951..012382cf5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0219/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 219", TCLD, 219, W017)) {
- SRMT("m107")
- m107()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 219", TCLD, 219, W017)) {
+ SRMT("m107")
+ m107()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/DECL.asl
index 6c2d9bc0e..6d7d6a2ed 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/DECL.asl
@@ -1,71 +1,71 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 220:
- *
- * SUMMARY: Inconsistent "Access is available/unavailable" _REG method calls
- */
-
-Device(D220) {
- Name(ACTV, 0)
- Name(DACT, 0)
- Name(NERR, 0)
-
- Method(_REG, 2)
- {
- Store("_REG:", Debug)
- Store(arg0, Debug)
- Store(arg1, Debug)
-
- if (arg0) {
- Increment(NERR)
- } elseif (LGreater(arg1, 1)) {
- Increment(NERR)
- } elseif (arg1) {
- Increment(ACTV)
- } else {
- Increment(DACT)
- }
- }
-
- OperationRegion(OPR0, SystemMemory, 0x2000, 0x100)
-}
-
-Method(m108)
-{
- if (\D220.NERR) {
- err("", zFFF, 0x000, 0, 0, \D220.NERR, 0)
- }
-
- Subtract(\D220.ACTV, \D220.DACT, Local0)
-
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x001, 0, 0, Local0, 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 220:
+ *
+ * SUMMARY: Inconsistent "Access is available/unavailable" _REG method calls
+ */
+
+Device(D220) {
+ Name(ACTV, 0)
+ Name(DACT, 0)
+ Name(NERR, 0)
+
+ Method(_REG, 2)
+ {
+ Store("_REG:", Debug)
+ Store(arg0, Debug)
+ Store(arg1, Debug)
+
+ if (arg0) {
+ Increment(NERR)
+ } elseif (LGreater(arg1, 1)) {
+ Increment(NERR)
+ } elseif (arg1) {
+ Increment(ACTV)
+ } else {
+ Increment(DACT)
+ }
+ }
+
+ OperationRegion(OPR0, SystemMemory, 0x2000, 0x100)
+}
+
+Method(m108)
+{
+ if (\D220.NERR) {
+ err("", zFFF, 0x000, 0, 0, \D220.NERR, 0)
+ }
+
+ Subtract(\D220.ACTV, \D220.DACT, Local0)
+
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/MAIN.asl
index e50e0a0c9..840c32ff2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B220.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0220/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0220/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B220.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0220/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0220/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/RUN.asl
index 0125bbe6c..b58c23cbd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0220/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 220", TCLD, 220, W017)) {
- SRMT("m108")
- m108()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 220", TCLD, 220, W017)) {
+ SRMT("m108")
+ m108()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/DECL.asl
index 7b5763c4c..172e9fc86 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/DECL.asl
@@ -1,71 +1,71 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 221:
- *
- * SUMMARY: AcpiExec improper emulates alternating access to OpRegions
- * covering different ranges
- */
-
-Method(m109,, Serialized)
-{
- Method(CHCK, 3)
- {
- if (LNotEqual(arg0, arg1)) {
- err("", zFFF, arg2, 0, 0, arg0, arg1)
- }
- }
-
- OperationRegion(OPR0, SystemMemory, 0x00, 0x02)
- OperationRegion(OPR1, SystemMemory, 0x00, 0x01)
- OperationRegion(OPR2, SystemMemory, 0x01, 0x01)
-
- Field(OPR0, ByteAcc, NoLock, Preserve) {
- f000, 8, // Byte 0
- f001, 8, // Byte 1
- }
- Field(OPR1, ByteAcc, NoLock, Preserve) {
- f002, 8, // Byte 0
- }
- Field(OPR2, ByteAcc, NoLock, Preserve) {
- f003, 8, // Byte 1
- }
-
- Store(0x5a, f001) // Byte 1
- CHCK(f001, 0x5a, 0)
-
- Store(0xc3, f002) // Byte 0
- CHCK(f002, 0xc3, 1)
-
- CHCK(f000, 0xc3, 2) // Byte 0
-
- CHCK(f001, 0x5a, 3) // Byte 1
-
- CHCK(f003, 0x5a, 4) // Byte 1
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 221:
+ *
+ * SUMMARY: AcpiExec improper emulates alternating access to OpRegions
+ * covering different ranges
+ */
+
+Method(m109,, Serialized)
+{
+ Method(CHCK, 3)
+ {
+ if (LNotEqual(arg0, arg1)) {
+ err("", zFFF, arg2, 0, 0, arg0, arg1)
+ }
+ }
+
+ OperationRegion(OPR0, SystemMemory, 0x00, 0x02)
+ OperationRegion(OPR1, SystemMemory, 0x00, 0x01)
+ OperationRegion(OPR2, SystemMemory, 0x01, 0x01)
+
+ Field(OPR0, ByteAcc, NoLock, Preserve) {
+ f000, 8, // Byte 0
+ f001, 8, // Byte 1
+ }
+ Field(OPR1, ByteAcc, NoLock, Preserve) {
+ f002, 8, // Byte 0
+ }
+ Field(OPR2, ByteAcc, NoLock, Preserve) {
+ f003, 8, // Byte 1
+ }
+
+ Store(0x5a, f001) // Byte 1
+ CHCK(f001, 0x5a, 0)
+
+ Store(0xc3, f002) // Byte 0
+ CHCK(f002, 0xc3, 1)
+
+ CHCK(f000, 0xc3, 2) // Byte 0
+
+ CHCK(f001, 0x5a, 3) // Byte 1
+
+ CHCK(f003, 0x5a, 4) // Byte 1
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/MAIN.asl
index 5a48d1496..e85f9eeb3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B221.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0221/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0221/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B221.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0221/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0221/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/RUN.asl
index 17ee46b60..daa32f749 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0221/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 221", TCLD, 221, W017)) {
- SRMT("m109")
- m109()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 221", TCLD, 221, W017)) {
+ SRMT("m109")
+ m109()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/DECL.asl
index b822e62a3..32e074cb3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/DECL.asl
@@ -1,63 +1,63 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 222:
- *
- * SUMMARY: Alternating access to OpRegions of different Address Spaces issue
- */
-
-Method(m10a,, Serialized)
-{
- Method(CHCK, 3)
- {
- if (LNotEqual(arg0, arg1)) {
- err("", zFFF, arg2, 0, 0, arg0, arg1)
- }
- }
-
- OperationRegion(OPR0, SystemMemory, 0x00, 0x01)
- OperationRegion(OPR1, SystemIO, 0x00, 0x01)
-
- Field(OPR0, ByteAcc, NoLock, Preserve) {
- f000, 8,
- }
- Field(OPR1, ByteAcc, NoLock, Preserve) {
- f001, 8,
- }
-
- Store(0x5a, f000)
- CHCK(f000, 0x5a, 0)
-
- Store(0xc3, f001)
- CHCK(f001, 0xc3, 1)
-
- CHCK(f000, 0x5a, 2)
-
- CHCK(f001, 0xc3, 3)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 222:
+ *
+ * SUMMARY: Alternating access to OpRegions of different Address Spaces issue
+ */
+
+Method(m10a,, Serialized)
+{
+ Method(CHCK, 3)
+ {
+ if (LNotEqual(arg0, arg1)) {
+ err("", zFFF, arg2, 0, 0, arg0, arg1)
+ }
+ }
+
+ OperationRegion(OPR0, SystemMemory, 0x00, 0x01)
+ OperationRegion(OPR1, SystemIO, 0x00, 0x01)
+
+ Field(OPR0, ByteAcc, NoLock, Preserve) {
+ f000, 8,
+ }
+ Field(OPR1, ByteAcc, NoLock, Preserve) {
+ f001, 8,
+ }
+
+ Store(0x5a, f000)
+ CHCK(f000, 0x5a, 0)
+
+ Store(0xc3, f001)
+ CHCK(f001, 0xc3, 1)
+
+ CHCK(f000, 0x5a, 2)
+
+ CHCK(f001, 0xc3, 3)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/MAIN.asl
index edd43be14..afa1aac87 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B222.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0222/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0222/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B222.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0222/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0222/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/RUN.asl
index 92dc568b1..4db10c03f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0222/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 222", TCLD, 222, W017)) {
- SRMT("m10a")
- m10a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 222", TCLD, 222, W017)) {
+ SRMT("m10a")
+ m10a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/DECL.asl
index 24230a0b3..02579419b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/DECL.asl
@@ -1,104 +1,104 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 223:
- *
- * SUMMARY: DataTableRegion with the non-constant *String arguments
- * unexpectedly causes an exception or crash
- */
-
-Device(D223) {
- DataTableRegion (DR00, "SSDT", "", "")
- Field(DR00, AnyAcc, NoLock, Preserve) {
- FU00, 0x1F0} /* 0x1F0 == length of SSDT */
-}
-
-Method(m10b,, Serialized)
-{
- /* This SSDT must be identical to SSDT1 in the AcpiExec utility */
-
- Name(SSDT, Buffer(0x3E){
- 0x53,0x53,0x44,0x54,0x3E,0x00,0x00,0x00, /* 00000000 "SSDT>..." */
- 0x02,0x08,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x73,0x73,0x64,0x74,0x31,0x00,0x00,0x00, /* 00000010 "ssdt1..." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x20,0x06,0x12,0x20,0x14,0x19,0x5F,0x54, /* 00000020 " .. .._T" */
- 0x39,0x38,0x01,0x70,0x0D,0x53,0x53,0x44, /* 00000028 "98.p.SSD" */
- 0x54,0x31,0x20,0x2D,0x20,0x5F,0x54,0x39, /* 00000030 "T1 - _T9" */
- 0x38,0x00,0x5B,0x31,0xA4,0x00 /* 00000038 "8.[1.." */
- })
-
- Method(CHCK, 3)
- {
- if (LNotEqual(arg0, arg1)) {
- err("", zFFF, arg2, 0, 0, arg0, arg1)
- }
- }
-
- Method(m000, 1, Serialized) {
- DataTableRegion (DR00, "SSDT", "", "")
-
- Field(DR00, AnyAcc, NoLock, Preserve) {
- FU00, 0x1F0} /* 0x1F0 == length of SSDT */
-
- CHCK(FU00, SSDT, arg0)
- }
-
- Method(m001, 4, Serialized) {
- DataTableRegion (DR00, arg0, arg1, arg2)
-
- Field(DR00, AnyAcc, NoLock, Preserve) {
- FU00, 0x1F0} /* 0x1F0 == length of SSDT */
-
- CHCK(FU00, SSDT, arg3)
- }
-
- Name(s000, "SSDT")
- Name(s001, "")
- Name(s002, "")
-
- Method(m002, 1, Serialized) {
- DataTableRegion (DR00, s000, s001, s002)
-
- Field(DR00, AnyAcc, NoLock, Preserve) {
- FU00, 0x1F0} /* 0x1F0 == length of SSDT */
-
- CHCK(FU00, SSDT, arg0)
- }
-
- CHCK(\D223.FU00, SSDT, 0)
-
- m000(1)
-
- if (1) {
- m001("SSDT", "", "", 2)
- } else {
- m002(3)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 223:
+ *
+ * SUMMARY: DataTableRegion with the non-constant *String arguments
+ * unexpectedly causes an exception or crash
+ */
+
+Device(D223) {
+ DataTableRegion (DR00, "SSDT", "", "")
+ Field(DR00, AnyAcc, NoLock, Preserve) {
+ FU00, 0x1F0} /* 0x1F0 == length of SSDT */
+}
+
+Method(m10b,, Serialized)
+{
+ /* This SSDT must be identical to SSDT1 in the AcpiExec utility */
+
+ Name(SSDT, Buffer(0x3E){
+ 0x53,0x53,0x44,0x54,0x3E,0x00,0x00,0x00, /* 00000000 "SSDT>..." */
+ 0x02,0x08,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x73,0x73,0x64,0x74,0x31,0x00,0x00,0x00, /* 00000010 "ssdt1..." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x20,0x06,0x12,0x20,0x14,0x19,0x5F,0x54, /* 00000020 " .. .._T" */
+ 0x39,0x38,0x01,0x70,0x0D,0x53,0x53,0x44, /* 00000028 "98.p.SSD" */
+ 0x54,0x31,0x20,0x2D,0x20,0x5F,0x54,0x39, /* 00000030 "T1 - _T9" */
+ 0x38,0x00,0x5B,0x31,0xA4,0x00 /* 00000038 "8.[1.." */
+ })
+
+ Method(CHCK, 3)
+ {
+ if (LNotEqual(arg0, arg1)) {
+ err("", zFFF, arg2, 0, 0, arg0, arg1)
+ }
+ }
+
+ Method(m000, 1, Serialized) {
+ DataTableRegion (DR00, "SSDT", "", "")
+
+ Field(DR00, AnyAcc, NoLock, Preserve) {
+ FU00, 0x1F0} /* 0x1F0 == length of SSDT */
+
+ CHCK(FU00, SSDT, arg0)
+ }
+
+ Method(m001, 4, Serialized) {
+ DataTableRegion (DR00, arg0, arg1, arg2)
+
+ Field(DR00, AnyAcc, NoLock, Preserve) {
+ FU00, 0x1F0} /* 0x1F0 == length of SSDT */
+
+ CHCK(FU00, SSDT, arg3)
+ }
+
+ Name(s000, "SSDT")
+ Name(s001, "")
+ Name(s002, "")
+
+ Method(m002, 1, Serialized) {
+ DataTableRegion (DR00, s000, s001, s002)
+
+ Field(DR00, AnyAcc, NoLock, Preserve) {
+ FU00, 0x1F0} /* 0x1F0 == length of SSDT */
+
+ CHCK(FU00, SSDT, arg0)
+ }
+
+ CHCK(\D223.FU00, SSDT, 0)
+
+ m000(1)
+
+ if (1) {
+ m001("SSDT", "", "", 2)
+ } else {
+ m002(3)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/MAIN.asl
index ca3615826..e4a08c1c4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B223.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0223/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0223/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B223.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0223/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0223/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/RUN.asl
index e0d8c6377..6cf0f39f4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0223/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 223", TCLD, 223, W017)) {
- SRMT("m10b")
- if (y223) {
- m10b()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 223", TCLD, 223, W017)) {
+ SRMT("m10b")
+ if (y223) {
+ m10b()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/DECL.asl
index 454efc007..8537e71aa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/DECL.asl
@@ -1,78 +1,78 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 224:
- *
- * SUMMARY: AcpiExec is unable to emulate access to IndexField Object
- */
-
-Method(m10c,, Serialized)
-{
- OperationRegion(OPR0, SystemMemory, 0, 256)
-
- Method(CHCK, 3)
- {
- if (LNotEqual(arg0, arg1)) {
- err("", zFFF, arg2, 0, 0, arg0, arg1)
- }
- }
-
- Field(OPR0, WordAcc, NoLock, WriteAsZeros) {
- idx0, 16,
- dta0, 16,
- }
- IndexField(idx0, dta0, WordAcc, NoLock, WriteAsZeros) {
- idf0, 8, , 4, idf1, 8,
- idf2, 8, , 4, idf3, 8,
- }
-
- Method(m000, 3)
- {
- Store(Refof(arg1), Local0)
-
- Store(arg2, Derefof(Local0))
- Store(Derefof(arg1), Local1)
- CHCK(Local1, arg2, arg0)
- }
-
- Method(m001, 3)
- {
- Store(Derefof(arg1), Local1)
- CHCK(Local1, arg2, arg0)
- }
-
- m000(0, Refof(idf0), 0x12)
- m000(1, Refof(idf1), 0x34)
- m000(2, Refof(idf2), 0x56)
- m000(3, Refof(idf3), 0x78)
- m000(4, Refof(idf0), 0x12)
- m000(5, Refof(idf1), 0x34)
- m000(6, Refof(idf2), 0x56)
- m000(7, Refof(idf3), 0x78)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 224:
+ *
+ * SUMMARY: AcpiExec is unable to emulate access to IndexField Object
+ */
+
+Method(m10c,, Serialized)
+{
+ OperationRegion(OPR0, SystemMemory, 0, 256)
+
+ Method(CHCK, 3)
+ {
+ if (LNotEqual(arg0, arg1)) {
+ err("", zFFF, arg2, 0, 0, arg0, arg1)
+ }
+ }
+
+ Field(OPR0, WordAcc, NoLock, WriteAsZeros) {
+ idx0, 16,
+ dta0, 16,
+ }
+ IndexField(idx0, dta0, WordAcc, NoLock, WriteAsZeros) {
+ idf0, 8, , 4, idf1, 8,
+ idf2, 8, , 4, idf3, 8,
+ }
+
+ Method(m000, 3)
+ {
+ Store(Refof(arg1), Local0)
+
+ Store(arg2, Derefof(Local0))
+ Store(Derefof(arg1), Local1)
+ CHCK(Local1, arg2, arg0)
+ }
+
+ Method(m001, 3)
+ {
+ Store(Derefof(arg1), Local1)
+ CHCK(Local1, arg2, arg0)
+ }
+
+ m000(0, Refof(idf0), 0x12)
+ m000(1, Refof(idf1), 0x34)
+ m000(2, Refof(idf2), 0x56)
+ m000(3, Refof(idf3), 0x78)
+ m000(4, Refof(idf0), 0x12)
+ m000(5, Refof(idf1), 0x34)
+ m000(6, Refof(idf2), 0x56)
+ m000(7, Refof(idf3), 0x78)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/MAIN.asl
index d7b1d86ce..cfa13df21 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B224.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0224/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0224/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B224.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0224/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0224/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/RUN.asl
index 91405dadc..af988c515 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0224/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 224", TCLD, 224, W017)) {
- SRMT("m10c")
- m10c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 224", TCLD, 224, W017)) {
+ SRMT("m10c")
+ m10c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/DECL.asl
index 4bf88b49a..1a6408fc1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/DECL.asl
@@ -1,58 +1,58 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 225:
- *
- * SUMMARY: Crash of the ASL compiler for large Offset or Length in Field Unit list
- *
- * Compiler should return error...
- */
-
- Method(m10c)
- {
- OperationRegion(OPR0, SystemMemory, 0, 0x2000001)
-
- Field(OPR0, ByteAcc, NoLock, Preserve) {
- Offset(0x2000000), f000, 1,
- }
-
- Field(OPR0, ByteAcc, NoLock, WriteAsZeros) {
- , 0xffffffc, f001, 6,
- }
-
- Field(OPR0, ByteAcc, NoLock, WriteAsOnes) {
- f002, 0xffffffc,
- }
-
- Store(0x10, f001)
-
- if (LNotEqual(f000, 1)) {
- Store("Err 0", Debug)
- }
- }
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 225:
+ *
+ * SUMMARY: Crash of the ASL compiler for large Offset or Length in Field Unit list
+ *
+ * Compiler should return error...
+ */
+
+ Method(m10c)
+ {
+ OperationRegion(OPR0, SystemMemory, 0, 0x2000001)
+
+ Field(OPR0, ByteAcc, NoLock, Preserve) {
+ Offset(0x2000000), f000, 1,
+ }
+
+ Field(OPR0, ByteAcc, NoLock, WriteAsZeros) {
+ , 0xffffffc, f001, 6,
+ }
+
+ Field(OPR0, ByteAcc, NoLock, WriteAsOnes) {
+ f002, 0xffffffc,
+ }
+
+ Store(0x10, f001)
+
+ if (LNotEqual(f000, 1)) {
+ Store("Err 0", Debug)
+ }
+ }
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/MAIN.asl
index ebafdc36e..8e6d7878c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0225_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B225.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0225_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B225.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0225_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/DECL.asl
index 794de15b0..0531e486f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/DECL.asl
@@ -1,80 +1,80 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 226:
- *
- * SUMMARY: Excessive data is written to the Data field if
- * it is wider than Access Width of the IndexField
- */
-
-Method(m10e,, Serialized)
-{
- OperationRegion(OPR0, SystemMemory, 0, 256)
-
- Field(OPR0, ByteAcc, NoLock, WriteAsZeros) {
- idx0, 8,
- dta0, 24,
- }
-
- Field(OPR0, ByteAcc, NoLock, Preserve) {
- tot0, 32,
- }
-
- IndexField(idx0, dta0, ByteAcc, NoLock, WriteAsZeros) {
- , 15,
- idf0, 1
- }
-
- Store(0x3ff, idf0)
-
- Store(tot0, Local0)
-
- if (LNotEqual(Local0, 0x8001)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0x8001)
- }
-}
-
-Method(m17a,, Serialized)
-{
- Name(b000, Buffer(64) {})
- Name(b001, Buffer() {0xF0, 0xDE, 0xBC, 0x9A, 0, 0, 0, 0})
-
- CreateQWordField(b000, 5, bf00)
- Store(0x123456789abcdef0, bf00)
-
- if (F64) {
- if (LNotEqual(bf00, 0x123456789abcdef0)) {
- err("", zFFF, 0x001, 0, 0, bf00, 0x123456789abcdef0)
- }
- } else {
- if (LNotEqual(bf00, b001)) {
- err("", zFFF, 0x002, 0, 0, bf00, b001)
- }
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 226:
+ *
+ * SUMMARY: Excessive data is written to the Data field if
+ * it is wider than Access Width of the IndexField
+ */
+
+Method(m10e,, Serialized)
+{
+ OperationRegion(OPR0, SystemMemory, 0, 256)
+
+ Field(OPR0, ByteAcc, NoLock, WriteAsZeros) {
+ idx0, 8,
+ dta0, 24,
+ }
+
+ Field(OPR0, ByteAcc, NoLock, Preserve) {
+ tot0, 32,
+ }
+
+ IndexField(idx0, dta0, ByteAcc, NoLock, WriteAsZeros) {
+ , 15,
+ idf0, 1
+ }
+
+ Store(0x3ff, idf0)
+
+ Store(tot0, Local0)
+
+ if (LNotEqual(Local0, 0x8001)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0x8001)
+ }
+}
+
+Method(m17a,, Serialized)
+{
+ Name(b000, Buffer(64) {})
+ Name(b001, Buffer() {0xF0, 0xDE, 0xBC, 0x9A, 0, 0, 0, 0})
+
+ CreateQWordField(b000, 5, bf00)
+ Store(0x123456789abcdef0, bf00)
+
+ if (F64) {
+ if (LNotEqual(bf00, 0x123456789abcdef0)) {
+ err("", zFFF, 0x001, 0, 0, bf00, 0x123456789abcdef0)
+ }
+ } else {
+ if (LNotEqual(bf00, b001)) {
+ err("", zFFF, 0x002, 0, 0, bf00, b001)
+ }
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/MAIN.asl
index 369158387..97464ea47 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B226.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0226/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0226/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B226.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0226/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0226/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/RUN.asl
index 6d51a724e..432e5ce78 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0226/RUN.asl
@@ -1,36 +1,36 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 226", TCLD, 226, W017)) {
- SRMT("m10e")
- m10e()
- SRMT("m17a")
- m17a()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 226", TCLD, 226, W017)) {
+ SRMT("m10e")
+ m10e()
+ SRMT("m17a")
+ m17a()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/DECL.asl
index 8cd2802eb..78f677483 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug -1:
- *
- * SUMMARY: The ASL Compiler fails on ASL file which ends up with the symbol of comment '/' without the following '\n'
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug -1:
+ *
+ * SUMMARY: The ASL Compiler fails on ASL file which ends up with the symbol of comment '/' without the following '\n'
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/MAIN.asl
index 4c9b805c3..b20651beb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0227_ASL/MAIN.asl
@@ -1,69 +1,69 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 00
- *
- * SUMMARY:
- *
- * COMPONENT: iASL
- *
- * Demo of ASL-incorrectness, - "// comment in the last line".
- *
- * If the last line of ASL-file ends with the comment (in our case
- * "} //") and there is no '\n' (new line) symbol after that comment
- * (check that before exercising the demo) then the iASL, mistakenly,
- * results in Error and reports the "Premature end-of-file reached"
- * (produced by AslCompiler.l->comment2() routine) message like below.
- *
- * If we remove the mentioned comment or insert the '\n' symbol
- * after it, or replace it by ** comment - all became Ok.
- * See details below:
- *
- * iasl.exe "gr4.asl"
- *
- * Intel ACPI Component Architecture
- * ASL Optimizing Compiler / AML Disassembler version 20040527 [May 27 2004]
- * Copyright (C) 2000 - 2004 Intel Corporation
- * Supports ACPI Specification Revision 2.0c
- *
- * gr4.asl 35: } //
- * Error 1080 - Premature end-of-file reached ^
- *
- * ASL Input: gr4.asl - 36 lines, 1494 bytes, 0 keywords
- * Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
- */
-DefinitionBlock (
- "grammar.aml", //Output filename
- "DSDT", //Signature
- 0x01, //DSDT Revision
- "Intel", //OEMID
- "Many", //TABLE ID
- 0x00000001 //OEM Revision
- ) {
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 00
+ *
+ * SUMMARY:
+ *
+ * COMPONENT: iASL
+ *
+ * Demo of ASL-incorrectness, - "// comment in the last line".
+ *
+ * If the last line of ASL-file ends with the comment (in our case
+ * "} //") and there is no '\n' (new line) symbol after that comment
+ * (check that before exercising the demo) then the iASL, mistakenly,
+ * results in Error and reports the "Premature end-of-file reached"
+ * (produced by AslCompiler.l->comment2() routine) message like below.
+ *
+ * If we remove the mentioned comment or insert the '\n' symbol
+ * after it, or replace it by ** comment - all became Ok.
+ * See details below:
+ *
+ * iasl.exe "gr4.asl"
+ *
+ * Intel ACPI Component Architecture
+ * ASL Optimizing Compiler / AML Disassembler version 20040527 [May 27 2004]
+ * Copyright (C) 2000 - 2004 Intel Corporation
+ * Supports ACPI Specification Revision 2.0c
+ *
+ * gr4.asl 35: } //
+ * Error 1080 - Premature end-of-file reached ^
+ *
+ * ASL Input: gr4.asl - 36 lines, 1494 bytes, 0 keywords
+ * Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
+ */
+DefinitionBlock (
+ "grammar.aml", //Output filename
+ "DSDT", //Signature
+ 0x01, //DSDT Revision
+ "Intel", //OEMID
+ "Many", //TABLE ID
+ 0x00000001 //OEM Revision
+ ) {
} // \ No newline at end of file
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/DECL.asl
index 634ef6611..65e836361 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/DECL.asl
@@ -1,65 +1,65 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 228:
- *
- * SUMMARY: Store to the RefOf reference immediately returned by Method doesn't work
- */
-
- Method(mf1c)
- {
- return (RefOf(id12))
- }
-
- Method(mf1d)
- {
- Store(RefOf(id12), Local0)
- return (Local0)
- }
-
- Method(mf1e)
- {
- // Case mf1c
-
- Store(5, mf1c())
-
- if (LNotEqual(id12, 5)) {
- err("", zFFF, 0x000, 0, 0, id12, 5)
- }
-
- // Case mf1d
-
- Store(6, mf1d())
-
- if (LNotEqual(id12, 6)) {
- err("", zFFF, 0x001, 0, 0, id12, 6)
- }
- }
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 228:
+ *
+ * SUMMARY: Store to the RefOf reference immediately returned by Method doesn't work
+ */
+
+ Method(mf1c)
+ {
+ return (RefOf(id12))
+ }
+
+ Method(mf1d)
+ {
+ Store(RefOf(id12), Local0)
+ return (Local0)
+ }
+
+ Method(mf1e)
+ {
+ // Case mf1c
+
+ Store(5, mf1c())
+
+ if (LNotEqual(id12, 5)) {
+ err("", zFFF, 0x000, 0, 0, id12, 5)
+ }
+
+ // Case mf1d
+
+ Store(6, mf1d())
+
+ if (LNotEqual(id12, 6)) {
+ err("", zFFF, 0x001, 0, 0, id12, 6)
+ }
+ }
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/MAIN.asl
index 91bbd7da4..55875fa6d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B228.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0228/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0228/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B228.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0228/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0228/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/RUN.asl
index dec93b0f2..4c4751b6e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0228/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 228", TCLD, 228, W017)) {
- SRMT("mf1e")
- mf1e()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 228", TCLD, 228, W017)) {
+ SRMT("mf1e")
+ mf1e()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/DECL.asl
index 9efa0ffd7..7254ed44c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/DECL.asl
@@ -1,46 +1,46 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 229:
- *
- * SUMMARY: Clarify what is the proper behaviour in case of the zero length buffer
- */
-
-Method(m10f, 1, Serialized)
-{
- Name(b000, Buffer(Arg0) {})
-
- CH03("", 0, 0x000, 0, 0)
- Add(b000, 0, Local0)
- CH03("", 0, 0x001, 0, 0)
-
- CH03("", 0, 0x002, 0, 0)
- ToInteger(b000, Local0)
- CH04("", 0, 54, 0, 0x003, 0, 0) // AE_AML_BUFFER_LIMIT
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 229:
+ *
+ * SUMMARY: Clarify what is the proper behaviour in case of the zero length buffer
+ */
+
+Method(m10f, 1, Serialized)
+{
+ Name(b000, Buffer(Arg0) {})
+
+ CH03("", 0, 0x000, 0, 0)
+ Add(b000, 0, Local0)
+ CH03("", 0, 0x001, 0, 0)
+
+ CH03("", 0, 0x002, 0, 0)
+ ToInteger(b000, Local0)
+ CH04("", 0, 54, 0, 0x003, 0, 0) // AE_AML_BUFFER_LIMIT
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/MAIN.asl
index 40370e299..870832df1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B229.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0229/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0229/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B229.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0229/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0229/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/RUN.asl
index cc7cc06cb..915b74e5a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0229/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 229", TCLD, 229, W017)) {
- SRMT("m10f")
- m10f(0)
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 229", TCLD, 229, W017)) {
+ SRMT("m10f")
+ m10f(0)
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/DECL.asl
index 87608f91c..3fb50af2c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/DECL.asl
@@ -1,118 +1,118 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 230:
- *
- * SUMMARY: ReturnType argument of Method declaration is not supported
- */
-
-Method(m127,, Serialized)
-{
- /* Data to be passed to Method */
-
- Name(i000, 0xfe7cb391d65a0000)
- Name(s000, "12340002")
- Name(b000, Buffer() {1,2,3,4})
- Name(b001, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- Name(p000, Package() {1,2,3,4})
-
- Event(e000)
- Mutex(mx00, 0)
- Device(d000) { Name(i000, 0xabcd0017) }
- ThermalZone(tz00) {}
- Processor(pr00, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r900, SystemMemory, 0x100, 0x100)
- OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
- PowerResource(pw90, 1, 0) {Method(mmmm){return (0)}}
-
- CreateField(b001, 0, 8, bf90)
- Field(r9Z0, ByteAcc, NoLock, Preserve) {f900,8,f901,8,f902,8,f903,8}
- BankField(r9Z0, f901, 0, ByteAcc, NoLock, Preserve) {bn90,4}
- IndexField(f902, f903, ByteAcc, NoLock, Preserve) {if90,8,if91,8}
-
- Method(mmm0) {Return ("mmm0")}
-
- /* Method */
-
- Method(m000, , , , IntObj) { Return(i000) }
- Method(m001, , , , IntObj) { Return(s000) }
- Method(m002, , , , IntObj) { Return(b000) }
- Method(m003, , , , IntObj) { Return(p000) }
- Method(m004, , , , IntObj) { Return(e000) }
- Method(m005, , , , IntObj) { Return(mx00) }
- Method(m006, , , , IntObj) { Return(d000) }
- Method(m007, , , , IntObj) { Return(tz00) }
- Method(m008, , , , IntObj) { Return(pr00) }
- Method(m009, , , , IntObj) { Return(r900) }
- Method(m00a, , , , IntObj) { Return(pw90) }
- Method(m00b, , , , IntObj) { Return(bf90) }
- Method(m00c, , , , IntObj) { Return(f900) }
- Method(m00d, , , , IntObj) { Return(bn90) }
- Method(m00e, , , , IntObj) { Return(if90) }
- Method(m00f, , , , IntObj) { Return(mmm0) }
- Method(m010, , , , IntObj) { Return(0xfe7cb391d65a0000) }
- Method(m011, , , , IntObj) { Return("12340002") }
- Method(m012, , , , IntObj) { Return(Buffer() {1,2,3,4}) }
- Method(m013, , , , IntObj) { Return(Package() {1,2,3,4}) }
-
- Method(m100)
- {
- Store("Start of test", Debug)
-
- m000()
- m001()
- m002()
- m003()
- m004()
- m005()
- m006()
- m007()
- m008()
- m009()
- m00a()
- m00b()
- m00c()
- m00d()
- m00e()
- m00f()
- m010()
- m011()
- m012()
- m013()
-
- Store("Finish of test", Debug)
- }
-
- CH03("", 0, 0x000, 0, 0)
- m100()
-
- /* Expect either ASL compiler error or any AML interpreter exception */
-
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 230:
+ *
+ * SUMMARY: ReturnType argument of Method declaration is not supported
+ */
+
+Method(m127,, Serialized)
+{
+ /* Data to be passed to Method */
+
+ Name(i000, 0xfe7cb391d65a0000)
+ Name(s000, "12340002")
+ Name(b000, Buffer() {1,2,3,4})
+ Name(b001, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ Name(p000, Package() {1,2,3,4})
+
+ Event(e000)
+ Mutex(mx00, 0)
+ Device(d000) { Name(i000, 0xabcd0017) }
+ ThermalZone(tz00) {}
+ Processor(pr00, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r900, SystemMemory, 0x100, 0x100)
+ OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
+ PowerResource(pw90, 1, 0) {Method(mmmm){return (0)}}
+
+ CreateField(b001, 0, 8, bf90)
+ Field(r9Z0, ByteAcc, NoLock, Preserve) {f900,8,f901,8,f902,8,f903,8}
+ BankField(r9Z0, f901, 0, ByteAcc, NoLock, Preserve) {bn90,4}
+ IndexField(f902, f903, ByteAcc, NoLock, Preserve) {if90,8,if91,8}
+
+ Method(mmm0) {Return ("mmm0")}
+
+ /* Method */
+
+ Method(m000, , , , IntObj) { Return(i000) }
+ Method(m001, , , , IntObj) { Return(s000) }
+ Method(m002, , , , IntObj) { Return(b000) }
+ Method(m003, , , , IntObj) { Return(p000) }
+ Method(m004, , , , IntObj) { Return(e000) }
+ Method(m005, , , , IntObj) { Return(mx00) }
+ Method(m006, , , , IntObj) { Return(d000) }
+ Method(m007, , , , IntObj) { Return(tz00) }
+ Method(m008, , , , IntObj) { Return(pr00) }
+ Method(m009, , , , IntObj) { Return(r900) }
+ Method(m00a, , , , IntObj) { Return(pw90) }
+ Method(m00b, , , , IntObj) { Return(bf90) }
+ Method(m00c, , , , IntObj) { Return(f900) }
+ Method(m00d, , , , IntObj) { Return(bn90) }
+ Method(m00e, , , , IntObj) { Return(if90) }
+ Method(m00f, , , , IntObj) { Return(mmm0) }
+ Method(m010, , , , IntObj) { Return(0xfe7cb391d65a0000) }
+ Method(m011, , , , IntObj) { Return("12340002") }
+ Method(m012, , , , IntObj) { Return(Buffer() {1,2,3,4}) }
+ Method(m013, , , , IntObj) { Return(Package() {1,2,3,4}) }
+
+ Method(m100)
+ {
+ Store("Start of test", Debug)
+
+ m000()
+ m001()
+ m002()
+ m003()
+ m004()
+ m005()
+ m006()
+ m007()
+ m008()
+ m009()
+ m00a()
+ m00b()
+ m00c()
+ m00d()
+ m00e()
+ m00f()
+ m010()
+ m011()
+ m012()
+ m013()
+
+ Store("Finish of test", Debug)
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+ m100()
+
+ /* Expect either ASL compiler error or any AML interpreter exception */
+
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/MAIN.asl
index 9d5669589..25e783ec1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B230.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0230/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0230/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B230.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0230/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0230/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/RUN.asl
index f6f413a2b..9929fb7d1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0230/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 230", TCLD, 230, W017)) {
- SRMT("m127")
- m127()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 230", TCLD, 230, W017)) {
+ SRMT("m127")
+ m127()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/DECL.asl
index 002866fd6..b2f6949ef 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/DECL.asl
@@ -1,101 +1,101 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 231:
- *
- * SUMMARY: ParameterTypes argument of Method declaration is not supported
- */
-
-Method(m128,, Serialized)
-{
- /* Data to be passed to Method */
-
- Name(i000, 0xfe7cb391d65a0000)
- Name(s000, "12340002")
- Name(b000, Buffer() {1,2,3,4})
- Name(b001, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
- Name(p000, Package() {1,2,3,4})
-
- Event(e000)
- Mutex(mx00, 0)
- Device(d000) { Name(i000, 0xabcd0017) }
- ThermalZone(tz00) {}
- Processor(pr00, 0, 0xFFFFFFFF, 0) {}
- OperationRegion(r900, SystemMemory, 0x100, 0x100)
- OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
- PowerResource(pw90, 1, 0) {Method(mmmm){return (0)}}
-
- CreateField(b001, 0, 8, bf90)
- Field(r9Z0, ByteAcc, NoLock, Preserve) {f900,8,f901,8,f902,8,f903,8}
- BankField(r9Z0, f901, 0, ByteAcc, NoLock, Preserve) {bn90,4}
- IndexField(f902, f903, ByteAcc, NoLock, Preserve) {if90,8,if91,8}
-
- Method(mmm0) {Return ("mmm0")}
-
- /* Method */
-
- Method(m000, 1, , , , IntObj) {
- Store(arg0, Debug)
- }
-
- Method(m100)
- {
- Store("Start of test", Debug)
-
- m000(i000)
- m000(s000)
- m000(b000)
- m000(p000)
- m000(e000)
- m000(mx00)
- m000(d000)
- m000(tz00)
- m000(pr00)
- m000(r900)
- m000(pw90)
- m000(bf90)
- m000(f900)
- m000(bn90)
- m000(if90)
- m000(mmm0)
- m000(0xfe7cb391d65a0000)
- m000("12340002")
- m000(Buffer() {1,2,3,4})
- m000(Package() {1,2,3,4})
-
- Store("Finish of test", Debug)
- }
-
- CH03("", 0, 0x000, 0, 0)
- m100()
-
- /* Expect either ASL compiler error or any AML interpreter exception */
-
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 231:
+ *
+ * SUMMARY: ParameterTypes argument of Method declaration is not supported
+ */
+
+Method(m128,, Serialized)
+{
+ /* Data to be passed to Method */
+
+ Name(i000, 0xfe7cb391d65a0000)
+ Name(s000, "12340002")
+ Name(b000, Buffer() {1,2,3,4})
+ Name(b001, Buffer() {0xb0,0xb1,0xb2,0xb3,0xb4})
+ Name(p000, Package() {1,2,3,4})
+
+ Event(e000)
+ Mutex(mx00, 0)
+ Device(d000) { Name(i000, 0xabcd0017) }
+ ThermalZone(tz00) {}
+ Processor(pr00, 0, 0xFFFFFFFF, 0) {}
+ OperationRegion(r900, SystemMemory, 0x100, 0x100)
+ OperationRegion(r9Z0, SystemMemory, 0x100, 0x100)
+ PowerResource(pw90, 1, 0) {Method(mmmm){return (0)}}
+
+ CreateField(b001, 0, 8, bf90)
+ Field(r9Z0, ByteAcc, NoLock, Preserve) {f900,8,f901,8,f902,8,f903,8}
+ BankField(r9Z0, f901, 0, ByteAcc, NoLock, Preserve) {bn90,4}
+ IndexField(f902, f903, ByteAcc, NoLock, Preserve) {if90,8,if91,8}
+
+ Method(mmm0) {Return ("mmm0")}
+
+ /* Method */
+
+ Method(m000, 1, , , , IntObj) {
+ Store(arg0, Debug)
+ }
+
+ Method(m100)
+ {
+ Store("Start of test", Debug)
+
+ m000(i000)
+ m000(s000)
+ m000(b000)
+ m000(p000)
+ m000(e000)
+ m000(mx00)
+ m000(d000)
+ m000(tz00)
+ m000(pr00)
+ m000(r900)
+ m000(pw90)
+ m000(bf90)
+ m000(f900)
+ m000(bn90)
+ m000(if90)
+ m000(mmm0)
+ m000(0xfe7cb391d65a0000)
+ m000("12340002")
+ m000(Buffer() {1,2,3,4})
+ m000(Package() {1,2,3,4})
+
+ Store("Finish of test", Debug)
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+ m100()
+
+ /* Expect either ASL compiler error or any AML interpreter exception */
+
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/MAIN.asl
index 58735139f..ace85c03a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B231.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0231/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0231/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B231.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0231/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0231/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/RUN.asl
index c7e4fc9a1..26ce98e66 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0231/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 231", TCLD, 231, W017)) {
- SRMT("m128")
- m128()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 231", TCLD, 231, W017)) {
+ SRMT("m128")
+ m128()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/DECL.asl
index 5d797fca7..8e98a60df 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/DECL.asl
@@ -1,80 +1,80 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 232:
- *
- * SUMMARY: no exception on the repeated declaration
- *
- * The test requires utilyzing of
- * the -f option on the ASL compilation
- * stage.
- *
- * ASL Compiler:
- *
- * -f - Ignore errors, force creation of AML output file(s)
- */
-
-/*
- * Name(n000, 0)
- * Error 1034 - ^ Name already exists in scope (N000)
- */
-
-Method(m15c,, Serialized)
-{
- Name (VV, 0x1234)
- Store (32, Local0)
-
- CH03("", 0, 0x000, 0, 0)
-
- Name (VV, 0xBBBBAAAA)
- Store (12, Local2)
-
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-}
-
-Method(m15f)
-{
- Method(m000) {}
- Store (32, Local0)
-
- CH03("", 0, 0x000, 0, 0)
-
- Method(m000) {}
- Store (12, Local2)
-
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-}
-
-Method(m160)
-{
- SRMT("m15c")
- m15c()
- SRMT("m15f")
- m15f()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 232:
+ *
+ * SUMMARY: no exception on the repeated declaration
+ *
+ * The test requires utilyzing of
+ * the -f option on the ASL compilation
+ * stage.
+ *
+ * ASL Compiler:
+ *
+ * -f - Ignore errors, force creation of AML output file(s)
+ */
+
+/*
+ * Name(n000, 0)
+ * Error 1034 - ^ Name already exists in scope (N000)
+ */
+
+Method(m15c,, Serialized)
+{
+ Name (VV, 0x1234)
+ Store (32, Local0)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Name (VV, 0xBBBBAAAA)
+ Store (12, Local2)
+
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+}
+
+Method(m15f)
+{
+ Method(m000) {}
+ Store (32, Local0)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Method(m000) {}
+ Store (12, Local2)
+
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+}
+
+Method(m160)
+{
+ SRMT("m15c")
+ m15c()
+ SRMT("m15f")
+ m15f()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/MAIN.asl
index 879b1455e..6845b083b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B232.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0232/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0232/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B232.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0232/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0232/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/RUN.asl
index 9d6a67651..c2e075cc7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0232_F_OPTION/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 232", TCLD, 232, W017)) {
- m160()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 232", TCLD, 232, W017)) {
+ m160()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/DECL.asl
index 8bd42edd9..bfd1de0f8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/DECL.asl
@@ -1,48 +1,48 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 233:
- *
- * SUMMARY: An invalid non-ASCII letter in declaration passed to ASL Compiler by Include operator causes hang of it
- */
-
-/*
- * The Method below contains an invalid non-ASCII letters
- * and it causes hang of ASL Compiler in case this definition
- * is passed to ASL Compiler by Include operator.
- */
-Method(m161)
-{
-// Device(d00ñ) { Name(i900, 0xabcd0017) }
-// ThermalZone(tz0ñ) {}
-// Name(i00ñ, 0)
-// Name(i00ì, 0)
-// ì
- Store(ì, Debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 233:
+ *
+ * SUMMARY: An invalid non-ASCII letter in declaration passed to ASL Compiler by Include operator causes hang of it
+ */
+
+/*
+ * The Method below contains an invalid non-ASCII letters
+ * and it causes hang of ASL Compiler in case this definition
+ * is passed to ASL Compiler by Include operator.
+ */
+Method(m161)
+{
+// Device(d00ñ) { Name(i900, 0xabcd0017) }
+// ThermalZone(tz0ñ) {}
+// Name(i00ñ, 0)
+// Name(i00ì, 0)
+// ì
+ Store(ì, Debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/MAIN.asl
index 24b732c1b..0c72e7568 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0233_ASL/MAIN.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B233.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0233_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B233.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0233_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0234_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0234_ASL_RUNTIME/DECL.asl
index a73c43335..49e86da8c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0234_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0234_ASL_RUNTIME/DECL.asl
@@ -1,35 +1,35 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 234:
- *
- * SUMMARY: The UNIX OSL synchronization interfaces should be developed to support testing
- *
- * Do the run_time demo when bug will be fixed.
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 234:
+ *
+ * SUMMARY: The UNIX OSL synchronization interfaces should be developed to support testing
+ *
+ * Do the run_time demo when bug will be fixed.
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0235_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0235_ASL_RUNTIME/DECL.asl
index 603d20900..611ba1d91 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0235_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0235_ASL_RUNTIME/DECL.asl
@@ -1,35 +1,35 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 235:
- *
- * SUMMARY: Acpiexec hangs on absent global lock on Linux, but does not hang on Windows
- *
- * Do the run_time demo when bug will be fixed.
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 235:
+ *
+ * SUMMARY: Acpiexec hangs on absent global lock on Linux, but does not hang on Windows
+ *
+ * Do the run_time demo when bug will be fixed.
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/DECL.asl
index 5d9d1391b..8e647dab9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/DECL.asl
@@ -1,70 +1,70 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 236:
- *
- * SUMMARY: The ASL Compiler hangs on incorrect ElseIf
- */
-
-Method(m03b)
-{
- Method(m000)
- {
- Name(i000, 0)
- Name(i001, 0)
-
- if (i000) {
- Store("Any operation 0", Debug)
- } elseif (i001) {
- Store("Any operation 1", Debug)
- } elseif {
- Store("Any operation 2", Debug)
- }
- }
-
- Method(m001)
- {
- Name(i000, 0)
- Name(i001, 0)
-
- if (i000) {
- Store("Any operation 0", Debug)
- } elseif (i001) {
- Store("Any operation 1", Debug)
- } elseuuuuuuuuuu {
- Store("Any operation 2", Debug)
- }
- }
-
- Method(mm00)
- {
- m000()
- m001()
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 236:
+ *
+ * SUMMARY: The ASL Compiler hangs on incorrect ElseIf
+ */
+
+Method(m03b)
+{
+ Method(m000)
+ {
+ Name(i000, 0)
+ Name(i001, 0)
+
+ if (i000) {
+ Store("Any operation 0", Debug)
+ } elseif (i001) {
+ Store("Any operation 1", Debug)
+ } elseif {
+ Store("Any operation 2", Debug)
+ }
+ }
+
+ Method(m001)
+ {
+ Name(i000, 0)
+ Name(i001, 0)
+
+ if (i000) {
+ Store("Any operation 0", Debug)
+ } elseif (i001) {
+ Store("Any operation 1", Debug)
+ } elseuuuuuuuuuu {
+ Store("Any operation 2", Debug)
+ }
+ }
+
+ Method(mm00)
+ {
+ m000()
+ m001()
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/MAIN.asl
index 88ac6e13a..aa14e7712 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0236_ASL/MAIN.asl
@@ -1,39 +1,39 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B236.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- Include("../../../../../runtime/collections/bdemo/ACPICA/0236_ASL/DECL.asl")
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B236.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0236_ASL/DECL.asl")
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/DECL.asl
index d40a61fbc..f2e758335 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/DECL.asl
@@ -1,78 +1,78 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 237:
- *
- * SUMMARY: The ASL Compiler fails to recognize specific Uninitialized LocalX (for Switch)
- */
-
-Method(m03a)
-{
- Method(m000, 1)
- {
- Switch (arg0) {
- Case (0) {
- Store(0, Local0)
- }
- }
- return (Local0)
- }
-
- Method(m001, 1)
- {
- Switch (arg0) {
- Case (0) {
- Store(0, Local1)
- }
- Default {
- Store(100, Local1)
- }
- }
- return (Local1)
- }
-
- /* Method without any initialization of Local2 */
- Method(m002, 1)
- {
- Switch (arg0) {
- Case (0) {
- Store("Hello", Debug)
- // Store(0, Local2)
- }
- }
- return (Local2)
- }
-
- Method(mm00)
- {
- m000(1)
- }
-
- mm00()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 237:
+ *
+ * SUMMARY: The ASL Compiler fails to recognize specific Uninitialized LocalX (for Switch)
+ */
+
+Method(m03a)
+{
+ Method(m000, 1)
+ {
+ Switch (arg0) {
+ Case (0) {
+ Store(0, Local0)
+ }
+ }
+ return (Local0)
+ }
+
+ Method(m001, 1)
+ {
+ Switch (arg0) {
+ Case (0) {
+ Store(0, Local1)
+ }
+ Default {
+ Store(100, Local1)
+ }
+ }
+ return (Local1)
+ }
+
+ /* Method without any initialization of Local2 */
+ Method(m002, 1)
+ {
+ Switch (arg0) {
+ Case (0) {
+ Store("Hello", Debug)
+ // Store(0, Local2)
+ }
+ }
+ return (Local2)
+ }
+
+ Method(mm00)
+ {
+ m000(1)
+ }
+
+ mm00()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/MAIN.asl
index 07440df1a..dcc3a6ed9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0237_ASL/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B237.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0237_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Error of ASL Compiler is expected
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B237.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0237_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Error of ASL Compiler is expected
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/DECL.asl
index a39cb7083..73b038329 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/DECL.asl
@@ -1,74 +1,74 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 238:
- *
- * SUMMARY: The jumping over levels in releasing mutexes is not prohibited
- */
-
-Method(m039,, Serialized)
-{
- Mutex(MX07, 7)
- Mutex(MX08, 8)
- Mutex(MX09, 9)
-
- Method(m000)
- {
- Acquire(MX07, 0xffff)
- Acquire(MX08, 0xffff)
- Acquire(MX09, 0xffff)
-
- CH03("", 0, 0x000, 0, 0)
- Release(MX08)
- /*
- * Release(MX08) above doesn't cause exception
- * but, seems, it should.
- */
- CH04("", 0, 64, 0, 0x001, 0, 0) // AE_AML_MUTEX_ORDER
-
- /* Also this */
- Release(MX07)
- CH04("", 0, 64, 0, 0x002, 0, 0) // AE_AML_MUTEX_ORDER
-
- /*
- * Now, the Release(MX09) below causes exception,
- * so we have no way to release MX09.
- *
- * Considered:
- * 1. Both Releases above should cause AE_AML_MUTEX_ORDER
- * 2. The failed Releases above should not change the current level
- * 3. So, the Release below should succeed
- */
- Release(MX09)
- Release(MX08)
- Release(MX07)
- CH03("", 0, 0x003, 0, 0)
- }
- m000()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 238:
+ *
+ * SUMMARY: The jumping over levels in releasing mutexes is not prohibited
+ */
+
+Method(m039,, Serialized)
+{
+ Mutex(MX07, 7)
+ Mutex(MX08, 8)
+ Mutex(MX09, 9)
+
+ Method(m000)
+ {
+ Acquire(MX07, 0xffff)
+ Acquire(MX08, 0xffff)
+ Acquire(MX09, 0xffff)
+
+ CH03("", 0, 0x000, 0, 0)
+ Release(MX08)
+ /*
+ * Release(MX08) above doesn't cause exception
+ * but, seems, it should.
+ */
+ CH04("", 0, 64, 0, 0x001, 0, 0) // AE_AML_MUTEX_ORDER
+
+ /* Also this */
+ Release(MX07)
+ CH04("", 0, 64, 0, 0x002, 0, 0) // AE_AML_MUTEX_ORDER
+
+ /*
+ * Now, the Release(MX09) below causes exception,
+ * so we have no way to release MX09.
+ *
+ * Considered:
+ * 1. Both Releases above should cause AE_AML_MUTEX_ORDER
+ * 2. The failed Releases above should not change the current level
+ * 3. So, the Release below should succeed
+ */
+ Release(MX09)
+ Release(MX08)
+ Release(MX07)
+ CH03("", 0, 0x003, 0, 0)
+ }
+ m000()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/MAIN.asl
index 8a64ce956..847c1e0bd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B238.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0238/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0238/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B238.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0238/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0238/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/RUN.asl
index dfbb9b458..ba43efef9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0238/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 238", TCLD, 238, W017)) {
- SRMT("m039")
- m039()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 238", TCLD, 238, W017)) {
+ SRMT("m039")
+ m039()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/DECL.asl
index 381eff673..b5ac1c0ba 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/DECL.asl
@@ -1,97 +1,97 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 239:
- *
- * SUMMARY: Crash in a slack-multi-threading mode when returning from the method experienced exception
- *
- * Note:
- *
- * Run this in a slack mode (use AcpiExec -s <this_demo>)
- * by the Threads debug operation on more than one thread
- * (use <Threads 2 1 main> command). In this case the example
- * causes crash of AcpiExec for any exception occured during
- * execution of methods (m000, m001).
- */
-
-Mutex(MX08, 8)
-Mutex(MX09, 9)
-
-Method(m034)
-{
-
- Method(mm00, 1)
- {
- Method(m000)
- {
- Acquire(MX09, 0xffff)
- /*
- * Operation below causes AE_AML_MUTEX_ORDER exception
- * (it is correct).
- */
- Acquire(MX08, 0xffff)
- }
-
- Method(m001, 1)
- {
- /*
- * Operation below causes AE_AML_DIVIDE_BY_ZERO exception
- */
- Divide(1, arg0)
- }
-
- /* Any of these calls causes crash of AcpiExec */
-
- if (0) {
- m000()
- }
- if (1) {
- m001(0)
- }
- }
-
- /* This example doesn't cause crash */
- Method(mm01, 1)
- {
- Divide(1, arg0)
- }
-
- Method(mm02)
- {
- if (1) {
- mm00(0)
- }
- if (0) {
- /* This example doesn't cause crash */
- mm01(0)
- }
- }
-
- mm02()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 239:
+ *
+ * SUMMARY: Crash in a slack-multi-threading mode when returning from the method experienced exception
+ *
+ * Note:
+ *
+ * Run this in a slack mode (use AcpiExec -s <this_demo>)
+ * by the Threads debug operation on more than one thread
+ * (use <Threads 2 1 main> command). In this case the example
+ * causes crash of AcpiExec for any exception occured during
+ * execution of methods (m000, m001).
+ */
+
+Mutex(MX08, 8)
+Mutex(MX09, 9)
+
+Method(m034)
+{
+
+ Method(mm00, 1)
+ {
+ Method(m000)
+ {
+ Acquire(MX09, 0xffff)
+ /*
+ * Operation below causes AE_AML_MUTEX_ORDER exception
+ * (it is correct).
+ */
+ Acquire(MX08, 0xffff)
+ }
+
+ Method(m001, 1)
+ {
+ /*
+ * Operation below causes AE_AML_DIVIDE_BY_ZERO exception
+ */
+ Divide(1, arg0)
+ }
+
+ /* Any of these calls causes crash of AcpiExec */
+
+ if (0) {
+ m000()
+ }
+ if (1) {
+ m001(0)
+ }
+ }
+
+ /* This example doesn't cause crash */
+ Method(mm01, 1)
+ {
+ Divide(1, arg0)
+ }
+
+ Method(mm02)
+ {
+ if (1) {
+ mm00(0)
+ }
+ if (0) {
+ /* This example doesn't cause crash */
+ mm01(0)
+ }
+ }
+
+ mm02()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/MAIN.asl
index 126cf6efa..02322cd2a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/MAIN.asl
@@ -1,82 +1,82 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B239.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/common.asl")
- Include("../../../../../runtime/cntl/mt_runpoint.asl")
- Include("../../../../../runtime/cntl/runmode.asl")
- Include("../../../../../runtime/cntl/ehandle.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/DECL.asl")
-
- /*
- * Arguments passed to MAIN method are these
- * (MAIN there - the name of method passed to
- * Threads command of AcpiExec):
- *
- * arg0 - number of threads.
- * arg1 - ID of current thread.
- * arg2 - Index of current thread inside all participating threads.
- * The thread of Index 0 is considered as Control Thread.
- */
- Method(MAIN, 3)
- {
-
- /* Non-zero Local0 means the current thread is a Control Thread */
-
- Store(1, Local0)
- if (arg2) {
- /* Slave threads */
- Store(0, Local0)
- } else {
- /* Control thread */
-
- // Initialization
- STRT(0)
- }
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/RUN.asl")
-
- Store(0, Local7)
- if (Local0) {
- // Final actions
- Store(FNSH(), Local7)
- }
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B239.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/common.asl")
+ Include("../../../../../runtime/cntl/mt_runpoint.asl")
+ Include("../../../../../runtime/cntl/runmode.asl")
+ Include("../../../../../runtime/cntl/ehandle.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/DECL.asl")
+
+ /*
+ * Arguments passed to MAIN method are these
+ * (MAIN there - the name of method passed to
+ * Threads command of AcpiExec):
+ *
+ * arg0 - number of threads.
+ * arg1 - ID of current thread.
+ * arg2 - Index of current thread inside all participating threads.
+ * The thread of Index 0 is considered as Control Thread.
+ */
+ Method(MAIN, 3)
+ {
+
+ /* Non-zero Local0 means the current thread is a Control Thread */
+
+ Store(1, Local0)
+ if (arg2) {
+ /* Slave threads */
+ Store(0, Local0)
+ } else {
+ /* Control thread */
+
+ // Initialization
+ STRT(0)
+ }
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/RUN.asl")
+
+ Store(0, Local7)
+ if (Local0) {
+ // Final actions
+ Store(FNSH(), Local7)
+ }
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/RUN.asl
index a6e9ee03f..720072ebf 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/RUN.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Run printing only on the Control Thread (non-zero Local0).
- */
-
-if (Local0) {
- STTT("Demo of bug 239", TCLD, 239, W017)
-}
-
-if (Local0) {
- SRMT("m034")
-}
-m034()
-
-if (Local0) {
- FTTT()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Run printing only on the Control Thread (non-zero Local0).
+ */
+
+if (Local0) {
+ STTT("Demo of bug 239", TCLD, 239, W017)
+}
+
+if (Local0) {
+ SRMT("m034")
+}
+m034()
+
+if (Local0) {
+ FTTT()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/DECL.asl
index 525164823..bbd5d8fc9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/DECL.asl
@@ -1,152 +1,152 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 240:
- *
- * SUMMARY: No exception when not owner thread runs Release of Global lock
- *
- * Note:
- *
- * Run this demo by the Threads debug operation
- * on two threads (use <Threads 2 1 MAIN> command).
- */
-
-Mutex(MX00, 0)
-
-Name(i000, 0) // thread 0: succeeded to Acquire Mutex
-Name(i001, 0) // thread 1: after attempt to Release Mutex
-
-Name(cnt0, 0)
-Name(cnt1, 0)
-
-/*
- * Demo 1:
- * The expected exception AE_AML_NOT_OWNER doesn't occur when
- * some thread (thread 1) attempt to Release the Global lock
- * which is successfully Acquired by another thread (thread 0).
- *
- * Thread 0 Acquires the Global lock (\_GL),
- * then thread 1 attempts to Release that Global lock.
- * The mentioned exception should arisen there, but in fact - no exception -
- * the Global lock is successfully Released by another thread (by thread 1).
- * It is a bug.
- *
- * arg0 - Index of current thread
- */
-Method(m032, 1)
-{
- While (1) {
- if (LEqual(arg0, 0)) {
- Store("Thread 0: start of cycle", Debug)
- if (LNot(cnt0)) {
- Store(Acquire(\_GL, 0xffff), Local0)
- if (Local0) {
- Store("Thread 0: failed to Acquire GL", Debug)
- err("", zFFF, 0x000, 0, 0, 0, 0)
- } else {
- Store("Thread 0: succeeded to Acquire GL", Debug)
- Store(1, i000)
- }
- }
- Increment(cnt0)
- if (LEqual(cnt0, 20)) {
- break
- }
- } elseif (LEqual(arg0, 1)) {
- Store("Thread 1: start of cycle", Debug)
- if (i000) {
- if (LNot(i001)) {
- Store("Thread 1: before attempt to Release GL", Debug)
- Release(\_GL)
- CH04("", 0, 63, 0, 0x001, 0, 0) // AE_AML_NOT_OWNER
- Store("Thread 1: after attempt to Release GL", Debug)
- Store(1, i001)
- }
- }
- Increment(cnt1)
- if (LEqual(cnt1, 20)) {
- break
- }
- } else {
- break
- }
- Sleep(100)
- }
-}
-
-/*
- * Demo 2:
- * The expected exception AE_AML_NOT_OWNER occurs when some
- * thread (thread 1) attempt to Release the usual mutex which
- * is successfully Acquired by another thread (thread 0).
- *
- * Identical to m000 but the usual mutex MX00 is substituted instead of Global lock.
- *
- * arg0 - Index of current thread
- */
-Method(m033, 1)
-{
- While (1) {
- if (LEqual(arg0, 0)) {
- Store("Thread 0: start of cycle", Debug)
- if (LNot(cnt0)) {
- Store(Acquire(MX00, 0xffff), Local0)
- if (Local0) {
- Store("Thread 0: failed to Acquire MX00", Debug)
- err("", zFFF, 0x002, 0, 0, 0, 0)
- } else {
- Store("Thread 0: succeeded to Acquire MX00", Debug)
- Store(1, i000)
- }
- }
- Increment(cnt0)
- if (LEqual(cnt0, 20)) {
- break
- }
- } elseif (LEqual(arg0, 1)) {
- Store("Thread 1: start of cycle", Debug)
- if (i000) {
- if (LNot(i001)) {
- Store("Thread 1: before attempt to Release MX00", Debug)
- Release(MX00)
- CH04("", 0, 63, 0, 0x003, 0, 0) // AE_AML_NOT_OWNER
- Store("Thread 1: after attempt to Release MX00", Debug)
- Store(1, i001)
- }
- }
- Increment(cnt1)
- if (LEqual(cnt1, 20)) {
- break
- }
- } else {
- break
- }
- Sleep(100)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 240:
+ *
+ * SUMMARY: No exception when not owner thread runs Release of Global lock
+ *
+ * Note:
+ *
+ * Run this demo by the Threads debug operation
+ * on two threads (use <Threads 2 1 MAIN> command).
+ */
+
+Mutex(MX00, 0)
+
+Name(i000, 0) // thread 0: succeeded to Acquire Mutex
+Name(i001, 0) // thread 1: after attempt to Release Mutex
+
+Name(cnt0, 0)
+Name(cnt1, 0)
+
+/*
+ * Demo 1:
+ * The expected exception AE_AML_NOT_OWNER doesn't occur when
+ * some thread (thread 1) attempt to Release the Global lock
+ * which is successfully Acquired by another thread (thread 0).
+ *
+ * Thread 0 Acquires the Global lock (\_GL),
+ * then thread 1 attempts to Release that Global lock.
+ * The mentioned exception should arisen there, but in fact - no exception -
+ * the Global lock is successfully Released by another thread (by thread 1).
+ * It is a bug.
+ *
+ * arg0 - Index of current thread
+ */
+Method(m032, 1)
+{
+ While (1) {
+ if (LEqual(arg0, 0)) {
+ Store("Thread 0: start of cycle", Debug)
+ if (LNot(cnt0)) {
+ Store(Acquire(\_GL, 0xffff), Local0)
+ if (Local0) {
+ Store("Thread 0: failed to Acquire GL", Debug)
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+ } else {
+ Store("Thread 0: succeeded to Acquire GL", Debug)
+ Store(1, i000)
+ }
+ }
+ Increment(cnt0)
+ if (LEqual(cnt0, 20)) {
+ break
+ }
+ } elseif (LEqual(arg0, 1)) {
+ Store("Thread 1: start of cycle", Debug)
+ if (i000) {
+ if (LNot(i001)) {
+ Store("Thread 1: before attempt to Release GL", Debug)
+ Release(\_GL)
+ CH04("", 0, 63, 0, 0x001, 0, 0) // AE_AML_NOT_OWNER
+ Store("Thread 1: after attempt to Release GL", Debug)
+ Store(1, i001)
+ }
+ }
+ Increment(cnt1)
+ if (LEqual(cnt1, 20)) {
+ break
+ }
+ } else {
+ break
+ }
+ Sleep(100)
+ }
+}
+
+/*
+ * Demo 2:
+ * The expected exception AE_AML_NOT_OWNER occurs when some
+ * thread (thread 1) attempt to Release the usual mutex which
+ * is successfully Acquired by another thread (thread 0).
+ *
+ * Identical to m000 but the usual mutex MX00 is substituted instead of Global lock.
+ *
+ * arg0 - Index of current thread
+ */
+Method(m033, 1)
+{
+ While (1) {
+ if (LEqual(arg0, 0)) {
+ Store("Thread 0: start of cycle", Debug)
+ if (LNot(cnt0)) {
+ Store(Acquire(MX00, 0xffff), Local0)
+ if (Local0) {
+ Store("Thread 0: failed to Acquire MX00", Debug)
+ err("", zFFF, 0x002, 0, 0, 0, 0)
+ } else {
+ Store("Thread 0: succeeded to Acquire MX00", Debug)
+ Store(1, i000)
+ }
+ }
+ Increment(cnt0)
+ if (LEqual(cnt0, 20)) {
+ break
+ }
+ } elseif (LEqual(arg0, 1)) {
+ Store("Thread 1: start of cycle", Debug)
+ if (i000) {
+ if (LNot(i001)) {
+ Store("Thread 1: before attempt to Release MX00", Debug)
+ Release(MX00)
+ CH04("", 0, 63, 0, 0x003, 0, 0) // AE_AML_NOT_OWNER
+ Store("Thread 1: after attempt to Release MX00", Debug)
+ Store(1, i001)
+ }
+ }
+ Increment(cnt1)
+ if (LEqual(cnt1, 20)) {
+ break
+ }
+ } else {
+ break
+ }
+ Sleep(100)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/MAIN.asl
index 368305289..82b1c2263 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/MAIN.asl
@@ -1,82 +1,82 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B240.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/common.asl")
- Include("../../../../../runtime/cntl/mt_runpoint.asl")
- Include("../../../../../runtime/cntl/runmode.asl")
- Include("../../../../../runtime/cntl/ehandle.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/DECL.asl")
-
- /*
- * Arguments passed to MAIN method are these
- * (MAIN there - the name of method passed to
- * Threads command of AcpiExec):
- *
- * arg0 - number of threads.
- * arg1 - ID of current thread.
- * arg2 - Index of current thread inside all participating threads.
- * The thread of Index 0 is considered as Control Thread.
- */
- Method(MAIN, 3)
- {
-
- /* Non-zero Local0 means the current thread is a Control Thread */
-
- Store(1, Local0)
- if (arg2) {
- /* Slave threads */
- Store(0, Local0)
- } else {
- /* Control thread */
-
- // Initialization
- STRT(0)
- }
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/RUN.asl")
-
- Store(0, Local7)
- if (Local0) {
- // Final actions
- Store(FNSH(), Local7)
- }
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B240.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/common.asl")
+ Include("../../../../../runtime/cntl/mt_runpoint.asl")
+ Include("../../../../../runtime/cntl/runmode.asl")
+ Include("../../../../../runtime/cntl/ehandle.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/DECL.asl")
+
+ /*
+ * Arguments passed to MAIN method are these
+ * (MAIN there - the name of method passed to
+ * Threads command of AcpiExec):
+ *
+ * arg0 - number of threads.
+ * arg1 - ID of current thread.
+ * arg2 - Index of current thread inside all participating threads.
+ * The thread of Index 0 is considered as Control Thread.
+ */
+ Method(MAIN, 3)
+ {
+
+ /* Non-zero Local0 means the current thread is a Control Thread */
+
+ Store(1, Local0)
+ if (arg2) {
+ /* Slave threads */
+ Store(0, Local0)
+ } else {
+ /* Control thread */
+
+ // Initialization
+ STRT(0)
+ }
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/RUN.asl")
+
+ Store(0, Local7)
+ if (Local0) {
+ // Final actions
+ Store(FNSH(), Local7)
+ }
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/RUN.asl
index 89a1925e2..ac4d9691d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/RUN.asl
@@ -1,53 +1,53 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Run printing only on the Control Thread (non-zero Local0).
- */
-
-if (Local0) {
- STTT("Demo of bug 240", TCLD, 240, W017)
-}
-
-// Run one of these sub-tests at a time:
-if (1) {
- if (Local0) {
- SRMT("m032")
- }
- m032(arg2)
-} else {
- if (Local0) {
- SRMT("m033")
- }
- m033(arg2)
-}
-
-if (Local0) {
- FTTT()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Run printing only on the Control Thread (non-zero Local0).
+ */
+
+if (Local0) {
+ STTT("Demo of bug 240", TCLD, 240, W017)
+}
+
+// Run one of these sub-tests at a time:
+if (1) {
+ if (Local0) {
+ SRMT("m032")
+ }
+ m032(arg2)
+} else {
+ if (Local0) {
+ SRMT("m033")
+ }
+ m033(arg2)
+}
+
+if (Local0) {
+ FTTT()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/DECL.asl
index 30b33369f..95fe70d07 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/DECL.asl
@@ -1,69 +1,69 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 241:
- *
- * SUMMARY: Crash of AML interpreter after an exception in
- * AcpiExReadDataFromField called from AcpiExResolveObjectToValue
- *
- * Note. The crash occurred when acpiexec is compiled in DEBUG mode.
- * July 2013: Problem is fixed with change for DeRefOf operator with FieldUnits.
- */
-
-Method(m129)
-{
- Method(m000, 1, Serialized)
- {
- OperationRegion(RGN1, SystemMemory, 0x200, arg0)
-
- Field(RGN1, ByteAcc, NoLock, Preserve) {
- FU01, 0x801}
-
- Store(Refof(FU01), Local2)
-
- if (CH03("", 0, 0x000, 0, 0)) {
- return
- }
-
- // Read, Access out of OpRegion
- Store(DeRefof(Local2), Local0)
-
- /* Store above should cause 2 errors:
- * 1) AE_AML_REGION_LIMIT
- * 2) AE_AML_NO_RETURN_VALUE
- */
- if (LEqual (EXC0, 2))
- {
- Store (1, EXC0)
- }
- CH04("", 0, 62, 0, 0x001, 0, 0) // AE_AML_NO_RETURN_VALUE
- }
-
- m000(0x100)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 241:
+ *
+ * SUMMARY: Crash of AML interpreter after an exception in
+ * AcpiExReadDataFromField called from AcpiExResolveObjectToValue
+ *
+ * Note. The crash occurred when acpiexec is compiled in DEBUG mode.
+ * July 2013: Problem is fixed with change for DeRefOf operator with FieldUnits.
+ */
+
+Method(m129)
+{
+ Method(m000, 1, Serialized)
+ {
+ OperationRegion(RGN1, SystemMemory, 0x200, arg0)
+
+ Field(RGN1, ByteAcc, NoLock, Preserve) {
+ FU01, 0x801}
+
+ Store(Refof(FU01), Local2)
+
+ if (CH03("", 0, 0x000, 0, 0)) {
+ return
+ }
+
+ // Read, Access out of OpRegion
+ Store(DeRefof(Local2), Local0)
+
+ /* Store above should cause 2 errors:
+ * 1) AE_AML_REGION_LIMIT
+ * 2) AE_AML_NO_RETURN_VALUE
+ */
+ if (LEqual (EXC0, 2))
+ {
+ Store (1, EXC0)
+ }
+ CH04("", 0, 62, 0, 0x001, 0, 0) // AE_AML_NO_RETURN_VALUE
+ }
+
+ m000(0x100)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/MAIN.asl
index 08eac9bbb..74261586a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B241.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0241/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0241/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B241.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0241/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0241/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/RUN.asl
index 8c5db0276..1b72ee213 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0241/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 241", TCLD, 241, W017)) {
- SRMT("m129")
- m129()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 241", TCLD, 241, W017)) {
+ SRMT("m129")
+ m129()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/DECL.asl
index 3ecb9dc97..e0bab91c4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/DECL.asl
@@ -1,261 +1,261 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 242:
- *
- * SUMMARY: Releasing the mutex the first Acquired on the non-zero level makes Releasing the residuary mutexes of that level impossible
- */
-
-Method(m031,, Serialized)
-{
- Mutex(T000, 0)
- Mutex(T001, 0)
- Mutex(T002, 0)
- Mutex(T003, 0)
-
- Mutex(T100, 1)
- Mutex(T101, 1)
- Mutex(T102, 1)
- Mutex(T103, 1)
-
-
- /*
- * Direct order for mutexes of level 0
- *
- * STATUS: works correctly - no exceptions
- */
- Method(m000)
- {
- Store("******** Test 0, for mutexes of level 0", Debug)
-
- Store("Acquiring mutexes of level 0:", Debug)
-
- Store(Acquire(T000, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T000 (Level 0, index 0)", Debug)
- err("", zFFF, 0x000, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T000 (Level 0, index 0)", Debug)
- }
-
- Store(Acquire(T001, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T001 (Level 0, index 1)", Debug)
- err("", zFFF, 0x001, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T001 (Level 0, index 1)", Debug)
- }
-
- Store(Acquire(T002, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T002 (Level 0, index 2)", Debug)
- err("", zFFF, 0x002, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T002 (Level 0, index 2)", Debug)
- }
-
- Store(Acquire(T003, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T003 (Level 0, index 3)", Debug)
- err("", zFFF, 0x003, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T003 (Level 0, index 3)", Debug)
- }
-
-
- Store("Releasing mutexes of level 0:", Debug)
-
- Store("Release T000 (Level 0, index 0)", Debug)
- CH03("", 0, 0x004, 0, 0)
- Release(T000)
- CH03("", 0, 0x005, 0, 0)
-
- Store("Release T001 (Level 0, index 1)", Debug)
- CH03("", 0, 0x006, 0, 0)
- Release(T001)
- CH03("", 0, 0x007, 0, 0)
-
- Store("Release T002 (Level 0, index 2)", Debug)
- CH03("", 0, 0x008, 0, 0)
- Release(T002)
- CH03("", 0, 0x009, 0, 0)
-
- Store("Release T003 (Level 0, index 3)", Debug)
- CH03("", 0, 0x00a, 0, 0)
- Release(T003)
- CH03("", 0, 0x00b, 0, 0)
- }
-
- /*
- * Direct order for mutexes of level 1
- *
- * STATUS: works incorrectly - has exceptions
- */
- Method(m001)
- {
- Store("******** Test 1, for mutexes of level 1", Debug)
-
- Store("Acquiring mutexes of level 1:", Debug)
-
- Store(Acquire(T100, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T100 (Level 1, index 0)", Debug)
- err("", zFFF, 0x00c, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T100 (Level 1, index 0)", Debug)
- }
-
- Store(Acquire(T101, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T101 (Level 1, index 1)", Debug)
- err("", zFFF, 0x00d, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T101 (Level 1, index 1)", Debug)
- }
-
- Store(Acquire(T102, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T102 (Level 1, index 2)", Debug)
- err("", zFFF, 0x00e, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T102 (Level 1, index 2)", Debug)
- }
-
- Store(Acquire(T103, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T103 (Level 1, index 3)", Debug)
- err("", zFFF, 0x00f, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T103 (Level 1, index 3)", Debug)
- }
-
-
- Store("Releasing mutexes of Level 1:", Debug)
-
- Store("Release T100 (Level 1, index 0)", Debug)
- CH03("", 0, 0x010, 0, 0)
- Release(T100)
- CH03("", 0, 0x011, 0, 0)
-
- Store("Release T101 (Level 1, index 1)", Debug)
- CH03("", 0, 0x012, 0, 0)
- Release(T101)
- CH03("", 0, 0x013, 0, 0)
-
- Store("Release T102 (Level 1, index 2)", Debug)
- CH03("", 0, 0x014, 0, 0)
- Release(T102)
- CH03("", 0, 0x015, 0, 0)
-
- Store("Release T103 (Level 1, index 3)", Debug)
- CH03("", 0, 0x016, 0, 0)
- Release(T103)
- CH03("", 0, 0x017, 0, 0)
- }
-
- /*
- * The test shows that no exception when the first
- * Acquired mutex is Released in the last turn.
- *
- * STATUS: works correctly - no exception
- */
- Method(m002)
- {
- Store("******** Test 2, for mutexes of level 1", Debug)
-
- Store("Acquiring mutexes of level 1:", Debug)
-
- Store(Acquire(T100, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T100 (Level 1, index 0)", Debug)
- err("", zFFF, 0x018, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T100 (Level 1, index 0)", Debug)
- }
-
- Store(Acquire(T101, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T101 (Level 1, index 1)", Debug)
- err("", zFFF, 0x019, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T101 (Level 1, index 1)", Debug)
- }
-
- Store(Acquire(T102, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T102 (Level 1, index 2)", Debug)
- err("", zFFF, 0x01a, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T102 (Level 1, index 2)", Debug)
- }
-
- Store(Acquire(T103, 0xffff), Local0)
- if (Local0) {
- Store("ERROR: Acquire T103 (Level 1, index 3)", Debug)
- err("", zFFF, 0x01b, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire T103 (Level 1, index 3)", Debug)
- }
-
-
- Store("Releasing mutexes of Level 1:", Debug)
-
- Store("Release T101 (Level 1, index 1)", Debug)
- CH03("", 0, 0x01c, 0, 0)
- Release(T101)
- CH03("", 0, 0x01d, 0, 0)
-
- Store("Release T102 (Level 1, index 2)", Debug)
- CH03("", 0, 0x01e, 0, 0)
- Release(T102)
- CH03("", 0, 0x01f, 0, 0)
-
- Store("Release T103 (Level 1, index 3)", Debug)
- CH03("", 0, 0x020, 0, 0)
- Release(T103)
- CH03("", 0, 0x021, 0, 0)
-
- Store("Release T100 (Level 1, index 0)", Debug)
- CH03("", 0, 0x022, 0, 0)
- Release(T100)
- CH03("", 0, 0x023, 0, 0)
- }
-
- Method(mm00)
- {
- m000()
- m001()
- m002()
- }
-
- CH03("", 0, 0x024, 0, 0)
- mm00()
- CH03("", 0, 0x025, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 242:
+ *
+ * SUMMARY: Releasing the mutex the first Acquired on the non-zero level makes Releasing the residuary mutexes of that level impossible
+ */
+
+Method(m031,, Serialized)
+{
+ Mutex(T000, 0)
+ Mutex(T001, 0)
+ Mutex(T002, 0)
+ Mutex(T003, 0)
+
+ Mutex(T100, 1)
+ Mutex(T101, 1)
+ Mutex(T102, 1)
+ Mutex(T103, 1)
+
+
+ /*
+ * Direct order for mutexes of level 0
+ *
+ * STATUS: works correctly - no exceptions
+ */
+ Method(m000)
+ {
+ Store("******** Test 0, for mutexes of level 0", Debug)
+
+ Store("Acquiring mutexes of level 0:", Debug)
+
+ Store(Acquire(T000, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T000 (Level 0, index 0)", Debug)
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T000 (Level 0, index 0)", Debug)
+ }
+
+ Store(Acquire(T001, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T001 (Level 0, index 1)", Debug)
+ err("", zFFF, 0x001, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T001 (Level 0, index 1)", Debug)
+ }
+
+ Store(Acquire(T002, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T002 (Level 0, index 2)", Debug)
+ err("", zFFF, 0x002, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T002 (Level 0, index 2)", Debug)
+ }
+
+ Store(Acquire(T003, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T003 (Level 0, index 3)", Debug)
+ err("", zFFF, 0x003, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T003 (Level 0, index 3)", Debug)
+ }
+
+
+ Store("Releasing mutexes of level 0:", Debug)
+
+ Store("Release T000 (Level 0, index 0)", Debug)
+ CH03("", 0, 0x004, 0, 0)
+ Release(T000)
+ CH03("", 0, 0x005, 0, 0)
+
+ Store("Release T001 (Level 0, index 1)", Debug)
+ CH03("", 0, 0x006, 0, 0)
+ Release(T001)
+ CH03("", 0, 0x007, 0, 0)
+
+ Store("Release T002 (Level 0, index 2)", Debug)
+ CH03("", 0, 0x008, 0, 0)
+ Release(T002)
+ CH03("", 0, 0x009, 0, 0)
+
+ Store("Release T003 (Level 0, index 3)", Debug)
+ CH03("", 0, 0x00a, 0, 0)
+ Release(T003)
+ CH03("", 0, 0x00b, 0, 0)
+ }
+
+ /*
+ * Direct order for mutexes of level 1
+ *
+ * STATUS: works incorrectly - has exceptions
+ */
+ Method(m001)
+ {
+ Store("******** Test 1, for mutexes of level 1", Debug)
+
+ Store("Acquiring mutexes of level 1:", Debug)
+
+ Store(Acquire(T100, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T100 (Level 1, index 0)", Debug)
+ err("", zFFF, 0x00c, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T100 (Level 1, index 0)", Debug)
+ }
+
+ Store(Acquire(T101, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T101 (Level 1, index 1)", Debug)
+ err("", zFFF, 0x00d, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T101 (Level 1, index 1)", Debug)
+ }
+
+ Store(Acquire(T102, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T102 (Level 1, index 2)", Debug)
+ err("", zFFF, 0x00e, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T102 (Level 1, index 2)", Debug)
+ }
+
+ Store(Acquire(T103, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T103 (Level 1, index 3)", Debug)
+ err("", zFFF, 0x00f, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T103 (Level 1, index 3)", Debug)
+ }
+
+
+ Store("Releasing mutexes of Level 1:", Debug)
+
+ Store("Release T100 (Level 1, index 0)", Debug)
+ CH03("", 0, 0x010, 0, 0)
+ Release(T100)
+ CH03("", 0, 0x011, 0, 0)
+
+ Store("Release T101 (Level 1, index 1)", Debug)
+ CH03("", 0, 0x012, 0, 0)
+ Release(T101)
+ CH03("", 0, 0x013, 0, 0)
+
+ Store("Release T102 (Level 1, index 2)", Debug)
+ CH03("", 0, 0x014, 0, 0)
+ Release(T102)
+ CH03("", 0, 0x015, 0, 0)
+
+ Store("Release T103 (Level 1, index 3)", Debug)
+ CH03("", 0, 0x016, 0, 0)
+ Release(T103)
+ CH03("", 0, 0x017, 0, 0)
+ }
+
+ /*
+ * The test shows that no exception when the first
+ * Acquired mutex is Released in the last turn.
+ *
+ * STATUS: works correctly - no exception
+ */
+ Method(m002)
+ {
+ Store("******** Test 2, for mutexes of level 1", Debug)
+
+ Store("Acquiring mutexes of level 1:", Debug)
+
+ Store(Acquire(T100, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T100 (Level 1, index 0)", Debug)
+ err("", zFFF, 0x018, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T100 (Level 1, index 0)", Debug)
+ }
+
+ Store(Acquire(T101, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T101 (Level 1, index 1)", Debug)
+ err("", zFFF, 0x019, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T101 (Level 1, index 1)", Debug)
+ }
+
+ Store(Acquire(T102, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T102 (Level 1, index 2)", Debug)
+ err("", zFFF, 0x01a, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T102 (Level 1, index 2)", Debug)
+ }
+
+ Store(Acquire(T103, 0xffff), Local0)
+ if (Local0) {
+ Store("ERROR: Acquire T103 (Level 1, index 3)", Debug)
+ err("", zFFF, 0x01b, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire T103 (Level 1, index 3)", Debug)
+ }
+
+
+ Store("Releasing mutexes of Level 1:", Debug)
+
+ Store("Release T101 (Level 1, index 1)", Debug)
+ CH03("", 0, 0x01c, 0, 0)
+ Release(T101)
+ CH03("", 0, 0x01d, 0, 0)
+
+ Store("Release T102 (Level 1, index 2)", Debug)
+ CH03("", 0, 0x01e, 0, 0)
+ Release(T102)
+ CH03("", 0, 0x01f, 0, 0)
+
+ Store("Release T103 (Level 1, index 3)", Debug)
+ CH03("", 0, 0x020, 0, 0)
+ Release(T103)
+ CH03("", 0, 0x021, 0, 0)
+
+ Store("Release T100 (Level 1, index 0)", Debug)
+ CH03("", 0, 0x022, 0, 0)
+ Release(T100)
+ CH03("", 0, 0x023, 0, 0)
+ }
+
+ Method(mm00)
+ {
+ m000()
+ m001()
+ m002()
+ }
+
+ CH03("", 0, 0x024, 0, 0)
+ mm00()
+ CH03("", 0, 0x025, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/MAIN.asl
index 90478029a..372b93069 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B242.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0242/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0242/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B242.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0242/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0242/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/RUN.asl
index 6f5f085f4..4c0acf3aa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0242/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 242", TCLD, 242, W017)) {
- SRMT("m031")
- m031()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 242", TCLD, 242, W017)) {
+ SRMT("m031")
+ m031()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/DECL.asl
index 0ae8a1b4f..99ae8a1a9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/DECL.asl
@@ -1,115 +1,115 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 243:
- *
- * SUMMARY: The normal work with mutexes is broken after the mutex Release order violation
- */
-
-Method(m02f,, Serialized)
-{
- Mutex(T500, 5)
- Mutex(T600, 6)
- Mutex(T700, 7)
-
- Method(m000)
- {
- Store("******** Test started", Debug)
-
- /* (1) */
- Store("Acquiring mutex of level 5:", Debug)
- Store(Acquire(T500, 0xffff), Local0)
- if (Local0) {
- Store("!!!!!!!! ERROR 0: Acquire T500 (Level 5, index 0)", Debug)
- err("", zFFF, 0x000, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquired T500 (Level 5, index 0)", Debug)
- }
-
- /* (2) */
- Store("Acquiring mutex of level 6:", Debug)
- Store(Acquire(T600, 0xffff), Local0)
- if (Local0) {
- Store("!!!!!!!! ERROR 1: Acquire T600 (Level 6, index 0)", Debug)
- err("", zFFF, 0x001, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquired T600 (Level 6, index 0)", Debug)
- }
-
- /* (3) */
- Store("Run Release of mutex of level 5 - exception AE_AML_MUTEX_ORDER is expected on it!", Debug)
- Store("Release T500 (Level 5, index 0)", Debug)
- Release(T500)
- /*
- * If no exception there:
- * ERROR: NO exception though expected! (it is the contents of bug 238)
- */
- CH04("", 0, 64, 0, 0x002, 0, 0) // AE_AML_MUTEX_ORDER
-
- /* (4) */
- Store("Acquiring mutex of level 7:", Debug)
- Store(Acquire(T700, 0xffff), Local0)
- if (Local0) {
- Store("!!!!!!!! ERROR 3: Acquire T700 (Level 7, index 0)", Debug)
- err("", zFFF, 0x003, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquired T700 (Level 7, index 0)", Debug)
- Store("Current level is equal to 7!", Debug)
- }
- CH03("", 0, 0x004, 0, 0)
-
- /* (5) */
- Store("Releasing the mutex of the current level: T700 (Level 7, index 0)", Debug)
- Release(T700)
- CH03("", 0, 0x005, 0, 0)
-
- /*
- * (6)
- *
- * AE_AML_MUTEX_ORDER exception here which takes place
- * is an essence of this bug 243.
- */
- Store("Releasing mutex of level 6: T600 (Level 6, index 0)", Debug)
- Release(T600)
- CH03("", 0, 0x006, 0, 0)
-
- /* (7) */
- Store("Releasing mutex of level 5: T500 (Level 5, index 0)", Debug)
- Release(T500)
- CH03("", 0, 0x007, 0, 0)
- }
-
- Method(mm00)
- {
- m000()
- }
-
- mm00()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 243:
+ *
+ * SUMMARY: The normal work with mutexes is broken after the mutex Release order violation
+ */
+
+Method(m02f,, Serialized)
+{
+ Mutex(T500, 5)
+ Mutex(T600, 6)
+ Mutex(T700, 7)
+
+ Method(m000)
+ {
+ Store("******** Test started", Debug)
+
+ /* (1) */
+ Store("Acquiring mutex of level 5:", Debug)
+ Store(Acquire(T500, 0xffff), Local0)
+ if (Local0) {
+ Store("!!!!!!!! ERROR 0: Acquire T500 (Level 5, index 0)", Debug)
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquired T500 (Level 5, index 0)", Debug)
+ }
+
+ /* (2) */
+ Store("Acquiring mutex of level 6:", Debug)
+ Store(Acquire(T600, 0xffff), Local0)
+ if (Local0) {
+ Store("!!!!!!!! ERROR 1: Acquire T600 (Level 6, index 0)", Debug)
+ err("", zFFF, 0x001, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquired T600 (Level 6, index 0)", Debug)
+ }
+
+ /* (3) */
+ Store("Run Release of mutex of level 5 - exception AE_AML_MUTEX_ORDER is expected on it!", Debug)
+ Store("Release T500 (Level 5, index 0)", Debug)
+ Release(T500)
+ /*
+ * If no exception there:
+ * ERROR: NO exception though expected! (it is the contents of bug 238)
+ */
+ CH04("", 0, 64, 0, 0x002, 0, 0) // AE_AML_MUTEX_ORDER
+
+ /* (4) */
+ Store("Acquiring mutex of level 7:", Debug)
+ Store(Acquire(T700, 0xffff), Local0)
+ if (Local0) {
+ Store("!!!!!!!! ERROR 3: Acquire T700 (Level 7, index 0)", Debug)
+ err("", zFFF, 0x003, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquired T700 (Level 7, index 0)", Debug)
+ Store("Current level is equal to 7!", Debug)
+ }
+ CH03("", 0, 0x004, 0, 0)
+
+ /* (5) */
+ Store("Releasing the mutex of the current level: T700 (Level 7, index 0)", Debug)
+ Release(T700)
+ CH03("", 0, 0x005, 0, 0)
+
+ /*
+ * (6)
+ *
+ * AE_AML_MUTEX_ORDER exception here which takes place
+ * is an essence of this bug 243.
+ */
+ Store("Releasing mutex of level 6: T600 (Level 6, index 0)", Debug)
+ Release(T600)
+ CH03("", 0, 0x006, 0, 0)
+
+ /* (7) */
+ Store("Releasing mutex of level 5: T500 (Level 5, index 0)", Debug)
+ Release(T500)
+ CH03("", 0, 0x007, 0, 0)
+ }
+
+ Method(mm00)
+ {
+ m000()
+ }
+
+ mm00()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/MAIN.asl
index 132e347ba..1de0140d5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B243.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0243/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0243/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B243.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0243/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0243/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/RUN.asl
index cfb2a81f7..bc201bd16 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0243/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 243", TCLD, 243, W017)) {
- SRMT("m02f")
- m02f()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 243", TCLD, 243, W017)) {
+ SRMT("m02f")
+ m02f()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/DECL.asl
index 9d76ccb75..de996a158 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/DECL.asl
@@ -1,372 +1,372 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 244:
- *
- * SUMMARY: Acquire/Release in a global level AML code is not valid,
- * removed from test suite.
- */
-
- //Mutex(T804, 8)
- //Mutex(T805, 8)
- //Mutex(T806, 8)
- //Mutex(T807, 8)
-
- /*
- * These declarations are used for to check the Acquire
- * and Release operations in a global level AML code.
- */
- //Name(i101, 0) // non-zero means that this test was run
- //Name(i104, 1)
- //Name(i105, 1)
- //Name(i106, 1)
- //Name(i107, 1)
-
- /*
- Method(m137)
- {
- Store(1, i101)
-
- Store("m137 started", Debug)
-
- if (LNot(i104)) {
- Release(T804)
- }
-
- Store("m137 completed", Debug)
-
- return (1)
- }
-
- Method(m13e)
- {
- Store(1, i101)
-
- Store("m13e started", Debug)
-
- Store(Acquire(T805, 0xffff), i105)
-
- Store("m13e completed", Debug)
-
- return (1)
- }
-
- Method(m13f)
- {
- Store(1, i101)
-
- Store("m13f started", Debug)
-
- if (LNot(i105)) {
- Release(T805)
- }
-
- Store("m13f completed", Debug)
-
- return (1)
- }
-
- Method(m140)
- {
- Store(1, i101)
-
- Store("m140 started", Debug)
-
- Store(Acquire(T807, 0xffff), i107)
-
- Store("m140 completed", Debug)
-
- return (1)
- }
- */
- /* Acquire/Release T804 */
-
- //Name(b11c, Buffer(Add(1, Store(Acquire(T804, 0xffff), i104))){0})
- //Name(b11d, Buffer(m137()){0})
-
-
- /* Acquire/Release T805 */
-
- //Name(b11e, Buffer(m13e()){0})
- //Name(b11f, Buffer(m13f()){0})
-
- /* Acquire T806 */
-
- //Name(b120, Buffer(Add(1, Store(Acquire(T806, 0xffff), i106))){0})
-
- /* Acquire T807 */
-
- //Name(b121, Buffer(m140()){0})
-
-
-/*
- * m03c - check, register errors and reset the global level execution exception,
- * set up id01 to non-zero in error case.
- */
-//Name(i108, 0)
-//Name(BUF2, Buffer(m03c()){})
-/*
-Method(m03c)
-{
- if (CH03("", 0, 0x000, 0, 0))
- {
- Store(1, i108)
- }
-}
-*/
-Method(m02e)
-{
-/*
- Method(m0b9)
- {
- if (i108) {
- err("", zFFF, 0x126, 0, 0, 0, 0)
- }
-
- if (LNot(i101)) {
- Store("******** Test was not run !!!!!!!!!!!!!", Debug)
- err("", zFFF, 0x002, 0, 0, 0, 0)
- return
- }
-
- Store("******** Test started", Debug)
-
- CH03("", 0, 0x003, 0, 0)
-
-
- if (i104) {
- Store("!!!!!!!! ERROR 1: Acquire(T804, 0xffff) failed", Debug)
- err("", zFFF, 0x004, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire(T804, 0xffff)", Debug)
- }
-
- if (i105) {
- Store("!!!!!!!! ERROR 2: Acquire(T805, 0xffff) failed", Debug)
- err("", zFFF, 0x005, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire(T805, 0xffff)", Debug)
- }
-
- Release(T804)
- CH04("", 0, 65, 0, 0x006, 0, 0) // AE_AML_MUTEX_NOT_ACQUIRED
-
- Release(T805)
- CH04("", 0, 65, 0, 0x007, 0, 0) // AE_AML_MUTEX_NOT_ACQUIRED
-
- // Release T807
-
- if (LNot(i107)) {
- Release(T807)
- } else {
- Store("!!!!!!!! ERROR 7: Acquire(T807, 0xffff) failed", Debug)
- err("", zFFF, 0x008, 0, 0, 0, 0)
- }
- CH03("", 0, 0x009, 0, 0)
-
- // Release T806
-
- if (LNot(i106)) {
- Release(T806)
- } else {
- Store("!!!!!!!! ERROR 5: Acquire(T806, 0xffff) failed", Debug)
- err("", zFFF, 0x00a, 0, 0, 0, 0)
- }
- CH03("", 0, 0x00b, 0, 0)
-
- Store("******** Test finished", Debug)
- }
-
- Method(mm00)
- {
- m0b9()
- }
-
- mm00()
-*/
-}
-
-Method(m030,, Serialized)
-{
-
- Mutex(T804, 8)
- Mutex(T805, 8)
- Mutex(T806, 8)
- Mutex(T807, 8)
-
- /*
- * These declarations are used for to check the Acquire
- * and Release operations in a global level AML code.
- */
- Name(i101, 0) // non-zero means that this test was run
- Name(i104, 1)
- Name(i105, 1)
- Name(i106, 1)
- Name(i107, 1)
-
- Method(m137)
- {
- Store(1, i101)
-
- Store("m137 started", Debug)
-
- if (LNot(i104)) {
- Release(T804)
- }
-
- Store("m137 completed", Debug)
-
- return (1)
- }
-
- Method(m13e)
- {
- Store(1, i101)
-
- Store("m13e started", Debug)
-
- Store(Acquire(T805, 0xffff), i105)
-
- Store("m13e completed", Debug)
-
- return (1)
- }
-
- Method(m13f)
- {
- Store(1, i101)
-
- Store("m13f started", Debug)
-
- if (LNot(i105)) {
- Release(T805)
- }
-
- Store("m13f completed", Debug)
-
- return (1)
- }
-
- Method(m140)
- {
- Store(1, i101)
-
- Store("m140 started", Debug)
-
- Store(Acquire(T807, 0xffff), i107)
-
- Store("m140 completed", Debug)
-
- return (1)
- }
-
- /* Acquire/Release T804 */
-
- Name(b11c, Buffer(Add(1, Store(Acquire(T804, 0xffff), i104))){0})
- Name(b11d, Buffer(m137()){0})
-
-
- /* Acquire/Release T805 */
-
- Name(b11e, Buffer(m13e()){0})
- Name(b11f, Buffer(m13f()){0})
-
- /* Acquire T806 */
-
- Name(b120, Buffer(Add(1, Store(Acquire(T806, 0xffff), i106))){0})
-
- /* Acquire T807 */
-
- Name(b121, Buffer(m140()){0})
-
-
- Method(m0b9)
- {
- if (LNot(i101)) {
- Store("******** Test was not run !!!!!!!!!!!!!", Debug)
- err("", zFFF, 0x000, 0, 0, 0, 0)
- return
- }
-
- Store("******** Test started", Debug)
-
- CH03("", 0, 0x001, 0, 0)
-
-
- if (i104) {
- Store("!!!!!!!! ERROR 1: Acquire(T804, 0xffff) failed", Debug)
- err("", zFFF, 0x002, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire(T804, 0xffff)", Debug)
- }
-
- if (i105) {
- Store("!!!!!!!! ERROR 2: Acquire(T805, 0xffff) failed", Debug)
- err("", zFFF, 0x003, 0, 0, 0, 0)
- } else {
- Store("Ok: Acquire(T805, 0xffff)", Debug)
- }
-
- Release(T804)
- CH04("", 0, 65, 0, 0x004, 0, 0) // AE_AML_MUTEX_NOT_ACQUIRED
-
- Release(T805)
- CH04("", 0, 65, 0, 0x005, 0, 0) // AE_AML_MUTEX_NOT_ACQUIRED
-
- /* Release T807 */
-
- if (LNot(i107)) {
- Release(T807)
- } else {
- Store("!!!!!!!! ERROR 7: Acquire(T807, 0xffff) failed", Debug)
- err("", zFFF, 0x006, 0, 0, 0, 0)
- }
- CH03("", 0, 0x007, 0, 0)
-
- /* Release T806 */
-
- if (LNot(i106)) {
- Release(T806)
- } else {
- Store("!!!!!!!! ERROR 5: Acquire(T806, 0xffff) failed", Debug)
- err("", zFFF, 0x008, 0, 0, 0, 0)
- }
- CH03("", 0, 0x009, 0, 0)
-
- Store("******** Test finished", Debug)
- }
-
- Method(mm00)
- {
- m0b9()
- }
-
- mm00()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 244:
+ *
+ * SUMMARY: Acquire/Release in a global level AML code is not valid,
+ * removed from test suite.
+ */
+
+ //Mutex(T804, 8)
+ //Mutex(T805, 8)
+ //Mutex(T806, 8)
+ //Mutex(T807, 8)
+
+ /*
+ * These declarations are used for to check the Acquire
+ * and Release operations in a global level AML code.
+ */
+ //Name(i101, 0) // non-zero means that this test was run
+ //Name(i104, 1)
+ //Name(i105, 1)
+ //Name(i106, 1)
+ //Name(i107, 1)
+
+ /*
+ Method(m137)
+ {
+ Store(1, i101)
+
+ Store("m137 started", Debug)
+
+ if (LNot(i104)) {
+ Release(T804)
+ }
+
+ Store("m137 completed", Debug)
+
+ return (1)
+ }
+
+ Method(m13e)
+ {
+ Store(1, i101)
+
+ Store("m13e started", Debug)
+
+ Store(Acquire(T805, 0xffff), i105)
+
+ Store("m13e completed", Debug)
+
+ return (1)
+ }
+
+ Method(m13f)
+ {
+ Store(1, i101)
+
+ Store("m13f started", Debug)
+
+ if (LNot(i105)) {
+ Release(T805)
+ }
+
+ Store("m13f completed", Debug)
+
+ return (1)
+ }
+
+ Method(m140)
+ {
+ Store(1, i101)
+
+ Store("m140 started", Debug)
+
+ Store(Acquire(T807, 0xffff), i107)
+
+ Store("m140 completed", Debug)
+
+ return (1)
+ }
+ */
+ /* Acquire/Release T804 */
+
+ //Name(b11c, Buffer(Add(1, Store(Acquire(T804, 0xffff), i104))){0})
+ //Name(b11d, Buffer(m137()){0})
+
+
+ /* Acquire/Release T805 */
+
+ //Name(b11e, Buffer(m13e()){0})
+ //Name(b11f, Buffer(m13f()){0})
+
+ /* Acquire T806 */
+
+ //Name(b120, Buffer(Add(1, Store(Acquire(T806, 0xffff), i106))){0})
+
+ /* Acquire T807 */
+
+ //Name(b121, Buffer(m140()){0})
+
+
+/*
+ * m03c - check, register errors and reset the global level execution exception,
+ * set up id01 to non-zero in error case.
+ */
+//Name(i108, 0)
+//Name(BUF2, Buffer(m03c()){})
+/*
+Method(m03c)
+{
+ if (CH03("", 0, 0x000, 0, 0))
+ {
+ Store(1, i108)
+ }
+}
+*/
+Method(m02e)
+{
+/*
+ Method(m0b9)
+ {
+ if (i108) {
+ err("", zFFF, 0x126, 0, 0, 0, 0)
+ }
+
+ if (LNot(i101)) {
+ Store("******** Test was not run !!!!!!!!!!!!!", Debug)
+ err("", zFFF, 0x002, 0, 0, 0, 0)
+ return
+ }
+
+ Store("******** Test started", Debug)
+
+ CH03("", 0, 0x003, 0, 0)
+
+
+ if (i104) {
+ Store("!!!!!!!! ERROR 1: Acquire(T804, 0xffff) failed", Debug)
+ err("", zFFF, 0x004, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire(T804, 0xffff)", Debug)
+ }
+
+ if (i105) {
+ Store("!!!!!!!! ERROR 2: Acquire(T805, 0xffff) failed", Debug)
+ err("", zFFF, 0x005, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire(T805, 0xffff)", Debug)
+ }
+
+ Release(T804)
+ CH04("", 0, 65, 0, 0x006, 0, 0) // AE_AML_MUTEX_NOT_ACQUIRED
+
+ Release(T805)
+ CH04("", 0, 65, 0, 0x007, 0, 0) // AE_AML_MUTEX_NOT_ACQUIRED
+
+ // Release T807
+
+ if (LNot(i107)) {
+ Release(T807)
+ } else {
+ Store("!!!!!!!! ERROR 7: Acquire(T807, 0xffff) failed", Debug)
+ err("", zFFF, 0x008, 0, 0, 0, 0)
+ }
+ CH03("", 0, 0x009, 0, 0)
+
+ // Release T806
+
+ if (LNot(i106)) {
+ Release(T806)
+ } else {
+ Store("!!!!!!!! ERROR 5: Acquire(T806, 0xffff) failed", Debug)
+ err("", zFFF, 0x00a, 0, 0, 0, 0)
+ }
+ CH03("", 0, 0x00b, 0, 0)
+
+ Store("******** Test finished", Debug)
+ }
+
+ Method(mm00)
+ {
+ m0b9()
+ }
+
+ mm00()
+*/
+}
+
+Method(m030,, Serialized)
+{
+
+ Mutex(T804, 8)
+ Mutex(T805, 8)
+ Mutex(T806, 8)
+ Mutex(T807, 8)
+
+ /*
+ * These declarations are used for to check the Acquire
+ * and Release operations in a global level AML code.
+ */
+ Name(i101, 0) // non-zero means that this test was run
+ Name(i104, 1)
+ Name(i105, 1)
+ Name(i106, 1)
+ Name(i107, 1)
+
+ Method(m137)
+ {
+ Store(1, i101)
+
+ Store("m137 started", Debug)
+
+ if (LNot(i104)) {
+ Release(T804)
+ }
+
+ Store("m137 completed", Debug)
+
+ return (1)
+ }
+
+ Method(m13e)
+ {
+ Store(1, i101)
+
+ Store("m13e started", Debug)
+
+ Store(Acquire(T805, 0xffff), i105)
+
+ Store("m13e completed", Debug)
+
+ return (1)
+ }
+
+ Method(m13f)
+ {
+ Store(1, i101)
+
+ Store("m13f started", Debug)
+
+ if (LNot(i105)) {
+ Release(T805)
+ }
+
+ Store("m13f completed", Debug)
+
+ return (1)
+ }
+
+ Method(m140)
+ {
+ Store(1, i101)
+
+ Store("m140 started", Debug)
+
+ Store(Acquire(T807, 0xffff), i107)
+
+ Store("m140 completed", Debug)
+
+ return (1)
+ }
+
+ /* Acquire/Release T804 */
+
+ Name(b11c, Buffer(Add(1, Store(Acquire(T804, 0xffff), i104))){0})
+ Name(b11d, Buffer(m137()){0})
+
+
+ /* Acquire/Release T805 */
+
+ Name(b11e, Buffer(m13e()){0})
+ Name(b11f, Buffer(m13f()){0})
+
+ /* Acquire T806 */
+
+ Name(b120, Buffer(Add(1, Store(Acquire(T806, 0xffff), i106))){0})
+
+ /* Acquire T807 */
+
+ Name(b121, Buffer(m140()){0})
+
+
+ Method(m0b9)
+ {
+ if (LNot(i101)) {
+ Store("******** Test was not run !!!!!!!!!!!!!", Debug)
+ err("", zFFF, 0x000, 0, 0, 0, 0)
+ return
+ }
+
+ Store("******** Test started", Debug)
+
+ CH03("", 0, 0x001, 0, 0)
+
+
+ if (i104) {
+ Store("!!!!!!!! ERROR 1: Acquire(T804, 0xffff) failed", Debug)
+ err("", zFFF, 0x002, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire(T804, 0xffff)", Debug)
+ }
+
+ if (i105) {
+ Store("!!!!!!!! ERROR 2: Acquire(T805, 0xffff) failed", Debug)
+ err("", zFFF, 0x003, 0, 0, 0, 0)
+ } else {
+ Store("Ok: Acquire(T805, 0xffff)", Debug)
+ }
+
+ Release(T804)
+ CH04("", 0, 65, 0, 0x004, 0, 0) // AE_AML_MUTEX_NOT_ACQUIRED
+
+ Release(T805)
+ CH04("", 0, 65, 0, 0x005, 0, 0) // AE_AML_MUTEX_NOT_ACQUIRED
+
+ /* Release T807 */
+
+ if (LNot(i107)) {
+ Release(T807)
+ } else {
+ Store("!!!!!!!! ERROR 7: Acquire(T807, 0xffff) failed", Debug)
+ err("", zFFF, 0x006, 0, 0, 0, 0)
+ }
+ CH03("", 0, 0x007, 0, 0)
+
+ /* Release T806 */
+
+ if (LNot(i106)) {
+ Release(T806)
+ } else {
+ Store("!!!!!!!! ERROR 5: Acquire(T806, 0xffff) failed", Debug)
+ err("", zFFF, 0x008, 0, 0, 0, 0)
+ }
+ CH03("", 0, 0x009, 0, 0)
+
+ Store("******** Test finished", Debug)
+ }
+
+ Method(mm00)
+ {
+ m0b9()
+ }
+
+ mm00()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/MAIN.asl
index ede5b1fd9..9f2fb1971 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B244.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0244/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0244/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B244.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0244/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0244/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/RUN.asl
index 2a0cf3ce6..1d1925fac 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0244/RUN.asl
@@ -1,36 +1,36 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 244", TCLD, 244, W017)) {
- SRMT("m02e")
- m02e()
- SRMT("m030")
- m030()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 244", TCLD, 244, W017)) {
+ SRMT("m02e")
+ m02e()
+ SRMT("m030")
+ m030()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0245_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0245_SPEC/DECL.asl
index 212d638d1..574a0e5d6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0245_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0245_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 245:
- *
- * SUMMARY: Switch statement translation example in ACPI Spec is contradictory
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 245:
+ *
+ * SUMMARY: Switch statement translation example in ACPI Spec is contradictory
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/DECL.asl
index 97fbf598b..8d811746d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/DECL.asl
@@ -1,67 +1,67 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 246:
- *
- * SUMMARY: Switch implementation can cause AE_ALREADY_EXISTS exception when Switch
- * is within While
- */
-
-Method(m17b, 0, Serialized)
-{
- Store(2, Local0)
- Store(0, Local1)
- Store(0x000, Local2)
-
- while (Local0) {
- if (CH03("", 0, Local2, 0, 0)) {
- return
- }
- Increment(Local2)
- switch (ToInteger (Local0)) {
- case (1) {
- Store("Case 1", Debug)
- Add(Local1, 1, Local1)
- }
- case (2) {
- Store("Case 2", Debug)
- Add(Local1, 2, Local1)
- }
- }
- if (CH03("", 0, Local2, 0, 0)) {
- return
- }
- Increment(Local2)
- Decrement(Local0)
- }
-
- if (LNotEqual(Local1, 3)) {
- err("", zFFF, Local2, 0, 0, Local1, 3)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 246:
+ *
+ * SUMMARY: Switch implementation can cause AE_ALREADY_EXISTS exception when Switch
+ * is within While
+ */
+
+Method(m17b, 0, Serialized)
+{
+ Store(2, Local0)
+ Store(0, Local1)
+ Store(0x000, Local2)
+
+ while (Local0) {
+ if (CH03("", 0, Local2, 0, 0)) {
+ return
+ }
+ Increment(Local2)
+ switch (ToInteger (Local0)) {
+ case (1) {
+ Store("Case 1", Debug)
+ Add(Local1, 1, Local1)
+ }
+ case (2) {
+ Store("Case 2", Debug)
+ Add(Local1, 2, Local1)
+ }
+ }
+ if (CH03("", 0, Local2, 0, 0)) {
+ return
+ }
+ Increment(Local2)
+ Decrement(Local0)
+ }
+
+ if (LNotEqual(Local1, 3)) {
+ err("", zFFF, Local2, 0, 0, Local1, 3)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/MAIN.asl
index 94251a784..8832d7997 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "b246.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0246/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0246/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "b246.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0246/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0246/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/RUN.asl
index e78c7dc4b..df2b0cb81 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0246/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 246", TCLD, 246, W017)) {
- SRMT("m17b")
- m17b()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 246", TCLD, 246, W017)) {
+ SRMT("m17b")
+ m17b()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/DECL.asl
index 87a7263ad..e6fdfdfbf 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/DECL.asl
@@ -1,99 +1,99 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 247:
- *
- * SUMMARY: ASL compiler incorrectly implements Break within Switch
- */
-
-Method(m17c,, Serialized)
-{
- Name(ERRN, 0x000)
-
- Method(m000, 3)
- {
- Name(CH10, 0)
- Name(CH11, 0)
- Name(CH20, 0)
- Name(CH21, 0)
-
- Store(arg0, Debug)
- Store(2, Local0)
-
- while (Local0) {
- if (CH03("", 0, ERRN, 0, 0)) {
- return
- }
- Increment(ERRN)
- switch (Local0) {
- case (1) {
- if (Arg1) {
- Store(1, CH10)
- Break
- }
- Store(1, CH11)
- }
- case (2) {
- if (Arg2) {
- Store(1, CH20)
- Break
- }
- Store(1, CH21)
- }
- }
- if (CH03("", 0, ERRN, 0, 0)) {
- return
- }
- Increment(ERRN)
- Decrement(Local0)
- }
-
- if (LNotEqual(CH10, Arg1)) {
- err("", zFFF, ERRN, 0, 0, CH10, Arg1)
- }
- Increment(ERRN)
- if (LEqual(CH11, Arg1)) {
- err("", zFFF, ERRN, 0, 0, CH11, Arg1)
- }
- Increment(ERRN)
- if (LNotEqual(CH20, Arg2)) {
- err("", zFFF, ERRN, 0, 0, CH20, Arg2)
- }
- Increment(ERRN)
- if (LEqual(CH21, Arg2)) {
- err("", zFFF, ERRN, 0, 0, CH21, Arg2)
- }
- Increment(ERRN)
- }
-
- m000("No Breaks", 0, 0)
- m000("Break 2", 0, 1)
- m000("Break 1", 1, 0)
- m000("2 Breaks", 1, 1)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 247:
+ *
+ * SUMMARY: ASL compiler incorrectly implements Break within Switch
+ */
+
+Method(m17c,, Serialized)
+{
+ Name(ERRN, 0x000)
+
+ Method(m000, 3)
+ {
+ Name(CH10, 0)
+ Name(CH11, 0)
+ Name(CH20, 0)
+ Name(CH21, 0)
+
+ Store(arg0, Debug)
+ Store(2, Local0)
+
+ while (Local0) {
+ if (CH03("", 0, ERRN, 0, 0)) {
+ return
+ }
+ Increment(ERRN)
+ switch (Local0) {
+ case (1) {
+ if (Arg1) {
+ Store(1, CH10)
+ Break
+ }
+ Store(1, CH11)
+ }
+ case (2) {
+ if (Arg2) {
+ Store(1, CH20)
+ Break
+ }
+ Store(1, CH21)
+ }
+ }
+ if (CH03("", 0, ERRN, 0, 0)) {
+ return
+ }
+ Increment(ERRN)
+ Decrement(Local0)
+ }
+
+ if (LNotEqual(CH10, Arg1)) {
+ err("", zFFF, ERRN, 0, 0, CH10, Arg1)
+ }
+ Increment(ERRN)
+ if (LEqual(CH11, Arg1)) {
+ err("", zFFF, ERRN, 0, 0, CH11, Arg1)
+ }
+ Increment(ERRN)
+ if (LNotEqual(CH20, Arg2)) {
+ err("", zFFF, ERRN, 0, 0, CH20, Arg2)
+ }
+ Increment(ERRN)
+ if (LEqual(CH21, Arg2)) {
+ err("", zFFF, ERRN, 0, 0, CH21, Arg2)
+ }
+ Increment(ERRN)
+ }
+
+ m000("No Breaks", 0, 0)
+ m000("Break 2", 0, 1)
+ m000("Break 1", 1, 0)
+ m000("2 Breaks", 1, 1)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/MAIN.asl
index d431371f8..999711670 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B247.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0247/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0247/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B247.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0247/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0247/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/RUN.asl
index 7cb1b94bb..01a5ed14b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0247/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 247", TCLD, 247, W017)) {
- SRMT("m17c")
- m17c()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 247", TCLD, 247, W017)) {
+ SRMT("m17c")
+ m17c()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl
index b98381e45..e82112d16 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl
@@ -1,225 +1,225 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 248:
- *
- * SUMMARY: Incorrect ReferenceCount on Switch operation
- */
-
-Method(m02d)
-{
- /*
- * NoOp -
- * all them are for tracking only - to simplify debugging
- */
-
- Method(m003, 1, Serialized)
- {
- NoOp
-
- Switch (ToInteger (arg0)) {
- Case (0) {
- Store("m003", debug)
- }
- }
-
- NoOp
- }
-
- Method(m004, 1)
- {
- NoOp
-
- if (arg0) {
- Store("m004", debug)
- }
-
- NoOp
- }
-
- Method(m1a8, 2)
- {
- if (arg1) {
- m003(arg0)
- } else {
- m004(arg0)
- }
- }
-
- Method(m1a9,, Serialized)
- {
- Name(sw00, 1)
- Name(hg00, 0) // if non-zero - the test hangs
-
- Name(p91e, Package() {0xabcd0000})
-
- if (1) {
- Store(Index(p91e, 0, Local1), Local0)
- } else {
- Store(0xabcd0000, Local0)
- Store(0xabcd0001, Local1)
- }
-
- if (LNotEqual(DerefOf(Local0), 0xabcd0000)) {
- err("", zFFF, 0x000, 0, 0, DerefOf(Local0), 0xabcd0000)
- }
-
- Store("============== sit 0 (Local0):", debug)
- m1a8(Local0, sw00)
-
- /*
- * At this point, after returning from m1a8
- * for the non-zero sw00, the object attached
- * to Local0 has been deleted. It is the essence
- * of the bug.
- */
-
- if (hg00) {
-
- /*
- * To show visually the consequences of the anomaly
- * run this code. It causes hang.
- */
-
- Store("============== sit 1 (Local1):", debug)
- m1a8(Local1, sw00)
-
- Store("============== sit 2:", debug)
-
- Store(ObjectType(Local0), Local7)
- Store(Local7, debug)
-
- Store(ObjectType(Local1), Local7)
- Store(Local7, debug)
-
- Store(Local0, debug)
- Store(Local1, debug)
- }
-
- Store("============== before checking:", debug)
-
- if (LNotEqual(DerefOf(Local0), 0xabcd0000)) {
- err("", zFFF, 0x001, 0, 0, DerefOf(Local0), 0xabcd0000)
- }
-
- Store("============== end of test", debug)
- }
-
- Method(mm00) {
- m1a9()
- }
-
- CH03("", 0, 0x002, 0, 0)
- mm00()
-
- /* Check opcode of the last exception */
- CH04("", 2, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
-}
-
-/*
- * It is Functional:Reference:ref07.asl:Method(m1d5)
- */
-Method(m03d,, Serialized)
-{
- Name(i001, 0)
- Name(p000, Package(2) {0x77, 0x88})
-
- Name(sw00, 1)
-
- Name(hg00, 1) // if non-zero - the test hangs
- Name(hg01, 1) // if non-zero - the test hangs
- Name(hg02, 1) // if non-zero - the test hangs
-
- CH03("", 0, 184, 0, 0)
-
- CopyObject(Index(p000, 1, Local0), i001)
-
- CH03("", 0, 185, 0, 0)
-
- // Type of i001 should be already IRef here,
- // so, don't expect exception.
-
- Store(Index(p000, 0, Local0), i001)
-
- CH03("", 0, 186, 0, 0)
-
- Add(Local0, 1, Local7)
-
- if (y248) {
- Store(1, hg00)
- Store(1, hg01)
- Store(1, hg02)
- }
-
- /*
- * To show visually the consequences of the anomaly
- * run one of code below. They cause hang.
- */
- if (hg00) {
- // Infinite loop of printing
- Store(0, Local1)
- Store(Local0, debug)
- }
- if (hg01) {
- // Infinite loop of printing
- Store(Local0, debug)
- Store(Local0, debug)
- }
- if (hg02) {
- Store(0, Local1)
-
- Store("============== sit 2:", debug)
-
- Store(ObjectType(Local0), Local7)
- Store(Local7, debug)
- }
-
- CH04("", 0, 0xff, 0, 187, 0, 0)
-
- Add(i001, 1, Local7)
-
- CH04("", 0, 0xff, 0, 188, 0, 0)
-
- /*
- * Looks identical to b248: "Incorrect ReferenceCount on Switch operation"
- * (though there is no Switch operation)
- *
- * Reference count of Local0 is mistakenly zeroed there too.
- *
- * [ACPI Debug] String: [0x0F] "<-------- 0000>"
- * [ACPI Debug] Reference: [Debug]
- * [ACPI Debug] String: [0x0F] "<-------- 1111>"
- *
- * [ACPI Debug] String: [0x0F] "<-------- 0000>"
- * [ACPI Debug] [ACPI Debug] String: [0x0F] "<-------- 1111>"
- */
- Store("<-------- 0000>", debug)
- Store(Local0, debug)
- Store("<-------- 1111>", debug)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 248:
+ *
+ * SUMMARY: Incorrect ReferenceCount on Switch operation
+ */
+
+Method(m02d)
+{
+ /*
+ * NoOp -
+ * all them are for tracking only - to simplify debugging
+ */
+
+ Method(m003, 1, Serialized)
+ {
+ NoOp
+
+ Switch (ToInteger (arg0)) {
+ Case (0) {
+ Store("m003", debug)
+ }
+ }
+
+ NoOp
+ }
+
+ Method(m004, 1)
+ {
+ NoOp
+
+ if (arg0) {
+ Store("m004", debug)
+ }
+
+ NoOp
+ }
+
+ Method(m1a8, 2)
+ {
+ if (arg1) {
+ m003(arg0)
+ } else {
+ m004(arg0)
+ }
+ }
+
+ Method(m1a9,, Serialized)
+ {
+ Name(sw00, 1)
+ Name(hg00, 0) // if non-zero - the test hangs
+
+ Name(p91e, Package() {0xabcd0000})
+
+ if (1) {
+ Store(Index(p91e, 0, Local1), Local0)
+ } else {
+ Store(0xabcd0000, Local0)
+ Store(0xabcd0001, Local1)
+ }
+
+ if (LNotEqual(DerefOf(Local0), 0xabcd0000)) {
+ err("", zFFF, 0x000, 0, 0, DerefOf(Local0), 0xabcd0000)
+ }
+
+ Store("============== sit 0 (Local0):", debug)
+ m1a8(Local0, sw00)
+
+ /*
+ * At this point, after returning from m1a8
+ * for the non-zero sw00, the object attached
+ * to Local0 has been deleted. It is the essence
+ * of the bug.
+ */
+
+ if (hg00) {
+
+ /*
+ * To show visually the consequences of the anomaly
+ * run this code. It causes hang.
+ */
+
+ Store("============== sit 1 (Local1):", debug)
+ m1a8(Local1, sw00)
+
+ Store("============== sit 2:", debug)
+
+ Store(ObjectType(Local0), Local7)
+ Store(Local7, debug)
+
+ Store(ObjectType(Local1), Local7)
+ Store(Local7, debug)
+
+ Store(Local0, debug)
+ Store(Local1, debug)
+ }
+
+ Store("============== before checking:", debug)
+
+ if (LNotEqual(DerefOf(Local0), 0xabcd0000)) {
+ err("", zFFF, 0x001, 0, 0, DerefOf(Local0), 0xabcd0000)
+ }
+
+ Store("============== end of test", debug)
+ }
+
+ Method(mm00) {
+ m1a9()
+ }
+
+ CH03("", 0, 0x002, 0, 0)
+ mm00()
+
+ /* Check opcode of the last exception */
+ CH04("", 2, 47, 0, 0x003, 0, 0) // AE_AML_OPERAND_TYPE
+}
+
+/*
+ * It is Functional:Reference:ref07.asl:Method(m1d5)
+ */
+Method(m03d,, Serialized)
+{
+ Name(i001, 0)
+ Name(p000, Package(2) {0x77, 0x88})
+
+ Name(sw00, 1)
+
+ Name(hg00, 1) // if non-zero - the test hangs
+ Name(hg01, 1) // if non-zero - the test hangs
+ Name(hg02, 1) // if non-zero - the test hangs
+
+ CH03("", 0, 184, 0, 0)
+
+ CopyObject(Index(p000, 1, Local0), i001)
+
+ CH03("", 0, 185, 0, 0)
+
+ // Type of i001 should be already IRef here,
+ // so, don't expect exception.
+
+ Store(Index(p000, 0, Local0), i001)
+
+ CH03("", 0, 186, 0, 0)
+
+ Add(Local0, 1, Local7)
+
+ if (y248) {
+ Store(1, hg00)
+ Store(1, hg01)
+ Store(1, hg02)
+ }
+
+ /*
+ * To show visually the consequences of the anomaly
+ * run one of code below. They cause hang.
+ */
+ if (hg00) {
+ // Infinite loop of printing
+ Store(0, Local1)
+ Store(Local0, debug)
+ }
+ if (hg01) {
+ // Infinite loop of printing
+ Store(Local0, debug)
+ Store(Local0, debug)
+ }
+ if (hg02) {
+ Store(0, Local1)
+
+ Store("============== sit 2:", debug)
+
+ Store(ObjectType(Local0), Local7)
+ Store(Local7, debug)
+ }
+
+ CH04("", 0, 0xff, 0, 187, 0, 0)
+
+ Add(i001, 1, Local7)
+
+ CH04("", 0, 0xff, 0, 188, 0, 0)
+
+ /*
+ * Looks identical to b248: "Incorrect ReferenceCount on Switch operation"
+ * (though there is no Switch operation)
+ *
+ * Reference count of Local0 is mistakenly zeroed there too.
+ *
+ * [ACPI Debug] String: [0x0F] "<-------- 0000>"
+ * [ACPI Debug] Reference: [Debug]
+ * [ACPI Debug] String: [0x0F] "<-------- 1111>"
+ *
+ * [ACPI Debug] String: [0x0F] "<-------- 0000>"
+ * [ACPI Debug] [ACPI Debug] String: [0x0F] "<-------- 1111>"
+ */
+ Store("<-------- 0000>", debug)
+ Store(Local0, debug)
+ Store("<-------- 1111>", debug)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/MAIN.asl
index 868b641ac..5f5b67a13 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B248.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0248/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0248/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B248.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0248/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0248/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/RUN.asl
index 324f0bcb8..69504c606 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/RUN.asl
@@ -1,45 +1,45 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 248", TCLD, 248, W017)) {
- SRMT("m02d")
- if (y200) {
- m02d()
- } else {
- BLCK()
- }
-
- SRMT("m03d")
- if (y248) {
- m03d()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 248", TCLD, 248, W017)) {
+ SRMT("m02d")
+ if (y200) {
+ m02d()
+ } else {
+ BLCK()
+ }
+
+ SRMT("m03d")
+ if (y248) {
+ m03d()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0249_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0249_DEMO_IMPOSSIBLE/DECL.asl
index 0df128000..55c8a6f66 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0249_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0249_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 249:
- *
- * SUMMARY: Strengthen the type control for AcpiExResolveOperands
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 249:
+ *
+ * SUMMARY: Strengthen the type control for AcpiExResolveOperands
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0250_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0250_DEMO_IMPOSSIBLE/DECL.asl
index 1062f244b..a55f57841 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0250_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0250_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 250:
- *
- * SUMMARY: The ReferenceCount mechanism should be added with the internal control
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 250:
+ *
+ * SUMMARY: The ReferenceCount mechanism should be added with the internal control
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/DECL.asl
index 5c753b13a..d8fadf0fa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 251:
- *
- * SUMMARY: AE_ALREADY_EXISTS on multi-threading on Switch operator
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 251:
+ *
+ * SUMMARY: AE_ALREADY_EXISTS on multi-threading on Switch operator
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/MAIN.asl
index 1e5db7b59..ecf4c879f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0251_ACTION_REQUIRED/MAIN.asl
@@ -1,127 +1,127 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B251.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/common.asl")
- Include("../../../../../runtime/cntl/mt_runpoint.asl")
- Include("../../../../../runtime/cntl/runmode.asl")
- Include("../../../../../runtime/cntl/ehandle.asl")
-
- Name(num, 10) // repetition of While number
-
- Method(m02b)
- {
- Store("================ Test m02b started", Debug)
- Store(num, Local0)
- While (Local0) {
- Concatenate("Iteration ", Local0, Debug)
- Store(0, Local3)
- Switch (Local3) {
- Case (0) {
- Store("Case (0)", Debug)
- }
- }
- Sleep(100)
- Decrement(Local0)
- }
- Store("================ Test m02b completed", Debug)
- }
-
- /* The same as m02b but without While */
- Method(m02c)
- {
- Store("================ Test m02c started", Debug)
- Store(num, Local0)
- // While (Local0) {
- Concatenate("Iteration ", Local0, Debug)
- Store(0, Local3)
- Switch (Local3) {
- Case (0) {
- Store("Case (0)", Debug)
- }
- }
- Sleep(100)
- Decrement(Local0)
- // }
- Store("================ Test m02c completed", Debug)
- }
-
- /*
- * Note: advanced for mt-tests -
- * in case of Threads command
- * the arguments passed to method are:
- *
- * arg0 - total number of threads created by Threads commmand
- * arg1 - ID of the current thread
- * arg2 - index of the current thread (0, 1, 2 ... )
- */
- Method(MAIN, 3) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- CH03("", 0, 0x000, 0, 0)
-
- if (LEqual(arg1, "AML Debugger")) {
- Store("========== args of Execute command of AcpiExec:", Debug)
- Store(arg0, Debug)
- Store(arg1, Debug)
- Store("==========.", Debug)
- } else {
- Store("========== args of Threads command of AcpiExec:", Debug)
- Store(arg0, Debug)
- Store(arg1, Debug)
- Store(arg2, Debug)
- Store("==========.", Debug)
-
- if (1) {
- m02b()
- } else {
- m02c()
- }
- }
-
- CH03("", 0, 0x001, 0, 0)
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B251.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/common.asl")
+ Include("../../../../../runtime/cntl/mt_runpoint.asl")
+ Include("../../../../../runtime/cntl/runmode.asl")
+ Include("../../../../../runtime/cntl/ehandle.asl")
+
+ Name(num, 10) // repetition of While number
+
+ Method(m02b)
+ {
+ Store("================ Test m02b started", Debug)
+ Store(num, Local0)
+ While (Local0) {
+ Concatenate("Iteration ", Local0, Debug)
+ Store(0, Local3)
+ Switch (Local3) {
+ Case (0) {
+ Store("Case (0)", Debug)
+ }
+ }
+ Sleep(100)
+ Decrement(Local0)
+ }
+ Store("================ Test m02b completed", Debug)
+ }
+
+ /* The same as m02b but without While */
+ Method(m02c)
+ {
+ Store("================ Test m02c started", Debug)
+ Store(num, Local0)
+ // While (Local0) {
+ Concatenate("Iteration ", Local0, Debug)
+ Store(0, Local3)
+ Switch (Local3) {
+ Case (0) {
+ Store("Case (0)", Debug)
+ }
+ }
+ Sleep(100)
+ Decrement(Local0)
+ // }
+ Store("================ Test m02c completed", Debug)
+ }
+
+ /*
+ * Note: advanced for mt-tests -
+ * in case of Threads command
+ * the arguments passed to method are:
+ *
+ * arg0 - total number of threads created by Threads commmand
+ * arg1 - ID of the current thread
+ * arg2 - index of the current thread (0, 1, 2 ... )
+ */
+ Method(MAIN, 3) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ CH03("", 0, 0x000, 0, 0)
+
+ if (LEqual(arg1, "AML Debugger")) {
+ Store("========== args of Execute command of AcpiExec:", Debug)
+ Store(arg0, Debug)
+ Store(arg1, Debug)
+ Store("==========.", Debug)
+ } else {
+ Store("========== args of Threads command of AcpiExec:", Debug)
+ Store(arg0, Debug)
+ Store(arg1, Debug)
+ Store(arg2, Debug)
+ Store("==========.", Debug)
+
+ if (1) {
+ m02b()
+ } else {
+ m02c()
+ }
+ }
+
+ CH03("", 0, 0x001, 0, 0)
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/DECL.asl
index f716c2b96..dc2602529 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 252:
- *
- * SUMMARY: ASL compiler crashes on incorrect expression with Switch
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 252:
+ *
+ * SUMMARY: ASL compiler crashes on incorrect expression with Switch
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/MAIN.asl
index 637b6b1de..2e9384f8f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0252_ASL/MAIN.asl
@@ -1,59 +1,59 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "gr.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- Method(m000)
- {
- Store(0, Local0)
- While (1) {
- if (LEqual(Local0, 0) {
- Store("Case 0", Debug)
- } elseif (LEqual(Local0, 1) {
- Store("Case 1", Debug)
- } elseif (LEqual(Local0, 2) {
- Switch (Local0) {
- Case (0) {
- Store("Case 2", Debug)
- }
- }
- }
- }
- }
-
- Method(MAIN) {
- m000()
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "gr.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ Method(m000)
+ {
+ Store(0, Local0)
+ While (1) {
+ if (LEqual(Local0, 0) {
+ Store("Case 0", Debug)
+ } elseif (LEqual(Local0, 1) {
+ Store("Case 1", Debug)
+ } elseif (LEqual(Local0, 2) {
+ Switch (Local0) {
+ Case (0) {
+ Store("Case 2", Debug)
+ }
+ }
+ }
+ }
+ }
+
+ Method(MAIN) {
+ m000()
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0253_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0253_DEMO_IMPOSSIBLE/DECL.asl
index ae6da447d..21cdc134e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0253_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0253_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 253:
- *
- * SUMMARY: Option -b of AcpiExec should be generalized to run any command of ACPICA debugger in a Batch mode
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 253:
+ *
+ * SUMMARY: Option -b of AcpiExec should be generalized to run any command of ACPICA debugger in a Batch mode
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0254_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0254_DEMO_IMPOSSIBLE/DECL.asl
index c7e8f791a..448db9d16 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0254_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0254_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 254:
- *
- * SUMMARY: Adjust the Threads command of AcpiExec to the actual need of mt-testing
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 254:
+ *
+ * SUMMARY: Adjust the Threads command of AcpiExec to the actual need of mt-testing
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0255_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0255_DEMO_IMPOSSIBLE/DECL.asl
index 73882f1a1..25d9ed59b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0255_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0255_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,35 +1,35 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 255:
- *
- * SUMMARY: The multi-threading test mt_mutex/mf07 fails/crashes/hangs on 20060828
- *
- * Note: it requires to run on 20060828.
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 255:
+ *
+ * SUMMARY: The multi-threading test mt_mutex/mf07 fails/crashes/hangs on 20060828
+ *
+ * Note: it requires to run on 20060828.
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0256_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0256_DEMO_IMPOSSIBLE/DECL.asl
index 09cab6f41..e29b5eb3d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0256_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0256_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 256:
- *
- * SUMMARY: Removing the useless code increases essentially the rate of interpretation
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 256:
+ *
+ * SUMMARY: Removing the useless code increases essentially the rate of interpretation
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/DECL.asl
index 7584df4ac..32ef998be 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/DECL.asl
@@ -1,101 +1,101 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 257:
- *
- * SUMMARY: Unexpected AE_AML_OPERAND_TYPE when the Object in Load is a Region Field
- */
-
-Name(B257, Buffer() {
-
- 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00, /* 00000000 "SSDTB..." */
- 0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x11,0x10,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
- 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
- 0x30,0x00,0xA4,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0...\AUX" */
- 0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28, /* 00000038 "D.M000 (" */
- 0x29,0x00,
-})
-
-Name (H257, 0)
-
-OperationRegion (R257, SystemMemory, 0, 0x42)
-
-Field(R257, ByteAcc, NoLock, Preserve) {
- F257, 0x210,
-}
-
-Method(m17d)
-{
- External(\AUXD.M000)
-
- Store(B257, F257)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x000, 0, 0, "\\AUXD", 1)
- return
- }
-
- if (CH03("", 0, 0x001, 0, 0)) {
- return
- }
-
- Load(F257, H257)
-
- if (CH03("", 0, 0x002, 0, 0)) {
- return
- }
-
- if (CondRefof(\AUXD, Local0)) {
- } else {
- err("", zFFF, 0x003, 0, 0, "\\AUXD", 0)
- return
- }
-
- Store (ObjectType(Local0), Local1)
-
- if (LNotEqual(Local1, 6)) {
- err("", zFFF, 0x004, 0, 0, Local1, 6)
- return
- }
-
- Store(ObjectType(\AUXD.M000), Local0)
- if (LNotEqual(Local0, 8)) {
- err("", zFFF, 0x005, 0, 0, Local0, 8)
- return
- }
-
- UnLoad(H257)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x006, 0, 0, "\\AUXD", 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 257:
+ *
+ * SUMMARY: Unexpected AE_AML_OPERAND_TYPE when the Object in Load is a Region Field
+ */
+
+Name(B257, Buffer() {
+
+ 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00, /* 00000000 "SSDTB..." */
+ 0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x11,0x10,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
+ 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
+ 0x30,0x00,0xA4,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0...\AUX" */
+ 0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28, /* 00000038 "D.M000 (" */
+ 0x29,0x00,
+})
+
+Name (H257, 0)
+
+OperationRegion (R257, SystemMemory, 0, 0x42)
+
+Field(R257, ByteAcc, NoLock, Preserve) {
+ F257, 0x210,
+}
+
+Method(m17d)
+{
+ External(\AUXD.M000)
+
+ Store(B257, F257)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x000, 0, 0, "\\AUXD", 1)
+ return
+ }
+
+ if (CH03("", 0, 0x001, 0, 0)) {
+ return
+ }
+
+ Load(F257, H257)
+
+ if (CH03("", 0, 0x002, 0, 0)) {
+ return
+ }
+
+ if (CondRefof(\AUXD, Local0)) {
+ } else {
+ err("", zFFF, 0x003, 0, 0, "\\AUXD", 0)
+ return
+ }
+
+ Store (ObjectType(Local0), Local1)
+
+ if (LNotEqual(Local1, 6)) {
+ err("", zFFF, 0x004, 0, 0, Local1, 6)
+ return
+ }
+
+ Store(ObjectType(\AUXD.M000), Local0)
+ if (LNotEqual(Local0, 8)) {
+ err("", zFFF, 0x005, 0, 0, Local0, 8)
+ return
+ }
+
+ UnLoad(H257)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x006, 0, 0, "\\AUXD", 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/MAIN.asl
index 7bf2268e8..bc6260279 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B257.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0257/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0257/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B257.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0257/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0257/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/RUN.asl
index 4b7f83493..35af370ea 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 257", TCLD, 257, W017)) {
- SRMT("m17d")
- m17d()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 257", TCLD, 257, W017)) {
+ SRMT("m17d")
+ m17d()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/ssdt.c b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/ssdt.c
index d46c13330..d43dfe9d4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/ssdt.c
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0257/ssdt.c
@@ -1,51 +1,51 @@
-/*
- *
- * Intel ACPI Component Architecture
- * ASL Optimizing Compiler version 20061011 [Oct 12 2006]
- * Copyright (C) 2000 - 2006 Intel Corporation
- * Supports ACPI Specification Revision 3.0a
- *
- * Compilation of "ssdt.asl" - Mon Oct 16 10:59:20 2006
- *
- */
- /*
- * 1....
- * 2....DefinitionBlock(
- * 3.... "ssdt.aml", ** Output filename
- * 4.... "SSDT", ** Signature
- * 5.... 0x02, ** DSDT Revision
- * 6.... "Intel", ** OEMID
- * 7.... "Many", ** TABLE ID
- * 8.... 0x00000001 ** OEM Revision
- * 9.... ) {
- */
- unsigned char SSDT_Many_Header [] =
- {
- 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00,0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000000 "SSDTB.....Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000010 "Many........INTL" */
- 0x11,0x10,0x06,0x20, /* 00000014 "... " */
- };
-
- /*
- * 10....
- * 11.... Device(AUXD) {
- */
- unsigned char SSDT_Many_AUXD [] =
- {
- 0x5B,0x82,0x1C,0x41,0x55,0x58,0x44, /* 0000001B "[..AUXD" */
- };
-
- /*
- * 12.... Method(M000) {Return ("\\AUXD.M000 ()")}
- */
- unsigned char SSDT_Many_AUXD_M000 [] =
- {
- 0x14,0x16,0x4D,0x30,0x30,0x30,0x00, /* 00000022 "..M000." */
- 0xA4,0x0D,0x5C,0x41,0x55,0x58,0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28,0x29,0x00, /* 00000032 "..\AUXD.M000 ()." */
- /*
- * 13.... }
- * 14....}
- * 15....
- */
- };
-
+/*
+ *
+ * Intel ACPI Component Architecture
+ * ASL Optimizing Compiler version 20061011 [Oct 12 2006]
+ * Copyright (C) 2000 - 2006 Intel Corporation
+ * Supports ACPI Specification Revision 3.0a
+ *
+ * Compilation of "ssdt.asl" - Mon Oct 16 10:59:20 2006
+ *
+ */
+ /*
+ * 1....
+ * 2....DefinitionBlock(
+ * 3.... "ssdt.aml", ** Output filename
+ * 4.... "SSDT", ** Signature
+ * 5.... 0x02, ** DSDT Revision
+ * 6.... "Intel", ** OEMID
+ * 7.... "Many", ** TABLE ID
+ * 8.... 0x00000001 ** OEM Revision
+ * 9.... ) {
+ */
+ unsigned char SSDT_Many_Header [] =
+ {
+ 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00,0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000000 "SSDTB.....Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000010 "Many........INTL" */
+ 0x11,0x10,0x06,0x20, /* 00000014 "... " */
+ };
+
+ /*
+ * 10....
+ * 11.... Device(AUXD) {
+ */
+ unsigned char SSDT_Many_AUXD [] =
+ {
+ 0x5B,0x82,0x1C,0x41,0x55,0x58,0x44, /* 0000001B "[..AUXD" */
+ };
+
+ /*
+ * 12.... Method(M000) {Return ("\\AUXD.M000 ()")}
+ */
+ unsigned char SSDT_Many_AUXD_M000 [] =
+ {
+ 0x14,0x16,0x4D,0x30,0x30,0x30,0x00, /* 00000022 "..M000." */
+ 0xA4,0x0D,0x5C,0x41,0x55,0x58,0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28,0x29,0x00, /* 00000032 "..\AUXD.M000 ()." */
+ /*
+ * 13.... }
+ * 14....}
+ * 15....
+ */
+ };
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/DECL.asl
index 19982407e..7159a3345 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/DECL.asl
@@ -1,100 +1,100 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 258:
- *
- * SUMMARY: Load operator should fail if its Object parameter being a Region
- * is not in SystemMemory
- */
-
-Name(B258, Buffer() {
-
- 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00, /* 00000000 "SSDTB..." */
- 0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x11,0x10,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
- 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
- 0x30,0x00,0xA4,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0...\AUX" */
- 0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28, /* 00000038 "D.M000 (" */
- 0x29,0x00,
-})
-
-Name (H258, 0)
-
-OperationRegion (R258, 0x80, 0, 0x42)
-
-Field(R258, ByteAcc, NoLock, Preserve) {
- F258, 0x210,
-}
-
-Method(m17e)
-{
- Store(B258, F258)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x000, 0, 0, "\\AUXD", 1)
- return
- }
-
- if (CH03("", 0, 0x001, 0, 0)) {
- return
- }
-
- Load(R258, H258)
-
- if (CH04("", 0, 8, 0, 0x002, 0, 0)) { // AE_TYPE
- return
- }
-
- if (CondRefof(\AUXD, Local0)) {
- } else {
- err("", zFFF, 0x003, 0, 0, "\\AUXD", 0)
- return
- }
-
- Store (ObjectType(Local0), Local1)
-
- if (LNotEqual(Local1, 6)) {
- err("", zFFF, 0x004, 0, 0, Local1, 6)
- return
- }
-
- Store(ObjectType(\AUXD.M000), Local0)
- if (LNotEqual(Local0, 8)) {
- err("", zFFF, 0x005, 0, 0, Local0, 8)
- return
- }
-
- UnLoad(H258)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x006, 0, 0, "\\AUXD", 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 258:
+ *
+ * SUMMARY: Load operator should fail if its Object parameter being a Region
+ * is not in SystemMemory
+ */
+
+Name(B258, Buffer() {
+
+ 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00, /* 00000000 "SSDTB..." */
+ 0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x11,0x10,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
+ 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
+ 0x30,0x00,0xA4,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0...\AUX" */
+ 0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28, /* 00000038 "D.M000 (" */
+ 0x29,0x00,
+})
+
+Name (H258, 0)
+
+OperationRegion (R258, 0x80, 0, 0x42)
+
+Field(R258, ByteAcc, NoLock, Preserve) {
+ F258, 0x210,
+}
+
+Method(m17e)
+{
+ Store(B258, F258)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x000, 0, 0, "\\AUXD", 1)
+ return
+ }
+
+ if (CH03("", 0, 0x001, 0, 0)) {
+ return
+ }
+
+ Load(R258, H258)
+
+ if (CH04("", 0, 8, 0, 0x002, 0, 0)) { // AE_TYPE
+ return
+ }
+
+ if (CondRefof(\AUXD, Local0)) {
+ } else {
+ err("", zFFF, 0x003, 0, 0, "\\AUXD", 0)
+ return
+ }
+
+ Store (ObjectType(Local0), Local1)
+
+ if (LNotEqual(Local1, 6)) {
+ err("", zFFF, 0x004, 0, 0, Local1, 6)
+ return
+ }
+
+ Store(ObjectType(\AUXD.M000), Local0)
+ if (LNotEqual(Local0, 8)) {
+ err("", zFFF, 0x005, 0, 0, Local0, 8)
+ return
+ }
+
+ UnLoad(H258)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x006, 0, 0, "\\AUXD", 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/MAIN.asl
index 9e613689f..79da7ff55 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B258.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0258/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0258/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B258.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0258/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0258/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/RUN.asl
index 99bced60c..dbd25ad67 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 258", TCLD, 258, W017)) {
- SRMT("m17e")
- m17e()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 258", TCLD, 258, W017)) {
+ SRMT("m17e")
+ m17e()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/ssdt.c b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/ssdt.c
index d46c13330..d43dfe9d4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/ssdt.c
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0258/ssdt.c
@@ -1,51 +1,51 @@
-/*
- *
- * Intel ACPI Component Architecture
- * ASL Optimizing Compiler version 20061011 [Oct 12 2006]
- * Copyright (C) 2000 - 2006 Intel Corporation
- * Supports ACPI Specification Revision 3.0a
- *
- * Compilation of "ssdt.asl" - Mon Oct 16 10:59:20 2006
- *
- */
- /*
- * 1....
- * 2....DefinitionBlock(
- * 3.... "ssdt.aml", ** Output filename
- * 4.... "SSDT", ** Signature
- * 5.... 0x02, ** DSDT Revision
- * 6.... "Intel", ** OEMID
- * 7.... "Many", ** TABLE ID
- * 8.... 0x00000001 ** OEM Revision
- * 9.... ) {
- */
- unsigned char SSDT_Many_Header [] =
- {
- 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00,0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000000 "SSDTB.....Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000010 "Many........INTL" */
- 0x11,0x10,0x06,0x20, /* 00000014 "... " */
- };
-
- /*
- * 10....
- * 11.... Device(AUXD) {
- */
- unsigned char SSDT_Many_AUXD [] =
- {
- 0x5B,0x82,0x1C,0x41,0x55,0x58,0x44, /* 0000001B "[..AUXD" */
- };
-
- /*
- * 12.... Method(M000) {Return ("\\AUXD.M000 ()")}
- */
- unsigned char SSDT_Many_AUXD_M000 [] =
- {
- 0x14,0x16,0x4D,0x30,0x30,0x30,0x00, /* 00000022 "..M000." */
- 0xA4,0x0D,0x5C,0x41,0x55,0x58,0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28,0x29,0x00, /* 00000032 "..\AUXD.M000 ()." */
- /*
- * 13.... }
- * 14....}
- * 15....
- */
- };
-
+/*
+ *
+ * Intel ACPI Component Architecture
+ * ASL Optimizing Compiler version 20061011 [Oct 12 2006]
+ * Copyright (C) 2000 - 2006 Intel Corporation
+ * Supports ACPI Specification Revision 3.0a
+ *
+ * Compilation of "ssdt.asl" - Mon Oct 16 10:59:20 2006
+ *
+ */
+ /*
+ * 1....
+ * 2....DefinitionBlock(
+ * 3.... "ssdt.aml", ** Output filename
+ * 4.... "SSDT", ** Signature
+ * 5.... 0x02, ** DSDT Revision
+ * 6.... "Intel", ** OEMID
+ * 7.... "Many", ** TABLE ID
+ * 8.... 0x00000001 ** OEM Revision
+ * 9.... ) {
+ */
+ unsigned char SSDT_Many_Header [] =
+ {
+ 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00,0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000000 "SSDTB.....Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000010 "Many........INTL" */
+ 0x11,0x10,0x06,0x20, /* 00000014 "... " */
+ };
+
+ /*
+ * 10....
+ * 11.... Device(AUXD) {
+ */
+ unsigned char SSDT_Many_AUXD [] =
+ {
+ 0x5B,0x82,0x1C,0x41,0x55,0x58,0x44, /* 0000001B "[..AUXD" */
+ };
+
+ /*
+ * 12.... Method(M000) {Return ("\\AUXD.M000 ()")}
+ */
+ unsigned char SSDT_Many_AUXD_M000 [] =
+ {
+ 0x14,0x16,0x4D,0x30,0x30,0x30,0x00, /* 00000022 "..M000." */
+ 0xA4,0x0D,0x5C,0x41,0x55,0x58,0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28,0x29,0x00, /* 00000032 "..\AUXD.M000 ()." */
+ /*
+ * 13.... }
+ * 14....}
+ * 15....
+ */
+ };
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/DECL.asl
index 9f6829e4b..7dd7062b8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/DECL.asl
@@ -1,119 +1,119 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 259:
- *
- * SUMMARY: _REG method execution during Load operator processing issue
- */
-
-Name(B259, Buffer() {
-
- 0x53,0x53,0x44,0x54,0xD1,0x00,0x00,0x00, /* 00000000 "SSDT...." */
- 0x02,0xE1,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x11,0x10,0x06,0x20,0x5B,0x82,0x4B,0x0A, /* 00000020 "... [.K." */
- 0x41,0x55,0x58,0x44,0x5B,0x80,0x4F,0x50, /* 00000028 "AUXD[.OP" */
- 0x52,0x30,0x80,0x0A,0x00,0x0A,0x04,0x5B, /* 00000030 "R0.....[" */
- 0x81,0x0B,0x4F,0x50,0x52,0x30,0x03,0x52, /* 00000038 "..OPR0.R" */
- 0x46,0x30,0x30,0x20,0x08,0x52,0x45,0x47, /* 00000040 "F00 .REG" */
- 0x43,0xFF,0x08,0x52,0x45,0x47,0x50,0x0A, /* 00000048 "C..REGP." */
- 0x00,0x14,0x33,0x5F,0x52,0x45,0x47,0x02, /* 00000050 "..3_REG." */
- 0x70,0x0D,0x5C,0x41,0x55,0x58,0x44,0x2E, /* 00000058 "p.\AUXD." */
- 0x5F,0x52,0x45,0x47,0x3A,0x00,0x5B,0x31, /* 00000060 "_REG:.[1" */
- 0x70,0x68,0x5B,0x31,0x70,0x69,0x5B,0x31, /* 00000068 "ph[1pi[1" */
- 0xA0,0x14,0x93,0x68,0x0A,0x80,0x70,0x52, /* 00000070 "...h..pR" */
- 0x45,0x47,0x43,0x52,0x45,0x47,0x50,0x70, /* 00000078 "EGCREGPp" */
- 0x69,0x52,0x45,0x47,0x43,0x14,0x4B,0x04, /* 00000080 "iREGC.K." */
- 0x41,0x43,0x43,0x30,0x00,0x70,0x0D,0x5C, /* 00000088 "ACC0.p.\" */
- 0x41,0x55,0x58,0x44,0x2E,0x41,0x43,0x43, /* 00000090 "AUXD.ACC" */
- 0x30,0x3A,0x00,0x5B,0x31,0x70,0x52,0x46, /* 00000098 "0:.[1pRF" */
- 0x30,0x30,0x5B,0x31,0x70,0x52,0x45,0x47, /* 000000A0 "00[1pREG" */
- 0x50,0x5B,0x31,0xA0,0x25,0x92,0x93,0x52, /* 000000A8 "P[1.%..R" */
- 0x45,0x47,0x43,0x0A,0x01,0x70,0x0D,0x45, /* 000000B0 "EGC..p.E" */
- 0x72,0x72,0x6F,0x72,0x3A,0x20,0x52,0x45, /* 000000B8 "rror: RE" */
- 0x47,0x43,0x20,0x21,0x3D,0x20,0x31,0x00, /* 000000C0 "GC != 1." */
- 0x5B,0x31,0x70,0x52,0x45,0x47,0x43,0x5B, /* 000000C8 "[1pREGC[" */
- 0x31,
-})
-
-Name (H259, 0)
-
-OperationRegion (R259, SystemMemory, 0, 0xD1)
-
-Field(R259, ByteAcc, NoLock, Preserve) {
- F259, 0x688,
-}
-
-Method(m17f)
-{
- External(\AUXD.REGC)
-
- Store(B259, F259)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x000, 0, 0, "\\AUXD", 1)
- return
- }
-
- if (CH03("", 0, 0x001, 0, 0)) {
- return
- }
-
- Load(R259, H259)
-
- if (CH03("", 0, 0x002, 0, 0)) {
- return
- }
-
- if (CondRefof(\AUXD, Local0)) {
- } else {
- err("", zFFF, 0x003, 0, 0, "\\AUXD", 0)
- return
- }
-
- Store (ObjectType(Local0), Local1)
-
- if (LNotEqual(Local1, 6)) {
- err("", zFFF, 0x004, 0, 0, Local1, 6)
- return
- }
-
- Store(\AUXD.REGC, Local0)
- if (LNotEqual(Local0, 1)) {
- err("", zFFF, 0x005, 0, 0, Local0, 1)
- return
- }
-
- UnLoad(H259)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x006, 0, 0, "\\AUXD", 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 259:
+ *
+ * SUMMARY: _REG method execution during Load operator processing issue
+ */
+
+Name(B259, Buffer() {
+
+ 0x53,0x53,0x44,0x54,0xD1,0x00,0x00,0x00, /* 00000000 "SSDT...." */
+ 0x02,0xE1,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x11,0x10,0x06,0x20,0x5B,0x82,0x4B,0x0A, /* 00000020 "... [.K." */
+ 0x41,0x55,0x58,0x44,0x5B,0x80,0x4F,0x50, /* 00000028 "AUXD[.OP" */
+ 0x52,0x30,0x80,0x0A,0x00,0x0A,0x04,0x5B, /* 00000030 "R0.....[" */
+ 0x81,0x0B,0x4F,0x50,0x52,0x30,0x03,0x52, /* 00000038 "..OPR0.R" */
+ 0x46,0x30,0x30,0x20,0x08,0x52,0x45,0x47, /* 00000040 "F00 .REG" */
+ 0x43,0xFF,0x08,0x52,0x45,0x47,0x50,0x0A, /* 00000048 "C..REGP." */
+ 0x00,0x14,0x33,0x5F,0x52,0x45,0x47,0x02, /* 00000050 "..3_REG." */
+ 0x70,0x0D,0x5C,0x41,0x55,0x58,0x44,0x2E, /* 00000058 "p.\AUXD." */
+ 0x5F,0x52,0x45,0x47,0x3A,0x00,0x5B,0x31, /* 00000060 "_REG:.[1" */
+ 0x70,0x68,0x5B,0x31,0x70,0x69,0x5B,0x31, /* 00000068 "ph[1pi[1" */
+ 0xA0,0x14,0x93,0x68,0x0A,0x80,0x70,0x52, /* 00000070 "...h..pR" */
+ 0x45,0x47,0x43,0x52,0x45,0x47,0x50,0x70, /* 00000078 "EGCREGPp" */
+ 0x69,0x52,0x45,0x47,0x43,0x14,0x4B,0x04, /* 00000080 "iREGC.K." */
+ 0x41,0x43,0x43,0x30,0x00,0x70,0x0D,0x5C, /* 00000088 "ACC0.p.\" */
+ 0x41,0x55,0x58,0x44,0x2E,0x41,0x43,0x43, /* 00000090 "AUXD.ACC" */
+ 0x30,0x3A,0x00,0x5B,0x31,0x70,0x52,0x46, /* 00000098 "0:.[1pRF" */
+ 0x30,0x30,0x5B,0x31,0x70,0x52,0x45,0x47, /* 000000A0 "00[1pREG" */
+ 0x50,0x5B,0x31,0xA0,0x25,0x92,0x93,0x52, /* 000000A8 "P[1.%..R" */
+ 0x45,0x47,0x43,0x0A,0x01,0x70,0x0D,0x45, /* 000000B0 "EGC..p.E" */
+ 0x72,0x72,0x6F,0x72,0x3A,0x20,0x52,0x45, /* 000000B8 "rror: RE" */
+ 0x47,0x43,0x20,0x21,0x3D,0x20,0x31,0x00, /* 000000C0 "GC != 1." */
+ 0x5B,0x31,0x70,0x52,0x45,0x47,0x43,0x5B, /* 000000C8 "[1pREGC[" */
+ 0x31,
+})
+
+Name (H259, 0)
+
+OperationRegion (R259, SystemMemory, 0, 0xD1)
+
+Field(R259, ByteAcc, NoLock, Preserve) {
+ F259, 0x688,
+}
+
+Method(m17f)
+{
+ External(\AUXD.REGC)
+
+ Store(B259, F259)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x000, 0, 0, "\\AUXD", 1)
+ return
+ }
+
+ if (CH03("", 0, 0x001, 0, 0)) {
+ return
+ }
+
+ Load(R259, H259)
+
+ if (CH03("", 0, 0x002, 0, 0)) {
+ return
+ }
+
+ if (CondRefof(\AUXD, Local0)) {
+ } else {
+ err("", zFFF, 0x003, 0, 0, "\\AUXD", 0)
+ return
+ }
+
+ Store (ObjectType(Local0), Local1)
+
+ if (LNotEqual(Local1, 6)) {
+ err("", zFFF, 0x004, 0, 0, Local1, 6)
+ return
+ }
+
+ Store(\AUXD.REGC, Local0)
+ if (LNotEqual(Local0, 1)) {
+ err("", zFFF, 0x005, 0, 0, Local0, 1)
+ return
+ }
+
+ UnLoad(H259)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x006, 0, 0, "\\AUXD", 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/MAIN.asl
index c9b8a391e..1f9df5889 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B259.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0259/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0259/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B259.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0259/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0259/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/RUN.asl
index 54bc058eb..506d16889 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 259", TCLD, 259, W017)) {
- SRMT("m17f")
- m17f()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 259", TCLD, 259, W017)) {
+ SRMT("m17f")
+ m17f()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/ssdt.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/ssdt.asl
index fa66f54e4..2adc5464a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/ssdt.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0259/ssdt.asl
@@ -1,44 +1,44 @@
-
-DefinitionBlock(
- "ssdt.aml", // Output filename
- "SSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- Device (AUXD) {
-
- OperationRegion (OPR0, 0x80, 0x00, 0x4)
-
- Field (OPR0, DWordAcc, NoLock, Preserve) {
- RF00, 32}
-
- Name (REGC, Ones)
- Name (REGP, 0)
-
- Method(_REG, 2)
- {
- Store("\\AUXD._REG:", Debug)
- Store(arg0, Debug)
- Store(arg1, Debug)
-
- if (LEqual(arg0, 0x80)) {
- Store(REGC, REGP)
- Store(arg1, REGC)
- }
- }
-
- Method(ACC0)
- {
- Store("\\AUXD.ACC0:", Debug)
- Store(RF00, Debug)
- Store(REGP, Debug)
- if (LNotEqual(REGC, 1)) {
- Store("Error: REGC != 1", Debug)
- Store(REGC, Debug)
- }
- }
- }
-}
+
+DefinitionBlock(
+ "ssdt.aml", // Output filename
+ "SSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ Device (AUXD) {
+
+ OperationRegion (OPR0, 0x80, 0x00, 0x4)
+
+ Field (OPR0, DWordAcc, NoLock, Preserve) {
+ RF00, 32}
+
+ Name (REGC, Ones)
+ Name (REGP, 0)
+
+ Method(_REG, 2)
+ {
+ Store("\\AUXD._REG:", Debug)
+ Store(arg0, Debug)
+ Store(arg1, Debug)
+
+ if (LEqual(arg0, 0x80)) {
+ Store(REGC, REGP)
+ Store(arg1, REGC)
+ }
+ }
+
+ Method(ACC0)
+ {
+ Store("\\AUXD.ACC0:", Debug)
+ Store(RF00, Debug)
+ Store(REGP, Debug)
+ if (LNotEqual(REGC, 1)) {
+ Store("Error: REGC != 1", Debug)
+ Store(REGC, Debug)
+ }
+ }
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/DECL.asl
index 0af0d2d25..2df024b5e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/DECL.asl
@@ -1,100 +1,100 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 260:
- *
- * SUMMARY: For a DDBHandle Object ObjectType unexpectedly results in AE_AML_INTERNAL
- */
-
-Method(m029,, Serialized)
-{
- Name(BUF0, Buffer() {
-
- 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00, /* 00000000 "SSDTB..." */
- 0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x11,0x10,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
- 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
- 0x30,0x00,0xA4,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0...\AUX" */
- 0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28, /* 00000038 "D.M000 (" */
- 0x29,0x00,
- })
-
- OperationRegion (IST0, SystemMemory, 0, 0x42)
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- RFU0, 0x210,
- }
-
-
- Method(m000)
- {
- CH03("", 0, 0x000, 0, 0)
-
- Store(BUF0, RFU0)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x001, 0, 0, 0, 0)
- return
- }
-
- Load(IST0, Local2)
-
- Store("SSDT loaded", Debug)
-
- if (CondRefof(\AUXD, Local0)) {
- } else {
- err("", zFFF, 0x002, 0, 0, 0, 0)
- return
- }
-
- Store(ObjectType(Local2), Local1)
- if (LNotEqual(Local1, 15)) {
- Store(Local1, Debug)
- err("", zFFF, 0x003, 0, 0, Local1, 15)
- return
- }
-
- UnLoad(Local2)
-
- Store("SSDT unloaded", Debug)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x004, 0, 0, 0, 0)
- }
-
- CH03("", 0, 0x005, 0, 0)
-
- return
- }
-
- m000()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 260:
+ *
+ * SUMMARY: For a DDBHandle Object ObjectType unexpectedly results in AE_AML_INTERNAL
+ */
+
+Method(m029,, Serialized)
+{
+ Name(BUF0, Buffer() {
+
+ 0x53,0x53,0x44,0x54,0x42,0x00,0x00,0x00, /* 00000000 "SSDTB..." */
+ 0x02,0x81,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x11,0x10,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
+ 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
+ 0x30,0x00,0xA4,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0...\AUX" */
+ 0x44,0x2E,0x4D,0x30,0x30,0x30,0x20,0x28, /* 00000038 "D.M000 (" */
+ 0x29,0x00,
+ })
+
+ OperationRegion (IST0, SystemMemory, 0, 0x42)
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ RFU0, 0x210,
+ }
+
+
+ Method(m000)
+ {
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(BUF0, RFU0)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x001, 0, 0, 0, 0)
+ return
+ }
+
+ Load(IST0, Local2)
+
+ Store("SSDT loaded", Debug)
+
+ if (CondRefof(\AUXD, Local0)) {
+ } else {
+ err("", zFFF, 0x002, 0, 0, 0, 0)
+ return
+ }
+
+ Store(ObjectType(Local2), Local1)
+ if (LNotEqual(Local1, 15)) {
+ Store(Local1, Debug)
+ err("", zFFF, 0x003, 0, 0, Local1, 15)
+ return
+ }
+
+ UnLoad(Local2)
+
+ Store("SSDT unloaded", Debug)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x004, 0, 0, 0, 0)
+ }
+
+ CH03("", 0, 0x005, 0, 0)
+
+ return
+ }
+
+ m000()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/MAIN.asl
index edf8736d2..dd611d182 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B260.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0260/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0260/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B260.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0260/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0260/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/RUN.asl
index 024465e85..ac37dfba1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0260/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 260", TCLD, 260, W017)) {
- SRMT("m029")
- m029()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 260", TCLD, 260, W017)) {
+ SRMT("m029")
+ m029()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/DECL.asl
index 816f0906d..b6b605946 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/DECL.asl
@@ -1,104 +1,104 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 261:
- *
- * SUMMARY: Crash when DDBHandle parameter of Load is an Indexed Reference
- */
-
-Method(m028,, Serialized)
-{
- Name(BUF0, Buffer() {
-
- 0x53,0x53,0x44,0x54,0x4D,0x00,0x00,0x00, /* 00000000 "SSDTM..." */
- 0x02,0x95,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x02,0x11,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
- 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
- 0x30,0x00,0x70,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0.p.\AUX" */
- 0x44,0x2E,0x4D,0x30,0x30,0x30,0x3A,0x00, /* 00000038 "D.M000:." */
- 0x5B,0x31,0x10,0x0A,0x5C,0x00,0x08,0x45, /* 00000040 "[1..\..E" */
- 0x58,0x53,0x54,0x0A,0x02,
- })
-
- OperationRegion (IST0, SystemMemory, 0, 0x4D)
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- RFU0, 0x268,
- }
-
- External(\AUXZ)
-
- Method(m000,, Serialized)
- {
- Name(PAC0, Package(1){})
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(BUF0, RFU0)
-
- if (CondRefof(\AUXZ, Local0)) {
- err("", zFFF, 0x001, 0, 0, Local0, 0x1777777)
- return
- }
-
- Load(RFU0, Index(PAC0, 0))
-
- Store("SSDT loaded", Debug)
-
- if (CondRefof(\AUXZ, Local0)) {
- } else {
- err("", zFFF, 0x002, 0, 0, Local0, 0x1777777)
- return
- }
-
- Store(ObjectType(Index(PAC0, 0)), Local1)
- if (LNotEqual(Local1, 15)) {
- Store(Local1, Debug)
- err("", zFFF, 0x003, 0, 0, Local0, 0x1777777)
- return
- }
-
- UnLoad(Derefof(Index(PAC0, 0)))
-
- Store("SSDT unloaded", Debug)
-
- if (CondRefof(\AUXZ, Local0)) {
- err("", zFFF, 0x004, 0, 0, Local0, 0x1777777)
- }
-
- CH03("", 0, 0x005, 0, 0)
-
- return
- }
-
- m000()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 261:
+ *
+ * SUMMARY: Crash when DDBHandle parameter of Load is an Indexed Reference
+ */
+
+Method(m028,, Serialized)
+{
+ Name(BUF0, Buffer() {
+
+ 0x53,0x53,0x44,0x54,0x4D,0x00,0x00,0x00, /* 00000000 "SSDTM..." */
+ 0x02,0x95,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x02,0x11,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
+ 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
+ 0x30,0x00,0x70,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0.p.\AUX" */
+ 0x44,0x2E,0x4D,0x30,0x30,0x30,0x3A,0x00, /* 00000038 "D.M000:." */
+ 0x5B,0x31,0x10,0x0A,0x5C,0x00,0x08,0x45, /* 00000040 "[1..\..E" */
+ 0x58,0x53,0x54,0x0A,0x02,
+ })
+
+ OperationRegion (IST0, SystemMemory, 0, 0x4D)
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ RFU0, 0x268,
+ }
+
+ External(\AUXZ)
+
+ Method(m000,, Serialized)
+ {
+ Name(PAC0, Package(1){})
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(BUF0, RFU0)
+
+ if (CondRefof(\AUXZ, Local0)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 0x1777777)
+ return
+ }
+
+ Load(RFU0, Index(PAC0, 0))
+
+ Store("SSDT loaded", Debug)
+
+ if (CondRefof(\AUXZ, Local0)) {
+ } else {
+ err("", zFFF, 0x002, 0, 0, Local0, 0x1777777)
+ return
+ }
+
+ Store(ObjectType(Index(PAC0, 0)), Local1)
+ if (LNotEqual(Local1, 15)) {
+ Store(Local1, Debug)
+ err("", zFFF, 0x003, 0, 0, Local0, 0x1777777)
+ return
+ }
+
+ UnLoad(Derefof(Index(PAC0, 0)))
+
+ Store("SSDT unloaded", Debug)
+
+ if (CondRefof(\AUXZ, Local0)) {
+ err("", zFFF, 0x004, 0, 0, Local0, 0x1777777)
+ }
+
+ CH03("", 0, 0x005, 0, 0)
+
+ return
+ }
+
+ m000()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/MAIN.asl
index b6df3a5a1..1cd0e2553 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B261.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0261/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0261/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B261.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0261/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0261/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/RUN.asl
index d2eb9357a..922a86580 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0261/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 261", TCLD, 261, W017)) {
- SRMT("m028")
- if (y261) {
- m028()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 261", TCLD, 261, W017)) {
+ SRMT("m028")
+ if (y261) {
+ m028()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/DECL.asl
index c79e019dd..3e9892dce 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/DECL.asl
@@ -1,70 +1,70 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 262:
- *
- * SUMMARY: Unexpected AE_STACK_OVERFLOW for a method call expression with nested calls
- */
-
-Method(m027,, Serialized)
-{
- Name(iad1, 0x1)
- Name(iad2, 0x10)
- Name(iad3, 0x100)
- Name(iad4, 0x1000)
- Name(iad5, 0x10000)
- Name(iad6, 0x100000)
- Name(iad7, 0x1000000)
-
- Method(mad1, 1) {Return(Arg0)}
- Method(mad7, 7) {Return(Add(Add(Add(Add(Add(Add(Arg0, Arg1), Arg2), Arg3), Arg4), Arg5), Arg6))}
-
- Method(m000)
- {
- Store(mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
- mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
- mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
- mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
- mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
- mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
- mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
- mad1(iad7)))))))), Local0)
-
- Store (Local0, Debug)
-
- if (LNotEqual(Local0, 0x1777777)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0x1777777)
- }
- }
-
- CH03("", 0, 0x001, 0, 0)
- m000()
- CH03("", 0, 0x002, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 262:
+ *
+ * SUMMARY: Unexpected AE_STACK_OVERFLOW for a method call expression with nested calls
+ */
+
+Method(m027,, Serialized)
+{
+ Name(iad1, 0x1)
+ Name(iad2, 0x10)
+ Name(iad3, 0x100)
+ Name(iad4, 0x1000)
+ Name(iad5, 0x10000)
+ Name(iad6, 0x100000)
+ Name(iad7, 0x1000000)
+
+ Method(mad1, 1) {Return(Arg0)}
+ Method(mad7, 7) {Return(Add(Add(Add(Add(Add(Add(Arg0, Arg1), Arg2), Arg3), Arg4), Arg5), Arg6))}
+
+ Method(m000)
+ {
+ Store(mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
+ mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
+ mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
+ mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
+ mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
+ mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
+ mad7(mad1(iad1), mad1(iad2), mad1(iad3), mad1(iad4), mad1(iad5), mad1(iad6),
+ mad1(iad7)))))))), Local0)
+
+ Store (Local0, Debug)
+
+ if (LNotEqual(Local0, 0x1777777)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0x1777777)
+ }
+ }
+
+ CH03("", 0, 0x001, 0, 0)
+ m000()
+ CH03("", 0, 0x002, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/MAIN.asl
index 3b3e95569..d34436d47 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B262.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0262/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0262/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B262.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0262/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0262/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/RUN.asl
index 9822d7f9e..4bbf8848e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0262/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 262", TCLD, 262, W017)) {
- SRMT("m027")
- if (y262) {
- m027()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 262", TCLD, 262, W017)) {
+ SRMT("m027")
+ if (y262) {
+ m027()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/DECL.asl
index 8b84f1819..b59665d82 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/DECL.asl
@@ -1,124 +1,124 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 263:
- *
- * SUMMARY: The sequence of evaluating operands of expression with the named objects is violated
- */
-
-Method(m026)
-{
- Method(mm00,, Serialized)
- {
- Name(i000, 0x00000001)
-
- Method(m001)
- {
- Store(0x50000000, i000)
- Return (i000)
- }
- Store(Add(i000, m001()), Local0)
-
- Store(Local0, Debug)
- Store(i000, Debug)
-
- if (LNotEqual(Local0, 0x50000001)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0x50000001)
- }
-
- if (LNotEqual(i000, 0x50000000)) {
- err("", zFFF, 0x001, 0, 0, i000, 0x50000000)
- }
- }
-
- Method(mm01, 1, Serialized)
- {
- Name(i000, 0x00000001)
- Name(i001, 0)
- Name(p000, Package() {1,2,3,4})
-
- Store(arg0, i001)
-
- Method(m001)
- {
- Method(m002)
- {
- Method(m003)
- {
- Method(m004)
- {
- Method(m005)
- {
- Method(m006)
- {
- Method(m007)
- {
- Method(m008)
- {
- if (i001)
- {
- CopyObject(p000, i000)
- }
- Return (0)
- }
- Store(0x80000000, i000)
- Return (Add(i000, m008()))
- }
- Store(0x07000000, i000)
- Return (Add(i000, m007()))
- }
- Store(0x00600000, i000)
- Return (Add(i000, m006()))
- }
- Store(0x00050000, i000)
- Return (Add(i000, m005()))
- }
- Store(0x00004000, i000)
- Return (Add(i000, m004()))
- }
- Store(0x00000300, i000)
- Return (Add(i000, m003()))
- }
- Store(0x00000020, i000)
- Return (Add(i000, m002()))
- }
- Store(Add(i000, m001()), Local0)
-
- if (LNotEqual(Local0, 0x87654321)) {
- err("", zFFF, 0x002, 0, 0, Local0, 0x87654321)
- }
-
- if (LNotEqual(i000, 0x80000000)) {
- err("", zFFF, 0x003, 0, 0, i000, 0x80000000)
- }
- }
- mm00()
- mm01(0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 263:
+ *
+ * SUMMARY: The sequence of evaluating operands of expression with the named objects is violated
+ */
+
+Method(m026)
+{
+ Method(mm00,, Serialized)
+ {
+ Name(i000, 0x00000001)
+
+ Method(m001)
+ {
+ Store(0x50000000, i000)
+ Return (i000)
+ }
+ Store(Add(i000, m001()), Local0)
+
+ Store(Local0, Debug)
+ Store(i000, Debug)
+
+ if (LNotEqual(Local0, 0x50000001)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0x50000001)
+ }
+
+ if (LNotEqual(i000, 0x50000000)) {
+ err("", zFFF, 0x001, 0, 0, i000, 0x50000000)
+ }
+ }
+
+ Method(mm01, 1, Serialized)
+ {
+ Name(i000, 0x00000001)
+ Name(i001, 0)
+ Name(p000, Package() {1,2,3,4})
+
+ Store(arg0, i001)
+
+ Method(m001)
+ {
+ Method(m002)
+ {
+ Method(m003)
+ {
+ Method(m004)
+ {
+ Method(m005)
+ {
+ Method(m006)
+ {
+ Method(m007)
+ {
+ Method(m008)
+ {
+ if (i001)
+ {
+ CopyObject(p000, i000)
+ }
+ Return (0)
+ }
+ Store(0x80000000, i000)
+ Return (Add(i000, m008()))
+ }
+ Store(0x07000000, i000)
+ Return (Add(i000, m007()))
+ }
+ Store(0x00600000, i000)
+ Return (Add(i000, m006()))
+ }
+ Store(0x00050000, i000)
+ Return (Add(i000, m005()))
+ }
+ Store(0x00004000, i000)
+ Return (Add(i000, m004()))
+ }
+ Store(0x00000300, i000)
+ Return (Add(i000, m003()))
+ }
+ Store(0x00000020, i000)
+ Return (Add(i000, m002()))
+ }
+ Store(Add(i000, m001()), Local0)
+
+ if (LNotEqual(Local0, 0x87654321)) {
+ err("", zFFF, 0x002, 0, 0, Local0, 0x87654321)
+ }
+
+ if (LNotEqual(i000, 0x80000000)) {
+ err("", zFFF, 0x003, 0, 0, i000, 0x80000000)
+ }
+ }
+ mm00()
+ mm01(0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/MAIN.asl
index 533a9eb54..a1c835091 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B263.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0263/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0263/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B263.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0263/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0263/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/RUN.asl
index 672013f62..d94b56c82 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0263/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 263", TCLD, 263, W017)) {
- SRMT("m026")
- m026()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 263", TCLD, 263, W017)) {
+ SRMT("m026")
+ m026()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/DECL.asl
index 399155039..6717908dd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/DECL.asl
@@ -1,135 +1,135 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 264:
- *
- * SUMMARY: Crash on re-writing named element of Package
- */
-
-/*
- * To be done:
- *
- * 1) Do then the bdemo-test for different type element of Package
- * (not only Integer i000 as now).
- *
- * 2) See below: what should be there the result of Store operations?
- *
- * 3) After (2) do the relevant tests - writing/rewriting to such type elements of packages.
- */
-
-Method(m025)
-{
- Method(m000,, Serialized)
- {
- Name(i000, 0xabcd0000)
- Name(p000, Package() { i000 })
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(0xabcd0001, DerefOf(Index(p000, 0)))
-
-/*
-Specify then what should be there the result of Store operation above?
-
- Store(DerefOf(Index(p000, 0)), Local0)
- if (LNotEqual(Local0, 0xabcd0000)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0000)
- }
-*/
-
- CH03("", 0, 0x001, 0, 0)
- }
-
- Method(m001,, Serialized)
- {
- Name(i000, 0xabcd0000)
- Name(p000, Package() { i000 })
-
- CH03("", 0, 0x002, 0, 0)
- Store(0xabcd0001, DerefOf(Index(p000, 0, Local0)))
- CH03("", 0, 0x003, 0, 0)
- }
-
- Method(m002,, Serialized)
- {
- Name(i000, 0xabcd0000)
- Name(p000, Package() { i000 })
-
- CH03("", 0, 0x004, 0, 0)
- Index(p000, 0, Local0)
- Store(0xabcd0001, DerefOf(Local0))
- CH03("", 0, 0x005, 0, 0)
- }
-
- Method(m003,, Serialized)
- {
- Name(i000, 0xabcd0000)
- Name(p000, Package() { i000 })
-
- CH03("", 0, 0x006, 0, 0)
- Store(Index(p000, 0), Local0)
- Store(0xabcd0001, DerefOf(Local0))
- CH03("", 0, 0x007, 0, 0)
- }
-
- Method(m004,, Serialized)
- {
- Name(i000, 0xabcd0000)
- Name(p000, Package() { i000 })
-
- CH03("", 0, 0x008, 0, 0)
- Store(Index(p000, 0, Local0), Local1)
- Store(0xabcd0001, DerefOf(Local0))
- CH03("", 0, 0x009, 0, 0)
- }
-
- Method(m005,, Serialized)
- {
- Name(i000, 0xabcd0000)
- Name(p000, Package() { i000 })
-
- CH03("", 0, 0x00a, 0, 0)
- Store(Index(p000, 0, Local0), Local1)
- Store(0xabcd0001, DerefOf(Local1))
- CH03("", 0, 0x00b, 0, 0)
- }
-
-
- Method(m006) {
- m000()
- m001()
- m002()
- m003()
- m004()
- m005()
- }
-
- m006()
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 264:
+ *
+ * SUMMARY: Crash on re-writing named element of Package
+ */
+
+/*
+ * To be done:
+ *
+ * 1) Do then the bdemo-test for different type element of Package
+ * (not only Integer i000 as now).
+ *
+ * 2) See below: what should be there the result of Store operations?
+ *
+ * 3) After (2) do the relevant tests - writing/rewriting to such type elements of packages.
+ */
+
+Method(m025)
+{
+ Method(m000,, Serialized)
+ {
+ Name(i000, 0xabcd0000)
+ Name(p000, Package() { i000 })
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(0xabcd0001, DerefOf(Index(p000, 0)))
+
+/*
+Specify then what should be there the result of Store operation above?
+
+ Store(DerefOf(Index(p000, 0)), Local0)
+ if (LNotEqual(Local0, 0xabcd0000)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0000)
+ }
+*/
+
+ CH03("", 0, 0x001, 0, 0)
+ }
+
+ Method(m001,, Serialized)
+ {
+ Name(i000, 0xabcd0000)
+ Name(p000, Package() { i000 })
+
+ CH03("", 0, 0x002, 0, 0)
+ Store(0xabcd0001, DerefOf(Index(p000, 0, Local0)))
+ CH03("", 0, 0x003, 0, 0)
+ }
+
+ Method(m002,, Serialized)
+ {
+ Name(i000, 0xabcd0000)
+ Name(p000, Package() { i000 })
+
+ CH03("", 0, 0x004, 0, 0)
+ Index(p000, 0, Local0)
+ Store(0xabcd0001, DerefOf(Local0))
+ CH03("", 0, 0x005, 0, 0)
+ }
+
+ Method(m003,, Serialized)
+ {
+ Name(i000, 0xabcd0000)
+ Name(p000, Package() { i000 })
+
+ CH03("", 0, 0x006, 0, 0)
+ Store(Index(p000, 0), Local0)
+ Store(0xabcd0001, DerefOf(Local0))
+ CH03("", 0, 0x007, 0, 0)
+ }
+
+ Method(m004,, Serialized)
+ {
+ Name(i000, 0xabcd0000)
+ Name(p000, Package() { i000 })
+
+ CH03("", 0, 0x008, 0, 0)
+ Store(Index(p000, 0, Local0), Local1)
+ Store(0xabcd0001, DerefOf(Local0))
+ CH03("", 0, 0x009, 0, 0)
+ }
+
+ Method(m005,, Serialized)
+ {
+ Name(i000, 0xabcd0000)
+ Name(p000, Package() { i000 })
+
+ CH03("", 0, 0x00a, 0, 0)
+ Store(Index(p000, 0, Local0), Local1)
+ Store(0xabcd0001, DerefOf(Local1))
+ CH03("", 0, 0x00b, 0, 0)
+ }
+
+
+ Method(m006) {
+ m000()
+ m001()
+ m002()
+ m003()
+ m004()
+ m005()
+ }
+
+ m006()
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/MAIN.asl
index 9761ac6a1..187828b7e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B264.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0264/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0264/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B264.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0264/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0264/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/RUN.asl
index 141a65b33..1710f0e2e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0264/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 264", TCLD, 264, W017)) {
- SRMT("m025")
- if (y264) {
- m025()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 264", TCLD, 264, W017)) {
+ SRMT("m025")
+ if (y264) {
+ m025()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/DECL.asl
index 68f85967f..576743a1a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/DECL.asl
@@ -1,111 +1,111 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 265:
- *
- * SUMMARY: The second run to method calculating the IRef-to-String expression is evaluated incorrectly
- */
-
-Method(m024)
-{
- Method(mm00,, Serialized)
- {
- Name(i001, 0)
- Name(s000, "q\001ertyuiop")
-
- Method(m001)
- {
- Method(m002)
- {
- Method(m003)
- {
- Method(m004)
- {
- Method(m005)
- {
- Method(m006)
- {
- Method(m007)
- {
- Method(m008)
- {
- Return (0)
- }
- Store(0x08, Index(s000, 1))
- Return (Add(DerefOf(Index(s000, 1)), m008()))
- }
- Store(0x07, Index(s000, 1))
- Return (Add(DerefOf(Index(s000, 1)), m007()))
- }
- Store(0x06, Index(s000, 1))
- Return (Add(DerefOf(Index(s000, 1)), m006()))
- }
- Store(0x05, Index(s000, 1))
- Return (Add(DerefOf(Index(s000, 1)), m005()))
- }
- Store(0x04, Index(s000, 1))
- Return (Add(DerefOf(Index(s000, 1)), m004()))
- }
- Store(0x03, Index(s000, 1))
- Return (Add(DerefOf(Index(s000, 1)), m003()))
- }
- Store(0x02, Index(s000, 1))
- Return (Add(DerefOf(Index(s000, 1)), m002()))
- }
- Store(Add(DerefOf(Index(s000, 1)), m001()), Local0)
-
- if (LNotEqual(Local0, 0x24)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0x24)
- }
-
- Store(DerefOf(Index(s000, 1)), Local0)
-
- Store(0x08, Local1)
-
- if (LNotEqual(Local0, Local1)) {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- }
- }
-
- Method(mm01)
- {
- Store("The first run to mm00:", Debug)
- mm00()
-
- Store("The second run to mm00:", Debug)
- mm00()
-
- Store("The third run to mm00:", Debug)
- mm00()
- }
-
- mm01()
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 265:
+ *
+ * SUMMARY: The second run to method calculating the IRef-to-String expression is evaluated incorrectly
+ */
+
+Method(m024)
+{
+ Method(mm00,, Serialized)
+ {
+ Name(i001, 0)
+ Name(s000, "q\001ertyuiop")
+
+ Method(m001)
+ {
+ Method(m002)
+ {
+ Method(m003)
+ {
+ Method(m004)
+ {
+ Method(m005)
+ {
+ Method(m006)
+ {
+ Method(m007)
+ {
+ Method(m008)
+ {
+ Return (0)
+ }
+ Store(0x08, Index(s000, 1))
+ Return (Add(DerefOf(Index(s000, 1)), m008()))
+ }
+ Store(0x07, Index(s000, 1))
+ Return (Add(DerefOf(Index(s000, 1)), m007()))
+ }
+ Store(0x06, Index(s000, 1))
+ Return (Add(DerefOf(Index(s000, 1)), m006()))
+ }
+ Store(0x05, Index(s000, 1))
+ Return (Add(DerefOf(Index(s000, 1)), m005()))
+ }
+ Store(0x04, Index(s000, 1))
+ Return (Add(DerefOf(Index(s000, 1)), m004()))
+ }
+ Store(0x03, Index(s000, 1))
+ Return (Add(DerefOf(Index(s000, 1)), m003()))
+ }
+ Store(0x02, Index(s000, 1))
+ Return (Add(DerefOf(Index(s000, 1)), m002()))
+ }
+ Store(Add(DerefOf(Index(s000, 1)), m001()), Local0)
+
+ if (LNotEqual(Local0, 0x24)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0x24)
+ }
+
+ Store(DerefOf(Index(s000, 1)), Local0)
+
+ Store(0x08, Local1)
+
+ if (LNotEqual(Local0, Local1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ }
+ }
+
+ Method(mm01)
+ {
+ Store("The first run to mm00:", Debug)
+ mm00()
+
+ Store("The second run to mm00:", Debug)
+ mm00()
+
+ Store("The third run to mm00:", Debug)
+ mm00()
+ }
+
+ mm01()
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/MAIN.asl
index 87dec71d5..ac2420e2e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B265.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0265/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0265/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B265.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0265/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0265/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/RUN.asl
index 0b03c7c14..5ad224473 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0265/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 265", TCLD, 265, W017)) {
- SRMT("m024")
- m024()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 265", TCLD, 265, W017)) {
+ SRMT("m024")
+ m024()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0266_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0266_DEMO_IMPOSSIBLE/DECL.asl
index 005e56da6..85ce68ef8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0266_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0266_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 266:
- *
- * SUMMARY: Code of ACPICA which handles AML_NAME_OP as ObjDesc->Reference.Opcode is unused
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 266:
+ *
+ * SUMMARY: Code of ACPICA which handles AML_NAME_OP as ObjDesc->Reference.Opcode is unused
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0267_DEMO_IMPOSSIBLE/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0267_DEMO_IMPOSSIBLE/DECL.asl
index 848949377..202046ba8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0267_DEMO_IMPOSSIBLE/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0267_DEMO_IMPOSSIBLE/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 267:
- *
- * SUMMARY: Add the BatchMode with the AcpiTerminate
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 267:
+ *
+ * SUMMARY: Add the BatchMode with the AcpiTerminate
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/DECL.asl
index db564410c..783349cb6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/DECL.asl
@@ -1,69 +1,69 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 268:
- *
- * SUMMARY: The manner parameters are passed to method in ACPICA contradicts to MS
- */
-
-Method(m023,, Serialized)
-{
- Name(i000, 0xabcd0000)
- Method(mm00, 1)
- {
- Store("The view from inside method MM00:", Debug)
- Store("--------- i000 before re-writing i000:", Debug)
- Store(i000, Debug)
- Store("--------- Arg0 before re-writing i000:", Debug)
- Store(arg0, Debug)
- Store(0x11223344, i000)
- Store("--------- Arg0 after re-writing i000:", Debug)
- Store(arg0, Debug)
- Store("--------- i000 after re-writing i000:", Debug)
- Store(i000, Debug)
-
- if (LNotEqual(arg0, 0xabcd0000)) {
- err("", zFFF, 0x000, 0, 0, arg0, 0xabcd0000)
- }
- }
-
- Store("m000: test 0 (Integer passed to method)", Debug)
-
- Store("========= i000 from m000 before re-writing i000:", Debug)
- Store(i000, Debug)
-
- mm00(i000)
-
- Store("========= i000 from m000 after re-writing i000:", Debug)
- Store(i000, Debug)
-
- if (LNotEqual(i000, 0x11223344)) {
- err("", zFFF, 0x001, 0, 0, i000, 0x11223344)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 268:
+ *
+ * SUMMARY: The manner parameters are passed to method in ACPICA contradicts to MS
+ */
+
+Method(m023,, Serialized)
+{
+ Name(i000, 0xabcd0000)
+ Method(mm00, 1)
+ {
+ Store("The view from inside method MM00:", Debug)
+ Store("--------- i000 before re-writing i000:", Debug)
+ Store(i000, Debug)
+ Store("--------- Arg0 before re-writing i000:", Debug)
+ Store(arg0, Debug)
+ Store(0x11223344, i000)
+ Store("--------- Arg0 after re-writing i000:", Debug)
+ Store(arg0, Debug)
+ Store("--------- i000 after re-writing i000:", Debug)
+ Store(i000, Debug)
+
+ if (LNotEqual(arg0, 0xabcd0000)) {
+ err("", zFFF, 0x000, 0, 0, arg0, 0xabcd0000)
+ }
+ }
+
+ Store("m000: test 0 (Integer passed to method)", Debug)
+
+ Store("========= i000 from m000 before re-writing i000:", Debug)
+ Store(i000, Debug)
+
+ mm00(i000)
+
+ Store("========= i000 from m000 after re-writing i000:", Debug)
+ Store(i000, Debug)
+
+ if (LNotEqual(i000, 0x11223344)) {
+ err("", zFFF, 0x001, 0, 0, i000, 0x11223344)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/MAIN.asl
index 726ebceb5..bcdf4e136 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B268.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0268/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0268/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B268.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0268/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0268/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/RUN.asl
index 342d717ef..72fa2b2a6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0268/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 268", TCLD, 268, W017)) {
- SRMT("m023")
- m023()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 268", TCLD, 268, W017)) {
+ SRMT("m023")
+ m023()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/DECL.asl
index fcc12476a..0fb4e0f01 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/DECL.asl
@@ -1,112 +1,112 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 269:
- *
- * SUMMARY: The sequence of evaluating Named object operands passed to method is violated
- */
-
-Method(m022,, Serialized)
-{
- Name(i000, 0x00000001)
- Name(i001, 0)
- Name(p000, Package() {1,2,3,4})
-
- Store(0, i001)
-
- Method(MAdd, 2)
- {
- Add(arg0, arg1, Local0)
- Return (Local0)
- }
-
- Method(m001)
- {
- Method(m002)
- {
- Method(m003)
- {
- Method(m004)
- {
- Method(m005)
- {
- Method(m006)
- {
- Method(m007)
- {
- Method(m008)
- {
- if (i001)
- {
- CopyObject(p000, i000)
- }
- Return (0)
- }
- Store(0x80000000, i000)
- Return (MAdd(i000, m008()))
- }
- Store(0x07000000, i000)
- Return (MAdd(i000, m007()))
- }
- Store(0x00600000, i000)
- Return (MAdd(i000, m006()))
- }
- Store(0x00050000, i000)
- Return (MAdd(i000, m005()))
- }
- Store(0x00004000, i000)
- Return (MAdd(i000, m004()))
- }
- Store(0x00000300, i000)
- Return (MAdd(i000, m003()))
- }
- Store(0x00000020, i000)
- Return (MAdd(i000, m002()))
- }
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(MAdd(i000, m001()), Local0)
-
- if (LNotEqual(Local0, 0x87654321)) {
- err("", zFFF, 0x001, 0, 0, Local0, c00e)
- }
-
- if (LNotEqual(i000, 0x80000000)) {
- err("", zFFF, 0x002, 0, 0, Local0, c00e)
- }
-
- Store("Result:", Debug)
- Store(Local0, Debug)
-
- Store("i000:", Debug)
- Store(i000, Debug)
-
- CH03("", 0, 0x000, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 269:
+ *
+ * SUMMARY: The sequence of evaluating Named object operands passed to method is violated
+ */
+
+Method(m022,, Serialized)
+{
+ Name(i000, 0x00000001)
+ Name(i001, 0)
+ Name(p000, Package() {1,2,3,4})
+
+ Store(0, i001)
+
+ Method(MAdd, 2)
+ {
+ Add(arg0, arg1, Local0)
+ Return (Local0)
+ }
+
+ Method(m001)
+ {
+ Method(m002)
+ {
+ Method(m003)
+ {
+ Method(m004)
+ {
+ Method(m005)
+ {
+ Method(m006)
+ {
+ Method(m007)
+ {
+ Method(m008)
+ {
+ if (i001)
+ {
+ CopyObject(p000, i000)
+ }
+ Return (0)
+ }
+ Store(0x80000000, i000)
+ Return (MAdd(i000, m008()))
+ }
+ Store(0x07000000, i000)
+ Return (MAdd(i000, m007()))
+ }
+ Store(0x00600000, i000)
+ Return (MAdd(i000, m006()))
+ }
+ Store(0x00050000, i000)
+ Return (MAdd(i000, m005()))
+ }
+ Store(0x00004000, i000)
+ Return (MAdd(i000, m004()))
+ }
+ Store(0x00000300, i000)
+ Return (MAdd(i000, m003()))
+ }
+ Store(0x00000020, i000)
+ Return (MAdd(i000, m002()))
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(MAdd(i000, m001()), Local0)
+
+ if (LNotEqual(Local0, 0x87654321)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c00e)
+ }
+
+ if (LNotEqual(i000, 0x80000000)) {
+ err("", zFFF, 0x002, 0, 0, Local0, c00e)
+ }
+
+ Store("Result:", Debug)
+ Store(Local0, Debug)
+
+ Store("i000:", Debug)
+ Store(i000, Debug)
+
+ CH03("", 0, 0x000, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/MAIN.asl
index 3d8871b8f..9dfb6a8d1 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B269.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0269/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0269/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B269.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0269/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0269/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/RUN.asl
index df565c822..2656d449d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0269/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 269", TCLD, 269, W017)) {
- SRMT("m022")
- m022()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 269", TCLD, 269, W017)) {
+ SRMT("m022")
+ m022()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0270_SPEC/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0270_SPEC/DECL.asl
index c39b42453..1bbc619ce 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0270_SPEC/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0270_SPEC/DECL.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 270:
- *
- * SUMMARY: ACPI control method calling convention and MS interpreter don't fit each other
- */
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 270:
+ *
+ * SUMMARY: ACPI control method calling convention and MS interpreter don't fit each other
+ */
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/DECL.asl
index 9044fd62e..2686a62c2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/DECL.asl
@@ -1,72 +1,72 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 271:
- *
- * SUMMARY: CopyObject of Device works incorrectly
- */
-
-Method(m021,, Serialized)
-{
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0001)
- Name(i002, 0xabcd0002)
- Device(d000) { Name(i002, 0xabcd0002) }
-
- Method(m123, 1)
- {
- CopyObject(d000, arg0)
- CopyObject(d000, Local0)
- CopyObject(d000, i001)
- Store("------------------------- Resulting devices:", Debug)
- Store(arg0, Debug)
- Store(Local0, Debug)
- Store(i001, Debug)
- Store("-------------------------.", Debug)
- }
-
- CH03("", 0, 0x000, 0, 0)
-
- m123(i000)
-
- Store(ObjectType(i001), Local0)
- if (LNotEqual(Local0, c00e)) {
- err("", zFFF, 0x001, 0, 0, Local0, c00e)
- }
- CH03("", 0, 0x002, 0, 0)
-
- CopyObject(i002, i001)
-
- Store(ObjectType(i001), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x003, 0, 0, Local0, c009)
- }
- CH03("", 0, 0x004, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 271:
+ *
+ * SUMMARY: CopyObject of Device works incorrectly
+ */
+
+Method(m021,, Serialized)
+{
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0001)
+ Name(i002, 0xabcd0002)
+ Device(d000) { Name(i002, 0xabcd0002) }
+
+ Method(m123, 1)
+ {
+ CopyObject(d000, arg0)
+ CopyObject(d000, Local0)
+ CopyObject(d000, i001)
+ Store("------------------------- Resulting devices:", Debug)
+ Store(arg0, Debug)
+ Store(Local0, Debug)
+ Store(i001, Debug)
+ Store("-------------------------.", Debug)
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+
+ m123(i000)
+
+ Store(ObjectType(i001), Local0)
+ if (LNotEqual(Local0, c00e)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c00e)
+ }
+ CH03("", 0, 0x002, 0, 0)
+
+ CopyObject(i002, i001)
+
+ Store(ObjectType(i001), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x003, 0, 0, Local0, c009)
+ }
+ CH03("", 0, 0x004, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/MAIN.asl
index a5588f6e0..36a47f537 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B271.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0271/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0271/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B271.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0271/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0271/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/RUN.asl
index 915d4b8b1..c3ee50852 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0271/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 271", TCLD, 271, W017)) {
- SRMT("m021")
- m021()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 271", TCLD, 271, W017)) {
+ SRMT("m021")
+ m021()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/DECL.asl
index 92c70876e..76cf6d8a9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/DECL.asl
@@ -1,72 +1,72 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 272:
- *
- * SUMMARY: CopyObject of ThermalZone works incorrectly
- */
-
-Method(m020,, Serialized)
-{
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0001)
- Name(i002, 0xabcd0002)
- ThermalZone(tz00) { Name(i001, 0xabcd0001) }
-
- Method(m123, 1)
- {
- CopyObject(tz00, arg0)
- CopyObject(tz00, Local0)
- CopyObject(tz00, i001)
- Store("------------------------- Resulting devices:", Debug)
- Store(arg0, Debug)
- Store(Local0, Debug)
- Store(i001, Debug)
- Store("-------------------------.", Debug)
- }
-
- CH03("", 0, 0x000, 0, 0)
-
- m123(i000)
-
- Store(ObjectType(i001), Local0)
- if (LNotEqual(Local0, c015)) {
- err("", zFFF, 0x001, 0, 0, Local0, c015)
- }
- CH03("", 0, 0x002, 0, 0)
-
- CopyObject(i002, i001)
-
- Store(ObjectType(i001), Local0)
- if (LNotEqual(Local0, c009)) {
- err("", zFFF, 0x003, 0, 0, Local0, c009)
- }
- CH03("", 0, 0x004, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 272:
+ *
+ * SUMMARY: CopyObject of ThermalZone works incorrectly
+ */
+
+Method(m020,, Serialized)
+{
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0001)
+ Name(i002, 0xabcd0002)
+ ThermalZone(tz00) { Name(i001, 0xabcd0001) }
+
+ Method(m123, 1)
+ {
+ CopyObject(tz00, arg0)
+ CopyObject(tz00, Local0)
+ CopyObject(tz00, i001)
+ Store("------------------------- Resulting devices:", Debug)
+ Store(arg0, Debug)
+ Store(Local0, Debug)
+ Store(i001, Debug)
+ Store("-------------------------.", Debug)
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+
+ m123(i000)
+
+ Store(ObjectType(i001), Local0)
+ if (LNotEqual(Local0, c015)) {
+ err("", zFFF, 0x001, 0, 0, Local0, c015)
+ }
+ CH03("", 0, 0x002, 0, 0)
+
+ CopyObject(i002, i001)
+
+ Store(ObjectType(i001), Local0)
+ if (LNotEqual(Local0, c009)) {
+ err("", zFFF, 0x003, 0, 0, Local0, c009)
+ }
+ CH03("", 0, 0x004, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/MAIN.asl
index 7c0e8970d..3338b35ea 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B272.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0272/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0272/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B272.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0272/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0272/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/RUN.asl
index 6a7e41a50..e872de262 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0272/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 272", TCLD, 272, W017)) {
- SRMT("m020")
- m020()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 272", TCLD, 272, W017)) {
+ SRMT("m020")
+ m020()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/DECL.asl
index 98555ce59..fe3a5543b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/DECL.asl
@@ -1,109 +1,109 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 273:
- *
- * SUMMARY: Implementation of LoadTable operator should take into account its RootPathString parameter
- */
-
-Name(SSDT, Buffer(0x30){
- 0x4F,0x45,0x4D,0x31,0x38,0x00,0x00,0x00, /* 00000000 "OEM18..." */
- 0x01,0x4B,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 ".KIntel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x18,0x09,0x03,0x20,0x08,0x5F,0x58,0x54, /* 00000020 "... ._XT" */
- 0x32,0x0A,0x04,0x14,0x0C,0x5F,0x58,0x54, /* 00000028 "2...._XT" */
- 0x31,0x00,0x70,0x01,0x5F,0x58,0x54,0x32, /* 00000030 "1.p._XT2" */
-})
-
-DataTableRegion (DR73, "OEM1", "", "")
-Field(DR73, AnyAcc, NoLock, Preserve) {
- F273, 0x1C0}
-
-
-Device(D273) {
- Name(s000, "D273")
-}
-
-Name(RPST, "\\D273")
-Name(PLDT, 0)
-Name(PPST, "\\PLDT")
-
-External(\_XT2)
-External(\D273._XT2)
-
-Method(mc73,, Serialized)
-{
- Name(DDBH, 0)
-
- Method(LD)
- {
- Store(LoadTable("OEM1", "", "", RPST, PPST, 1), DDBH)
- Store("OEM1 loaded", Debug)
- }
-
- Method(UNLD)
- {
- UnLoad(DDBH)
- Store("OEM1 unloaded", Debug)
- }
-
- if (LNotEqual(F273, SSDT)) {
- err("", zFFF, 0x001, 0, 0, F273, SSDT)
- }
-
- if (CondRefof(\_XT2, Local0)) {
- err("", zFFF, 0x002, 0, 0, "\\_XT2", 1)
- }
-
- if (CondRefof(\D273._XT2, Local0)) {
- err("", zFFF, 0x003, 0, 0, "\\D273._XT2", 1)
- }
-
- LD()
-
- if (CondRefof(\_XT2, Local0)) {
- err("", zFFF, 0x004, 0, 0, "\\_XT2", 1)
- }
-
- if (CondRefof(\D273._XT2, Local0)) {
- } else {
- err("", zFFF, 0x005, 0, 0, "\\D273._XT2", 0)
- }
-
- UNLD()
-
- if (CondRefof(\_XT2, Local0)) {
- err("", zFFF, 0x006, 0, 0, "\\_XT2", 1)
- }
-
- if (CondRefof(\D273._XT2, Local0)) {
- err("", zFFF, 0x007, 0, 0, "\\D273._XT2", 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 273:
+ *
+ * SUMMARY: Implementation of LoadTable operator should take into account its RootPathString parameter
+ */
+
+Name(SSDT, Buffer(0x30){
+ 0x4F,0x45,0x4D,0x31,0x38,0x00,0x00,0x00, /* 00000000 "OEM18..." */
+ 0x01,0x4B,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 ".KIntel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x18,0x09,0x03,0x20,0x08,0x5F,0x58,0x54, /* 00000020 "... ._XT" */
+ 0x32,0x0A,0x04,0x14,0x0C,0x5F,0x58,0x54, /* 00000028 "2...._XT" */
+ 0x31,0x00,0x70,0x01,0x5F,0x58,0x54,0x32, /* 00000030 "1.p._XT2" */
+})
+
+DataTableRegion (DR73, "OEM1", "", "")
+Field(DR73, AnyAcc, NoLock, Preserve) {
+ F273, 0x1C0}
+
+
+Device(D273) {
+ Name(s000, "D273")
+}
+
+Name(RPST, "\\D273")
+Name(PLDT, 0)
+Name(PPST, "\\PLDT")
+
+External(\_XT2)
+External(\D273._XT2)
+
+Method(mc73,, Serialized)
+{
+ Name(DDBH, 0)
+
+ Method(LD)
+ {
+ Store(LoadTable("OEM1", "", "", RPST, PPST, 1), DDBH)
+ Store("OEM1 loaded", Debug)
+ }
+
+ Method(UNLD)
+ {
+ UnLoad(DDBH)
+ Store("OEM1 unloaded", Debug)
+ }
+
+ if (LNotEqual(F273, SSDT)) {
+ err("", zFFF, 0x001, 0, 0, F273, SSDT)
+ }
+
+ if (CondRefof(\_XT2, Local0)) {
+ err("", zFFF, 0x002, 0, 0, "\\_XT2", 1)
+ }
+
+ if (CondRefof(\D273._XT2, Local0)) {
+ err("", zFFF, 0x003, 0, 0, "\\D273._XT2", 1)
+ }
+
+ LD()
+
+ if (CondRefof(\_XT2, Local0)) {
+ err("", zFFF, 0x004, 0, 0, "\\_XT2", 1)
+ }
+
+ if (CondRefof(\D273._XT2, Local0)) {
+ } else {
+ err("", zFFF, 0x005, 0, 0, "\\D273._XT2", 0)
+ }
+
+ UNLD()
+
+ if (CondRefof(\_XT2, Local0)) {
+ err("", zFFF, 0x006, 0, 0, "\\_XT2", 1)
+ }
+
+ if (CondRefof(\D273._XT2, Local0)) {
+ err("", zFFF, 0x007, 0, 0, "\\D273._XT2", 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/MAIN.asl
index e7b9dcbfa..3d0231a70 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B273.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0273/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0273/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B273.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0273/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0273/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/RUN.asl
index 7a46ad667..5591a72ad 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/RUN.asl
@@ -1,44 +1,44 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 273", TCLD, 273, W017)) {
- SRMT("mc73")
- if (LOr(LNot(SLCK), y276)) {
- mc73()
- } else {
- /*
- * b276: 'Large Reference Count' on AML code with LoadTable/UnLoad in a slack mode
- *
- * Blocked because it is followed by mass of
- * 'Large Reference Count'.
- */
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 273", TCLD, 273, W017)) {
+ SRMT("mc73")
+ if (LOr(LNot(SLCK), y276)) {
+ mc73()
+ } else {
+ /*
+ * b276: 'Large Reference Count' on AML code with LoadTable/UnLoad in a slack mode
+ *
+ * Blocked because it is followed by mass of
+ * 'Large Reference Count'.
+ */
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/oem1.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/oem1.asl
index c4caf3690..bd4fb7324 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/oem1.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0273/oem1.asl
@@ -1,26 +1,26 @@
-/*
- * Intel ACPI Component Architecture
- * AML Disassembler version 20061109
- *
- * Disassembly of oem1.aml, Thu Nov 16 18:41:26 2006
- *
- *
- * Original Table Header:
- * Signature "OEM1"
- * Length 0x00000038 (56)
- * Revision 0x01
- * OEM ID "Intel"
- * OEM Table ID "Many"
- * OEM Revision 0x00000001 (1)
- * Creator ID "INTL"
- * Creator Revision 0x20030918 (537069848)
- */
-DefinitionBlock ("oem1.aml", "OEM1", 1, "Intel", "Many", 0x00000001)
-{
- Name (_XT2, 0x04)
- Method (_XT1, 0, NotSerialized)
- {
- Store (One, _XT2)
- }
-}
-
+/*
+ * Intel ACPI Component Architecture
+ * AML Disassembler version 20061109
+ *
+ * Disassembly of oem1.aml, Thu Nov 16 18:41:26 2006
+ *
+ *
+ * Original Table Header:
+ * Signature "OEM1"
+ * Length 0x00000038 (56)
+ * Revision 0x01
+ * OEM ID "Intel"
+ * OEM Table ID "Many"
+ * OEM Revision 0x00000001 (1)
+ * Creator ID "INTL"
+ * Creator Revision 0x20030918 (537069848)
+ */
+DefinitionBlock ("oem1.aml", "OEM1", 1, "Intel", "Many", 0x00000001)
+{
+ Name (_XT2, 0x04)
+ Method (_XT1, 0, NotSerialized)
+ {
+ Store (One, _XT2)
+ }
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/DECL.asl
index be1e42e1d..870c325b0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/DECL.asl
@@ -1,94 +1,94 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 274:
- *
- * SUMMARY: Named object as element of Package is handled by ACPICA differently than by MS
- */
-
-Method(mc74,, Serialized)
-{
- Name(i000, 0xabcd0000)
- Name(i001, 0xabcd0001)
- Name(i002, 0xabcd0002)
- Name(i003, 0xabcd0003)
-
- Name(ii00, 0x11112222)
-
- Name(p000, Package() {
- i000,
- i001,
- i002,
- "i000",
- \mc74.i003,
- 0xabcd0004
- })
-
- Method(CHCK, 4)
- {
- Store(DerefOf(Index(Arg1, Arg2)), Local0)
- if (LNotEqual(Local0, Arg0)) {
- err("", zFFF, Arg3, 0, 0, Arg0, Local0)
- }
- }
-
- // Choose benchmark package
- if (SLCK) {
- Store(Package() {
- "I000",
- "I001",
- "I002",
- "i000",
- "I003",
- 0xabcd0004},
- Local2)
- } else {
- Store(Package() {
- 0xabcd0000,
- 0xabcd0001,
- 0xabcd0002,
- "i000",
- 0xabcd0003,
- 0xabcd0004},
- Local2)
- }
-
- Store(DerefOf(Index(p000, 0)), Local0)
- CHCK(Local0, Local2, 0, 0x001)
- Store(DerefOf(Index(p000, 1)), Local0)
- CHCK(Local0, Local2, 1, 0x002)
- Store(DerefOf(Index(p000, 2)), Local0)
- CHCK(Local0, Local2, 2, 0x003)
- Store(DerefOf(Index(p000, 3)), Local0)
- CHCK(Local0, Local2, 3, 0x004)
- Store(DerefOf(Index(p000, 4)), Local0)
- CHCK(Local0, Local2, 4, 0x005)
- Store(DerefOf(Index(p000, 5)), Local0)
- CHCK(Local0, Local2, 5, 0x006)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 274:
+ *
+ * SUMMARY: Named object as element of Package is handled by ACPICA differently than by MS
+ */
+
+Method(mc74,, Serialized)
+{
+ Name(i000, 0xabcd0000)
+ Name(i001, 0xabcd0001)
+ Name(i002, 0xabcd0002)
+ Name(i003, 0xabcd0003)
+
+ Name(ii00, 0x11112222)
+
+ Name(p000, Package() {
+ i000,
+ i001,
+ i002,
+ "i000",
+ \mc74.i003,
+ 0xabcd0004
+ })
+
+ Method(CHCK, 4)
+ {
+ Store(DerefOf(Index(Arg1, Arg2)), Local0)
+ if (LNotEqual(Local0, Arg0)) {
+ err("", zFFF, Arg3, 0, 0, Arg0, Local0)
+ }
+ }
+
+ // Choose benchmark package
+ if (SLCK) {
+ Store(Package() {
+ "I000",
+ "I001",
+ "I002",
+ "i000",
+ "I003",
+ 0xabcd0004},
+ Local2)
+ } else {
+ Store(Package() {
+ 0xabcd0000,
+ 0xabcd0001,
+ 0xabcd0002,
+ "i000",
+ 0xabcd0003,
+ 0xabcd0004},
+ Local2)
+ }
+
+ Store(DerefOf(Index(p000, 0)), Local0)
+ CHCK(Local0, Local2, 0, 0x001)
+ Store(DerefOf(Index(p000, 1)), Local0)
+ CHCK(Local0, Local2, 1, 0x002)
+ Store(DerefOf(Index(p000, 2)), Local0)
+ CHCK(Local0, Local2, 2, 0x003)
+ Store(DerefOf(Index(p000, 3)), Local0)
+ CHCK(Local0, Local2, 3, 0x004)
+ Store(DerefOf(Index(p000, 4)), Local0)
+ CHCK(Local0, Local2, 4, 0x005)
+ Store(DerefOf(Index(p000, 5)), Local0)
+ CHCK(Local0, Local2, 5, 0x006)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/MAIN.asl
index b6cadae3a..a364d2273 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B274.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0274/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0274/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B274.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0274/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0274/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/RUN.asl
index 2d01cb64a..4225bdfb5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0274/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 274", TCLD, 274, W017)) {
- SRMT("mc74")
- mc74()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 274", TCLD, 274, W017)) {
+ SRMT("mc74")
+ mc74()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/DECL.asl
index b94b5c81b..4d1312ed4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/DECL.asl
@@ -1,82 +1,82 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 275:
- *
- * SUMMARY: pop result from bottom principle doesn't work
- */
-
-Method(mc75,, Serialized)
-{
- Name(i000, 0x11000000)
- Name(i001, 0x00220000)
- Name(p000, Package () {0xabcd0000, 0xabcd0001, 0xabcd0002})
-
- Method(m000)
- {
- Return (p000)
- }
-
- Method(m001, 1)
- {
- Return (0xabcd0003)
- }
-
- Method(m002, 2)
- {
- Index(arg0, 1, Local0)
- if (CH03("", 0, 0x001, arg0, 1)) {
- return
- }
-
- Store(DerefOf(Local0), Local1)
- if (CH03("", 0, 0x002, arg0, 1)) {
- return
- }
-
- if (LNotEqual(Local1, 0xabcd0001)) {
- err("", zFFF, 0x003, 0, 0, Local1, 0xabcd0001)
- }
- return
- }
-
- // ################################## How it should work
-
- // ================================== Example 0:
- m002(p000, 0xabcd0004)
-
- // ================================== Example 1:
- m002(m000(), 0xabcd0004)
-
- // ================================== Example 2:
- m002(p000, m001(Add(i000, i001)))
-
- // ################################## How it actually works:
- m002(m000(), m001(Add(i000, i001)))
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 275:
+ *
+ * SUMMARY: pop result from bottom principle doesn't work
+ */
+
+Method(mc75,, Serialized)
+{
+ Name(i000, 0x11000000)
+ Name(i001, 0x00220000)
+ Name(p000, Package () {0xabcd0000, 0xabcd0001, 0xabcd0002})
+
+ Method(m000)
+ {
+ Return (p000)
+ }
+
+ Method(m001, 1)
+ {
+ Return (0xabcd0003)
+ }
+
+ Method(m002, 2)
+ {
+ Index(arg0, 1, Local0)
+ if (CH03("", 0, 0x001, arg0, 1)) {
+ return
+ }
+
+ Store(DerefOf(Local0), Local1)
+ if (CH03("", 0, 0x002, arg0, 1)) {
+ return
+ }
+
+ if (LNotEqual(Local1, 0xabcd0001)) {
+ err("", zFFF, 0x003, 0, 0, Local1, 0xabcd0001)
+ }
+ return
+ }
+
+ // ################################## How it should work
+
+ // ================================== Example 0:
+ m002(p000, 0xabcd0004)
+
+ // ================================== Example 1:
+ m002(m000(), 0xabcd0004)
+
+ // ================================== Example 2:
+ m002(p000, m001(Add(i000, i001)))
+
+ // ################################## How it actually works:
+ m002(m000(), m001(Add(i000, i001)))
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/MAIN.asl
index eff711286..df98214fc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B275.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0275/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0275/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B275.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0275/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0275/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/RUN.asl
index dbcdb7771..d6086b9eb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0275/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 275", TCLD, 275, W017)) {
- SRMT("mc75")
- mc75()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 275", TCLD, 275, W017)) {
+ SRMT("mc75")
+ mc75()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl
index f7431ce0c..ab5196c07 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl
@@ -1,126 +1,126 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 276:
- *
- * SUMMARY: 'Large Reference Count' on AML code with LoadTable/UnLoad in a slack mode
- *
- * Note: Check the result of this test manually that there are no
- * 'Large Reference Count' reported.
- *
- * Note: these 'Large Reference Count' could be detected automatically by Do utility
- */
-
-Method(mc76,, Serialized)
-{
-
- Name(ERR5, 0)
- Name(ERRS, 0)
- Name(tmt0, 0)
- Name(TCLL, 0)
- Name(RMRC, 0)
- Name(RP0P, Package(8) {})
- Name(NRMT, "")
- Name(STST, "STST")
- Name(TCNP, Package() {
- "compilation",
- "functional",
- "complex",
- "exceptions",
- "bug-demo",
- "service",
- "mt",
- "Identity2MS",
- "IMPL",
- })
-
- Method(TCN0, 1)
- {
- Store("?", Local7)
- Store(DerefOf(Index(TCNP, arg0)), Local7)
- Return(Local7)
- }
-
- Method(mmm0)
- {
- Increment(ERRS)
- }
-
- Method(mc73,, Serialized)
- {
- Name(DDBH, 0)
- Method(m000) {}
- Method(m001) {}
-
- Store(LoadTable("OEM1", "", "", "", "", 1), DDBH)
- mmm0()
- UnLoad(DDBH)
- Store("OEM1 unloaded", Debug)
- }
-
- Method(mmm2, 5) {}
-
- Method(mmm3,, Serialized)
- {
- Name(b000, Buffer(4) {})
-
- Concatenate(":", TCN0(TCLL), Local1)
- Concatenate(Local1, ":", Local0)
- Concatenate(Local0, "?", Local1)
- Concatenate(Local1, ":", Local0)
- Concatenate(Local0, NRMT, Local1)
- Concatenate(Local1, ":", Local0)
- Subtract(ERRS, ERR5, Local7)
- Concatenate(Local0, "FAIL:Errors # ", Local2)
- Concatenate(Local2, Local7, Local0)
- Concatenate(Local0, Local1, Local2)
- Store(Local2, Debug)
- Concatenate(":", STST, Local2)
- Concatenate(Local2, Local1, Local0)
- Store(Local0, Index(RP0P, RMRC))
- }
-
- Method(mmm1)
- {
- mmm2(0, 0, 0, 0, 0)
- mmm3()
- }
-
- Method(mmm4, 1)
- {
- Store(Timer, tmt0)
- }
-
- Method(mmm5) {
- mmm4(0)
- mc73()
- mmm1()
- }
- mmm5()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 276:
+ *
+ * SUMMARY: 'Large Reference Count' on AML code with LoadTable/UnLoad in a slack mode
+ *
+ * Note: Check the result of this test manually that there are no
+ * 'Large Reference Count' reported.
+ *
+ * Note: these 'Large Reference Count' could be detected automatically by Do utility
+ */
+
+Method(mc76,, Serialized)
+{
+
+ Name(ERR5, 0)
+ Name(ERRS, 0)
+ Name(tmt0, 0)
+ Name(TCLL, 0)
+ Name(RMRC, 0)
+ Name(RP0P, Package(8) {})
+ Name(NRMT, "")
+ Name(STST, "STST")
+ Name(TCNP, Package() {
+ "compilation",
+ "functional",
+ "complex",
+ "exceptions",
+ "bug-demo",
+ "service",
+ "mt",
+ "Identity2MS",
+ "IMPL",
+ })
+
+ Method(TCN0, 1)
+ {
+ Store("?", Local7)
+ Store(DerefOf(Index(TCNP, arg0)), Local7)
+ Return(Local7)
+ }
+
+ Method(mmm0)
+ {
+ Increment(ERRS)
+ }
+
+ Method(mc73,, Serialized)
+ {
+ Name(DDBH, 0)
+ Method(m000) {}
+ Method(m001) {}
+
+ Store(LoadTable("OEM1", "", "", "", "", 1), DDBH)
+ mmm0()
+ UnLoad(DDBH)
+ Store("OEM1 unloaded", Debug)
+ }
+
+ Method(mmm2, 5) {}
+
+ Method(mmm3,, Serialized)
+ {
+ Name(b000, Buffer(4) {})
+
+ Concatenate(":", TCN0(TCLL), Local1)
+ Concatenate(Local1, ":", Local0)
+ Concatenate(Local0, "?", Local1)
+ Concatenate(Local1, ":", Local0)
+ Concatenate(Local0, NRMT, Local1)
+ Concatenate(Local1, ":", Local0)
+ Subtract(ERRS, ERR5, Local7)
+ Concatenate(Local0, "FAIL:Errors # ", Local2)
+ Concatenate(Local2, Local7, Local0)
+ Concatenate(Local0, Local1, Local2)
+ Store(Local2, Debug)
+ Concatenate(":", STST, Local2)
+ Concatenate(Local2, Local1, Local0)
+ Store(Local0, Index(RP0P, RMRC))
+ }
+
+ Method(mmm1)
+ {
+ mmm2(0, 0, 0, 0, 0)
+ mmm3()
+ }
+
+ Method(mmm4, 1)
+ {
+ Store(Timer, tmt0)
+ }
+
+ Method(mmm5) {
+ mmm4(0)
+ mc73()
+ mmm1()
+ }
+ mmm5()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/MAIN.asl
index 2bb1ed638..7790cb572 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B276.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B276.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl
index ce0a40093..62431d281 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl
@@ -1,42 +1,42 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 276", TCLD, 276, W017)) {
- SRMT("mc76")
- if (LOr(LNot(SLCK), y276)) {
- mc76()
- } else {
- /*
- * Blocked because it is followed by mass of
- * 'Large Reference Count'.
- */
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 276", TCLD, 276, W017)) {
+ SRMT("mc76")
+ if (LOr(LNot(SLCK), y276)) {
+ mc76()
+ } else {
+ /*
+ * Blocked because it is followed by mass of
+ * 'Large Reference Count'.
+ */
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/DECL.asl
index 4c429ee7a..700f0d397 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/DECL.asl
@@ -1,121 +1,121 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 278:
- *
- * SUMMARY: "Namespace location to be relative" functionality of Load operator issue
- */
-
-Device (D278) {
- Name(SSDT, Buffer(0x30){
- 0x53,0x53,0x44,0x54,0x5F,0x00,0x00,0x00, /* 00000000 "SSDT_..." */
- 0x02,0x2D,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x15,0x12,0x06,0x20,0x10,0x1F,0x5C,0x00, /* 00000020 "... ..\." */
- 0x08,0x4E,0x41,0x42,0x53,0x0D,0x61,0x62, /* 00000028 ".NABS.ab" */
- 0x73,0x6F,0x6C,0x75,0x74,0x65,0x20,0x6C, /* 00000030 "solute l" */
- 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20, /* 00000038 "ocation " */
- 0x6F,0x62,0x6A,0x00,0x08,0x4E,0x43,0x52, /* 00000040 "obj..NCR" */
- 0x52,0x0D,0x63,0x75,0x72,0x72,0x65,0x6E, /* 00000048 "R.curren" */
- 0x74,0x20,0x6C,0x6F,0x63,0x61,0x74,0x69, /* 00000050 "t locati" */
- 0x6F,0x6E,0x20,0x6F,0x62,0x6A,0x00,
- })
-
- OperationRegion (IST0, SystemMemory, 0, 0x5f)
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- RFU0, 0x2f8,
- }
-
- Name(DDBH, 0)
-
- Method(TST0)
- {
- // Check absence
- if (CondRefof(NABS, Local0)) {
- err("", zFFF, 0x001, 0, 0, "NABS", 1)
- }
- if (CondRefof(NCRR, Local0)) {
- err("", zFFF, 0x002, 0, 0, "NCRR", 1)
- }
-
- Store(SSDT, RFU0)
- Load(RFU0, DDBH)
- Store("SSDT loaded", Debug)
-
- // Check existence
- if (CondRefof(NABS, Local0)) {
- if (LNotEqual("absolute location obj", Derefof(Local0))) {
- err("", zFFF, 0x003, 0, 0, "absolute location NABS", 1)
- }
- } else {
- err("", zFFF, 0x004, 0, 0, "NABS", 0)
- }
- if (CondRefof(NCRR, Local0)) {
- if (LNotEqual("current location obj", Derefof(Local0))) {
- err("", zFFF, 0x005, 0, 0, "current location NCRR", 1)
- }
- } else {
- err("", zFFF, 0x006, 0, 0, "NCRR", 0)
- }
-
- // Check location
- if (CondRefof(\NABS, Local0)) {
- } else {
- err("", zFFF, 0x007, 0, 0, "\\NABS", 0)
- }
- if (CondRefof(\NCRR, Local0)) {
- err("", zFFF, 0x008, 0, 0, "\\NCRR", 1)
- }
- if (CondRefof(\D278.NCRR, Local0)) {
- err("", zFFF, 0x009, 0, 0, "\\D278.NCRR", 1)
- }
- if (CondRefof(\D278.TST0.NCRR, Local0)) {
- } else {
- err("", zFFF, 0x00a, 0, 0, "\\D278.TST0.NCRR", 0)
- }
-
- UnLoad(DDBH)
- Store("SSDT unloaded", Debug)
-
- // Check absence
- if (CondRefof(NABS, Local0)) {
- err("", zFFF, 0x00b, 0, 0, "NABS", 1)
- }
- if (CondRefof(NCRR, Local0)) {
- err("", zFFF, 0x00c, 0, 0, "NCRR", 1)
- }
- }
-}
-
-Method(m278)
-{
- \D278.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 278:
+ *
+ * SUMMARY: "Namespace location to be relative" functionality of Load operator issue
+ */
+
+Device (D278) {
+ Name(SSDT, Buffer(0x30){
+ 0x53,0x53,0x44,0x54,0x5F,0x00,0x00,0x00, /* 00000000 "SSDT_..." */
+ 0x02,0x2D,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x15,0x12,0x06,0x20,0x10,0x1F,0x5C,0x00, /* 00000020 "... ..\." */
+ 0x08,0x4E,0x41,0x42,0x53,0x0D,0x61,0x62, /* 00000028 ".NABS.ab" */
+ 0x73,0x6F,0x6C,0x75,0x74,0x65,0x20,0x6C, /* 00000030 "solute l" */
+ 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20, /* 00000038 "ocation " */
+ 0x6F,0x62,0x6A,0x00,0x08,0x4E,0x43,0x52, /* 00000040 "obj..NCR" */
+ 0x52,0x0D,0x63,0x75,0x72,0x72,0x65,0x6E, /* 00000048 "R.curren" */
+ 0x74,0x20,0x6C,0x6F,0x63,0x61,0x74,0x69, /* 00000050 "t locati" */
+ 0x6F,0x6E,0x20,0x6F,0x62,0x6A,0x00,
+ })
+
+ OperationRegion (IST0, SystemMemory, 0, 0x5f)
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ RFU0, 0x2f8,
+ }
+
+ Name(DDBH, 0)
+
+ Method(TST0)
+ {
+ // Check absence
+ if (CondRefof(NABS, Local0)) {
+ err("", zFFF, 0x001, 0, 0, "NABS", 1)
+ }
+ if (CondRefof(NCRR, Local0)) {
+ err("", zFFF, 0x002, 0, 0, "NCRR", 1)
+ }
+
+ Store(SSDT, RFU0)
+ Load(RFU0, DDBH)
+ Store("SSDT loaded", Debug)
+
+ // Check existence
+ if (CondRefof(NABS, Local0)) {
+ if (LNotEqual("absolute location obj", Derefof(Local0))) {
+ err("", zFFF, 0x003, 0, 0, "absolute location NABS", 1)
+ }
+ } else {
+ err("", zFFF, 0x004, 0, 0, "NABS", 0)
+ }
+ if (CondRefof(NCRR, Local0)) {
+ if (LNotEqual("current location obj", Derefof(Local0))) {
+ err("", zFFF, 0x005, 0, 0, "current location NCRR", 1)
+ }
+ } else {
+ err("", zFFF, 0x006, 0, 0, "NCRR", 0)
+ }
+
+ // Check location
+ if (CondRefof(\NABS, Local0)) {
+ } else {
+ err("", zFFF, 0x007, 0, 0, "\\NABS", 0)
+ }
+ if (CondRefof(\NCRR, Local0)) {
+ err("", zFFF, 0x008, 0, 0, "\\NCRR", 1)
+ }
+ if (CondRefof(\D278.NCRR, Local0)) {
+ err("", zFFF, 0x009, 0, 0, "\\D278.NCRR", 1)
+ }
+ if (CondRefof(\D278.TST0.NCRR, Local0)) {
+ } else {
+ err("", zFFF, 0x00a, 0, 0, "\\D278.TST0.NCRR", 0)
+ }
+
+ UnLoad(DDBH)
+ Store("SSDT unloaded", Debug)
+
+ // Check absence
+ if (CondRefof(NABS, Local0)) {
+ err("", zFFF, 0x00b, 0, 0, "NABS", 1)
+ }
+ if (CondRefof(NCRR, Local0)) {
+ err("", zFFF, 0x00c, 0, 0, "NCRR", 1)
+ }
+ }
+}
+
+Method(m278)
+{
+ \D278.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/MAIN.asl
index 307eb24da..7ae923712 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B278.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0278/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0278/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B278.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0278/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0278/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/RUN.asl
index fcc3d84e4..0b3a55180 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 278", TCLD, 278, W017)) {
- SRMT("m278")
- m278()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 278", TCLD, 278, W017)) {
+ SRMT("m278")
+ m278()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/ssdt.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/ssdt.asl
index a5cf116e9..d3bc076fb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/ssdt.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0278/ssdt.asl
@@ -1,43 +1,43 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "ssdt.aml", // Output filename
- "SSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- Scope(\) {
- Name(NABS, "absolute location obj")
- }
-
- Name(NCRR, "current location obj")
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "ssdt.aml", // Output filename
+ "SSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ Scope(\) {
+ Name(NABS, "absolute location obj")
+ }
+
+ Name(NCRR, "current location obj")
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/DECL.asl
index 640adc075..e4bf4abb6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/DECL.asl
@@ -1,46 +1,46 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 279:
- *
- * SUMMARY: iASL unexpected behavior for the same multiple External
- */
-
-External(\SS00)
-
-External(\SS00)
-
-External(\SS00)
-
-Method(m279)
-{
- if (CondRefof(\SS00, Local0)) {
- err("", zFFF, 0x001, 0, 0, "\\SS00", 1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 279:
+ *
+ * SUMMARY: iASL unexpected behavior for the same multiple External
+ */
+
+External(\SS00)
+
+External(\SS00)
+
+External(\SS00)
+
+Method(m279)
+{
+ if (CondRefof(\SS00, Local0)) {
+ err("", zFFF, 0x001, 0, 0, "\\SS00", 1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/MAIN.asl
index a161e8793..0dd050e57 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B279.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B279.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/RUN.asl
index b4ee71018..eeca01b96 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0279_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 279", TCLD, 279, W017)) {
- SRMT("m279")
- m279()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 279", TCLD, 279, W017)) {
+ SRMT("m279")
+ m279()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/DECL.asl
index c910732ca..81910b30d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/DECL.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 280:
- *
- * SUMMARY: iASL can unexpectedly emit the "not accessible" error for Source parameter of CondRefof
- */
-
-Device (D280) {
- Method(T280)
- {
- if (CondRefof(NABS, Local0)) {
- err("", zFFF, 0x001, 0, 0, "NABS", 1)
- }
- }
-}
-
-Method(T280)
-{
- Name(NABS, "\\T280.NABS")
-
- Return (NABS)
-}
-
-Method(m280)
-{
- Store (\T280(), Debug)
-
- \D280.T280()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 280:
+ *
+ * SUMMARY: iASL can unexpectedly emit the "not accessible" error for Source parameter of CondRefof
+ */
+
+Device (D280) {
+ Method(T280)
+ {
+ if (CondRefof(NABS, Local0)) {
+ err("", zFFF, 0x001, 0, 0, "NABS", 1)
+ }
+ }
+}
+
+Method(T280)
+{
+ Name(NABS, "\\T280.NABS")
+
+ Return (NABS)
+}
+
+Method(m280)
+{
+ Store (\T280(), Debug)
+
+ \D280.T280()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/MAIN.asl
index 54b9e7dae..c74d5c751 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B280.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B280.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/RUN.asl
index 568a3c3b9..2654e6c72 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0280_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 280", TCLD, 280, W017)) {
- SRMT("m280")
- m280()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 280", TCLD, 280, W017)) {
+ SRMT("m280")
+ m280()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/DECL.asl
index cf1bfd2cc..926beadc4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/DECL.asl
@@ -1,128 +1,128 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 281:
- *
- * SUMMARY: Normal strings as the LoadTable parameters can cause
- * the matching table to be not found
- */
-
-Device (D281) {
-
- Name(SOID, "Intel ")
- Name(STID, "Many ")
-
- Name(PLDT, 0)
-
- Method(TST0,, Serialized)
- {
- Name(DDB0, 0)
- Name(DDB1, 0)
-
- // Unhappy case: space-ended strings
-
- Store(0, PLDT)
-
- Store(LoadTable("OEM1", SOID, STID, "\\", "\\D281.PLDT", 1), DDB0)
-
- if (LNotEqual(PLDT, 0)) {
- Store(PLDT, Debug)
- err("", zFFF, 0x000, 0, 0, PLDT, 0)
- return (1)
- }
-
- if (CondRefof(\_XT2, Local0)) {
- err("", zFFF, 0x001, 0, 0, "\\_XT2", 1)
- }
-
- // Successful case: spaces is replaced with zeroes
-
- Store(0, PLDT)
-
- Store(0, Index(SOID, 5))
-
- Store(0, Index(STID, 4))
- Store(0, Index(STID, 5))
- Store(0, Index(STID, 6))
- Store(0, Index(STID, 7))
-
- Store(LoadTable("OEM1", SOID, STID, "\\", "\\D281.PLDT", 1), DDB0)
-
- if (LNotEqual(PLDT, 1)) {
- Store(PLDT, Debug)
- err("", zFFF, 0x003, 0, 0, PLDT, 1)
- return (1)
- }
- Store("OEM1 loaded", Debug)
-
- if (CondRefof(\_XT2, Local0)) {
- } else {
- err("", zFFF, 0x004, 0, 0, "\\_XT2", 0)
- }
-
- UnLoad(DDB0)
- Store("OEM1 unloaded", Debug)
-
- if (CondRefof(\_XT2, Local0)) {
- err("", zFFF, 0x005, 0, 0, "\\_XT2", 1)
- }
-
- // Unhappy case: normal strings
-
- Store(0, PLDT)
-
- Store(LoadTable("OEM1", "Intel", "Many", "\\", "\\D281.PLDT", 1), DDB1)
-
- if (LNotEqual(PLDT, 1)) {
- Store(PLDT, Debug)
- err("", zFFF, 0x007, 0, 0, PLDT, 1)
- return (1)
- }
- Store("OEM1 loaded", Debug)
-
- if (CondRefof(\_XT2, Local0)) {
- } else {
- err("", zFFF, 0x008, 0, 0, "\\_XT2", 0)
- }
-
- UnLoad(DDB1)
- Store("OEM1 unloaded", Debug)
-
- if (CondRefof(\_XT2, Local0)) {
- err("", zFFF, 0x009, 0, 0, "\\_XT2", 1)
- }
-
- return (0)
- }
-}
-
-Method(m281)
-{
- \D281.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 281:
+ *
+ * SUMMARY: Normal strings as the LoadTable parameters can cause
+ * the matching table to be not found
+ */
+
+Device (D281) {
+
+ Name(SOID, "Intel ")
+ Name(STID, "Many ")
+
+ Name(PLDT, 0)
+
+ Method(TST0,, Serialized)
+ {
+ Name(DDB0, 0)
+ Name(DDB1, 0)
+
+ // Unhappy case: space-ended strings
+
+ Store(0, PLDT)
+
+ Store(LoadTable("OEM1", SOID, STID, "\\", "\\D281.PLDT", 1), DDB0)
+
+ if (LNotEqual(PLDT, 0)) {
+ Store(PLDT, Debug)
+ err("", zFFF, 0x000, 0, 0, PLDT, 0)
+ return (1)
+ }
+
+ if (CondRefof(\_XT2, Local0)) {
+ err("", zFFF, 0x001, 0, 0, "\\_XT2", 1)
+ }
+
+ // Successful case: spaces is replaced with zeroes
+
+ Store(0, PLDT)
+
+ Store(0, Index(SOID, 5))
+
+ Store(0, Index(STID, 4))
+ Store(0, Index(STID, 5))
+ Store(0, Index(STID, 6))
+ Store(0, Index(STID, 7))
+
+ Store(LoadTable("OEM1", SOID, STID, "\\", "\\D281.PLDT", 1), DDB0)
+
+ if (LNotEqual(PLDT, 1)) {
+ Store(PLDT, Debug)
+ err("", zFFF, 0x003, 0, 0, PLDT, 1)
+ return (1)
+ }
+ Store("OEM1 loaded", Debug)
+
+ if (CondRefof(\_XT2, Local0)) {
+ } else {
+ err("", zFFF, 0x004, 0, 0, "\\_XT2", 0)
+ }
+
+ UnLoad(DDB0)
+ Store("OEM1 unloaded", Debug)
+
+ if (CondRefof(\_XT2, Local0)) {
+ err("", zFFF, 0x005, 0, 0, "\\_XT2", 1)
+ }
+
+ // Unhappy case: normal strings
+
+ Store(0, PLDT)
+
+ Store(LoadTable("OEM1", "Intel", "Many", "\\", "\\D281.PLDT", 1), DDB1)
+
+ if (LNotEqual(PLDT, 1)) {
+ Store(PLDT, Debug)
+ err("", zFFF, 0x007, 0, 0, PLDT, 1)
+ return (1)
+ }
+ Store("OEM1 loaded", Debug)
+
+ if (CondRefof(\_XT2, Local0)) {
+ } else {
+ err("", zFFF, 0x008, 0, 0, "\\_XT2", 0)
+ }
+
+ UnLoad(DDB1)
+ Store("OEM1 unloaded", Debug)
+
+ if (CondRefof(\_XT2, Local0)) {
+ err("", zFFF, 0x009, 0, 0, "\\_XT2", 1)
+ }
+
+ return (0)
+ }
+}
+
+Method(m281)
+{
+ \D281.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/MAIN.asl
index 15839a5e6..d68ee3c85 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B281.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0281/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0281/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B281.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0281/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0281/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/RUN.asl
index f20dea442..54d9b5eed 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0281/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 281", TCLD, 281, W017)) {
- SRMT("m281")
- m281()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 281", TCLD, 281, W017)) {
+ SRMT("m281")
+ m281()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/DECL.asl
index b14c3fdee..8da975992 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/DECL.asl
@@ -1,54 +1,54 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 282:
- *
- * SUMMARY: Crash when the Buffer Object parameter of Load is used after an exception in it
- */
-
-Device (D282) {
-
- Name(BUF0, Buffer(9){9,8,7,6,5,4,3,2,1})
-
- Method(TST0)
- {
- Store(BUF0, Debug)
-
- Load(BUF0, Local0)
-
- Store(BUF0, Debug)
-
- CH03("", 0, 0x001, 0, 0)
- }
-}
-
-Method(m282)
-{
- \D282.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 282:
+ *
+ * SUMMARY: Crash when the Buffer Object parameter of Load is used after an exception in it
+ */
+
+Device (D282) {
+
+ Name(BUF0, Buffer(9){9,8,7,6,5,4,3,2,1})
+
+ Method(TST0)
+ {
+ Store(BUF0, Debug)
+
+ Load(BUF0, Local0)
+
+ Store(BUF0, Debug)
+
+ CH03("", 0, 0x001, 0, 0)
+ }
+}
+
+Method(m282)
+{
+ \D282.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/MAIN.asl
index 09b43d150..800b6c8cc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B282.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0282/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0282/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B282.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0282/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0282/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/RUN.asl
index cb10a26fb..aa8e13fa3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0282/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 282", TCLD, 282, W017)) {
- SRMT("m282")
- if (y282) {
- m282()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 282", TCLD, 282, W017)) {
+ SRMT("m282")
+ if (y282) {
+ m282()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/DECL.asl
index dd00a1e48..ded7bff43 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/DECL.asl
@@ -1,84 +1,84 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 283:
- *
- * SUMMARY: When the Object parameter of Load is a Field the checksum
- * of the supplied SSDT should be verified
- */
-
-Device (D283) {
-
- Name(BUF0, Buffer() {
- 0x53,0x53,0x44,0x54,0x34,0x00,0x00,0x00, /* 00000000 "SSDT4..." */
- 0x02,0xEB,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x08,0x12,0x06,0x20,0x14,0x0F,0x5C,0x53, /* 00000020 "... ..\S" */
- 0x53,0x30,0x30,0x00,0xA4,0x0D,0x5C,0x53, /* 00000028 "S00...\S" */
- 0x53,0x30,0x30,0x00,
- })
-
- OperationRegion (IST0, SystemMemory, 0, 0x34)
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- RFU0, 0x1a0,
- }
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- SIG, 32,
- LENG, 32,
- REV, 8,
- SUM, 8,
- }
-
- Method(TST0,, Serialized)
- {
- Name(HI0, 0)
-
- Store(BUF0, RFU0)
-
- // Spoil the CheckSum
- Store(Add(SUM, 1), SUM)
-
- // "Incorrect checksum" ACPI warning is expected
- Load(RFU0, HI0)
-
- CH03("", 0, 0x001, 0, 0)
-
- UnLoad(HI0)
-
- CH03("", 0, 0x002, 0, 0)
- }
-}
-
-Method(m283)
-{
- \D283.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 283:
+ *
+ * SUMMARY: When the Object parameter of Load is a Field the checksum
+ * of the supplied SSDT should be verified
+ */
+
+Device (D283) {
+
+ Name(BUF0, Buffer() {
+ 0x53,0x53,0x44,0x54,0x34,0x00,0x00,0x00, /* 00000000 "SSDT4..." */
+ 0x02,0xEB,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x08,0x12,0x06,0x20,0x14,0x0F,0x5C,0x53, /* 00000020 "... ..\S" */
+ 0x53,0x30,0x30,0x00,0xA4,0x0D,0x5C,0x53, /* 00000028 "S00...\S" */
+ 0x53,0x30,0x30,0x00,
+ })
+
+ OperationRegion (IST0, SystemMemory, 0, 0x34)
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ RFU0, 0x1a0,
+ }
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ SIG, 32,
+ LENG, 32,
+ REV, 8,
+ SUM, 8,
+ }
+
+ Method(TST0,, Serialized)
+ {
+ Name(HI0, 0)
+
+ Store(BUF0, RFU0)
+
+ // Spoil the CheckSum
+ Store(Add(SUM, 1), SUM)
+
+ // "Incorrect checksum" ACPI warning is expected
+ Load(RFU0, HI0)
+
+ CH03("", 0, 0x001, 0, 0)
+
+ UnLoad(HI0)
+
+ CH03("", 0, 0x002, 0, 0)
+ }
+}
+
+Method(m283)
+{
+ \D283.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/MAIN.asl
index 35f05046b..600a904d0 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B283.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0283/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0283/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B283.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0283/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0283/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/RUN.asl
index 18d02cc96..06a8eb0fb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0283/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 283", TCLD, 283, W017)) {
- SRMT("m283")
- if (y283) {
- m283()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 283", TCLD, 283, W017)) {
+ SRMT("m283")
+ if (y283) {
+ m283()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/DECL.asl
index f2b12c84c..7a063055e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/DECL.asl
@@ -1,83 +1,83 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 284:
- *
- * SUMMARY: An exception should be emitted on Load if the Length field of SSDT
- * exceeds length of its source
- */
-
-Device (D284) {
-
- Name(BUF0, Buffer() {
- 0x53,0x53,0x44,0x54,0x34,0x00,0x00,0x00, /* 00000000 "SSDT4..." */
- 0x02,0xEB,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x08,0x12,0x06,0x20,0x14,0x0F,0x5C,0x53, /* 00000020 "... ..\S" */
- 0x53,0x30,0x30,0x00,0xA4,0x0D,0x5C,0x53, /* 00000028 "S00...\S" */
- 0x53,0x30,0x30,0x00,
- })
-
- OperationRegion (IST0, SystemMemory, 0, 0x34)
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- RFU0, 0x1a0,
- }
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- SIG, 32,
- LENG, 32,
- REV, 8,
- SUM, 8,
- }
-
- Method(TST0,, Serialized)
- {
- Name(HI0, 0)
-
- Store(BUF0, RFU0)
-
- // Set the Length field of SSDT to exceed the OpRegion length
- Store(0x49, LENG)
-
- // An exception is expected
- Load(RFU0, HI0)
-
- if (CH04("", 0, 0xff, 0, 0x001, 0, 0)) {
- UnLoad(HI0)
- CH03("", 0, 0x002, 0, 0)
- }
- }
-}
-
-Method(m284)
-{
- \D284.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 284:
+ *
+ * SUMMARY: An exception should be emitted on Load if the Length field of SSDT
+ * exceeds length of its source
+ */
+
+Device (D284) {
+
+ Name(BUF0, Buffer() {
+ 0x53,0x53,0x44,0x54,0x34,0x00,0x00,0x00, /* 00000000 "SSDT4..." */
+ 0x02,0xEB,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x08,0x12,0x06,0x20,0x14,0x0F,0x5C,0x53, /* 00000020 "... ..\S" */
+ 0x53,0x30,0x30,0x00,0xA4,0x0D,0x5C,0x53, /* 00000028 "S00...\S" */
+ 0x53,0x30,0x30,0x00,
+ })
+
+ OperationRegion (IST0, SystemMemory, 0, 0x34)
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ RFU0, 0x1a0,
+ }
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ SIG, 32,
+ LENG, 32,
+ REV, 8,
+ SUM, 8,
+ }
+
+ Method(TST0,, Serialized)
+ {
+ Name(HI0, 0)
+
+ Store(BUF0, RFU0)
+
+ // Set the Length field of SSDT to exceed the OpRegion length
+ Store(0x49, LENG)
+
+ // An exception is expected
+ Load(RFU0, HI0)
+
+ if (CH04("", 0, 0xff, 0, 0x001, 0, 0)) {
+ UnLoad(HI0)
+ CH03("", 0, 0x002, 0, 0)
+ }
+ }
+}
+
+Method(m284)
+{
+ \D284.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/MAIN.asl
index 1eca30306..f63f1550b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B284.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0284/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0284/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B284.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0284/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0284/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/RUN.asl
index a5669efa7..1783c88b8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0284/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 284", TCLD, 284, W017)) {
- SRMT("m284")
- if (y284) {
- m284()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 284", TCLD, 284, W017)) {
+ SRMT("m284")
+ if (y284) {
+ m284()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/DECL.asl
index 91f69efe5..defb0b715 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/DECL.asl
@@ -1,76 +1,76 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 285:
- *
- * SUMMARY: AE_AML_OPERAND_TYPE unexpectedly occurs when the Handle parameter
- * of Unload is a Method call
- */
-
-Device (D285) {
-
- Name(BUF0, Buffer() {
- 0x53,0x53,0x44,0x54,0x34,0x00,0x00,0x00, /* 00000000 "SSDT4..." */
- 0x02,0xEB,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x08,0x12,0x06,0x20,0x14,0x0F,0x5C,0x53, /* 00000020 "... ..\S" */
- 0x53,0x30,0x30,0x00,0xA4,0x0D,0x5C,0x53, /* 00000028 "S00...\S" */
- 0x53,0x30,0x30,0x00,
- })
-
- OperationRegion (IST0, SystemMemory, 0, 0x34)
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- RFU0, 0x1a0,
- }
-
- Method(TST0,, Serialized)
- {
- Name(HI0, 0)
-
- Method(m000) {Return (HI0)}
-
- Store(BUF0, RFU0)
-
- Load(RFU0, HI0)
-
- UnLoad(m000())
-
- if (CH03("", 0, 0x001, 0, 0)) {
- UnLoad(HI0)
- CH03("", 0, 0x002, 0, 0)
- }
- }
-}
-
-Method(m285)
-{
- \D285.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 285:
+ *
+ * SUMMARY: AE_AML_OPERAND_TYPE unexpectedly occurs when the Handle parameter
+ * of Unload is a Method call
+ */
+
+Device (D285) {
+
+ Name(BUF0, Buffer() {
+ 0x53,0x53,0x44,0x54,0x34,0x00,0x00,0x00, /* 00000000 "SSDT4..." */
+ 0x02,0xEB,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x08,0x12,0x06,0x20,0x14,0x0F,0x5C,0x53, /* 00000020 "... ..\S" */
+ 0x53,0x30,0x30,0x00,0xA4,0x0D,0x5C,0x53, /* 00000028 "S00...\S" */
+ 0x53,0x30,0x30,0x00,
+ })
+
+ OperationRegion (IST0, SystemMemory, 0, 0x34)
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ RFU0, 0x1a0,
+ }
+
+ Method(TST0,, Serialized)
+ {
+ Name(HI0, 0)
+
+ Method(m000) {Return (HI0)}
+
+ Store(BUF0, RFU0)
+
+ Load(RFU0, HI0)
+
+ UnLoad(m000())
+
+ if (CH03("", 0, 0x001, 0, 0)) {
+ UnLoad(HI0)
+ CH03("", 0, 0x002, 0, 0)
+ }
+ }
+}
+
+Method(m285)
+{
+ \D285.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/MAIN.asl
index 1af556035..e9f300e7d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B285.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0285/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0285/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B285.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0285/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0285/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/RUN.asl
index 6722dd154..97cfb957f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0285/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 285", TCLD, 285, W017)) {
- SRMT("m285")
- m285()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 285", TCLD, 285, W017)) {
+ SRMT("m285")
+ m285()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/DECL.asl
index 9c6750c9d..191553b3d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/DECL.asl
@@ -1,87 +1,87 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 286:
- *
- * SUMMARY: After an exception the elements of the Package passed to Unload
- * are unexpectedly deleted
- */
-
-Device (D286) {
-
- Name(BUF3, Buffer(){
- 0x53,0x53,0x44,0x54,0x58,0x00,0x00,0x00, /* 00000000 "SSDTX..." */
- 0x02,0xD4,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x15,0x12,0x06,0x20,0x5B,0x82,0x32,0x41, /* 00000020 "... [.2A" */
- 0x55,0x58,0x44,0x08,0x50,0x41,0x43,0x30, /* 00000028 "UXD.PAC0" */
- 0x12,0x27,0x03,0x0E,0x1F,0x32,0x54,0x76, /* 00000030 ".'...2Tv" */
- 0x98,0xBA,0xDC,0xFE,0x0D,0x74,0x65,0x73, /* 00000038 ".....tes" */
- 0x74,0x20,0x70,0x61,0x63,0x6B,0x61,0x67, /* 00000040 "t packag" */
- 0x65,0x30,0x00,0x11,0x0C,0x0A,0x09,0x13, /* 00000048 "e0......" */
- 0x12,0x11,0x10,0x0F,0x0E,0x0D,0x0C,0x0B, /* 00000050 "........" */
- })
-
- OperationRegion (IST3, SystemMemory, 0x400, 0x58)
-
- Field(IST3, ByteAcc, NoLock, Preserve) {
- RFU3, 0x2c0,
- }
-
- Method(m000, 1)
- {
- Unload(Derefof(arg0))
- }
-
- Method(TST0,, Serialized)
- {
- Name(DDB0, 0)
-
- External(\AUXD.PAC0)
-
- Store(BUF3, RFU3)
- Load(RFU3, DDB0)
-
- m000(Refof(\AUXD.PAC0))
-
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
-
- Store(Derefof(Index(\AUXD.PAC0, 0)), Debug)
- CH03("", 0, 0x002, 0, 0)
-
- Unload(DDB0)
- CH03("", 0, 0x003, 0, 0)
- }
-}
-
-Method(m286)
-{
- \D286.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 286:
+ *
+ * SUMMARY: After an exception the elements of the Package passed to Unload
+ * are unexpectedly deleted
+ */
+
+Device (D286) {
+
+ Name(BUF3, Buffer(){
+ 0x53,0x53,0x44,0x54,0x58,0x00,0x00,0x00, /* 00000000 "SSDTX..." */
+ 0x02,0xD4,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x15,0x12,0x06,0x20,0x5B,0x82,0x32,0x41, /* 00000020 "... [.2A" */
+ 0x55,0x58,0x44,0x08,0x50,0x41,0x43,0x30, /* 00000028 "UXD.PAC0" */
+ 0x12,0x27,0x03,0x0E,0x1F,0x32,0x54,0x76, /* 00000030 ".'...2Tv" */
+ 0x98,0xBA,0xDC,0xFE,0x0D,0x74,0x65,0x73, /* 00000038 ".....tes" */
+ 0x74,0x20,0x70,0x61,0x63,0x6B,0x61,0x67, /* 00000040 "t packag" */
+ 0x65,0x30,0x00,0x11,0x0C,0x0A,0x09,0x13, /* 00000048 "e0......" */
+ 0x12,0x11,0x10,0x0F,0x0E,0x0D,0x0C,0x0B, /* 00000050 "........" */
+ })
+
+ OperationRegion (IST3, SystemMemory, 0x400, 0x58)
+
+ Field(IST3, ByteAcc, NoLock, Preserve) {
+ RFU3, 0x2c0,
+ }
+
+ Method(m000, 1)
+ {
+ Unload(Derefof(arg0))
+ }
+
+ Method(TST0,, Serialized)
+ {
+ Name(DDB0, 0)
+
+ External(\AUXD.PAC0)
+
+ Store(BUF3, RFU3)
+ Load(RFU3, DDB0)
+
+ m000(Refof(\AUXD.PAC0))
+
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+
+ Store(Derefof(Index(\AUXD.PAC0, 0)), Debug)
+ CH03("", 0, 0x002, 0, 0)
+
+ Unload(DDB0)
+ CH03("", 0, 0x003, 0, 0)
+ }
+}
+
+Method(m286)
+{
+ \D286.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/MAIN.asl
index 5559a9a05..b7fe679b9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B286.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0286/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0286/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B286.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0286/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0286/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/RUN.asl
index 7948cd470..b8922b91d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0286/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 286", TCLD, 286, W017)) {
- SRMT("m286")
- if (y286) {
- m286()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 286", TCLD, 286, W017)) {
+ SRMT("m286")
+ if (y286) {
+ m286()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/DECL.asl
index c76c4cdff..151f8f333 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/DECL.asl
@@ -1,76 +1,76 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 287:
- *
- * SUMMARY: If any string to match a proper field on LoadTable exceeds field's length
- * an exception should be emitted
- */
-
-Device (D287) {
-
- Name(PLDT, 0)
-
- Method(TST0)
- {
- // SignatureString is greater than four characters
- LoadTable("OEMXX", "", "", , "\\D287.PLDT", 1)
-
- CH04("", 0, 0xff, 0, 0x001, 0, 0)
- if (LNotEqual(PLDT, 0)) {
- err("", zFFF, 0x002, 0, 0, PLDT, 0)
- Return (1)
- }
-
- // OEMIDString is greater than six characters
- LoadTable("OEM1", "IntelXX", "", , "\\D287.PLDT", 1)
-
- CH04("", 0, 0xff, 0, 0x003, 0, 0)
- if (LNotEqual(PLDT, 0)) {
- err("", zFFF, 0x004, 0, 0, PLDT, 0)
- Return (1)
- }
-
- // OEMTableID is greater than eight characters
- LoadTable("OEM1", "", "ManyXXXXX", , "\\D287.PLDT", 1)
-
- CH04("", 0, 0xff, 0, 0x005, 0, 0)
- if (LNotEqual(PLDT, 0)) {
- err("", zFFF, 0x006, 0, 0, PLDT, 0)
- Return (1)
- }
-
- Return (0)
- }
-}
-
-Method(m287)
-{
- \D287.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 287:
+ *
+ * SUMMARY: If any string to match a proper field on LoadTable exceeds field's length
+ * an exception should be emitted
+ */
+
+Device (D287) {
+
+ Name(PLDT, 0)
+
+ Method(TST0)
+ {
+ // SignatureString is greater than four characters
+ LoadTable("OEMXX", "", "", , "\\D287.PLDT", 1)
+
+ CH04("", 0, 0xff, 0, 0x001, 0, 0)
+ if (LNotEqual(PLDT, 0)) {
+ err("", zFFF, 0x002, 0, 0, PLDT, 0)
+ Return (1)
+ }
+
+ // OEMIDString is greater than six characters
+ LoadTable("OEM1", "IntelXX", "", , "\\D287.PLDT", 1)
+
+ CH04("", 0, 0xff, 0, 0x003, 0, 0)
+ if (LNotEqual(PLDT, 0)) {
+ err("", zFFF, 0x004, 0, 0, PLDT, 0)
+ Return (1)
+ }
+
+ // OEMTableID is greater than eight characters
+ LoadTable("OEM1", "", "ManyXXXXX", , "\\D287.PLDT", 1)
+
+ CH04("", 0, 0xff, 0, 0x005, 0, 0)
+ if (LNotEqual(PLDT, 0)) {
+ err("", zFFF, 0x006, 0, 0, PLDT, 0)
+ Return (1)
+ }
+
+ Return (0)
+ }
+}
+
+Method(m287)
+{
+ \D287.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/MAIN.asl
index 94e48814b..e4e990523 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B287.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0287/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0287/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B287.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0287/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0287/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/RUN.asl
index 971efa849..fc0e8cb0b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0287/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 287", TCLD, 287, W017)) {
- SRMT("m287")
- m287()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 287", TCLD, 287, W017)) {
+ SRMT("m287")
+ m287()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/DECL.asl
index fb10e877a..d8ea4be7a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/DECL.asl
@@ -1,65 +1,65 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 288:
- *
- * SUMMARY: iASL unexpectedly forbids ParameterData of Loadtable to be LocalX or UserTerm
- */
-
-Device (D288) {
- Name(PLDT, 0)
-
- Method(m000, 1) {Return (Arg0)}
-
- Method(T288)
- {
- Store(1, Local0)
-
- Store(LoadTable("OEM1", "", "", , "\\D288.PLDT", Local0), Local1)
-
- if (LNotEqual(PLDT, 1)) {
- err("", zFFF, 0x001, 0, 0, PLDT, 1)
- }
-
- UnLoad(Local1)
-
- Store(LoadTable("OEM1", "", "", , "\\PLDT", m000(2)), Local1)
-
- if (LNotEqual(PLDT, 2)) {
- err("", zFFF, 0x002, 0, 0, PLDT, 2)
- }
-
- UnLoad(Local1)
- }
-}
-
-Method(m288)
-{
- \D288.T288()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 288:
+ *
+ * SUMMARY: iASL unexpectedly forbids ParameterData of Loadtable to be LocalX or UserTerm
+ */
+
+Device (D288) {
+ Name(PLDT, 0)
+
+ Method(m000, 1) {Return (Arg0)}
+
+ Method(T288)
+ {
+ Store(1, Local0)
+
+ Store(LoadTable("OEM1", "", "", , "\\D288.PLDT", Local0), Local1)
+
+ if (LNotEqual(PLDT, 1)) {
+ err("", zFFF, 0x001, 0, 0, PLDT, 1)
+ }
+
+ UnLoad(Local1)
+
+ Store(LoadTable("OEM1", "", "", , "\\PLDT", m000(2)), Local1)
+
+ if (LNotEqual(PLDT, 2)) {
+ err("", zFFF, 0x002, 0, 0, PLDT, 2)
+ }
+
+ UnLoad(Local1)
+ }
+}
+
+Method(m288)
+{
+ \D288.T288()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/MAIN.asl
index ecd0054eb..5267f6ac8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B288.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B288.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/RUN.asl
index 468f2895c..e038eb567 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0288_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 288", TCLD, 288, W017)) {
- SRMT("m288")
- m288()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 288", TCLD, 288, W017)) {
+ SRMT("m288")
+ m288()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/DECL.asl
index e3e267e4a..1c5db879f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/DECL.asl
@@ -1,80 +1,80 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 289:
- *
- * SUMMARY: Search of the table matched Loadtable parameters should be restricted to XSDT
- */
-
-Device (D289) {
-
- Name(BUF4, Buffer(){
- 0x53,0x53,0x44,0x54,0x44,0x00,0x00,0x00, /* 00000000 "SSDTD..." */
- 0x02,0x08,0x69,0x41,0x53,0x4C,0x54,0x53, /* 00000008 "..iASLTS" */
- 0x4C,0x54,0x42,0x4C,0x30,0x30,0x30,0x31, /* 00000010 "LTBL0001" */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x15,0x12,0x06,0x20,0x10,0x1F,0x5C,0x00, /* 00000020 "... ..\." */
- 0x08,0x5F,0x58,0x54,0x32,0x0D,0x61,0x62, /* 00000028 "._XT2.ab" */
- 0x73,0x6F,0x6C,0x75,0x74,0x65,0x20,0x6C, /* 00000030 "solute l" */
- 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20, /* 00000038 "ocation " */
- 0x6F,0x62,0x6A,0x00,
- })
-
- OperationRegion (IST4, SystemMemory, 0x600, 0x44)
-
- Field(IST4, ByteAcc, NoLock, Preserve) {
- RFU4, 0x220,
- }
-
- Name(PLDT, 0)
-
- Method(TST0,, Serialized)
- {
- Name(DDBH, 2)
-
- // Load/Unload SSDT
- Store(BUF4, RFU4)
- Load(RFU4, Local0)
- UnLoad(Local0)
-
- // Try to load that SSDT through LoadTable
- Store(LoadTable("SSDT", "iASLTS", "LTBL0001", "\\", "\\D289.PLDT", 1), DDBH)
-
- if (LEqual(PLDT, 1)) {
- err("", zFFF, 0x001, 0, 0, "PLDT", 1)
-
- UnLoad(DDBH)
- }
- }
-}
-
-Method(m289)
-{
- \D289.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 289:
+ *
+ * SUMMARY: Search of the table matched Loadtable parameters should be restricted to XSDT
+ */
+
+Device (D289) {
+
+ Name(BUF4, Buffer(){
+ 0x53,0x53,0x44,0x54,0x44,0x00,0x00,0x00, /* 00000000 "SSDTD..." */
+ 0x02,0x08,0x69,0x41,0x53,0x4C,0x54,0x53, /* 00000008 "..iASLTS" */
+ 0x4C,0x54,0x42,0x4C,0x30,0x30,0x30,0x31, /* 00000010 "LTBL0001" */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x15,0x12,0x06,0x20,0x10,0x1F,0x5C,0x00, /* 00000020 "... ..\." */
+ 0x08,0x5F,0x58,0x54,0x32,0x0D,0x61,0x62, /* 00000028 "._XT2.ab" */
+ 0x73,0x6F,0x6C,0x75,0x74,0x65,0x20,0x6C, /* 00000030 "solute l" */
+ 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20, /* 00000038 "ocation " */
+ 0x6F,0x62,0x6A,0x00,
+ })
+
+ OperationRegion (IST4, SystemMemory, 0x600, 0x44)
+
+ Field(IST4, ByteAcc, NoLock, Preserve) {
+ RFU4, 0x220,
+ }
+
+ Name(PLDT, 0)
+
+ Method(TST0,, Serialized)
+ {
+ Name(DDBH, 2)
+
+ // Load/Unload SSDT
+ Store(BUF4, RFU4)
+ Load(RFU4, Local0)
+ UnLoad(Local0)
+
+ // Try to load that SSDT through LoadTable
+ Store(LoadTable("SSDT", "iASLTS", "LTBL0001", "\\", "\\D289.PLDT", 1), DDBH)
+
+ if (LEqual(PLDT, 1)) {
+ err("", zFFF, 0x001, 0, 0, "PLDT", 1)
+
+ UnLoad(DDBH)
+ }
+ }
+}
+
+Method(m289)
+{
+ \D289.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/MAIN.asl
index 8214058e9..f7478701a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B289.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0289/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0289/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B289.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0289/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0289/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/RUN.asl
index cbe6db59a..5f6a47104 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0289/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 289", TCLD, 289, W017)) {
- SRMT("m289")
- m289()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 289", TCLD, 289, W017)) {
+ SRMT("m289")
+ m289()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/DECL.asl
index 30149cd52..436d9e45b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/DECL.asl
@@ -1,93 +1,93 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 290:
- *
- * SUMMARY: AcpiExec is unable to emulate Load from OpRegion
- */
-
-Device (D290) {
-
- Name(BUF0, Buffer() {
-
- 0x53,0x53,0x44,0x54,0x4D,0x00,0x00,0x00, /* 00000000 "SSDTM..." */
- 0x02,0x95,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x02,0x11,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
- 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
- 0x30,0x00,0x70,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0.p.\AUX" */
- 0x44,0x2E,0x4D,0x30,0x30,0x30,0x3A,0x00, /* 00000038 "D.M000:." */
- 0x5B,0x31,0x10,0x0A,0x5C,0x00,0x08,0x45, /* 00000040 "[1..\..E" */
- 0x58,0x53,0x54,0x0A,0x02,
- })
-
- OperationRegion (IST0, SystemMemory, 0, 0x4D)
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- RFU0, 0x268,
- }
-
- Method(TST0)
- {
- Store(BUF0, RFU0)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x000, 0, 0, "\\AUXD", 1)
- return
- }
-
- Load(IST0, Local1)
-
- if (CH03("", 0, 0x001, 0, 0)) {
- return
- } elseif (CondRefof(\AUXD, Local0)) {
- } else {
- err("", zFFF, 0x002, 0, 0, "\\AUXD", 0)
- return
- }
-
- Store("SSDT loaded", Debug)
-
- UnLoad(Local1)
-
- Store("SSDT unloaded", Debug)
-
- if (CondRefof(\AUXD, Local0)) {
- err("", zFFF, 0x003, 0, 0, "\\AUXD", 1)
- }
-
- return
- }
-}
-
-Method(m290)
-{
- \D290.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 290:
+ *
+ * SUMMARY: AcpiExec is unable to emulate Load from OpRegion
+ */
+
+Device (D290) {
+
+ Name(BUF0, Buffer() {
+
+ 0x53,0x53,0x44,0x54,0x4D,0x00,0x00,0x00, /* 00000000 "SSDTM..." */
+ 0x02,0x95,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x02,0x11,0x06,0x20,0x5B,0x82,0x1C,0x41, /* 00000020 "... [..A" */
+ 0x55,0x58,0x44,0x14,0x16,0x4D,0x30,0x30, /* 00000028 "UXD..M00" */
+ 0x30,0x00,0x70,0x0D,0x5C,0x41,0x55,0x58, /* 00000030 "0.p.\AUX" */
+ 0x44,0x2E,0x4D,0x30,0x30,0x30,0x3A,0x00, /* 00000038 "D.M000:." */
+ 0x5B,0x31,0x10,0x0A,0x5C,0x00,0x08,0x45, /* 00000040 "[1..\..E" */
+ 0x58,0x53,0x54,0x0A,0x02,
+ })
+
+ OperationRegion (IST0, SystemMemory, 0, 0x4D)
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ RFU0, 0x268,
+ }
+
+ Method(TST0)
+ {
+ Store(BUF0, RFU0)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x000, 0, 0, "\\AUXD", 1)
+ return
+ }
+
+ Load(IST0, Local1)
+
+ if (CH03("", 0, 0x001, 0, 0)) {
+ return
+ } elseif (CondRefof(\AUXD, Local0)) {
+ } else {
+ err("", zFFF, 0x002, 0, 0, "\\AUXD", 0)
+ return
+ }
+
+ Store("SSDT loaded", Debug)
+
+ UnLoad(Local1)
+
+ Store("SSDT unloaded", Debug)
+
+ if (CondRefof(\AUXD, Local0)) {
+ err("", zFFF, 0x003, 0, 0, "\\AUXD", 1)
+ }
+
+ return
+ }
+}
+
+Method(m290)
+{
+ \D290.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/MAIN.asl
index 878e7ef51..a4363e665 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B290.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0290/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0290/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B290.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0290/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0290/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/RUN.asl
index 5f28d44cf..901e09e33 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0290/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 290", TCLD, 290, W017)) {
- SRMT("m290")
- m290()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 290", TCLD, 290, W017)) {
+ SRMT("m290")
+ m290()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/DECL.asl
index 16cc3d929..3769a3bf8 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/DECL.asl
@@ -1,60 +1,60 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 291:
- *
- * SUMMARY: iASL inconsistence on compilation of LoadTable with/without the -oa option
- */
-
-Device (D291) {
-
- Name(PLDT, 0)
-
- Method(M000, 1) {Return (Arg0)}
-
- Method(T291)
- {
- Name(DDBH, 0)
-
- Store(LoadTable("OEM1", "", "", "\\", "\\D291.PLDT", Subtract(M000(3), 1)), DDBH)
-
- if (LNotEqual(PLDT, 2)) {
- err("", zFFF, 0x001, 0, 0, PLDT, 2)
- return
- }
-
- UnLoad(DDBH)
- Store("Table unloaded", Debug)
- }
-}
-
-Method(m291)
-{
- \D291.T291()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 291:
+ *
+ * SUMMARY: iASL inconsistence on compilation of LoadTable with/without the -oa option
+ */
+
+Device (D291) {
+
+ Name(PLDT, 0)
+
+ Method(M000, 1) {Return (Arg0)}
+
+ Method(T291)
+ {
+ Name(DDBH, 0)
+
+ Store(LoadTable("OEM1", "", "", "\\", "\\D291.PLDT", Subtract(M000(3), 1)), DDBH)
+
+ if (LNotEqual(PLDT, 2)) {
+ err("", zFFF, 0x001, 0, 0, PLDT, 2)
+ return
+ }
+
+ UnLoad(DDBH)
+ Store("Table unloaded", Debug)
+ }
+}
+
+Method(m291)
+{
+ \D291.T291()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/MAIN.asl
index ac6b5de93..5d39ecd05 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B291.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B291.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/RUN.asl
index 934da4cba..1c2af03e6 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0291_ASL_RUNTIME/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 291", TCLD, 291, W017)) {
- SRMT("m291")
- m291()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 291", TCLD, 291, W017)) {
+ SRMT("m291")
+ m291()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/DECL.asl
index f3d0bf292..739266080 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/DECL.asl
@@ -1,78 +1,78 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 292:
- *
- * SUMMARY: Different second and third UnLoad execution with the same argument behavior
- */
-
-Device (D292) {
-
- Name(BUF4, Buffer(){
- 0x53,0x53,0x44,0x54,0x44,0x00,0x00,0x00, /* 00000000 "SSDTD..." */
- 0x02,0x08,0x69,0x41,0x53,0x4C,0x54,0x53, /* 00000008 "..iASLTS" */
- 0x4C,0x54,0x42,0x4C,0x30,0x30,0x30,0x31, /* 00000010 "LTBL0001" */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x15,0x12,0x06,0x20,0x10,0x1F,0x5C,0x00, /* 00000020 "... ..\." */
- 0x08,0x5F,0x58,0x54,0x32,0x0D,0x61,0x62, /* 00000028 "._XT2.ab" */
- 0x73,0x6F,0x6C,0x75,0x74,0x65,0x20,0x6C, /* 00000030 "solute l" */
- 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20, /* 00000038 "ocation " */
- 0x6F,0x62,0x6A,0x00,
- })
-
- OperationRegion (IST4, SystemMemory, 0x600, 0x44)
-
- Field(IST4, ByteAcc, NoLock, Preserve) {
- RFU4, 0x220,
- }
-
- Method(TST0,, Serialized)
- {
- Name(DDB0, 0)
-
- Store(BUF4, RFU4)
- Load(RFU4, DDB0)
- Store("SSDT loaded", Debug)
-
- UnLoad(DDB0)
- CH03("", 0, 0x001, 0, 0)
- Store("SSDT unloaded", Debug)
-
- UnLoad(DDB0)
- CH04("", 0, 0xff, 0, 0x002, 0, 0)
-
- UnLoad(DDB0)
- CH04("", 0, 0xff, 0, 0x003, 0, 0)
- }
-}
-
-Method(m292)
-{
- \D292.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 292:
+ *
+ * SUMMARY: Different second and third UnLoad execution with the same argument behavior
+ */
+
+Device (D292) {
+
+ Name(BUF4, Buffer(){
+ 0x53,0x53,0x44,0x54,0x44,0x00,0x00,0x00, /* 00000000 "SSDTD..." */
+ 0x02,0x08,0x69,0x41,0x53,0x4C,0x54,0x53, /* 00000008 "..iASLTS" */
+ 0x4C,0x54,0x42,0x4C,0x30,0x30,0x30,0x31, /* 00000010 "LTBL0001" */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x15,0x12,0x06,0x20,0x10,0x1F,0x5C,0x00, /* 00000020 "... ..\." */
+ 0x08,0x5F,0x58,0x54,0x32,0x0D,0x61,0x62, /* 00000028 "._XT2.ab" */
+ 0x73,0x6F,0x6C,0x75,0x74,0x65,0x20,0x6C, /* 00000030 "solute l" */
+ 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20, /* 00000038 "ocation " */
+ 0x6F,0x62,0x6A,0x00,
+ })
+
+ OperationRegion (IST4, SystemMemory, 0x600, 0x44)
+
+ Field(IST4, ByteAcc, NoLock, Preserve) {
+ RFU4, 0x220,
+ }
+
+ Method(TST0,, Serialized)
+ {
+ Name(DDB0, 0)
+
+ Store(BUF4, RFU4)
+ Load(RFU4, DDB0)
+ Store("SSDT loaded", Debug)
+
+ UnLoad(DDB0)
+ CH03("", 0, 0x001, 0, 0)
+ Store("SSDT unloaded", Debug)
+
+ UnLoad(DDB0)
+ CH04("", 0, 0xff, 0, 0x002, 0, 0)
+
+ UnLoad(DDB0)
+ CH04("", 0, 0xff, 0, 0x003, 0, 0)
+ }
+}
+
+Method(m292)
+{
+ \D292.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/MAIN.asl
index 1d61478b8..39f827ec5 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B292.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0292/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0292/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B292.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0292/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0292/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/RUN.asl
index fe8be1021..9a9135fa3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0292/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 292", TCLD, 292, W017)) {
- SRMT("m292")
- m292()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 292", TCLD, 292, W017)) {
+ SRMT("m292")
+ m292()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/DECL.asl
index f1932265e..0761fba17 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/DECL.asl
@@ -1,80 +1,80 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 293:
- *
- * SUMMARY: Incorrect zero-length Buffer to String conversion
- */
-
-Method(m293)
-{
- // Prepare zero-length Buffer
- Store(0, Local0)
- Store(Buffer(Local0){}, Local1)
-
- Store(ToHexString(Local1), Local2)
- Store(Local2, Debug)
- Store(Sizeof(Local2), Debug)
-
- Store(ToDecimalString(Local1), Local3)
- Store(Local3, Debug)
- Store(Sizeof(Local3), Debug)
-
- If (LNotEqual(Sizeof(Local2), 0)) {
- err("", zFFF, 0x001, 0, 0, Sizeof(Local2), 0)
- }
-
- If (LNotEqual(Sizeof(Local3), 0)) {
- err("", zFFF, 0x001, 0, 0, Sizeof(Local3), 0)
- }
-
- If (LNotEqual("", Local1)) {
- err("", zFFF, 0x001, 0, 0, "", Local1)
- }
-
- If (LNotEqual("", Local2)) {
- err("", zFFF, 0x001, 0, 0, "", Local2)
- }
-
- If (LNotEqual("", Local3)) {
- err("", zFFF, 0x001, 0, 0, "", Local3)
- }
-
- If (LNotEqual(Local2, Local3)) {
- err("", zFFF, 0x001, 0, 0, Local2, Local3)
- }
-
- If (LNotEqual(Local2, Local1)) {
- err("", zFFF, 0x001, 0, 0, Local2, Local1)
- }
-
- If (LNotEqual(Local3, Local1)) {
- err("", zFFF, 0x001, 0, 0, Local3, Local1)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 293:
+ *
+ * SUMMARY: Incorrect zero-length Buffer to String conversion
+ */
+
+Method(m293)
+{
+ // Prepare zero-length Buffer
+ Store(0, Local0)
+ Store(Buffer(Local0){}, Local1)
+
+ Store(ToHexString(Local1), Local2)
+ Store(Local2, Debug)
+ Store(Sizeof(Local2), Debug)
+
+ Store(ToDecimalString(Local1), Local3)
+ Store(Local3, Debug)
+ Store(Sizeof(Local3), Debug)
+
+ If (LNotEqual(Sizeof(Local2), 0)) {
+ err("", zFFF, 0x001, 0, 0, Sizeof(Local2), 0)
+ }
+
+ If (LNotEqual(Sizeof(Local3), 0)) {
+ err("", zFFF, 0x001, 0, 0, Sizeof(Local3), 0)
+ }
+
+ If (LNotEqual("", Local1)) {
+ err("", zFFF, 0x001, 0, 0, "", Local1)
+ }
+
+ If (LNotEqual("", Local2)) {
+ err("", zFFF, 0x001, 0, 0, "", Local2)
+ }
+
+ If (LNotEqual("", Local3)) {
+ err("", zFFF, 0x001, 0, 0, "", Local3)
+ }
+
+ If (LNotEqual(Local2, Local3)) {
+ err("", zFFF, 0x001, 0, 0, Local2, Local3)
+ }
+
+ If (LNotEqual(Local2, Local1)) {
+ err("", zFFF, 0x001, 0, 0, Local2, Local1)
+ }
+
+ If (LNotEqual(Local3, Local1)) {
+ err("", zFFF, 0x001, 0, 0, Local3, Local1)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/MAIN.asl
index 5f9d30c7b..50fa48067 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B293.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0293/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0293/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B293.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0293/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0293/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/RUN.asl
index d94a11c61..a72ffab29 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0293/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 293", TCLD, 293, W017)) {
- SRMT("m293")
- m293()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 293", TCLD, 293, W017)) {
+ SRMT("m293")
+ m293()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/DECL.asl
index 847e30c67..361d17322 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/DECL.asl
@@ -1,275 +1,275 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 294:
- *
- * SUMMARY: _ERR method can not be evaluated when AE_OWNER_ID_LIMIT is emitted
- */
-
-Device (D294) {
-
- Name(BUF0, Buffer() {
- 0x53,0x53,0x44,0x54,0x34,0x00,0x00,0x00, /* 00000000 "SSDT4..." */
- 0x02,0xEB,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x08,0x12,0x06,0x20,0x14,0x0F,0x5C,0x53, /* 00000020 "... ..\S" */
- 0x53,0x30,0x30,0x00,0xA4,0x0D,0x5C,0x53, /* 00000028 "S00...\S" */
- 0x53,0x30,0x30,0x00,
- })
-
- Name(BUF1, Buffer(){
- 0x53,0x53,0x44,0x54,0x5F,0x00,0x00,0x00, /* 00000000 "SSDT_..." */
- 0x02,0x33,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 ".3Intel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x15,0x12,0x06,0x20,0x10,0x1F,0x5C,0x00, /* 00000020 "... ..\." */
- 0x08,0x4E,0x41,0x42,0x53,0x0D,0x61,0x62, /* 00000028 ".NABS.ab" */
- 0x73,0x6F,0x6C,0x75,0x74,0x65,0x20,0x6C, /* 00000030 "solute l" */
- 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20, /* 00000038 "ocation " */
- 0x6F,0x62,0x6A,0x00,0x08,0x4E,0x43,0x52, /* 00000040 "obj..NCR" */
- 0x52,0x0D,0x63,0x75,0x72,0x72,0x65,0x6E, /* 00000048 "R.curren" */
- 0x74,0x20,0x6C,0x6F,0x63,0x61,0x74,0x69, /* 00000050 "t locati" */
- 0x6F,0x6E,0x20,0x6F,0x62,0x6A,0x00,
- })
-
- OperationRegion (IST1, SystemMemory, 0x100, 0x5f)
-
- Field(IST1, ByteAcc, NoLock, Preserve) {
- RFU1, 0x2f8,
- }
-
- Name(BUF3, Buffer(){
- 0x53,0x53,0x44,0x54,0x1F,0x01,0x00,0x00, /* 00000000 "SSDT...." */
- 0x02,0x58,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 ".XIntel." */
- 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
- 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
- 0x15,0x12,0x06,0x20,0x5B,0x82,0x49,0x0F, /* 00000020 "... [.I." */
- 0x41,0x55,0x58,0x44,0x08,0x49,0x4E,0x54, /* 00000028 "AUXD.INT" */
- 0x30,0x0E,0x10,0x32,0x54,0x76,0x98,0xBA, /* 00000030 "0..2Tv.." */
- 0xDC,0xFE,0x08,0x53,0x54,0x52,0x30,0x0D, /* 00000038 "...STR0." */
- 0x73,0x6F,0x75,0x72,0x63,0x65,0x20,0x73, /* 00000040 "source s" */
- 0x74,0x72,0x69,0x6E,0x67,0x30,0x00,0x08, /* 00000048 "tring0.." */
- 0x42,0x55,0x46,0x30,0x11,0x0C,0x0A,0x09, /* 00000050 "BUF0...." */
- 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02, /* 00000058 "........" */
- 0x01,0x08,0x50,0x41,0x43,0x30,0x12,0x27, /* 00000060 "..PAC0.'" */
- 0x03,0x0E,0x1F,0x32,0x54,0x76,0x98,0xBA, /* 00000068 "...2Tv.." */
- 0xDC,0xFE,0x0D,0x74,0x65,0x73,0x74,0x20, /* 00000070 "...test " */
- 0x70,0x61,0x63,0x6B,0x61,0x67,0x65,0x30, /* 00000078 "package0" */
- 0x00,0x11,0x0C,0x0A,0x09,0x13,0x12,0x11, /* 00000080 "........" */
- 0x10,0x0F,0x0E,0x0D,0x0C,0x0B,0x5B,0x81, /* 00000088 "......[." */
- 0x0B,0x4F,0x50,0x52,0x30,0x01,0x46,0x4C, /* 00000090 ".OPR0.FL" */
- 0x55,0x30,0x20,0x5B,0x82,0x10,0x44,0x45, /* 00000098 "U0 [..DE" */
- 0x56,0x30,0x08,0x53,0x30,0x30,0x30,0x0D, /* 000000A0 "V0.S000." */
- 0x44,0x45,0x56,0x30,0x00,0x5B,0x02,0x45, /* 000000A8 "DEV0.[.E" */
- 0x56,0x45,0x30,0x14,0x09,0x4D,0x4D,0x4D, /* 000000B0 "VE0..MMM" */
- 0x30,0x00,0xA4,0x0A,0x00,0x5B,0x01,0x4D, /* 000000B8 "0....[.M" */
- 0x54,0x58,0x30,0x00,0x5B,0x80,0x4F,0x50, /* 000000C0 "TX0.[.OP" */
- 0x52,0x30,0x00,0x0C,0x21,0x43,0x65,0x07, /* 000000C8 "R0..!Ce." */
- 0x0A,0x98,0x5B,0x84,0x13,0x50,0x57,0x52, /* 000000D0 "..[..PWR" */
- 0x30,0x00,0x00,0x00,0x08,0x53,0x30,0x30, /* 000000D8 "0....S00" */
- 0x30,0x0D,0x50,0x57,0x52,0x30,0x00,0x5B, /* 000000E0 "0.PWR0.[" */
- 0x83,0x16,0x43,0x50,0x55,0x30,0x00,0xFF, /* 000000E8 "..CPU0.." */
- 0xFF,0xFF,0xFF,0x00,0x08,0x53,0x30,0x30, /* 000000F0 ".....S00" */
- 0x30,0x0D,0x43,0x50,0x55,0x30,0x00,0x5B, /* 000000F8 "0.CPU0.[" */
- 0x85,0x10,0x54,0x5A,0x4E,0x30,0x08,0x53, /* 00000100 "..TZN0.S" */
- 0x30,0x30,0x30,0x0D,0x54,0x5A,0x4E,0x30, /* 00000108 "000.TZN0" */
- 0x00,0x5B,0x13,0x42,0x55,0x46,0x30,0x0A, /* 00000110 ".[.BUF0." */
- 0x00,0x0A,0x45,0x42,0x46,0x4C,0x30,
- })
-
- OperationRegion (IST3, SystemMemory, 0x400, 0x11f)
-
- Field(IST3, ByteAcc, NoLock, Preserve) {
- RFU3, 0x8f8,
- }
-
- Name (SNML, "0123456789ABCDEF")
- Name (NNML, 16) // <= sizeof (SNML)
-
- // Take into account AE_OWNER_ID_LIMIT
- Name (HI0M, 256) // <= (NNML * NNML)
-
- Name (HI0N, 0)
- Name (INIF, 0x00)
-
- Method(_ERR, 3) {
- Store("_ERR exception handler", Debug)
- Return (0)
- }
-
- Method(CHSM, 2, Serialized) // buf, len
- {
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Store(0, Local0) // sum
-
- Store(arg1, lpN0)
- Store(0, lpC0)
-
- While(lpN0) {
- Store(DeRefOf(Index(arg0, lpC0)), Local1)
- Add(Local0, Local1, Local0)
- Mod(Local0, 0x100, Local0)
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Subtract(0, Local0, Local0)
- Mod(Local0, 0x100, Local0)
-
- Store("checksum", Debug)
- Store(Local0, Debug)
-
- return (Local0)
- }
-
- // Initializes multiple Tables Load test
- Method(INIT)
- {
- Store(Sizeof(SNML), Local0)
- if (LGreater(NNML, Local0)) {
- Store(Concatenate("INIT: test error, check NNML <= Sizeof(SNML):",
- ToDecimalString(Local0)), Debug)
- Return (1)
- }
- Multiply(Local0, Local0, Local0)
- if (LGreater(HI0M, Local0)) {
- Store(Concatenate("INIT: test error, check HI0M <= 0x",
- Local0), Debug)
- Return (1)
- }
- Return (0)
- }
-
- // Prepares and Loads the next Table of multiple Tables Load test
- Method(LD,, Serialized)
- {
- if (LNot(LLess(HI0N, HI0M))) {
- Store("LD: too many tables loaded", Debug)
- Return (1)
- }
-
- Multiply(HI0N, 0x30, Local2)
-
- OperationRegion (IST0, SystemMemory, Local2, 0x34)
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- RFU0, 0x1a0,
- }
-
- Field(IST0, ByteAcc, NoLock, Preserve) {
- SIG, 32,
- LENG, 32,
- REV, 8,
- SUM, 8,
- OID, 48,
- OTID, 64,
- OREV, 32,
- CID, 32,
- CREV, 32,
- Offset(39),
- SSNM, 32,
- Offset(47),
- SSRT, 32
- }
-
- Store(BUF0, RFU0)
-
- // Modify Revision field of SSDT
- Store(Add(CREV, 1), CREV)
-
- // Modify SSNM Object Name
- Divide(HI0N, NNML, Local0, Local1)
- Store(Derefof(Index(SNML, Local1)), Local1)
- ShiftLeft(Local1, 16, Local1)
- Store(Derefof(Index(SNML, Local0)), Local0)
- ShiftLeft(Local0, 24, Local0)
- Add(Local0, Local1, Local0)
- Add(Local0, 0x5353, Local0)
- Store(Local0, SSNM)
- Store(SSNM, Debug)
-
- // Modify SSNM Method Return String
- Store(Local0, SSRT)
-
- // Recalculate and save CheckSum
- Store(RFU0, Local0)
- Store(Add(SUM, CHSM(Local0, SizeOf (Local0))), SUM)
-
- Load(RFU0, Local3)
- Increment(HI0N)
- Store("LD: SSDT Loaded", Debug)
-
- Return (0)
- }
-
- Method(TST0,, Serialized)
- {
- Name(MAXT, 0xfa)
- Name(DDB1, 0)
- Name(DDB3, 0)
-
- if (INIT()) {
- err("", zFFF, 0x001, 0, 0, 0, 0)
- return (1)
- }
-
- Store(BUF1, RFU1)
- Store(BUF3, RFU3)
-
- Store(MAXT, Local0)
- while (Local0) {
-// Store(HI0N, Debug)
- if (LD()) {
- err("", zFFF, 0x002, 0, 0, Local0, HI0N)
- return (1)
- }
- Decrement(Local0)
- }
-
- // Methods can not be called after the following Load
- // (OWNER_ID is exhausted)
- Load(RFU1, DDB1)
- Store("SSDT1 Loaded", Debug)
-
- // The following Load should cause AE_OWNER_ID_LIMIT
- Load(RFU3, DDB3)
-
- CH04("", 0, 0xff, 0, 0x003, 0, 0)
-
- return (0)
- }
-}
-
-Method(m294)
-{
- \D294.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 294:
+ *
+ * SUMMARY: _ERR method can not be evaluated when AE_OWNER_ID_LIMIT is emitted
+ */
+
+Device (D294) {
+
+ Name(BUF0, Buffer() {
+ 0x53,0x53,0x44,0x54,0x34,0x00,0x00,0x00, /* 00000000 "SSDT4..." */
+ 0x02,0xEB,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 "..Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x08,0x12,0x06,0x20,0x14,0x0F,0x5C,0x53, /* 00000020 "... ..\S" */
+ 0x53,0x30,0x30,0x00,0xA4,0x0D,0x5C,0x53, /* 00000028 "S00...\S" */
+ 0x53,0x30,0x30,0x00,
+ })
+
+ Name(BUF1, Buffer(){
+ 0x53,0x53,0x44,0x54,0x5F,0x00,0x00,0x00, /* 00000000 "SSDT_..." */
+ 0x02,0x33,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 ".3Intel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x15,0x12,0x06,0x20,0x10,0x1F,0x5C,0x00, /* 00000020 "... ..\." */
+ 0x08,0x4E,0x41,0x42,0x53,0x0D,0x61,0x62, /* 00000028 ".NABS.ab" */
+ 0x73,0x6F,0x6C,0x75,0x74,0x65,0x20,0x6C, /* 00000030 "solute l" */
+ 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x20, /* 00000038 "ocation " */
+ 0x6F,0x62,0x6A,0x00,0x08,0x4E,0x43,0x52, /* 00000040 "obj..NCR" */
+ 0x52,0x0D,0x63,0x75,0x72,0x72,0x65,0x6E, /* 00000048 "R.curren" */
+ 0x74,0x20,0x6C,0x6F,0x63,0x61,0x74,0x69, /* 00000050 "t locati" */
+ 0x6F,0x6E,0x20,0x6F,0x62,0x6A,0x00,
+ })
+
+ OperationRegion (IST1, SystemMemory, 0x100, 0x5f)
+
+ Field(IST1, ByteAcc, NoLock, Preserve) {
+ RFU1, 0x2f8,
+ }
+
+ Name(BUF3, Buffer(){
+ 0x53,0x53,0x44,0x54,0x1F,0x01,0x00,0x00, /* 00000000 "SSDT...." */
+ 0x02,0x58,0x49,0x6E,0x74,0x65,0x6C,0x00, /* 00000008 ".XIntel." */
+ 0x4D,0x61,0x6E,0x79,0x00,0x00,0x00,0x00, /* 00000010 "Many...." */
+ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */
+ 0x15,0x12,0x06,0x20,0x5B,0x82,0x49,0x0F, /* 00000020 "... [.I." */
+ 0x41,0x55,0x58,0x44,0x08,0x49,0x4E,0x54, /* 00000028 "AUXD.INT" */
+ 0x30,0x0E,0x10,0x32,0x54,0x76,0x98,0xBA, /* 00000030 "0..2Tv.." */
+ 0xDC,0xFE,0x08,0x53,0x54,0x52,0x30,0x0D, /* 00000038 "...STR0." */
+ 0x73,0x6F,0x75,0x72,0x63,0x65,0x20,0x73, /* 00000040 "source s" */
+ 0x74,0x72,0x69,0x6E,0x67,0x30,0x00,0x08, /* 00000048 "tring0.." */
+ 0x42,0x55,0x46,0x30,0x11,0x0C,0x0A,0x09, /* 00000050 "BUF0...." */
+ 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02, /* 00000058 "........" */
+ 0x01,0x08,0x50,0x41,0x43,0x30,0x12,0x27, /* 00000060 "..PAC0.'" */
+ 0x03,0x0E,0x1F,0x32,0x54,0x76,0x98,0xBA, /* 00000068 "...2Tv.." */
+ 0xDC,0xFE,0x0D,0x74,0x65,0x73,0x74,0x20, /* 00000070 "...test " */
+ 0x70,0x61,0x63,0x6B,0x61,0x67,0x65,0x30, /* 00000078 "package0" */
+ 0x00,0x11,0x0C,0x0A,0x09,0x13,0x12,0x11, /* 00000080 "........" */
+ 0x10,0x0F,0x0E,0x0D,0x0C,0x0B,0x5B,0x81, /* 00000088 "......[." */
+ 0x0B,0x4F,0x50,0x52,0x30,0x01,0x46,0x4C, /* 00000090 ".OPR0.FL" */
+ 0x55,0x30,0x20,0x5B,0x82,0x10,0x44,0x45, /* 00000098 "U0 [..DE" */
+ 0x56,0x30,0x08,0x53,0x30,0x30,0x30,0x0D, /* 000000A0 "V0.S000." */
+ 0x44,0x45,0x56,0x30,0x00,0x5B,0x02,0x45, /* 000000A8 "DEV0.[.E" */
+ 0x56,0x45,0x30,0x14,0x09,0x4D,0x4D,0x4D, /* 000000B0 "VE0..MMM" */
+ 0x30,0x00,0xA4,0x0A,0x00,0x5B,0x01,0x4D, /* 000000B8 "0....[.M" */
+ 0x54,0x58,0x30,0x00,0x5B,0x80,0x4F,0x50, /* 000000C0 "TX0.[.OP" */
+ 0x52,0x30,0x00,0x0C,0x21,0x43,0x65,0x07, /* 000000C8 "R0..!Ce." */
+ 0x0A,0x98,0x5B,0x84,0x13,0x50,0x57,0x52, /* 000000D0 "..[..PWR" */
+ 0x30,0x00,0x00,0x00,0x08,0x53,0x30,0x30, /* 000000D8 "0....S00" */
+ 0x30,0x0D,0x50,0x57,0x52,0x30,0x00,0x5B, /* 000000E0 "0.PWR0.[" */
+ 0x83,0x16,0x43,0x50,0x55,0x30,0x00,0xFF, /* 000000E8 "..CPU0.." */
+ 0xFF,0xFF,0xFF,0x00,0x08,0x53,0x30,0x30, /* 000000F0 ".....S00" */
+ 0x30,0x0D,0x43,0x50,0x55,0x30,0x00,0x5B, /* 000000F8 "0.CPU0.[" */
+ 0x85,0x10,0x54,0x5A,0x4E,0x30,0x08,0x53, /* 00000100 "..TZN0.S" */
+ 0x30,0x30,0x30,0x0D,0x54,0x5A,0x4E,0x30, /* 00000108 "000.TZN0" */
+ 0x00,0x5B,0x13,0x42,0x55,0x46,0x30,0x0A, /* 00000110 ".[.BUF0." */
+ 0x00,0x0A,0x45,0x42,0x46,0x4C,0x30,
+ })
+
+ OperationRegion (IST3, SystemMemory, 0x400, 0x11f)
+
+ Field(IST3, ByteAcc, NoLock, Preserve) {
+ RFU3, 0x8f8,
+ }
+
+ Name (SNML, "0123456789ABCDEF")
+ Name (NNML, 16) // <= sizeof (SNML)
+
+ // Take into account AE_OWNER_ID_LIMIT
+ Name (HI0M, 256) // <= (NNML * NNML)
+
+ Name (HI0N, 0)
+ Name (INIF, 0x00)
+
+ Method(_ERR, 3) {
+ Store("_ERR exception handler", Debug)
+ Return (0)
+ }
+
+ Method(CHSM, 2, Serialized) // buf, len
+ {
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Store(0, Local0) // sum
+
+ Store(arg1, lpN0)
+ Store(0, lpC0)
+
+ While(lpN0) {
+ Store(DeRefOf(Index(arg0, lpC0)), Local1)
+ Add(Local0, Local1, Local0)
+ Mod(Local0, 0x100, Local0)
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Subtract(0, Local0, Local0)
+ Mod(Local0, 0x100, Local0)
+
+ Store("checksum", Debug)
+ Store(Local0, Debug)
+
+ return (Local0)
+ }
+
+ // Initializes multiple Tables Load test
+ Method(INIT)
+ {
+ Store(Sizeof(SNML), Local0)
+ if (LGreater(NNML, Local0)) {
+ Store(Concatenate("INIT: test error, check NNML <= Sizeof(SNML):",
+ ToDecimalString(Local0)), Debug)
+ Return (1)
+ }
+ Multiply(Local0, Local0, Local0)
+ if (LGreater(HI0M, Local0)) {
+ Store(Concatenate("INIT: test error, check HI0M <= 0x",
+ Local0), Debug)
+ Return (1)
+ }
+ Return (0)
+ }
+
+ // Prepares and Loads the next Table of multiple Tables Load test
+ Method(LD,, Serialized)
+ {
+ if (LNot(LLess(HI0N, HI0M))) {
+ Store("LD: too many tables loaded", Debug)
+ Return (1)
+ }
+
+ Multiply(HI0N, 0x30, Local2)
+
+ OperationRegion (IST0, SystemMemory, Local2, 0x34)
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ RFU0, 0x1a0,
+ }
+
+ Field(IST0, ByteAcc, NoLock, Preserve) {
+ SIG, 32,
+ LENG, 32,
+ REV, 8,
+ SUM, 8,
+ OID, 48,
+ OTID, 64,
+ OREV, 32,
+ CID, 32,
+ CREV, 32,
+ Offset(39),
+ SSNM, 32,
+ Offset(47),
+ SSRT, 32
+ }
+
+ Store(BUF0, RFU0)
+
+ // Modify Revision field of SSDT
+ Store(Add(CREV, 1), CREV)
+
+ // Modify SSNM Object Name
+ Divide(HI0N, NNML, Local0, Local1)
+ Store(Derefof(Index(SNML, Local1)), Local1)
+ ShiftLeft(Local1, 16, Local1)
+ Store(Derefof(Index(SNML, Local0)), Local0)
+ ShiftLeft(Local0, 24, Local0)
+ Add(Local0, Local1, Local0)
+ Add(Local0, 0x5353, Local0)
+ Store(Local0, SSNM)
+ Store(SSNM, Debug)
+
+ // Modify SSNM Method Return String
+ Store(Local0, SSRT)
+
+ // Recalculate and save CheckSum
+ Store(RFU0, Local0)
+ Store(Add(SUM, CHSM(Local0, SizeOf (Local0))), SUM)
+
+ Load(RFU0, Local3)
+ Increment(HI0N)
+ Store("LD: SSDT Loaded", Debug)
+
+ Return (0)
+ }
+
+ Method(TST0,, Serialized)
+ {
+ Name(MAXT, 0xfa)
+ Name(DDB1, 0)
+ Name(DDB3, 0)
+
+ if (INIT()) {
+ err("", zFFF, 0x001, 0, 0, 0, 0)
+ return (1)
+ }
+
+ Store(BUF1, RFU1)
+ Store(BUF3, RFU3)
+
+ Store(MAXT, Local0)
+ while (Local0) {
+// Store(HI0N, Debug)
+ if (LD()) {
+ err("", zFFF, 0x002, 0, 0, Local0, HI0N)
+ return (1)
+ }
+ Decrement(Local0)
+ }
+
+ // Methods can not be called after the following Load
+ // (OWNER_ID is exhausted)
+ Load(RFU1, DDB1)
+ Store("SSDT1 Loaded", Debug)
+
+ // The following Load should cause AE_OWNER_ID_LIMIT
+ Load(RFU3, DDB3)
+
+ CH04("", 0, 0xff, 0, 0x003, 0, 0)
+
+ return (0)
+ }
+}
+
+Method(m294)
+{
+ \D294.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/MAIN.asl
index 49ab61af7..49187819e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B294.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0294/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0294/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B294.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0294/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0294/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/RUN.asl
index f94c71560..0a9e85cd4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0294/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 294", TCLD, 294, W017)) {
- SRMT("m294")
- if (y294) {
- m294()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 294", TCLD, 294, W017)) {
+ SRMT("m294")
+ if (y294) {
+ m294()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/DECL.asl
index 97451468e..ca5a28616 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/DECL.asl
@@ -1,42 +1,42 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 295:
- *
- * SUMMARY: iASL reports the improper "operator has no effect" warning for LoadTable
- */
-
-Device (D295) {
- Name(PLDT, 0)
-}
-
-Method(m295)
-{
- LoadTable("OEM1", "", "", , "\\D294.PLDT", 1)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 295:
+ *
+ * SUMMARY: iASL reports the improper "operator has no effect" warning for LoadTable
+ */
+
+Device (D295) {
+ Name(PLDT, 0)
+}
+
+Method(m295)
+{
+ LoadTable("OEM1", "", "", , "\\D294.PLDT", 1)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/MAIN.asl
index 96fb1ef69..853968883 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0295_ASL/MAIN.asl
@@ -1,56 +1,56 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B295.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0295_ASL/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
-
- // Error of ASL Compiler is expected
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B295.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0295_ASL/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+
+ // Error of ASL Compiler is expected
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/DECL.asl
index 867c756d4..ad39da2b7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/DECL.asl
@@ -1,64 +1,64 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 296:
- *
- * SUMMARY: AE_AML_INTERNAL unexpectedly occurs when the Loadtable ParameterData
- * and its Target differ in the types
- */
-
-Device (D296) {
-
- Name(PLDT, 0)
-
- Method(TST0)
- {
- Store(LoadTable("OEM1", "", "", , "\\PLDT", "1"), Local0)
-
- if (CH03("", 0, 0x001, 0, 0)) {
- return
- }
-
- Store(ObjectType(PLDT), Local1)
-
- if (LNotEqual(Local1, 1)) {
- err("", zFFF, 0x002, 0, 0, Local1, 1)
- } elseif (LNotEqual(1, PLDT)) {
- err("", zFFF, 0x003, 0, 0, 1, PLDT)
- }
-
- UnLoad(Local0)
- CH03("", 0, 0x004, 0, 0)
- }
-}
-
-Method(m296)
-{
- \D296.TST0()
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 296:
+ *
+ * SUMMARY: AE_AML_INTERNAL unexpectedly occurs when the Loadtable ParameterData
+ * and its Target differ in the types
+ */
+
+Device (D296) {
+
+ Name(PLDT, 0)
+
+ Method(TST0)
+ {
+ Store(LoadTable("OEM1", "", "", , "\\PLDT", "1"), Local0)
+
+ if (CH03("", 0, 0x001, 0, 0)) {
+ return
+ }
+
+ Store(ObjectType(PLDT), Local1)
+
+ if (LNotEqual(Local1, 1)) {
+ err("", zFFF, 0x002, 0, 0, Local1, 1)
+ } elseif (LNotEqual(1, PLDT)) {
+ err("", zFFF, 0x003, 0, 0, 1, PLDT)
+ }
+
+ UnLoad(Local0)
+ CH03("", 0, 0x004, 0, 0)
+ }
+}
+
+Method(m296)
+{
+ \D296.TST0()
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/MAIN.asl
index 19d18acdf..7301d29a2 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B296.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0296/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0296/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B296.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0296/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0296/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/RUN.asl
index 0dbaace19..a7c0d552f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0296/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 296", TCLD, 296, W017)) {
- SRMT("m296")
- m296()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 296", TCLD, 296, W017)) {
+ SRMT("m296")
+ m296()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl
index 2ca3313ec..3a77d6089 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl
@@ -1,454 +1,454 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 297:
- *
- * SUMMARY: After AE_LIMIT the further work of ACPICA mutex framework looks unstable
- */
-
-/*
- * It is m369 od Synchronization test
- */
-Method(m1e4, 1, Serialized)
-{
- CH03("", 0, 0x000, 0, 0)
-
- Mutex(MT00, 0)
- Mutex(MT10, 1)
- Mutex(MT20, 2)
- Mutex(MT30, 3)
- Mutex(MT40, 4)
- Mutex(MT50, 5)
- Mutex(MT60, 6)
- Mutex(MT70, 7)
- Mutex(MT80, 8)
- Mutex(MT90, 9)
- Mutex(MTa0, 10)
- Mutex(MTb0, 11)
- Mutex(MTc0, 12)
- Mutex(MTd0, 13)
- Mutex(MTe0, 14)
- Mutex(MTf0, 15)
-
- Mutex(MT01, 0)
- Mutex(MT11, 1)
- Mutex(MT21, 2)
- Mutex(MT31, 3)
- Mutex(MT41, 4)
- Mutex(MT51, 5)
- Mutex(MT61, 6)
- Mutex(MT71, 7)
- Mutex(MT81, 8)
- Mutex(MT91, 9)
- Mutex(MTa1, 10)
- Mutex(MTb1, 11)
- Mutex(MTc1, 12)
- Mutex(MTd1, 13)
- Mutex(MTe1, 14)
- if (arg0) {
-
- // Should be enough to exceed the maximal available number of mutexes
-
- Mutex(M000, 10)
- Mutex(M001, 10)
- Mutex(M002, 10)
- Mutex(M003, 10)
- Mutex(M004, 10)
- Mutex(M005, 10)
- Mutex(M006, 10)
- Mutex(M007, 10)
- Mutex(M008, 10)
- Mutex(M009, 10)
-
- Mutex(M010, 10)
- Mutex(M011, 10)
- Mutex(M012, 10)
- Mutex(M013, 10)
- Mutex(M014, 10)
- Mutex(M015, 10)
- Mutex(M016, 10)
- Mutex(M017, 10)
- Mutex(M018, 10)
- Mutex(M019, 10)
-
- Mutex(M020, 10)
- Mutex(M021, 10)
- Mutex(M022, 10)
- Mutex(M023, 10)
- Mutex(M024, 10)
- Mutex(M025, 10)
- Mutex(M026, 10)
- Mutex(M027, 10)
- Mutex(M028, 10)
- Mutex(M029, 10)
-
- Mutex(M030, 10)
- Mutex(M031, 10)
- Mutex(M032, 10)
- Mutex(M033, 10)
- Mutex(M034, 10)
- Mutex(M035, 10)
- Mutex(M036, 10)
- Mutex(M037, 10)
- Mutex(M038, 10)
- Mutex(M039, 10)
-
-
- Mutex(MTb2, 11)
- Mutex(MTb3, 11)
- Mutex(MTb4, 11)
- Mutex(MTb5, 11)
- Mutex(MTb6, 11)
- Mutex(MTb7, 11)
- Mutex(MTb8, 11)
- Mutex(MTb9, 11)
- Mutex(MTba, 11)
- Mutex(MTbb, 11)
- Mutex(MTbc, 11)
- Mutex(MTbd, 11)
- Mutex(MTbe, 11)
- Mutex(MTbf, 11)
-
- Mutex(MTc2, 12)
- Mutex(MTc3, 12)
- Mutex(MTc4, 12)
- Mutex(MTc5, 12)
- Mutex(MTc6, 12)
- Mutex(MTc7, 12)
- Mutex(MTc8, 12)
- Mutex(MTc9, 12)
- Mutex(MTca, 12)
- Mutex(MTcb, 12)
- Mutex(MTcc, 12)
- Mutex(MTcd, 12)
- Mutex(MTce, 12)
- Mutex(MTcf, 12)
-
- Mutex(MTd2, 13)
- Mutex(MTd3, 13)
- Mutex(MTd4, 13)
- Mutex(MTd5, 13)
- Mutex(MTd6, 13)
- Mutex(MTd7, 13)
- Mutex(MTd8, 13)
- Mutex(MTd9, 13)
- Mutex(MTda, 13)
- Mutex(MTdb, 13)
- Mutex(MTdc, 13)
- Mutex(MTdd, 13)
- Mutex(MTde, 13)
- Mutex(MTdf, 13)
-
- Mutex(MTe2, 14)
- Mutex(MTe3, 14)
- Mutex(MTe4, 14)
- Mutex(MTe5, 14)
- Mutex(MTe6, 14)
- Mutex(MTe7, 14)
- Mutex(MTe8, 14)
- Mutex(MTe9, 14)
- Mutex(MTea, 14)
- Mutex(MTeb, 14)
- Mutex(MTec, 14)
- Mutex(MTed, 14)
- Mutex(MTee, 14)
- Mutex(MTef, 14)
-
- Mutex(MTf1, 15)
- Mutex(MTf2, 15)
- Mutex(MTf3, 15)
- Mutex(MTf4, 15)
- Mutex(MTf5, 15)
- Mutex(MTf6, 15)
- Mutex(MTf7, 15)
- Mutex(MTf8, 15)
- Mutex(MTf9, 15)
- Mutex(MTfa, 15)
- Mutex(MTfb, 15)
- Mutex(MTfc, 15)
- Mutex(MTfd, 15)
- Mutex(MTfe, 15)
- Mutex(MTff, 15)
- }
-
- Store(Acquire(MT00, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 1, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT01, 0xffff), Local0) /* the same level */
- if (Local0) {
- err("", zFFF, 2, 0, 0, 0, Local0)
- } else {
- Store(Acquire(\_GL, 0xffff), Local0) /* GL */
- if (Local0) {
- err("", zFFF, 3, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT10, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 4, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT11, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 5, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT20, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 6, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT21, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 7, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT30, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 8, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT31, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 9, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT40, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x00a, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT41, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x00b, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT50, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x00c, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT51, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x00d, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT60, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x00e, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT61, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x00f, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT70, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x010, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT71, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x011, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT80, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x012, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT81, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x013, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT90, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x014, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MT91, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x015, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTa0, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x016, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTa1, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x017, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTb0, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x018, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTb1, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x019, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTc0, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x01a, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTc1, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x01b, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTd0, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x01c, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTd1, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x01d, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTe0, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x01e, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTe1, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x01f, 0, 0, 0, Local0)
- } else {
- Store(Acquire(MTf0, 0xffff), Local0)
- if (Local0) {
- err("", zFFF, 0x020, 0, 0, 0, Local0)
- } else {
- if (arg0) {
- Store(Acquire(MTf1, 0xffff), Local0)
- } else {
- Store(0, Local0)
- }
- if (Local0) {
- err("", zFFF, 0x021, 0, 0, 0, Local0)
- } else {
- if (arg0) {
- Release(MTF1)
- }
- Release(MTF0)
- Release(MTE1)
- Release(MTE0)
- Release(MTD1)
- Release(MTD0)
- Release(MTC1)
- Release(MTC0)
- Release(MTB1)
- Release(MTB0)
- Release(MTA1)
- Release(MTA0)
- Release(MT91)
- Release(MT90)
- Release(MT81)
- Release(MT80)
- Release(MT71)
- Release(MT70)
- Release(MT61)
- Release(MT60)
- Release(MT51)
- Release(MT50)
- Release(MT41)
- Release(MT40)
- Release(MT31)
- Release(MT30)
- Release(MT21)
- Release(MT20)
- Release(MT11)
- Release(MT10)
- Release(\_GL)
- Release(MT01)
- Release(MT00)
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
-
- if (arg0) {
- CH04("", 1, 18, 0, 0x022, 0, 0) // AE_LIMIT
- } else {
- CH03("", 0, 0x023, 0, 0)
- }
-}
-
-Method(m1e5)
-{
- /*
- * This DECLARATION causes hang forever
- *
- * Event(E000)
- */
-
- CH03("", 0, 0x024, 0, 0)
-
- /*
- * This causes messages (but no exceptions):
- *
- * ACPI Error (utmutex-0421): Mutex [0] is not acquired, cannot release [20061215]
- * ACPI Error (exutils-0250): Could not release AML Interpreter mutex [20061215]
- * ACPI Exception (utmutex-0376): AE_BAD_PARAMETER, Thread B45 could not acquire Mutex [0] [20061215]
- * ACPI Error (exutils-0180): Could not acquire AML Interpreter mutex [20061215]
- */
- Sleep(100)
-
- CH03("", 0, 0x025, 0, 0)
-}
-
-Method(m1e6)
-{
- SRMT("m1e4-1")
- m1e4(1)
- SRMT("m1e4-0")
- m1e4(0)
- SRMT("m1e5")
- m1e5()
- CH03("", 0, 0x026, 0, 0)
-
- /*
- * m1e5 shows appearance of bug but doesn't cause exceptions
- * (so it is not detected automatically), so actions are required
- * for to see result of this bug until it is actually fixed. Then
- * (when fixed) uncomment Event(E000) in m1e5 and remove this error
- * report below (or try to find how to detect this situation
- * automatically now (for not fixed yet)):
- */
- err("", zFFF, 0x027, 0, 0, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 297:
+ *
+ * SUMMARY: After AE_LIMIT the further work of ACPICA mutex framework looks unstable
+ */
+
+/*
+ * It is m369 od Synchronization test
+ */
+Method(m1e4, 1, Serialized)
+{
+ CH03("", 0, 0x000, 0, 0)
+
+ Mutex(MT00, 0)
+ Mutex(MT10, 1)
+ Mutex(MT20, 2)
+ Mutex(MT30, 3)
+ Mutex(MT40, 4)
+ Mutex(MT50, 5)
+ Mutex(MT60, 6)
+ Mutex(MT70, 7)
+ Mutex(MT80, 8)
+ Mutex(MT90, 9)
+ Mutex(MTa0, 10)
+ Mutex(MTb0, 11)
+ Mutex(MTc0, 12)
+ Mutex(MTd0, 13)
+ Mutex(MTe0, 14)
+ Mutex(MTf0, 15)
+
+ Mutex(MT01, 0)
+ Mutex(MT11, 1)
+ Mutex(MT21, 2)
+ Mutex(MT31, 3)
+ Mutex(MT41, 4)
+ Mutex(MT51, 5)
+ Mutex(MT61, 6)
+ Mutex(MT71, 7)
+ Mutex(MT81, 8)
+ Mutex(MT91, 9)
+ Mutex(MTa1, 10)
+ Mutex(MTb1, 11)
+ Mutex(MTc1, 12)
+ Mutex(MTd1, 13)
+ Mutex(MTe1, 14)
+ if (arg0) {
+
+ // Should be enough to exceed the maximal available number of mutexes
+
+ Mutex(M000, 10)
+ Mutex(M001, 10)
+ Mutex(M002, 10)
+ Mutex(M003, 10)
+ Mutex(M004, 10)
+ Mutex(M005, 10)
+ Mutex(M006, 10)
+ Mutex(M007, 10)
+ Mutex(M008, 10)
+ Mutex(M009, 10)
+
+ Mutex(M010, 10)
+ Mutex(M011, 10)
+ Mutex(M012, 10)
+ Mutex(M013, 10)
+ Mutex(M014, 10)
+ Mutex(M015, 10)
+ Mutex(M016, 10)
+ Mutex(M017, 10)
+ Mutex(M018, 10)
+ Mutex(M019, 10)
+
+ Mutex(M020, 10)
+ Mutex(M021, 10)
+ Mutex(M022, 10)
+ Mutex(M023, 10)
+ Mutex(M024, 10)
+ Mutex(M025, 10)
+ Mutex(M026, 10)
+ Mutex(M027, 10)
+ Mutex(M028, 10)
+ Mutex(M029, 10)
+
+ Mutex(M030, 10)
+ Mutex(M031, 10)
+ Mutex(M032, 10)
+ Mutex(M033, 10)
+ Mutex(M034, 10)
+ Mutex(M035, 10)
+ Mutex(M036, 10)
+ Mutex(M037, 10)
+ Mutex(M038, 10)
+ Mutex(M039, 10)
+
+
+ Mutex(MTb2, 11)
+ Mutex(MTb3, 11)
+ Mutex(MTb4, 11)
+ Mutex(MTb5, 11)
+ Mutex(MTb6, 11)
+ Mutex(MTb7, 11)
+ Mutex(MTb8, 11)
+ Mutex(MTb9, 11)
+ Mutex(MTba, 11)
+ Mutex(MTbb, 11)
+ Mutex(MTbc, 11)
+ Mutex(MTbd, 11)
+ Mutex(MTbe, 11)
+ Mutex(MTbf, 11)
+
+ Mutex(MTc2, 12)
+ Mutex(MTc3, 12)
+ Mutex(MTc4, 12)
+ Mutex(MTc5, 12)
+ Mutex(MTc6, 12)
+ Mutex(MTc7, 12)
+ Mutex(MTc8, 12)
+ Mutex(MTc9, 12)
+ Mutex(MTca, 12)
+ Mutex(MTcb, 12)
+ Mutex(MTcc, 12)
+ Mutex(MTcd, 12)
+ Mutex(MTce, 12)
+ Mutex(MTcf, 12)
+
+ Mutex(MTd2, 13)
+ Mutex(MTd3, 13)
+ Mutex(MTd4, 13)
+ Mutex(MTd5, 13)
+ Mutex(MTd6, 13)
+ Mutex(MTd7, 13)
+ Mutex(MTd8, 13)
+ Mutex(MTd9, 13)
+ Mutex(MTda, 13)
+ Mutex(MTdb, 13)
+ Mutex(MTdc, 13)
+ Mutex(MTdd, 13)
+ Mutex(MTde, 13)
+ Mutex(MTdf, 13)
+
+ Mutex(MTe2, 14)
+ Mutex(MTe3, 14)
+ Mutex(MTe4, 14)
+ Mutex(MTe5, 14)
+ Mutex(MTe6, 14)
+ Mutex(MTe7, 14)
+ Mutex(MTe8, 14)
+ Mutex(MTe9, 14)
+ Mutex(MTea, 14)
+ Mutex(MTeb, 14)
+ Mutex(MTec, 14)
+ Mutex(MTed, 14)
+ Mutex(MTee, 14)
+ Mutex(MTef, 14)
+
+ Mutex(MTf1, 15)
+ Mutex(MTf2, 15)
+ Mutex(MTf3, 15)
+ Mutex(MTf4, 15)
+ Mutex(MTf5, 15)
+ Mutex(MTf6, 15)
+ Mutex(MTf7, 15)
+ Mutex(MTf8, 15)
+ Mutex(MTf9, 15)
+ Mutex(MTfa, 15)
+ Mutex(MTfb, 15)
+ Mutex(MTfc, 15)
+ Mutex(MTfd, 15)
+ Mutex(MTfe, 15)
+ Mutex(MTff, 15)
+ }
+
+ Store(Acquire(MT00, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 1, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT01, 0xffff), Local0) /* the same level */
+ if (Local0) {
+ err("", zFFF, 2, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(\_GL, 0xffff), Local0) /* GL */
+ if (Local0) {
+ err("", zFFF, 3, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT10, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 4, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT11, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 5, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT20, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 6, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT21, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 7, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT30, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 8, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT31, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 9, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT40, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x00a, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT41, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x00b, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT50, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x00c, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT51, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x00d, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT60, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x00e, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT61, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x00f, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT70, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x010, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT71, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x011, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT80, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x012, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT81, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x013, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT90, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x014, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MT91, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x015, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTa0, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x016, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTa1, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x017, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTb0, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x018, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTb1, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x019, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTc0, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x01a, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTc1, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x01b, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTd0, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x01c, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTd1, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x01d, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTe0, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x01e, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTe1, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x01f, 0, 0, 0, Local0)
+ } else {
+ Store(Acquire(MTf0, 0xffff), Local0)
+ if (Local0) {
+ err("", zFFF, 0x020, 0, 0, 0, Local0)
+ } else {
+ if (arg0) {
+ Store(Acquire(MTf1, 0xffff), Local0)
+ } else {
+ Store(0, Local0)
+ }
+ if (Local0) {
+ err("", zFFF, 0x021, 0, 0, 0, Local0)
+ } else {
+ if (arg0) {
+ Release(MTF1)
+ }
+ Release(MTF0)
+ Release(MTE1)
+ Release(MTE0)
+ Release(MTD1)
+ Release(MTD0)
+ Release(MTC1)
+ Release(MTC0)
+ Release(MTB1)
+ Release(MTB0)
+ Release(MTA1)
+ Release(MTA0)
+ Release(MT91)
+ Release(MT90)
+ Release(MT81)
+ Release(MT80)
+ Release(MT71)
+ Release(MT70)
+ Release(MT61)
+ Release(MT60)
+ Release(MT51)
+ Release(MT50)
+ Release(MT41)
+ Release(MT40)
+ Release(MT31)
+ Release(MT30)
+ Release(MT21)
+ Release(MT20)
+ Release(MT11)
+ Release(MT10)
+ Release(\_GL)
+ Release(MT01)
+ Release(MT00)
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+ if (arg0) {
+ CH04("", 1, 18, 0, 0x022, 0, 0) // AE_LIMIT
+ } else {
+ CH03("", 0, 0x023, 0, 0)
+ }
+}
+
+Method(m1e5)
+{
+ /*
+ * This DECLARATION causes hang forever
+ *
+ * Event(E000)
+ */
+
+ CH03("", 0, 0x024, 0, 0)
+
+ /*
+ * This causes messages (but no exceptions):
+ *
+ * ACPI Error (utmutex-0421): Mutex [0] is not acquired, cannot release [20061215]
+ * ACPI Error (exutils-0250): Could not release AML Interpreter mutex [20061215]
+ * ACPI Exception (utmutex-0376): AE_BAD_PARAMETER, Thread B45 could not acquire Mutex [0] [20061215]
+ * ACPI Error (exutils-0180): Could not acquire AML Interpreter mutex [20061215]
+ */
+ Sleep(100)
+
+ CH03("", 0, 0x025, 0, 0)
+}
+
+Method(m1e6)
+{
+ SRMT("m1e4-1")
+ m1e4(1)
+ SRMT("m1e4-0")
+ m1e4(0)
+ SRMT("m1e5")
+ m1e5()
+ CH03("", 0, 0x026, 0, 0)
+
+ /*
+ * m1e5 shows appearance of bug but doesn't cause exceptions
+ * (so it is not detected automatically), so actions are required
+ * for to see result of this bug until it is actually fixed. Then
+ * (when fixed) uncomment Event(E000) in m1e5 and remove this error
+ * report below (or try to find how to detect this situation
+ * automatically now (for not fixed yet)):
+ */
+ err("", zFFF, 0x027, 0, 0, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/MAIN.asl
index 051479af7..f3022e5e4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B297.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B297.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl
index f08606ba8..1addf10eb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 297", TCLD, 297, W017)) {
- m1e6()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 297", TCLD, 297, W017)) {
+ m1e6()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl
index f022e468a..dd8c46818 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl
@@ -1,82 +1,82 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 298:
- *
- * SUMMARY: AcpiExOpcode_XA_XT_XR routines assign addresses of released cache objects to WalkState->ResultObj causing further problems
- *
- * Note: appearance of bug greatly depends on the memory cache dynamics
- *
- * So, PASS of this test doesn't mean yet that the root cause of the problem
- * has been resolved.
- */
-
-Mutex(MX00, 0)
-Mutex(MX01, 1)
-Mutex(MX02, 2)
-Mutex(MX03, 3)
-
-Name(p000, Package() { 0x67890000 })
-
-Method(m1e7)
-{
- Store(0x123, Local0)
- Acquire(MX03, 0x100)
-
- CH03("", 0, 0x000, 0, 0)
-
- Acquire(MX02, 0x100)
- CH04("", 0, 64, 0, 0x003, 0, 0) // AE_AML_MUTEX_ORDER
-
- Store(RefOf(p000), Local2) // L0(0x004d5ec8, 0x123), L2 (0x004d5dc8, res of RefOf)
- Store(DerefOf(Local2), Local3)
- Store("Sit 1: Local2 contains bad object there!!!!!", Debug)
- Store(LAnd(0xabcd0000, 0xabcd0001), Local5)
- Decrement(Local0) // L0(0x004d5ec8, 0x123), L2 (0x004d5dc8, 0xCACA)
- Store("============================== 0", Debug)
- Store(Local0, Debug)
- Store("============================== 1", Debug)
- Store(RefOf(p000), Local2)
- Store("============================== 2", Debug)
- Add(Local0, 0x11111111, Local4)
- Store(Local4, Debug)
- if (LNotEqual(Local4, 0x11111233)) {
- err("", zFFF, 0x001, 0, 0, Local4, 0x11111233)
- }
- Store("============================== 3", Debug)
-
- CH03("", 0, 0x002, 0, 0)
-
- /*
- * The problem is not automatically detected,
- * so remove this error report after the problem has been resolved.
- */
- err("", zFFF, 0x123, 0, 0, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 298:
+ *
+ * SUMMARY: AcpiExOpcode_XA_XT_XR routines assign addresses of released cache objects to WalkState->ResultObj causing further problems
+ *
+ * Note: appearance of bug greatly depends on the memory cache dynamics
+ *
+ * So, PASS of this test doesn't mean yet that the root cause of the problem
+ * has been resolved.
+ */
+
+Mutex(MX00, 0)
+Mutex(MX01, 1)
+Mutex(MX02, 2)
+Mutex(MX03, 3)
+
+Name(p000, Package() { 0x67890000 })
+
+Method(m1e7)
+{
+ Store(0x123, Local0)
+ Acquire(MX03, 0x100)
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Acquire(MX02, 0x100)
+ CH04("", 0, 64, 0, 0x003, 0, 0) // AE_AML_MUTEX_ORDER
+
+ Store(RefOf(p000), Local2) // L0(0x004d5ec8, 0x123), L2 (0x004d5dc8, res of RefOf)
+ Store(DerefOf(Local2), Local3)
+ Store("Sit 1: Local2 contains bad object there!!!!!", Debug)
+ Store(LAnd(0xabcd0000, 0xabcd0001), Local5)
+ Decrement(Local0) // L0(0x004d5ec8, 0x123), L2 (0x004d5dc8, 0xCACA)
+ Store("============================== 0", Debug)
+ Store(Local0, Debug)
+ Store("============================== 1", Debug)
+ Store(RefOf(p000), Local2)
+ Store("============================== 2", Debug)
+ Add(Local0, 0x11111111, Local4)
+ Store(Local4, Debug)
+ if (LNotEqual(Local4, 0x11111233)) {
+ err("", zFFF, 0x001, 0, 0, Local4, 0x11111233)
+ }
+ Store("============================== 3", Debug)
+
+ CH03("", 0, 0x002, 0, 0)
+
+ /*
+ * The problem is not automatically detected,
+ * so remove this error report after the problem has been resolved.
+ */
+ err("", zFFF, 0x123, 0, 0, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/MAIN.asl
index 12e3450d3..5fe9eeb6f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B298.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B298.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl
index 3799c3280..dbdeb5553 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 298", TCLD, 298, W017)) {
- SRMT("m1e7")
- m1e7()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 298", TCLD, 298, W017)) {
+ SRMT("m1e7")
+ m1e7()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl
index 0b6fe742e..926d4acdd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl
@@ -1,128 +1,128 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 299:
- *
- * SUMMARY: Many outstanding allocations on abnormal termination of AcpiDsCallControlMethod
- *
- *
- * [ACPI Debug] String: [0x29] "========= ROOT METHODS SUMMARY (max 600):"
- * [ACPI Debug] String: [0x3E] ":STST:bug-demo:Demo of bug 299:m1e8:FAIL:Errors # 01 00 00 00:"
- * [ACPI Debug] String: [0x0E] "========= END."
- * [ACPI Debug] String: [0x5B] "TEST ACPICA: 64-bit : FAIL : Errors # 0x0000000000000001, Failed tests # 0x0000000000000001"
- * Outstanding: 0x14 allocations after execution
- * Execution of \MAIN returned object 00327E40 Buflen 10
- * [Integer] = 0000000000000001
- * - q
- * 0047DDE8 Len 0028 utcache-414 [Operand] Integer R1
- * 0047DE48 Len 0028 utcache-414 [Operand] Integer R1
- * 0047DEA8 Len 0028 utcache-414 [Operand] Integer R1
- * 0047DF08 Len 0028 utcache-414 [Operand] Integer R1
- * 0047DF68 Len 0028 utcache-414 [Operand] Integer R1
- * 0047DFC8 Len 0028 utcache-414 [Operand] Integer R1
- * 0047C988 Len 0028 utcache-414 [Operand] Integer R1
- * 0047C9E8 Len 0028 utcache-414 [Operand] Integer R1
- * 0047CA48 Len 0028 utcache-414 [Operand] Integer R1
- * 0047CAA8 Len 0028 utcache-414 [Operand] Integer R1
- * 0047CB08 Len 0028 utcache-414 [Operand] Integer R1
- * 0047CB68 Len 0028 utcache-414 [Operand] Integer R1
- * 0047C328 Len 0028 utcache-414 [Operand] Integer R1
- * 0047C848 Len 0028 utcache-414 [Operand] Integer R1
- * 0047B398 Len 0028 utcache-414 [Operand] Integer R1
- * 0047A128 Len 0028 utcache-414 [Operand] Integer R1
- * ACPI Error (uttrack-0719): 16(10) Outstanding allocations [20061215]
- */
-
-Method(m1e8)
-{
- Method(m306, 2, Serialized)
- {
- Name(i000, 0)
- Name(i001, 0)
- Name(i002, 0x34)
- Name(i003, 0xabcd0003)
- Name(i004, 0xabcd0004)
- Method(m000,1,Serialized, 0) {if (arg0) {Store( 0,i004)} else {Store( 0,i003)} mm00(7,i000,i001)}
- Method(m001,1,Serialized, 1) {if (arg0) {Store( 1,i004)} else {Store( 1,i003)} mm00(8,i000,i001)}
-
- Method(mm00, 3)
- {
- Store(i002, Local0)
- Increment(i002)
-
- if (LGreater(i002, 0x36)) {
- Return
- }
-
- if (arg0) {
- Store(arg2, Local1)
- } else {
- Store(arg1, Local1)
- }
-
- if (LEqual(Local1, 0)) {
- m000(Local0)
- } else {
- m001(Local0)
- }
- }
-
- Store(arg0, i000)
- Store(arg1, i001)
-
- mm00(0, i000, i001)
- }
-
- CH03("", 0, 0x000, 0, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- m306(9, 0)
- CH04("", 1, 64, 0, 0x001, 0, 0) // AE_AML_MUTEX_ORDER
-
- /*
- * The problem is not automatically detected,
- * so remove this error report after the problem has been resolved.
- */
- err("", zFFF, 0x123, 0, 0, 0, 0)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 299:
+ *
+ * SUMMARY: Many outstanding allocations on abnormal termination of AcpiDsCallControlMethod
+ *
+ *
+ * [ACPI Debug] String: [0x29] "========= ROOT METHODS SUMMARY (max 600):"
+ * [ACPI Debug] String: [0x3E] ":STST:bug-demo:Demo of bug 299:m1e8:FAIL:Errors # 01 00 00 00:"
+ * [ACPI Debug] String: [0x0E] "========= END."
+ * [ACPI Debug] String: [0x5B] "TEST ACPICA: 64-bit : FAIL : Errors # 0x0000000000000001, Failed tests # 0x0000000000000001"
+ * Outstanding: 0x14 allocations after execution
+ * Execution of \MAIN returned object 00327E40 Buflen 10
+ * [Integer] = 0000000000000001
+ * - q
+ * 0047DDE8 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047DE48 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047DEA8 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047DF08 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047DF68 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047DFC8 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047C988 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047C9E8 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047CA48 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047CAA8 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047CB08 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047CB68 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047C328 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047C848 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047B398 Len 0028 utcache-414 [Operand] Integer R1
+ * 0047A128 Len 0028 utcache-414 [Operand] Integer R1
+ * ACPI Error (uttrack-0719): 16(10) Outstanding allocations [20061215]
+ */
+
+Method(m1e8)
+{
+ Method(m306, 2, Serialized)
+ {
+ Name(i000, 0)
+ Name(i001, 0)
+ Name(i002, 0x34)
+ Name(i003, 0xabcd0003)
+ Name(i004, 0xabcd0004)
+ Method(m000,1,Serialized, 0) {if (arg0) {Store( 0,i004)} else {Store( 0,i003)} mm00(7,i000,i001)}
+ Method(m001,1,Serialized, 1) {if (arg0) {Store( 1,i004)} else {Store( 1,i003)} mm00(8,i000,i001)}
+
+ Method(mm00, 3)
+ {
+ Store(i002, Local0)
+ Increment(i002)
+
+ if (LGreater(i002, 0x36)) {
+ Return
+ }
+
+ if (arg0) {
+ Store(arg2, Local1)
+ } else {
+ Store(arg1, Local1)
+ }
+
+ if (LEqual(Local1, 0)) {
+ m000(Local0)
+ } else {
+ m001(Local0)
+ }
+ }
+
+ Store(arg0, i000)
+ Store(arg1, i001)
+
+ mm00(0, i000, i001)
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ m306(9, 0)
+ CH04("", 1, 64, 0, 0x001, 0, 0) // AE_AML_MUTEX_ORDER
+
+ /*
+ * The problem is not automatically detected,
+ * so remove this error report after the problem has been resolved.
+ */
+ err("", zFFF, 0x123, 0, 0, 0, 0)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/MAIN.asl
index c40062797..b871a770d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B299.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B299.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl
index a8e4f1469..a2a81e0de 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 299", TCLD, 299, W017)) {
- SRMT("m1e8")
- m1e8()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 299", TCLD, 299, W017)) {
+ SRMT("m1e8")
+ m1e8()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/DECL.asl
index 79ea830a5..3595f8f2f 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/DECL.asl
@@ -1,90 +1,90 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 300:
- *
- * SUMMARY: Recursive calls to methods with the internal declarations (and Switches) should be provided
- */
-
-Method(m1e9)
-{
- Method(m000,, Serialized)
- {
- Name(i000, 0)
- Name(max0, 10)
-
- Store(max0, i000)
-
- Method(m100, 1)
- {
- /*
- * Method m100 contains internal declarations and Switch and
- * is invoked recursively but no exceptions should be there,
- * and the proper execution provided.
- */
- Name(ii00, 0)
- Name(ii01, 0)
- Name(ii02, 0)
- Name(ii03, 0)
-
- Store(arg0, ii00)
- Store(0, ii01)
- Store(0, ii02)
- Store(0, ii03)
- Store(arg0, Local5)
-
- Concatenate("================== i000: ", i000, Debug)
-
- Decrement(i000)
-
- Switch (i000) {
- Case (0) {
- Store("No more recursive calls", Debug)
- }
- Default {
- m100(i000)
- }
- }
-
- if (LNotEqual(arg0, ii00)) {
- err("", zFFF, 0x000, 0, 0, arg0, ii00)
- }
- if (LNotEqual(arg0, Local5)) {
- err("", zFFF, 0x001, 0, 0, arg0, Local5)
- }
- }
- m100(0)
- }
-
- CH03("", 0, 0x002, 0, 0)
- m000()
- CH03("", 0, 0x003, 0, 0)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 300:
+ *
+ * SUMMARY: Recursive calls to methods with the internal declarations (and Switches) should be provided
+ */
+
+Method(m1e9)
+{
+ Method(m000,, Serialized)
+ {
+ Name(i000, 0)
+ Name(max0, 10)
+
+ Store(max0, i000)
+
+ Method(m100, 1)
+ {
+ /*
+ * Method m100 contains internal declarations and Switch and
+ * is invoked recursively but no exceptions should be there,
+ * and the proper execution provided.
+ */
+ Name(ii00, 0)
+ Name(ii01, 0)
+ Name(ii02, 0)
+ Name(ii03, 0)
+
+ Store(arg0, ii00)
+ Store(0, ii01)
+ Store(0, ii02)
+ Store(0, ii03)
+ Store(arg0, Local5)
+
+ Concatenate("================== i000: ", i000, Debug)
+
+ Decrement(i000)
+
+ Switch (i000) {
+ Case (0) {
+ Store("No more recursive calls", Debug)
+ }
+ Default {
+ m100(i000)
+ }
+ }
+
+ if (LNotEqual(arg0, ii00)) {
+ err("", zFFF, 0x000, 0, 0, arg0, ii00)
+ }
+ if (LNotEqual(arg0, Local5)) {
+ err("", zFFF, 0x001, 0, 0, arg0, Local5)
+ }
+ }
+ m100(0)
+ }
+
+ CH03("", 0, 0x002, 0, 0)
+ m000()
+ CH03("", 0, 0x003, 0, 0)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/MAIN.asl
index dd1edffff..8c51ee51a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B300.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0300/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0300/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B300.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0300/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0300/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/RUN.asl
index 9a0dea933..d57886d32 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0300/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 300", TCLD, 300, W017)) {
- SRMT("m1e9")
- m1e9()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 300", TCLD, 300, W017)) {
+ SRMT("m1e9")
+ m1e9()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/DECL.asl
index 0ff67a8df..cff61c9bd 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/DECL.asl
@@ -1,141 +1,141 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 301:
- *
- * SUMMARY: Recursive calls to methods with the internal declarations (and Swithces) causes AE_AML_INTERNAL and crash
- */
-
-Method(m1ea)
-{
-Method(m19c,, Serialized)
-{
- Name(rpt0, 0)
-
- /*
- * Total number of calls of the same Recursively Called method (RCM),
- * the first call is counted there too.
- */
- Name(n000, 3)
-
- Name(cnt0, 0) // how many methods are in progress simultaneously
- Name(max0, 0) // maximal number of methods being in progress simultaneously
-
- /*
- * Open method execution
- *
- * arg0 - ID of method (1,2,3...)
- * arg1 - the message to be reported
- */
- Method(m800, 2)
- {
- if (rpt0) {
- Store(arg1, Debug)
- }
- Increment(cnt0)
-
- if (LGreater(cnt0, max0)) {
- Store(cnt0, max0)
- }
- }
-
- /*
- * Close method execution
- *
- * arg0 - ID of method (1,2,3...)
- */
- Method(m801, 1)
- {
- Decrement(cnt0)
- }
-
- /*
- * Arguments of methods:
- * arg0 - 0 - the first call, otherwise - recursive calls
- */
-
- Name(c000, 3)
-
- Method(m100,, Serialized)
- {
- Name(c100, 3)
- Method(m200,, Serialized)
- {
- Name(c200, 3)
- Method(m300,, Serialized)
- {
- Name(c300, 3)
- Method(m400)
- {
- m800(4, "m400")
- Decrement(c300)
- if (LEqual(c300, 0)) {
- m300()
- } else {
- m400()
- }
- m801(4)
- }
- m800(3, "m300")
- Decrement(c200)
- if (LEqual(c200, 0)) {
- m200()
- } else {
- m400()
- }
- m801(3)
- }
- m800(2, "m200")
- Decrement(c100)
- if (LEqual(c100, 0)) {
- m100()
- } else {
- m300()
- }
- m801(2)
- }
- m800(1, "m100")
- Decrement(c000)
- if (LEqual(c000, 0)) {
- // m000()
- } else {
- m200()
- }
- m801(1)
- }
-
- m100()
-}
-
- CH03("", 0, 0x000, 0, 0)
- m19c()
- CH03("", 0, 0x001, 0, 0)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 301:
+ *
+ * SUMMARY: Recursive calls to methods with the internal declarations (and Swithces) causes AE_AML_INTERNAL and crash
+ */
+
+Method(m1ea)
+{
+Method(m19c,, Serialized)
+{
+ Name(rpt0, 0)
+
+ /*
+ * Total number of calls of the same Recursively Called method (RCM),
+ * the first call is counted there too.
+ */
+ Name(n000, 3)
+
+ Name(cnt0, 0) // how many methods are in progress simultaneously
+ Name(max0, 0) // maximal number of methods being in progress simultaneously
+
+ /*
+ * Open method execution
+ *
+ * arg0 - ID of method (1,2,3...)
+ * arg1 - the message to be reported
+ */
+ Method(m800, 2)
+ {
+ if (rpt0) {
+ Store(arg1, Debug)
+ }
+ Increment(cnt0)
+
+ if (LGreater(cnt0, max0)) {
+ Store(cnt0, max0)
+ }
+ }
+
+ /*
+ * Close method execution
+ *
+ * arg0 - ID of method (1,2,3...)
+ */
+ Method(m801, 1)
+ {
+ Decrement(cnt0)
+ }
+
+ /*
+ * Arguments of methods:
+ * arg0 - 0 - the first call, otherwise - recursive calls
+ */
+
+ Name(c000, 3)
+
+ Method(m100,, Serialized)
+ {
+ Name(c100, 3)
+ Method(m200,, Serialized)
+ {
+ Name(c200, 3)
+ Method(m300,, Serialized)
+ {
+ Name(c300, 3)
+ Method(m400)
+ {
+ m800(4, "m400")
+ Decrement(c300)
+ if (LEqual(c300, 0)) {
+ m300()
+ } else {
+ m400()
+ }
+ m801(4)
+ }
+ m800(3, "m300")
+ Decrement(c200)
+ if (LEqual(c200, 0)) {
+ m200()
+ } else {
+ m400()
+ }
+ m801(3)
+ }
+ m800(2, "m200")
+ Decrement(c100)
+ if (LEqual(c100, 0)) {
+ m100()
+ } else {
+ m300()
+ }
+ m801(2)
+ }
+ m800(1, "m100")
+ Decrement(c000)
+ if (LEqual(c000, 0)) {
+ // m000()
+ } else {
+ m200()
+ }
+ m801(1)
+ }
+
+ m100()
+}
+
+ CH03("", 0, 0x000, 0, 0)
+ m19c()
+ CH03("", 0, 0x001, 0, 0)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/MAIN.asl
index 6bd8c1b96..7c52c87ee 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B301.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0301/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0301/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B301.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0301/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0301/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/RUN.asl
index 1d0e155f4..084e2a7d3 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0301/RUN.asl
@@ -1,38 +1,38 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 301", TCLD, 301, W017)) {
- SRMT("m1ea")
- if (y301) {
- m1ea()
- } else {
- BLCK()
- }
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 301", TCLD, 301, W017)) {
+ SRMT("m1ea")
+ if (y301) {
+ m1ea()
+ } else {
+ BLCK()
+ }
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/DECL.asl
index 36551a72a..49eb95544 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/DECL.asl
@@ -1,95 +1,95 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 302:
- *
- * SUMMARY: Scope operation doesn't work for the root node Location
- */
-
-Method(m1eb)
-{
- Method(m100)
- {
- Method(m200,, Serialized)
- {
- Store("---------------- Before <Scope(\\_SB)>",debug)
- Scope(\_SB) { Name(i2z7, 0xabcd0007) }
- Store("---------------- After Scope(\\_SB)",debug)
- m201()
- Store("---------------- Completed.",debug)
- }
-
- Method(m201)
- {
- if (LNotEqual(\_SB.i2z7, 0xabcd0007)) {
- err("", zFFF, 0x000, 0, 0, \_SB.i2z7, 0xabcd0007)
- }
- }
-
- m200()
- }
-
- Method(m101)
- {
- Method(m202,, Serialized)
- {
- Store("---------------- Before <Scope(\\)>",debug)
- Scope(\) { Name(i2z4, 0xabcd0004) }
- Store("---------------- After Scope(\\)",debug)
- m203()
- Store("---------------- Completed.",debug)
- }
-
- Method(m203)
- {
- if (LNotEqual(\i2z4, 0xabcd0004)) {
- err("", zFFF, 0x001, 0, 0, \i2z4, 0xabcd0004)
- }
- }
-
- m202()
- }
-
-
- CH03("", 0, 0x002, 0, 0)
-
- SRMT("m1eb-m100")
- m100()
-
- SRMT("m1eb-m101")
- if (y302) {
- m101()
- } else {
- BLCK()
- }
-
- CH03("", 0, 0x003, 0, 0)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 302:
+ *
+ * SUMMARY: Scope operation doesn't work for the root node Location
+ */
+
+Method(m1eb)
+{
+ Method(m100)
+ {
+ Method(m200,, Serialized)
+ {
+ Store("---------------- Before <Scope(\\_SB)>",debug)
+ Scope(\_SB) { Name(i2z7, 0xabcd0007) }
+ Store("---------------- After Scope(\\_SB)",debug)
+ m201()
+ Store("---------------- Completed.",debug)
+ }
+
+ Method(m201)
+ {
+ if (LNotEqual(\_SB.i2z7, 0xabcd0007)) {
+ err("", zFFF, 0x000, 0, 0, \_SB.i2z7, 0xabcd0007)
+ }
+ }
+
+ m200()
+ }
+
+ Method(m101)
+ {
+ Method(m202,, Serialized)
+ {
+ Store("---------------- Before <Scope(\\)>",debug)
+ Scope(\) { Name(i2z4, 0xabcd0004) }
+ Store("---------------- After Scope(\\)",debug)
+ m203()
+ Store("---------------- Completed.",debug)
+ }
+
+ Method(m203)
+ {
+ if (LNotEqual(\i2z4, 0xabcd0004)) {
+ err("", zFFF, 0x001, 0, 0, \i2z4, 0xabcd0004)
+ }
+ }
+
+ m202()
+ }
+
+
+ CH03("", 0, 0x002, 0, 0)
+
+ SRMT("m1eb-m100")
+ m100()
+
+ SRMT("m1eb-m101")
+ if (y302) {
+ m101()
+ } else {
+ BLCK()
+ }
+
+ CH03("", 0, 0x003, 0, 0)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/MAIN.asl
index db04d9313..879c6e8ce 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B302.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0302/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0302/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B302.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0302/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0302/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/RUN.asl
index 792c29eb9..3a9efd05e 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0302/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 302", TCLD, 302, W017)) {
- m1eb()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 302", TCLD, 302, W017)) {
+ m1eb()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/DECL.asl
index c1d76c75a..874bac168 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/DECL.asl
@@ -1,110 +1,110 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 303:
- *
- * SUMMARY: Name operation performed from inside the If operation doesn't work for the full-path ObjectName
- */
-
-Method(m1ec)
-{
- // The usual case, it works
- Method(m000)
- {
- Method(m100, 1, Serialized, 3)
- {
- Name(\i4z0, 0xabcd0000)
-
- if (LNotEqual(i4z0, 0xabcd0000)) {
- err("", zFFF, 0x000, 0, 0, i4z0, 0xabcd0000)
- }
- if (LNotEqual(\i4z0, 0xabcd0000)) {
- err("", zFFF, 0x001, 0, 0, \i4z0, 0xabcd0000)
- }
- m101()
- }
-
- Method(m101)
- {
- if (LNotEqual(i4z0, 0xabcd0000)) {
- err("", zFFF, 0x002, 0, 0, i4z0, 0xabcd0000)
- }
- if (LNotEqual(\i4z0, 0xabcd0000)) {
- err("", zFFF, 0x003, 0, 0, \i4z0, 0xabcd0000)
- }
- }
-
- Store("---------------- The case 1 started:",debug)
- m100(0)
- Store("---------------- Completed.",debug)
- }
-
- // The case where Name(\i4z1, 0xabcd0000) is performed from If, it doesn't work.
- Method(m001)
- {
- Method(m100, 1, Serialized)
- {
- if (LNot(arg0)) {
- Name(\i4z1, 0xabcd0000)
- }
-
- if (LNotEqual(i4z1, 0xabcd0000)) {
- err("", zFFF, 0x004, 0, 0, i4z1, 0xabcd0000)
- }
- if (LNotEqual(\i4z1, 0xabcd0000)) {
- err("", zFFF, 0x005, 0, 0, \i4z1, 0xabcd0000)
- }
- m101()
- }
-
- Method(m101)
- {
- if (LNotEqual(i4z1, 0xabcd0000)) {
- err("", zFFF, 0x006, 0, 0, i4z1, 0xabcd0000)
- }
- if (LNotEqual(\i4z1, 0xabcd0000)) {
- err("", zFFF, 0x007, 0, 0, \i4z1, 0xabcd0000)
- }
- }
-
- Store("---------------- The case 2 started:",debug)
- m100(0)
- Store("---------------- Completed",debug)
- }
-
- CH03("", 0, 0x008, 0, 0)
- SRMT("m1ec-m000")
- m000()
- CH03("", 0, 0x009, 0, 0)
- SRMT("m1ec-m001")
- m001()
- CH03("", 0, 0x00a, 0, 0)
-}
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 303:
+ *
+ * SUMMARY: Name operation performed from inside the If operation doesn't work for the full-path ObjectName
+ */
+
+Method(m1ec)
+{
+ // The usual case, it works
+ Method(m000)
+ {
+ Method(m100, 1, Serialized, 3)
+ {
+ Name(\i4z0, 0xabcd0000)
+
+ if (LNotEqual(i4z0, 0xabcd0000)) {
+ err("", zFFF, 0x000, 0, 0, i4z0, 0xabcd0000)
+ }
+ if (LNotEqual(\i4z0, 0xabcd0000)) {
+ err("", zFFF, 0x001, 0, 0, \i4z0, 0xabcd0000)
+ }
+ m101()
+ }
+
+ Method(m101)
+ {
+ if (LNotEqual(i4z0, 0xabcd0000)) {
+ err("", zFFF, 0x002, 0, 0, i4z0, 0xabcd0000)
+ }
+ if (LNotEqual(\i4z0, 0xabcd0000)) {
+ err("", zFFF, 0x003, 0, 0, \i4z0, 0xabcd0000)
+ }
+ }
+
+ Store("---------------- The case 1 started:",debug)
+ m100(0)
+ Store("---------------- Completed.",debug)
+ }
+
+ // The case where Name(\i4z1, 0xabcd0000) is performed from If, it doesn't work.
+ Method(m001)
+ {
+ Method(m100, 1, Serialized)
+ {
+ if (LNot(arg0)) {
+ Name(\i4z1, 0xabcd0000)
+ }
+
+ if (LNotEqual(i4z1, 0xabcd0000)) {
+ err("", zFFF, 0x004, 0, 0, i4z1, 0xabcd0000)
+ }
+ if (LNotEqual(\i4z1, 0xabcd0000)) {
+ err("", zFFF, 0x005, 0, 0, \i4z1, 0xabcd0000)
+ }
+ m101()
+ }
+
+ Method(m101)
+ {
+ if (LNotEqual(i4z1, 0xabcd0000)) {
+ err("", zFFF, 0x006, 0, 0, i4z1, 0xabcd0000)
+ }
+ if (LNotEqual(\i4z1, 0xabcd0000)) {
+ err("", zFFF, 0x007, 0, 0, \i4z1, 0xabcd0000)
+ }
+ }
+
+ Store("---------------- The case 2 started:",debug)
+ m100(0)
+ Store("---------------- Completed",debug)
+ }
+
+ CH03("", 0, 0x008, 0, 0)
+ SRMT("m1ec-m000")
+ m000()
+ CH03("", 0, 0x009, 0, 0)
+ SRMT("m1ec-m001")
+ m001()
+ CH03("", 0, 0x00a, 0, 0)
+}
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/MAIN.asl
index a41a0fb07..9b1d65312 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B303.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0303/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0303/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B303.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0303/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0303/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/RUN.asl
index 6b011f601..b75eef385 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0303/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 303", TCLD, 303, W017)) {
- m1ec()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 303", TCLD, 303, W017)) {
+ m1ec()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/DECL.asl
index 3f0866f7e..4685f09f9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/DECL.asl
@@ -1,294 +1,294 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 304:
- *
- * SUMMARY: No exception AE_AML_METHOD_LIMIT for the number of method invocations exceeding 255
- */
-
-Method(m1ed)
-{
-Method(m18a, 1, Serialized, 3)
-{
- Name(rpt0, 0)
- Name(i000, 0)
-
- /*
- * Total number of calls of the same Recursively Called method (RCM),
- * the first call is counted there too.
- */
- Name(n000, 3)
-
- Name(cnt0, 0) // how many methods are in progress simultaneously
- Name(max0, 0) // maximal number of methods being in progress simultaneously
- Name(cnt1, 0) // summary of total indexes
-
- Name(ix00, 0) // total index of current call
- Name(ind1, 0) // index of call to m100
- Name(ind2, 0) // index of call to m200
- Name(ind3, 0) // index of call to m300
- Name(ind4, 0) // index of call to m400
-
- Name(n100, 3) // number of calls to m100
- Name(n200, 6) // number of calls to m200
- Name(n300, 12) // number of calls to m300
- Name(n400, 24) // number of calls to m400
-
- Name(p100, Package(n100) {}) // Package to keep total indexs of call to m100
- Name(p200, Package(n200) {}) // Package to keep total indexs of call to m200
- Name(p300, Package(n300) {}) // Package to keep total indexs of call to m300
- Name(p400, Package(0x100) {}) // Package to keep total indexs of call to m400
-
- // Benchmarks of indexes
- Name(b1b0, Buffer(n100) {0,22,44})
- Name(b2b0, Buffer(n200) {1,11,21, 23,33,43})
- Name(b3b0, Buffer(n300) {2, 6,10, 12,16,20, 24,28,32, 34,38,42})
- Name(b4b0, Buffer(0x100) {3, 4, 5, 7, 8, 9, 13,14,15, 17,18,19,
- 25,26,27, 29,30,31, 35,36,37, 39,40,41})
-
- /*
- * Open method execution
- *
- * arg0 - ID of method (1,2,3...)
- * arg1 - the message to be reported
- */
- Method(m800, 2, Serialized)
- {
- if (rpt0) {
- Store(arg1, Debug)
- }
- Increment(cnt0)
-
- if (LGreater(cnt0, max0)) {
- Store(cnt0, max0)
- }
-
- Switch (ToInteger (arg0)) {
- Case (1) {
- Store(ix00, Index(p100, ind1))
- Increment(ind1)
- }
- Case (2) {
- Store(ix00, Index(p200, ind2))
- Increment(ind2)
- }
- Case (3) {
- Store(ix00, Index(p300, ind3))
- Increment(ind3)
- }
- Case (4) {
- Store(ix00, Index(p400, ind4))
- Increment(ind4)
- }
- }
-
- Increment(ix00) // total index
- }
-
- /*
- * Close method execution
- *
- * arg0 - ID of method (1,2,3...)
- */
- Method(m801, 1)
- {
- Decrement(cnt0)
- }
-
- /*
- * arg0 - ID of method (1,2,3...)
- * arg1 - number of elements to be compared
- * arg2 - Package
- * arg3 - Package with the benchmark values
- */
- Method(m802, 4, Serialized) {
- Name(lpN0, 0)
- Name(lpC0, 0)
-
- Store(arg1, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
-
- Store(DeRefOf(Index(arg2, lpC0)), Local0)
- Store(DeRefOf(Index(arg3, lpC0)), Local1)
- if (LNotEqual(Local0, Local1)) {
- err("", zFFF, 0x000, 0, 0, Local0, Local1)
- Store(arg0, Debug)
- Store(lpC0, Debug)
- }
- Decrement(lpN0)
- Increment(lpC0)
- }
-
- Switch (ToInteger (arg0)) {
- Case (1) {
- if (LNotEqual(ind1, n100)) {
- err("", zFFF, 0x001, 0, 0, ind1, n100)
- }
- }
- Case (2) {
- if (LNotEqual(ind2, n200)) {
- err("", zFFF, 0x002, 0, 0, ind2, n200)
- }
- }
- Case (3) {
- if (LNotEqual(ind3, n300)) {
- err("", zFFF, 0x003, 0, 0, ind3, n300)
- }
- }
- Case (4) {
- if (LNotEqual(ind4, n400)) {
- err("", zFFF, 0x004, 0, 0, ind4, n400)
- }
- }
- }
- }
-
- /*
- * Arguments of methods:
- * arg0 - 0 - the first call, otherwise - recursive calls
- */
-
- Name(c000, 3)
- Name(c100, 3)
- Name(c200, 3)
- Name(c300, 3)
-
- /*
- * None internal objects (including Methods) or Switches in Serialized methods below
- *
- * Note: if Serialized method has internal objects (including Methods and Switches)
- * it could not be invoked recursively by the same thread.
- */
- Method(m100, 0, Serialized, 0)
- {
- Store(3, c100)
- Store(ind1, Local1)
- Store(ix00, Local0)
- m800(1, "m100")
- Decrement(c000)
- if (LEqual(c000, 0)) {
- // m000()
- } else {
- m200()
- }
- m801(1)
- Add(cnt1, Local0, cnt1)
- Store(DerefOf(Index(p100, Local1)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x005, 0, 0, Local1, Local0)
- }
- }
- Method(m200, 0, Serialized, 0)
- {
- Store(3, c200)
- Store(ind2, Local1)
- Store(ix00, Local0)
- m800(2, "m200")
- Decrement(c100)
- if (LEqual(c100, 0)) {
- m100()
- } else {
- m300()
- }
- m801(2)
- Add(cnt1, Local0, cnt1)
- Store(DerefOf(Index(p200, Local1)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x006, 0, 0, Local1, Local0)
- }
- }
- Method(m300, 0, Serialized, 0)
- {
- if (i000) {
- Store(31, c300)
- // Store(32, c300) // AE_AML_METHOD_LIMIT occurs for this number (0x111 == 273)
- } else {
- Store(3, c300)
- }
-
- Store(ind3, Local1)
- Store(ix00, Local0)
- m800(3, "m300")
- Decrement(c200)
- if (LEqual(c200, 0)) {
- m200()
- } else {
- m400()
- }
- m801(3)
- Add(cnt1, Local0, cnt1)
- Store(DerefOf(Index(p300, Local1)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x007, 0, 0, Local1, Local0)
- }
- }
- Method(m400, 0, Serialized, 0)
- {
- Store(ind4, Local1)
- Store(ix00, Local0)
- m800(4, "m400")
- Decrement(c300)
- if (LEqual(c300, 0)) {
- m300()
- } else {
- m400()
- }
- m801(4)
- Add(cnt1, Local0, cnt1)
- Store(DerefOf(Index(p400, Local1)), Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x008, 0, 0, Local1, Local0)
- }
- }
-
- Store(arg0, i000)
-
- m100()
-
- Concatenate("Maximal number of methods being in progress simultaneously ", max0, Debug)
-
- // Check if exception takes place (AE_AML_METHOD_LIMIT)
-
- if (arg0) {
- CH04("", 0, 84, 0, 0x009, 0, 0) // AE_AML_METHOD_LIMIT
- } else {
- CH03("", 0, 0x00a, 0, 0)
- }
-}
-
- CH03("", 0, 0x00b, 0, 0)
- SRMT("m18a-0")
- m18a(0)
- CH03("", 0, 0x00c, 0, 0)
- SRMT("m18a-1")
- m18a(1)
- CH03("", 0, 0x00d, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 304:
+ *
+ * SUMMARY: No exception AE_AML_METHOD_LIMIT for the number of method invocations exceeding 255
+ */
+
+Method(m1ed)
+{
+Method(m18a, 1, Serialized, 3)
+{
+ Name(rpt0, 0)
+ Name(i000, 0)
+
+ /*
+ * Total number of calls of the same Recursively Called method (RCM),
+ * the first call is counted there too.
+ */
+ Name(n000, 3)
+
+ Name(cnt0, 0) // how many methods are in progress simultaneously
+ Name(max0, 0) // maximal number of methods being in progress simultaneously
+ Name(cnt1, 0) // summary of total indexes
+
+ Name(ix00, 0) // total index of current call
+ Name(ind1, 0) // index of call to m100
+ Name(ind2, 0) // index of call to m200
+ Name(ind3, 0) // index of call to m300
+ Name(ind4, 0) // index of call to m400
+
+ Name(n100, 3) // number of calls to m100
+ Name(n200, 6) // number of calls to m200
+ Name(n300, 12) // number of calls to m300
+ Name(n400, 24) // number of calls to m400
+
+ Name(p100, Package(n100) {}) // Package to keep total indexs of call to m100
+ Name(p200, Package(n200) {}) // Package to keep total indexs of call to m200
+ Name(p300, Package(n300) {}) // Package to keep total indexs of call to m300
+ Name(p400, Package(0x100) {}) // Package to keep total indexs of call to m400
+
+ // Benchmarks of indexes
+ Name(b1b0, Buffer(n100) {0,22,44})
+ Name(b2b0, Buffer(n200) {1,11,21, 23,33,43})
+ Name(b3b0, Buffer(n300) {2, 6,10, 12,16,20, 24,28,32, 34,38,42})
+ Name(b4b0, Buffer(0x100) {3, 4, 5, 7, 8, 9, 13,14,15, 17,18,19,
+ 25,26,27, 29,30,31, 35,36,37, 39,40,41})
+
+ /*
+ * Open method execution
+ *
+ * arg0 - ID of method (1,2,3...)
+ * arg1 - the message to be reported
+ */
+ Method(m800, 2, Serialized)
+ {
+ if (rpt0) {
+ Store(arg1, Debug)
+ }
+ Increment(cnt0)
+
+ if (LGreater(cnt0, max0)) {
+ Store(cnt0, max0)
+ }
+
+ Switch (ToInteger (arg0)) {
+ Case (1) {
+ Store(ix00, Index(p100, ind1))
+ Increment(ind1)
+ }
+ Case (2) {
+ Store(ix00, Index(p200, ind2))
+ Increment(ind2)
+ }
+ Case (3) {
+ Store(ix00, Index(p300, ind3))
+ Increment(ind3)
+ }
+ Case (4) {
+ Store(ix00, Index(p400, ind4))
+ Increment(ind4)
+ }
+ }
+
+ Increment(ix00) // total index
+ }
+
+ /*
+ * Close method execution
+ *
+ * arg0 - ID of method (1,2,3...)
+ */
+ Method(m801, 1)
+ {
+ Decrement(cnt0)
+ }
+
+ /*
+ * arg0 - ID of method (1,2,3...)
+ * arg1 - number of elements to be compared
+ * arg2 - Package
+ * arg3 - Package with the benchmark values
+ */
+ Method(m802, 4, Serialized) {
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+ Store(arg1, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+
+ Store(DeRefOf(Index(arg2, lpC0)), Local0)
+ Store(DeRefOf(Index(arg3, lpC0)), Local1)
+ if (LNotEqual(Local0, Local1)) {
+ err("", zFFF, 0x000, 0, 0, Local0, Local1)
+ Store(arg0, Debug)
+ Store(lpC0, Debug)
+ }
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+
+ Switch (ToInteger (arg0)) {
+ Case (1) {
+ if (LNotEqual(ind1, n100)) {
+ err("", zFFF, 0x001, 0, 0, ind1, n100)
+ }
+ }
+ Case (2) {
+ if (LNotEqual(ind2, n200)) {
+ err("", zFFF, 0x002, 0, 0, ind2, n200)
+ }
+ }
+ Case (3) {
+ if (LNotEqual(ind3, n300)) {
+ err("", zFFF, 0x003, 0, 0, ind3, n300)
+ }
+ }
+ Case (4) {
+ if (LNotEqual(ind4, n400)) {
+ err("", zFFF, 0x004, 0, 0, ind4, n400)
+ }
+ }
+ }
+ }
+
+ /*
+ * Arguments of methods:
+ * arg0 - 0 - the first call, otherwise - recursive calls
+ */
+
+ Name(c000, 3)
+ Name(c100, 3)
+ Name(c200, 3)
+ Name(c300, 3)
+
+ /*
+ * None internal objects (including Methods) or Switches in Serialized methods below
+ *
+ * Note: if Serialized method has internal objects (including Methods and Switches)
+ * it could not be invoked recursively by the same thread.
+ */
+ Method(m100, 0, Serialized, 0)
+ {
+ Store(3, c100)
+ Store(ind1, Local1)
+ Store(ix00, Local0)
+ m800(1, "m100")
+ Decrement(c000)
+ if (LEqual(c000, 0)) {
+ // m000()
+ } else {
+ m200()
+ }
+ m801(1)
+ Add(cnt1, Local0, cnt1)
+ Store(DerefOf(Index(p100, Local1)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x005, 0, 0, Local1, Local0)
+ }
+ }
+ Method(m200, 0, Serialized, 0)
+ {
+ Store(3, c200)
+ Store(ind2, Local1)
+ Store(ix00, Local0)
+ m800(2, "m200")
+ Decrement(c100)
+ if (LEqual(c100, 0)) {
+ m100()
+ } else {
+ m300()
+ }
+ m801(2)
+ Add(cnt1, Local0, cnt1)
+ Store(DerefOf(Index(p200, Local1)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x006, 0, 0, Local1, Local0)
+ }
+ }
+ Method(m300, 0, Serialized, 0)
+ {
+ if (i000) {
+ Store(31, c300)
+ // Store(32, c300) // AE_AML_METHOD_LIMIT occurs for this number (0x111 == 273)
+ } else {
+ Store(3, c300)
+ }
+
+ Store(ind3, Local1)
+ Store(ix00, Local0)
+ m800(3, "m300")
+ Decrement(c200)
+ if (LEqual(c200, 0)) {
+ m200()
+ } else {
+ m400()
+ }
+ m801(3)
+ Add(cnt1, Local0, cnt1)
+ Store(DerefOf(Index(p300, Local1)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x007, 0, 0, Local1, Local0)
+ }
+ }
+ Method(m400, 0, Serialized, 0)
+ {
+ Store(ind4, Local1)
+ Store(ix00, Local0)
+ m800(4, "m400")
+ Decrement(c300)
+ if (LEqual(c300, 0)) {
+ m300()
+ } else {
+ m400()
+ }
+ m801(4)
+ Add(cnt1, Local0, cnt1)
+ Store(DerefOf(Index(p400, Local1)), Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x008, 0, 0, Local1, Local0)
+ }
+ }
+
+ Store(arg0, i000)
+
+ m100()
+
+ Concatenate("Maximal number of methods being in progress simultaneously ", max0, Debug)
+
+ // Check if exception takes place (AE_AML_METHOD_LIMIT)
+
+ if (arg0) {
+ CH04("", 0, 84, 0, 0x009, 0, 0) // AE_AML_METHOD_LIMIT
+ } else {
+ CH03("", 0, 0x00a, 0, 0)
+ }
+}
+
+ CH03("", 0, 0x00b, 0, 0)
+ SRMT("m18a-0")
+ m18a(0)
+ CH03("", 0, 0x00c, 0, 0)
+ SRMT("m18a-1")
+ m18a(1)
+ CH03("", 0, 0x00d, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/MAIN.asl
index 20b395017..cd737bfdb 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B304.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0304/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0304/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B304.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0304/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0304/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/RUN.asl
index 4cefbaabe..b04f897aa 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0304/RUN.asl
@@ -1,33 +1,33 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 304", TCLD, 304, W017)) {
- m1ed()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 304", TCLD, 304, W017)) {
+ m1ed()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl
index 04072cd67..04a27753a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl
@@ -1,61 +1,61 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 305:
- *
- * SUMMARY: Not owner recursive method call releases global object created by method
- */
-
-Method(mff2)
-{
- Method(m000, 1, Serialized, 3)
- {
- if (LNot(arg0)) {
- Scope(\_SB) { Name(i2z6, 0xabcd0000) }
- }
-
- if (LNot(arg0)) {
- m000(1)
- }
- Store("==================== 0", Debug)
- Store(arg0, Debug)
- Add(\_SB.i2z6, 3, Local0)
-
-
- Store("==================== 1", Debug)
- if (LNotEqual(Local0, 0xabcd0003)) {
- err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0003)
- }
- }
-
- CH03("", 0, 0x000, 0, 0)
- m000(0)
- CH03("", 0, 0x001, 0, 0)
-}
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 305:
+ *
+ * SUMMARY: Not owner recursive method call releases global object created by method
+ */
+
+Method(mff2)
+{
+ Method(m000, 1, Serialized, 3)
+ {
+ if (LNot(arg0)) {
+ Scope(\_SB) { Name(i2z6, 0xabcd0000) }
+ }
+
+ if (LNot(arg0)) {
+ m000(1)
+ }
+ Store("==================== 0", Debug)
+ Store(arg0, Debug)
+ Add(\_SB.i2z6, 3, Local0)
+
+
+ Store("==================== 1", Debug)
+ if (LNotEqual(Local0, 0xabcd0003)) {
+ err("", zFFF, 0x000, 0, 0, Local0, 0xabcd0003)
+ }
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+ m000(0)
+ CH03("", 0, 0x001, 0, 0)
+}
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/MAIN.asl
index 591169e17..7a63a4697 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B305.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0305/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0305/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B305.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0305/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0305/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/RUN.asl
index 0c89450bb..8d674eb8a 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 305", TCLD, 305, W017)) {
- SRMT("mff2")
- mff2()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 305", TCLD, 305, W017)) {
+ SRMT("mff2")
+ mff2()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/DECL.asl
index 7820a7b91..79ec5764b 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/DECL.asl
@@ -1,70 +1,70 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug 306:
- *
- * SUMMARY: Complex indirect storing to a LocalX violates the Writing to LocalX Rule
- */
-
-
-Method(mff3)
-{
- Method(m000, 1)
- {
- Store(0x12345678, arg0)
- Store("87654321", arg0)
- }
-
- CH03("", 0, 0x000, 0, 0)
-
- Store(0x12345678, Local0)
- Store("87654321", Local0)
-
- if (LNotEqual(ObjectType(Local0), 2)) {
- err("", zFFF, 0x001, 0, 0, ObjectType(Local0), 2)
- }
-
- m000(Refof(Local1))
-
- if (LNotEqual(ObjectType(Local1), 2)) {
- err("", zFFF, 0x002, 0, 0, ObjectType(Local1), 2)
- }
-
- Store(Refof(Local2), Local3)
- Store(Refof(Local3), Local4)
-
- Store(0x12345678, DeRefof(Local4))
- Store("87654321", DeRefof(Local4))
-
- if (LNotEqual(ObjectType(Local2), 2)) {
- err("", zFFF, 0x003, 0, 0, ObjectType(Local2), 2)
- }
-
- CH03("", 0, 0x004, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug 306:
+ *
+ * SUMMARY: Complex indirect storing to a LocalX violates the Writing to LocalX Rule
+ */
+
+
+Method(mff3)
+{
+ Method(m000, 1)
+ {
+ Store(0x12345678, arg0)
+ Store("87654321", arg0)
+ }
+
+ CH03("", 0, 0x000, 0, 0)
+
+ Store(0x12345678, Local0)
+ Store("87654321", Local0)
+
+ if (LNotEqual(ObjectType(Local0), 2)) {
+ err("", zFFF, 0x001, 0, 0, ObjectType(Local0), 2)
+ }
+
+ m000(Refof(Local1))
+
+ if (LNotEqual(ObjectType(Local1), 2)) {
+ err("", zFFF, 0x002, 0, 0, ObjectType(Local1), 2)
+ }
+
+ Store(Refof(Local2), Local3)
+ Store(Refof(Local3), Local4)
+
+ Store(0x12345678, DeRefof(Local4))
+ Store("87654321", DeRefof(Local4))
+
+ if (LNotEqual(ObjectType(Local2), 2)) {
+ err("", zFFF, 0x003, 0, 0, ObjectType(Local2), 2)
+ }
+
+ CH03("", 0, 0x004, 0, 0)
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/MAIN.asl
index ad3ef536c..de73169c7 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/MAIN.asl
@@ -1,55 +1,55 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-DefinitionBlock(
- "B306.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/0306/DECL.asl")
-
- Method(MAIN) {
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/0306/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+DefinitionBlock(
+ "B306.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0306/DECL.asl")
+
+ Method(MAIN) {
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/0306/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/RUN.asl
index 64b221e51..a0233faff 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0306/RUN.asl
@@ -1,34 +1,34 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-if (STTT("Demo of bug 306", TCLD, 306, W017)) {
- SRMT("mff3")
- mff3()
-}
-FTTT()
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (STTT("Demo of bug 306", TCLD, 306, W017)) {
+ SRMT("mff3")
+ mff3()
+}
+FTTT()
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/DECL.asl
index 9c77a5d96..69421c950 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/DECL.asl
@@ -1,441 +1,441 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug-demo tests collection, to be compiled all together as one module
- */
-
-/*
- * 162, (causes exception during the table load)
- */
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0000/DECL.asl")
-
-// 0001_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0002/DECL.asl")
-
-// 0003_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0004/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0005/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0006/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0007/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0008/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0009/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0010/DECL.asl")
-
-// 0011_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0013/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0014/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0015/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0016/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0017/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0018/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0019/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0020/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0021/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0022/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0023/DECL.asl")
-
-// 0024_ASL
-// 0025_SPEC
-// 0026_ASL_NOT_BUG_NOW
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0027/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0028/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0029/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0030/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl")
-
-// 0032_ASL
-// 0033_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0034/DECL.asl")
-
-// 0035_ASL
-// 0036_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0037/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0038/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0040/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0041/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0042/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0043/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0044/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0045/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0046/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0047/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0048/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0049/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0050/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0052/DECL.asl")
-
-// 0053_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0054/DECL.asl")
-
-// 0055_ASL
-// 0056_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0057/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0058/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0059/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0060/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0061/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0063/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0064/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0065/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0066/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0067/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0068/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0069/DECL.asl")
-
-// 0070_ASL
-// 0071_ASL
-// 0072_ASL
-// 0073_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0074/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0075/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0076/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0077/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0078/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0079/DECL.asl")
-
-// 0080_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0081/DECL.asl")
-
-// 0082_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0083/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0084/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0085/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0086/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0087/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0088/DECL.asl")
-
-// 0089_SPEC
-// 0090_SPEC
-// 0091_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0092/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0093/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0094/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0095/DECL.asl")
-
-// 0096_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0097/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0098/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0099/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0100/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0101/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0102/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0103/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0104/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0105/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0106/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0107/DECL.asl")
-
-// 0108_ASL
-// 0109_ASL
-// 0110_ML
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0111/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0112/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0113/DECL.asl")
-
-// 0114_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0115/DECL.asl")
-
-// 0116_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0117/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0118/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0119/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0120/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0121/DECL.asl")
-
-// 0122_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0123/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0124/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0125/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0126/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0127/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0128/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0129/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0130/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0131/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0132/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0133/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0134/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0136/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0137/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0138/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0139/DECL.asl")
-
-// 0140_ASL
-// 0141_SPEC
-// 0142_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0143/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0144/DECL.asl")
-
-// 0145_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0146/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0147/DECL.asl")
-
-// 0148_ASL
-// 0149_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0150/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0151/DECL.asl")
-
-// 0152_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0154/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0155/DECL.asl")
-
-// 0156_ML
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0157/DECL.asl")
-
-// 0158_ML
-// 0159_ML
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0160/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0161/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0162/DECL.asl")
-
-// 0163_ML
-// 0164_ACTION_REQUIRED
-// 0165_ML
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0167/DECL.asl")
-
-// 0168_ACT_REQ_NOPT
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0169/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0170/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl")
-
-// 0172_OUTSTAND_ALLOC
-// 0173_DEMO_IMPOSSIBLE
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0174/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0175/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0176/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0177/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0178/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0179/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0182/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0183/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0184/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0185/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0186/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0187/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0188/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0189/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0190/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0191/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0192/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0193/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0194/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0195/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0196/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0197/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0198/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0199/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0200/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl")
-
-// 0202_SEE_129
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0203/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0204/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0205/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0206/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0207/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0208/DECL.asl")
-
-// 0209_ML_SEE_135
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0210/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0211/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0212/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0213/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0214/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0215/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0216/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0217/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0218/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0219/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0220/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0221/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0222/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0223/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0224/DECL.asl")
-
-// 0225_ASL/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0226/DECL.asl")
-
-// 0227_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0228/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0229/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0230/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0231/DECL.asl")
-
-// 0232_F_OPTION
-// 0233_ASL
-
-// 0234_ASL_RUNTIME
-// 0235_ASL_RUNTIME
-
-// 0236_ASL
-// 0237_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0238/DECL.asl")
-
-// 0239_ACTION_REQUIRED
-// 0240_ACTION_REQUIRED
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0241/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0242/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0243/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0244/DECL.asl")
-
-// 0245_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0246/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0247/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0248/DECL.asl")
-
-// 0249_DEMO_IMPOSSIBLE
-// 0250_DEMO_IMPOSSIBLE
-// 0251_ACTION_REQUIRED
-// 0252_ASL
-// 0253_DEMO_IMPOSSIBLE
-// 0254_DEMO_IMPOSSIBLE
-// 0255_DEMO_IMPOSSIBLE
-// 0256_DEMO_IMPOSSIBLE
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0257/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0258/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0259/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0260/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0261/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0262/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0263/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0264/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0265/DECL.asl")
-
-// 0266_DEMO_IMPOSSIBLE
-// 0267_DEMO_IMPOSSIBLE
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0268/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0269/DECL.asl")
-
-// 0270_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0271/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0272/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0273/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0274/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0275/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl")
-
-// 0277_ACTION_REQUIRED
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0278/DECL.asl")
-
-// 0279_ASL_RUNTIME
-// 0280_ASL_RUNTIME
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0281/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0282/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0283/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0284/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0285/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0286/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0287/DECL.asl")
-
-// 0288_ASL_RUNTIME
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0289/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0290/DECL.asl")
-
-// 0291_ASL_RUNTIME
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0292/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0293/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0294/DECL.asl")
-
-// 0295_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0296/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0300/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0301/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0302/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0303/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0304/DECL.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0305/DECL.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0306/DECL.asl")
-
-
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug-demo tests collection, to be compiled all together as one module
+ */
+
+/*
+ * 162, (causes exception during the table load)
+ */
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0000/DECL.asl")
+
+// 0001_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0002/DECL.asl")
+
+// 0003_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0004/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0005/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0006/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0007/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0008/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0009/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0010/DECL.asl")
+
+// 0011_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0012/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0013/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0014/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0015/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0016/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0017/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0018/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0019/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0020/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0021/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0022/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0023/DECL.asl")
+
+// 0024_ASL
+// 0025_SPEC
+// 0026_ASL_NOT_BUG_NOW
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0027/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0028/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0029/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0030/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/DECL.asl")
+
+// 0032_ASL
+// 0033_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0034/DECL.asl")
+
+// 0035_ASL
+// 0036_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0037/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0038/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0040/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0041/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0042/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0043/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0044/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0045/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0046/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0047/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0048/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0049/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0050/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0052/DECL.asl")
+
+// 0053_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0054/DECL.asl")
+
+// 0055_ASL
+// 0056_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0057/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0058/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0059/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0060/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0061/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0063/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0064/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0065/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0066/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0067/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0068/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0069/DECL.asl")
+
+// 0070_ASL
+// 0071_ASL
+// 0072_ASL
+// 0073_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0074/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0075/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0076/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0077/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0078/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0079/DECL.asl")
+
+// 0080_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0081/DECL.asl")
+
+// 0082_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0083/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0084/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0085/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0086/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0087/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0088/DECL.asl")
+
+// 0089_SPEC
+// 0090_SPEC
+// 0091_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0092/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0093/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0094/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0095/DECL.asl")
+
+// 0096_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0097/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0098/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0099/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0100/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0101/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0102/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0103/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0104/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0105/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0106/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0107/DECL.asl")
+
+// 0108_ASL
+// 0109_ASL
+// 0110_ML
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0111/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0112/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0113/DECL.asl")
+
+// 0114_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0115/DECL.asl")
+
+// 0116_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0117/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0118/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0119/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0120/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0121/DECL.asl")
+
+// 0122_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0123/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0124/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0125/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0126/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0127/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0128/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0129/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0130/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0131/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0132/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0133/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0134/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0136/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0137/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0138/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0139/DECL.asl")
+
+// 0140_ASL
+// 0141_SPEC
+// 0142_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0143/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0144/DECL.asl")
+
+// 0145_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0146/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0147/DECL.asl")
+
+// 0148_ASL
+// 0149_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0150/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0151/DECL.asl")
+
+// 0152_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0154/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0155/DECL.asl")
+
+// 0156_ML
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0157/DECL.asl")
+
+// 0158_ML
+// 0159_ML
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0160/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0161/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0162/DECL.asl")
+
+// 0163_ML
+// 0164_ACTION_REQUIRED
+// 0165_ML
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0166_ML/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0167/DECL.asl")
+
+// 0168_ACT_REQ_NOPT
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0169/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0170/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/DECL.asl")
+
+// 0172_OUTSTAND_ALLOC
+// 0173_DEMO_IMPOSSIBLE
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0174/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0175/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0176/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0177/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0178/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0179/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0182/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0183/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0184/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0185/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0186/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0187/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0188/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0189/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0190/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0191/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0192/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0193/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0194/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0195/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0196/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0197/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0198/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0199/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0200/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/DECL.asl")
+
+// 0202_SEE_129
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0203/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0204/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0205/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0206/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0207/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0208/DECL.asl")
+
+// 0209_ML_SEE_135
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0210/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0211/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0212/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0213/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0214/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0215/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0216/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0217/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0218/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0219/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0220/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0221/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0222/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0223/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0224/DECL.asl")
+
+// 0225_ASL/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0226/DECL.asl")
+
+// 0227_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0228/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0229/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0230/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0231/DECL.asl")
+
+// 0232_F_OPTION
+// 0233_ASL
+
+// 0234_ASL_RUNTIME
+// 0235_ASL_RUNTIME
+
+// 0236_ASL
+// 0237_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0238/DECL.asl")
+
+// 0239_ACTION_REQUIRED
+// 0240_ACTION_REQUIRED
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0241/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0242/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0243/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0244/DECL.asl")
+
+// 0245_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0246/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0247/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0248/DECL.asl")
+
+// 0249_DEMO_IMPOSSIBLE
+// 0250_DEMO_IMPOSSIBLE
+// 0251_ACTION_REQUIRED
+// 0252_ASL
+// 0253_DEMO_IMPOSSIBLE
+// 0254_DEMO_IMPOSSIBLE
+// 0255_DEMO_IMPOSSIBLE
+// 0256_DEMO_IMPOSSIBLE
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0257/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0258/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0259/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0260/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0261/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0262/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0263/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0264/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0265/DECL.asl")
+
+// 0266_DEMO_IMPOSSIBLE
+// 0267_DEMO_IMPOSSIBLE
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0268/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0269/DECL.asl")
+
+// 0270_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0271/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0272/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0273/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0274/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0275/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/DECL.asl")
+
+// 0277_ACTION_REQUIRED
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0278/DECL.asl")
+
+// 0279_ASL_RUNTIME
+// 0280_ASL_RUNTIME
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0281/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0282/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0283/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0284/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0285/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0286/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0287/DECL.asl")
+
+// 0288_ASL_RUNTIME
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0289/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0290/DECL.asl")
+
+// 0291_ASL_RUNTIME
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0292/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0293/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0294/DECL.asl")
+
+// 0295_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0296/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0300/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0301/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0302/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0303/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0304/DECL.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0305/DECL.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0306/DECL.asl")
+
+
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/MAIN.asl
index 5e1f6cc04..f3e721d9d 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/MAIN.asl
@@ -1,72 +1,72 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug-demo collection
- */
-DefinitionBlock(
- "bdemo.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/bdemo/DECL.asl")
-
- Method(MAIN) {
-
-/*
- // Flag of presence of demo-162 test.
- if (id02) {
- // Check, register errors and reset the global level execution exception.
- md7d()
- }
-
- // Check, register errors and reset the global level execution exception
- // md7d() - do it while BUF1 creation just after BUF0,
- // otherwise, if doing that there, some other
- // exception may distort picture.
-*/
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/bdemo/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug-demo collection
+ */
+DefinitionBlock(
+ "bdemo.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/bdemo/DECL.asl")
+
+ Method(MAIN) {
+
+/*
+ // Flag of presence of demo-162 test.
+ if (id02) {
+ // Check, register errors and reset the global level execution exception.
+ md7d()
+ }
+
+ // Check, register errors and reset the global level execution exception
+ // md7d() - do it while BUF1 creation just after BUF0,
+ // otherwise, if doing that there, some other
+ // exception may distort picture.
+*/
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/bdemo/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/RUN.asl
index 998966a32..9680fb63c 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/RUN.asl
@@ -1,433 +1,433 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-Store("COLLECTION: all bug-demo tests", Debug)
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0000/RUN.asl")
-
-// 0001_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0002/RUN.asl")
-
-// 0003_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0004/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0005/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0006/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0007/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0008/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0009/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0010/RUN.asl")
-
-// 0011_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0012/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0013/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0014/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0015/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0016/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0017/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0018/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0019/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0020/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0021/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0022/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0023/RUN.asl")
-
-// 0024_ASL
-// 0025_SPEC
-// 0026_ASL_NOT_BUG_NOW
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0027/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0028/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0029/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0030/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl")
-
-// 0032_ASL
-// 0033_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0034/RUN.asl")
-
-// 0035_ASL
-// 0036_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0037/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0038/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0040/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0041/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0042/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0043/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0044/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0045/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0046/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0047/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0048/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0049/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0050/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0052/RUN.asl")
-
-// 0053_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0054/RUN.asl")
-
-// 0055_ASL
-// 0056_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0057/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0058/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0059/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0060/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0061/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0063/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0064/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0065/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0066/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0067/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0068/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0069/RUN.asl")
-
-// 0070_ASL
-// 0071_ASL
-// 0072_ASL
-// 0073_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0074/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0075/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0076/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0077/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0078/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0079/RUN.asl")
-
-// 0080_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0081/RUN.asl")
-
-// 0082_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0083/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0084/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0085/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0086/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0087/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0088/RUN.asl")
-
-// 0089_SPEC
-// 0090_SPEC
-// 0091_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0092/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0093/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0094/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0095/RUN.asl")
-
-// 0096_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0097/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0098/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0099/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0100/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0101/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0102/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0103/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0104/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0105/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0106/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0107/RUN.asl")
-
-// 0108_ASL
-// 0109_ASL
-// 0110_ML
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0111/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0112/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0113/RUN.asl")
-
-// 0114_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0115/RUN.asl")
-
-// 0116_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0117/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0118/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0119/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0120/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0121/RUN.asl")
-
-// 0122_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0123/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0124/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0125/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0126/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0127/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0128/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0129/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0130/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0131/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0132/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0133/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0134/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0135/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0136/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0137/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0138/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0139/RUN.asl")
-
-// 0140_ASL
-// 0141_SPEC
-// 0142_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0143/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0144/RUN.asl")
-
-// 0145_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0146/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0147/RUN.asl")
-
-// 0148_ASL
-// 0149_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0150/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0151/RUN.asl")
-
-// 0152_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0153/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0154/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0155/RUN.asl")
-
-// 0156_ML
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0157/RUN.asl")
-
-// 0158_ML
-// 0159_ML
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0160/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0161/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0162/RUN.asl")
-
-// 0163_ML
-// 0164_ACTION_REQUIRED
-// 0165_ML
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0167/RUN.asl")
-
-// 0168_ACT_REQ_NOPT
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0169/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0170/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl")
-
-// 0172_OUTSTAND_ALLOC
-// 0173_DEMO_IMPOSSIBLE
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0174/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0175/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0176/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0177/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0178/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0179/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0182/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0183/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0184/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0185/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0186/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0187/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0188/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0189/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0190/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0191/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0192/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0193/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0194/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0195/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0196/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0197/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0198/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0199/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0200/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl")
-
-// 0202_SEE_129
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0203/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0204/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0205/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0206/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0207/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0208/RUN.asl")
-
-// 0209_ML_SEE_135
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0210/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0211/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0212/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0213/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0214/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0215/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0216/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0217/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0218/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0219/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0220/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0221/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0222/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0223/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0224/RUN.asl")
-
-// 0225_ASL/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0226/RUN.asl")
-
-// 0227_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0228/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0229/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0230/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0231/RUN.asl")
-
-// 0232_F_OPTION
-// 0233_ASL
-
-// 0234_ASL_RUNTIME
-// 0235_ASL_RUNTIME
-
-// 0236_ASL
-// 0237_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0238/RUN.asl")
-
-// 0239_ACTION_REQUIRED
-// 0240_ACTION_REQUIRED
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0241/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0242/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0243/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0244/RUN.asl")
-
-// 0245_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0246/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0247/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0248/RUN.asl")
-
-// 0249_DEMO_IMPOSSIBLE
-// 0250_DEMO_IMPOSSIBLE
-// 0251_ACTION_REQUIRED
-// 0252_ASL
-// 0253_DEMO_IMPOSSIBLE
-// 0254_DEMO_IMPOSSIBLE
-// 0255_DEMO_IMPOSSIBLE
-// 0256_DEMO_IMPOSSIBLE
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0257/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0258/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0259/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0260/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0261/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0262/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0263/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0264/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0265/RUN.asl")
-
-// 0266_DEMO_IMPOSSIBLE
-// 0267_DEMO_IMPOSSIBLE
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0268/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0269/RUN.asl")
-
-// 0270_SPEC
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0271/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0272/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0273/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0274/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0275/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl")
-
-// 0277_ACTION_REQUIRED
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0278/RUN.asl")
-
-// 0279_ASL_RUNTIME
-// 0280_ASL_RUNTIME
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0281/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0282/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0283/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0284/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0285/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0286/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0287/RUN.asl")
-
-// 0288_ASL_RUNTIME
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0289/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0290/RUN.asl")
-
-// 0291_ASL_RUNTIME
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0292/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0293/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0294/RUN.asl")
-
-// 0295_ASL
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0296/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0300/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0301/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0302/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0303/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0304/RUN.asl")
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0305/RUN.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/0306/RUN.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+Store("COLLECTION: all bug-demo tests", Debug)
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0000/RUN.asl")
+
+// 0001_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0002/RUN.asl")
+
+// 0003_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0004/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0005/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0006/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0007/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0008/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0009/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0010/RUN.asl")
+
+// 0011_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0012/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0013/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0014/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0015/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0016/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0017/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0018/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0019/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0020/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0021/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0022/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0023/RUN.asl")
+
+// 0024_ASL
+// 0025_SPEC
+// 0026_ASL_NOT_BUG_NOW
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0027/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0028/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0029/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0030/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0031_ASL_RUNTIME/RUN.asl")
+
+// 0032_ASL
+// 0033_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0034/RUN.asl")
+
+// 0035_ASL
+// 0036_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0037/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0038/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0039_ASL_RUNTIME/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0040/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0041/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0042/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0043/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0044/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0045/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0046/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0047/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0048/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0049/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0050/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0051_ASL_RUNTIME/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0052/RUN.asl")
+
+// 0053_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0054/RUN.asl")
+
+// 0055_ASL
+// 0056_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0057/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0058/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0059/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0060/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0061/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0062_ASL_RUNTIME/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0063/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0064/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0065/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0066/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0067/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0068/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0069/RUN.asl")
+
+// 0070_ASL
+// 0071_ASL
+// 0072_ASL
+// 0073_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0074/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0075/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0076/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0077/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0078/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0079/RUN.asl")
+
+// 0080_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0081/RUN.asl")
+
+// 0082_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0083/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0084/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0085/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0086/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0087/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0088/RUN.asl")
+
+// 0089_SPEC
+// 0090_SPEC
+// 0091_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0092/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0093/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0094/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0095/RUN.asl")
+
+// 0096_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0097/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0098/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0099/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0100/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0101/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0102/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0103/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0104/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0105/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0106/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0107/RUN.asl")
+
+// 0108_ASL
+// 0109_ASL
+// 0110_ML
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0111/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0112/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0113/RUN.asl")
+
+// 0114_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0115/RUN.asl")
+
+// 0116_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0117/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0118/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0119/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0120/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0121/RUN.asl")
+
+// 0122_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0123/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0124/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0125/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0126/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0127/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0128/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0129/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0130/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0131/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0132/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0133/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0134/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0135/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0136/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0137/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0138/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0139/RUN.asl")
+
+// 0140_ASL
+// 0141_SPEC
+// 0142_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0143/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0144/RUN.asl")
+
+// 0145_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0146/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0147/RUN.asl")
+
+// 0148_ASL
+// 0149_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0150/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0151/RUN.asl")
+
+// 0152_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0153/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0154/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0155/RUN.asl")
+
+// 0156_ML
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0157/RUN.asl")
+
+// 0158_ML
+// 0159_ML
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0160/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0161/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0162/RUN.asl")
+
+// 0163_ML
+// 0164_ACTION_REQUIRED
+// 0165_ML
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0166_ML/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0167/RUN.asl")
+
+// 0168_ACT_REQ_NOPT
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0169/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0170/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0171_ACTION_REQUIRED/RUN.asl")
+
+// 0172_OUTSTAND_ALLOC
+// 0173_DEMO_IMPOSSIBLE
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0174/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0175/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0176/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0177/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0178/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0179/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0180_ASL_RUNTIME/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0181_ASL_RUNTIME/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0182/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0183/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0184/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0185/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0186/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0187/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0188/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0189/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0190/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0191/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0192/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0193/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0194/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0195/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0196/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0197/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0198/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0199/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0200/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0201_OUTSTAND_ALLOC/RUN.asl")
+
+// 0202_SEE_129
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0203/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0204/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0205/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0206/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0207/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0208/RUN.asl")
+
+// 0209_ML_SEE_135
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0210/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0211/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0212/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0213/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0214/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0215/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0216/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0217/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0218/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0219/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0220/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0221/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0222/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0223/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0224/RUN.asl")
+
+// 0225_ASL/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0226/RUN.asl")
+
+// 0227_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0228/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0229/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0230/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0231/RUN.asl")
+
+// 0232_F_OPTION
+// 0233_ASL
+
+// 0234_ASL_RUNTIME
+// 0235_ASL_RUNTIME
+
+// 0236_ASL
+// 0237_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0238/RUN.asl")
+
+// 0239_ACTION_REQUIRED
+// 0240_ACTION_REQUIRED
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0241/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0242/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0243/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0244/RUN.asl")
+
+// 0245_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0246/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0247/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0248/RUN.asl")
+
+// 0249_DEMO_IMPOSSIBLE
+// 0250_DEMO_IMPOSSIBLE
+// 0251_ACTION_REQUIRED
+// 0252_ASL
+// 0253_DEMO_IMPOSSIBLE
+// 0254_DEMO_IMPOSSIBLE
+// 0255_DEMO_IMPOSSIBLE
+// 0256_DEMO_IMPOSSIBLE
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0257/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0258/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0259/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0260/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0261/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0262/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0263/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0264/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0265/RUN.asl")
+
+// 0266_DEMO_IMPOSSIBLE
+// 0267_DEMO_IMPOSSIBLE
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0268/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0269/RUN.asl")
+
+// 0270_SPEC
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0271/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0272/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0273/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0274/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0275/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0276_LARGE_REF_COUNT/RUN.asl")
+
+// 0277_ACTION_REQUIRED
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0278/RUN.asl")
+
+// 0279_ASL_RUNTIME
+// 0280_ASL_RUNTIME
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0281/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0282/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0283/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0284/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0285/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0286/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0287/RUN.asl")
+
+// 0288_ASL_RUNTIME
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0289/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0290/RUN.asl")
+
+// 0291_ASL_RUNTIME
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0292/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0293/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0294/RUN.asl")
+
+// 0295_ASL
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0296/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0297_ACTIONS_REQUIRED/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0298_ACTIONS_REQUIRED/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0299_ACTIONS_REQUIRED/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0300/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0301/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0302/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0303/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0304/RUN.asl")
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0305/RUN.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/0306/RUN.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/DECL.asl
index ddeb46479..1f66a8d28 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/DECL.asl
@@ -1,41 +1,41 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug-demo tests collection, to be compiled all together as one module
- *
- * The test requires utilyzing of
- * the -f option on the ASL compilation
- * stage.
- *
- * ASL Compiler:
- *
- * -f - Ignore errors, force creation of AML output file(s)
- */
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0232_F_OPTION/DECL.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug-demo tests collection, to be compiled all together as one module
+ *
+ * The test requires utilyzing of
+ * the -f option on the ASL compilation
+ * stage.
+ *
+ * ASL Compiler:
+ *
+ * -f - Ignore errors, force creation of AML output file(s)
+ */
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0232_F_OPTION/DECL.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/MAIN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/MAIN.asl
index cc216b5d9..e9c4986e4 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/MAIN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/MAIN.asl
@@ -1,73 +1,73 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Bug-demo collection
- *
- * The test requires utilyzing of
- * the -f option on the ASL compilation
- * stage.
- *
- * ASL Compiler:
- *
- * -f - Ignore errors, force creation of AML output file(s)
- */
-DefinitionBlock(
- "bdemof.aml", // Output filename
- "DSDT", // Signature
- 0x02, // DSDT Revision
- "Intel", // OEMID
- "Many", // TABLE ID
- 0x00000001 // OEM Revision
- ) {
-
- // All declarations
- Include("../../../../../runtime/cntl/DECL_5UP.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
- Include("../../../../../runtime/collections/bdemo/ACPICA/bdemof/DECL.asl")
-
- Method(MAIN) {
-
- // Flag of presence of demo-162 test.
- if (id02) {
- // Check, register errors and reset the global level execution exception.
- md7d()
- }
-
- // Initialization
- STRT(0)
-
- // Run verification methods
- Include("../../../../../runtime/collections/bdemo/ACPICA/bdemof/RUN.asl")
-
- // Final actions
- Store(FNSH(), Local7)
-
- return (Local7)
- }
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Bug-demo collection
+ *
+ * The test requires utilyzing of
+ * the -f option on the ASL compilation
+ * stage.
+ *
+ * ASL Compiler:
+ *
+ * -f - Ignore errors, force creation of AML output file(s)
+ */
+DefinitionBlock(
+ "bdemof.aml", // Output filename
+ "DSDT", // Signature
+ 0x02, // DSDT Revision
+ "Intel", // OEMID
+ "Many", // TABLE ID
+ 0x00000001 // OEM Revision
+ ) {
+
+ // All declarations
+ Include("../../../../../runtime/cntl/DECL_5UP.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/common/DECL.asl")
+ Include("../../../../../runtime/collections/bdemo/ACPICA/bdemof/DECL.asl")
+
+ Method(MAIN) {
+
+ // Flag of presence of demo-162 test.
+ if (id02) {
+ // Check, register errors and reset the global level execution exception.
+ md7d()
+ }
+
+ // Initialization
+ STRT(0)
+
+ // Run verification methods
+ Include("../../../../../runtime/collections/bdemo/ACPICA/bdemof/RUN.asl")
+
+ // Final actions
+ Store(FNSH(), Local7)
+
+ return (Local7)
+ }
+}
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/RUN.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/RUN.asl
index 76abfdf8d..890759417 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/RUN.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemof/RUN.asl
@@ -1,31 +1,31 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-Store("COLLECTION: all bug-demo tests, which require -f option on the ASL compilation stage", Debug)
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/0232_F_OPTION/RUN.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+Store("COLLECTION: all bug-demo tests, which require -f option on the ASL compilation stage", Debug)
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/0232_F_OPTION/RUN.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/DECL.asl
index 8a6c02089..79b69da41 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/DECL.asl
@@ -1,31 +1,31 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-Include("../../../../../runtime/collections/bdemo/ACPICA/common/data.asl")
-Include("../../../../../runtime/collections/bdemo/ACPICA/common/proc.asl")
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+Include("../../../../../runtime/collections/bdemo/ACPICA/common/data.asl")
+Include("../../../../../runtime/collections/bdemo/ACPICA/common/proc.asl")
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.asl
index 405e81e4c..7e2862585 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.asl
@@ -1,284 +1,284 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Common use Data
- */
-
-Name(id00, 0xe0385bcd)
-Name(id01, 0) // Flag of error, used by demo-162
-Name(id02, 0) // Flag of presence of demo-162 test
-
-Name(id09, 0)
-Name(id0a, 0)
-Name(id0b, 0x89abcdef)
-
-Name(sd00, "String")
-
-Name(bd00, Buffer(32) {1,2,3,4})
-Name(bd02, Buffer() {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,
- 0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23})
-
-CreateField(bd00, 0, 8, bf30)
-CreateField(bd00, 8, 65, bf31)
-
-Name(pd00, Package(1){Buffer() {1,2,3,4}})
-
-Device(dd00) { Name(i900, 0xabcd0017) }
-Device(dd01) { Name(i900, 0xabcd0017) }
-Device(dd02) { Name(i900, 0xabcd0017) }
-Device(dd03) { Name(i900, 0xabcd0017) }
-
-Device(dd04) { Name(i900, 0xabcd0017) }
-Device(dd05) { Name(i900, 0xabcd0017) }
-Device(dd06) { Name(i900, 0xabcd0017) }
-Device(dd07) { Name(i900, 0xabcd0017) }
-
-OperationRegion(rd00, SystemMemory, 0x100, 0x100)
-Field(rd00, ByteAcc, NoLock, Preserve) {fd00,8,fd01,65}
-
-
-/*
- * Global CreateField declarations for bug 161
- */
-
-/* Comment/uncomment it */
-
-Name(id03, 8)
-Name(id04, 64)
-Name(id05, 80)
-Name(id06, 8)
-Name(id07, 80)
-Name(id08, 8)
-
-Name(bd03, Buffer() {0x10,0x5d,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,
- 0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23})
-
-// Caused stack overflow
-CreateField(bd03, 32, id03, bf32)
-// CreateField(bd03, 32, 8, bf32)
-
-CreateField(bd03, 40, Add(id03, 8), bf33)
-
-// Caused stack overflow
-CreateField(bd03, id04, 8, bf34)
-// CreateField(bd03, 64, 8, bf34)
-
-CreateField(bd03, Add(id04, 8), 8, bf35)
-
-// Caused stack overflow
-CreateField(bd03, id05, id06, bf36)
-// CreateField(bd03, 80, 8, bf36)
-
-CreateField(bd03, Add(id07, 8), Add(id08, 8), bf37)
-
-// ==================== Additional:
-
-CreateBitField(bd03, 8, bf40)
-CreateByteField(bd03, 1, bf41)
-CreateWordField(bd03, 1, bf42)
-CreateDWordField(bd03, 1, bf43)
-CreateQWordField(bd03, 1, bf44)
-CreateField(bd03, 8, 8, bf45)
-
-Name(id21, 1)
-Name(id22, 8)
-
-CreateBitField(bd03, id22, bf46)
-CreateByteField(bd03, id21, bf47)
-CreateWordField(bd03, id21, bf48)
-CreateDWordField(bd03, id21, bf49)
-CreateQWordField(bd03, id21, bf4a)
-CreateField(bd03, 8, id22, bf4b)
-CreateField(bd03, id22, 8, bf4c)
-CreateField(bd03, id22, id22, bf4d)
-
-
-// ==================== bug 161.
-/* 161 */
-
-
-Mutex(mxd0, 0)
-Event(ed00)
-OperationRegion(rd01, SystemMemory, 0x100, 0x100)
-OperationRegion(rd02, SystemMemory, 0x100, 0x100)
-Name(pd01, Package(){0x89abcdef})
-
-Name(dd08, 0x12)
-Name(sd01, "123456789")
-Name(bd04, Buffer() {1,2,3,4,5,6,7,8,9})
-
-Name(id0c, 0x12)
-Name(sd02, "123456789")
-Name(bd05, Buffer() {1,2,3,4,5,6,7,8,9})
-Name(pd02, Package() {1,2,3,4,5,6,7,8,9})
-OperationRegion(rd03, SystemMemory, 0x100, 0x100)
-Field(rd03, ByteAcc, NoLock, Preserve) { fd02, 8 }
-Device(dd09) {}
-Event(ed01)
-Method(me53) { return (0x12) }
-Mutex(mxd1, 0)
-PowerResource(pwd0, 1, 0) {Method(m001){return (0)}}
-Processor(prd0, 0, 0xFFFFFFFF, 0) {}
-ThermalZone(tzd0) {}
-CreateField(bd05, 0, 8, bfd0)
-
-Name(id0d, 0)
-Name(id0e, 0)
-
-Method(me69) { return (0x12345678) }
-Name(pd03, Package() {me69})
-
-Name(id0f, 0)
-Name(id10, 0x1234)
-
-Name(pd04, Package(){0x10})
-Name(pd05, Package(){0x20})
-Name(pd06, Package(){0x30})
-Name(pd07, Package(){0x40})
-Name(pd08, Package(){0x50})
-Name(pd09, Package(){0x60})
-
-
-Name(id11, 0xfe7cb391d650a284)
-Name(bd06, Buffer() {1,2,3,4,0x59,6,7,8,9})
-CreateField(bd06, 40, 8, bfd1)
-OperationRegion(rd04, SystemMemory, 0x100, 0x100)
-Field(rd04, ByteAcc, NoLock, Preserve) {fd03,8}
-Name(pd0a, Package() {id11})
-Name(pd0b, Package() {bfd1})
-Name(pd0c, Package() {fd03})
-
-Name(sd03, "0123456789a")
-Name(bd07, Buffer(8193){})
-
-Name(sd04, "qwer0000")
-Name(bd08, Buffer(4) {1,0x77,3,4})
-Name(pd0d, Package(3) {5,0x77,7})
-
-Name(id12, 0x77)
-Name(pd0e, Package(1) {0x77})
-
-Name(id13, 0)
-Name(sd05, "q_er0000")
-Name(bd09, Buffer(4) {1,0,3,4})
-Name(pd0f, Package(3) {5,0,7})
-
-Name(id14, 0x11)
-Name(id15, 0x22)
-Name(id16, 0x33)
-Name(id17, 0x44)
-Name(id18, 0x55)
-Name(id19, 0x66)
-Name(id1a, 0x77)
-
-Name(id1b, 0xfedcba9876543210)
-Name(id1c, 0xfedcba9876543211)
-
-Name(id1d, 0xfedcba9876543210)
-Device(dd0b) {Name(s000, "DEV0")}
-Event(ed02)
-
-OperationRegion(rd05, SystemMemory, 0x100, 0x100)
-
-Name(bd0a, Buffer(9){0x10,0x11,0x12,0x13})
-CreateField(bd0a, 0, 8, bfd2)
-
-Name (rtd0, ResourceTemplate () {
- IRQNoFlags () {1}
- DMA (Compatibility, NotBusMaster, Transfer16) {2}
- })
-
-Name (bd0b, Buffer () {
- 0x22, 0x02, 0x00,
- 0x2a, 0x04, 0x02,
- 0x22, 0x02, 0x00,
- 0x2a, 0x04, 0x02,
- 0x79, 0x00,
- })
-
-Device(dd0c){}
-Processor(prd1, 0, 0xFFFFFFFF, 0) {}
-OperationRegion(rd06, SystemMemory, 0x100, 0x100)
-PowerResource(pwd1, 1, 0) {Method(mmmm){return (0)}}
-ThermalZone(tzd1) {}
-Event(ed03)
-Mutex(mxd2, 0)
-
-Event(ed04)
-Name(id1e, 0x19283746)
-Name(pd10, Package(1){"Package"})
-
-Name (rtd1, ResourceTemplate () {
- QWordSpace (0xc0, ResourceProducer, PosDecode, MinNotFixed, MaxNotFixed, 0x0a,
- 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
- 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff)})
-
-Name (bd0c, Buffer () {
- 0x8a, 0x2b, 0x00, 0xc0, 0x00, 0x0a,
- 0xdf, 0xde, 0xdd, 0xdc, 0xdb, 0xda, 0xd9, 0xd8,
- 0xe7, 0xe6, 0xe5, 0xe4, 0xe3, 0xe2, 0xe1, 0xe0,
- 0xef, 0xee, 0xed, 0xec, 0xeb, 0xea, 0xe9, 0xe8,
- 0xf7, 0xf6, 0xf5, 0xf4, 0xf3, 0xf2, 0xf1, 0xf0,
- 0xff, 0xfe, 0xfd, 0xfc, 0xfb, 0xfa, 0xf9, 0xf8, 0x79, 0x00})
-
-Device(dd0d){}
-Processor(prd2, 0, 0xFFFFFFFF, 0) {}
-OperationRegion(rd07, SystemMemory, 0x100, 0x100)
-PowerResource(pwd2, 1, 0) {Method(mmmm){return (0)}}
-ThermalZone(tzd2) {}
-Event(ed05)
-Mutex(mxd3, 0)
-
-
-Name(id1f, 49)
-Name(id20, 7)
-OperationRegion(rd08, SystemMemory, 0, Increment(id1f))
-Name(bd0d, Buffer(8) {0x80, 0x99, 0xff, 0x83, 0x84, 0x85, 0x86, 0x87})
-CreateField(bd0d, 8, Increment(id20), bfd3)
-
-Name(pd11, Package(2) {1})
-
-Name(bd0e, Buffer(4) {1,0x77,3,4})
-
-// Base of Buffer Field
-Name(bd0f, Buffer(9){})
-
-// Benchmark buffer
-Name(bd10, Buffer(9){})
-
-// It is used in b198 Name(id24, 0)
-// Name(id25, 0)
-
-// Dont use this name bd13!
-// Name(bd13, Buffer(9){})
-
-Name(id29, 0)
-Name(id2a, 0)
-
-Name(id2b, 0)
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Common use Data
+ */
+
+Name(id00, 0xe0385bcd)
+Name(id01, 0) // Flag of error, used by demo-162
+Name(id02, 0) // Flag of presence of demo-162 test
+
+Name(id09, 0)
+Name(id0a, 0)
+Name(id0b, 0x89abcdef)
+
+Name(sd00, "String")
+
+Name(bd00, Buffer(32) {1,2,3,4})
+Name(bd02, Buffer() {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,
+ 0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23})
+
+CreateField(bd00, 0, 8, bf30)
+CreateField(bd00, 8, 65, bf31)
+
+Name(pd00, Package(1){Buffer() {1,2,3,4}})
+
+Device(dd00) { Name(i900, 0xabcd0017) }
+Device(dd01) { Name(i900, 0xabcd0017) }
+Device(dd02) { Name(i900, 0xabcd0017) }
+Device(dd03) { Name(i900, 0xabcd0017) }
+
+Device(dd04) { Name(i900, 0xabcd0017) }
+Device(dd05) { Name(i900, 0xabcd0017) }
+Device(dd06) { Name(i900, 0xabcd0017) }
+Device(dd07) { Name(i900, 0xabcd0017) }
+
+OperationRegion(rd00, SystemMemory, 0x100, 0x100)
+Field(rd00, ByteAcc, NoLock, Preserve) {fd00,8,fd01,65}
+
+
+/*
+ * Global CreateField declarations for bug 161
+ */
+
+/* Comment/uncomment it */
+
+Name(id03, 8)
+Name(id04, 64)
+Name(id05, 80)
+Name(id06, 8)
+Name(id07, 80)
+Name(id08, 8)
+
+Name(bd03, Buffer() {0x10,0x5d,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,
+ 0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23})
+
+// Caused stack overflow
+CreateField(bd03, 32, id03, bf32)
+// CreateField(bd03, 32, 8, bf32)
+
+CreateField(bd03, 40, Add(id03, 8), bf33)
+
+// Caused stack overflow
+CreateField(bd03, id04, 8, bf34)
+// CreateField(bd03, 64, 8, bf34)
+
+CreateField(bd03, Add(id04, 8), 8, bf35)
+
+// Caused stack overflow
+CreateField(bd03, id05, id06, bf36)
+// CreateField(bd03, 80, 8, bf36)
+
+CreateField(bd03, Add(id07, 8), Add(id08, 8), bf37)
+
+// ==================== Additional:
+
+CreateBitField(bd03, 8, bf40)
+CreateByteField(bd03, 1, bf41)
+CreateWordField(bd03, 1, bf42)
+CreateDWordField(bd03, 1, bf43)
+CreateQWordField(bd03, 1, bf44)
+CreateField(bd03, 8, 8, bf45)
+
+Name(id21, 1)
+Name(id22, 8)
+
+CreateBitField(bd03, id22, bf46)
+CreateByteField(bd03, id21, bf47)
+CreateWordField(bd03, id21, bf48)
+CreateDWordField(bd03, id21, bf49)
+CreateQWordField(bd03, id21, bf4a)
+CreateField(bd03, 8, id22, bf4b)
+CreateField(bd03, id22, 8, bf4c)
+CreateField(bd03, id22, id22, bf4d)
+
+
+// ==================== bug 161.
+/* 161 */
+
+
+Mutex(mxd0, 0)
+Event(ed00)
+OperationRegion(rd01, SystemMemory, 0x100, 0x100)
+OperationRegion(rd02, SystemMemory, 0x100, 0x100)
+Name(pd01, Package(){0x89abcdef})
+
+Name(dd08, 0x12)
+Name(sd01, "123456789")
+Name(bd04, Buffer() {1,2,3,4,5,6,7,8,9})
+
+Name(id0c, 0x12)
+Name(sd02, "123456789")
+Name(bd05, Buffer() {1,2,3,4,5,6,7,8,9})
+Name(pd02, Package() {1,2,3,4,5,6,7,8,9})
+OperationRegion(rd03, SystemMemory, 0x100, 0x100)
+Field(rd03, ByteAcc, NoLock, Preserve) { fd02, 8 }
+Device(dd09) {}
+Event(ed01)
+Method(me53) { return (0x12) }
+Mutex(mxd1, 0)
+PowerResource(pwd0, 1, 0) {Method(m001){return (0)}}
+Processor(prd0, 0, 0xFFFFFFFF, 0) {}
+ThermalZone(tzd0) {}
+CreateField(bd05, 0, 8, bfd0)
+
+Name(id0d, 0)
+Name(id0e, 0)
+
+Method(me69) { return (0x12345678) }
+Name(pd03, Package() {me69})
+
+Name(id0f, 0)
+Name(id10, 0x1234)
+
+Name(pd04, Package(){0x10})
+Name(pd05, Package(){0x20})
+Name(pd06, Package(){0x30})
+Name(pd07, Package(){0x40})
+Name(pd08, Package(){0x50})
+Name(pd09, Package(){0x60})
+
+
+Name(id11, 0xfe7cb391d650a284)
+Name(bd06, Buffer() {1,2,3,4,0x59,6,7,8,9})
+CreateField(bd06, 40, 8, bfd1)
+OperationRegion(rd04, SystemMemory, 0x100, 0x100)
+Field(rd04, ByteAcc, NoLock, Preserve) {fd03,8}
+Name(pd0a, Package() {id11})
+Name(pd0b, Package() {bfd1})
+Name(pd0c, Package() {fd03})
+
+Name(sd03, "0123456789a")
+Name(bd07, Buffer(8193){})
+
+Name(sd04, "qwer0000")
+Name(bd08, Buffer(4) {1,0x77,3,4})
+Name(pd0d, Package(3) {5,0x77,7})
+
+Name(id12, 0x77)
+Name(pd0e, Package(1) {0x77})
+
+Name(id13, 0)
+Name(sd05, "q_er0000")
+Name(bd09, Buffer(4) {1,0,3,4})
+Name(pd0f, Package(3) {5,0,7})
+
+Name(id14, 0x11)
+Name(id15, 0x22)
+Name(id16, 0x33)
+Name(id17, 0x44)
+Name(id18, 0x55)
+Name(id19, 0x66)
+Name(id1a, 0x77)
+
+Name(id1b, 0xfedcba9876543210)
+Name(id1c, 0xfedcba9876543211)
+
+Name(id1d, 0xfedcba9876543210)
+Device(dd0b) {Name(s000, "DEV0")}
+Event(ed02)
+
+OperationRegion(rd05, SystemMemory, 0x100, 0x100)
+
+Name(bd0a, Buffer(9){0x10,0x11,0x12,0x13})
+CreateField(bd0a, 0, 8, bfd2)
+
+Name (rtd0, ResourceTemplate () {
+ IRQNoFlags () {1}
+ DMA (Compatibility, NotBusMaster, Transfer16) {2}
+ })
+
+Name (bd0b, Buffer () {
+ 0x22, 0x02, 0x00,
+ 0x2a, 0x04, 0x02,
+ 0x22, 0x02, 0x00,
+ 0x2a, 0x04, 0x02,
+ 0x79, 0x00,
+ })
+
+Device(dd0c){}
+Processor(prd1, 0, 0xFFFFFFFF, 0) {}
+OperationRegion(rd06, SystemMemory, 0x100, 0x100)
+PowerResource(pwd1, 1, 0) {Method(mmmm){return (0)}}
+ThermalZone(tzd1) {}
+Event(ed03)
+Mutex(mxd2, 0)
+
+Event(ed04)
+Name(id1e, 0x19283746)
+Name(pd10, Package(1){"Package"})
+
+Name (rtd1, ResourceTemplate () {
+ QWordSpace (0xc0, ResourceProducer, PosDecode, MinNotFixed, MaxNotFixed, 0x0a,
+ 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
+ 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff)})
+
+Name (bd0c, Buffer () {
+ 0x8a, 0x2b, 0x00, 0xc0, 0x00, 0x0a,
+ 0xdf, 0xde, 0xdd, 0xdc, 0xdb, 0xda, 0xd9, 0xd8,
+ 0xe7, 0xe6, 0xe5, 0xe4, 0xe3, 0xe2, 0xe1, 0xe0,
+ 0xef, 0xee, 0xed, 0xec, 0xeb, 0xea, 0xe9, 0xe8,
+ 0xf7, 0xf6, 0xf5, 0xf4, 0xf3, 0xf2, 0xf1, 0xf0,
+ 0xff, 0xfe, 0xfd, 0xfc, 0xfb, 0xfa, 0xf9, 0xf8, 0x79, 0x00})
+
+Device(dd0d){}
+Processor(prd2, 0, 0xFFFFFFFF, 0) {}
+OperationRegion(rd07, SystemMemory, 0x100, 0x100)
+PowerResource(pwd2, 1, 0) {Method(mmmm){return (0)}}
+ThermalZone(tzd2) {}
+Event(ed05)
+Mutex(mxd3, 0)
+
+
+Name(id1f, 49)
+Name(id20, 7)
+OperationRegion(rd08, SystemMemory, 0, Increment(id1f))
+Name(bd0d, Buffer(8) {0x80, 0x99, 0xff, 0x83, 0x84, 0x85, 0x86, 0x87})
+CreateField(bd0d, 8, Increment(id20), bfd3)
+
+Name(pd11, Package(2) {1})
+
+Name(bd0e, Buffer(4) {1,0x77,3,4})
+
+// Base of Buffer Field
+Name(bd0f, Buffer(9){})
+
+// Benchmark buffer
+Name(bd10, Buffer(9){})
+
+// It is used in b198 Name(id24, 0)
+// Name(id25, 0)
+
+// Dont use this name bd13!
+// Name(bd13, Buffer(9){})
+
+Name(id29, 0)
+Name(id2a, 0)
+
+Name(id2b, 0)
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.src.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.src.asl
index 01341b149..85b7f4df9 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.src.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/data.src.asl
@@ -1,278 +1,278 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Common use Data
- */
-
-Name(id00, 0xe0385bcd)
-Name(id01, 0) // Flag of error, used by demo-162
-Name(id02, 0) // Flag of presence of demo-162 test
-
-Name(id09, 0)
-Name(id0a, 0)
-Name(id0b, 0x89abcdef)
-
-Name(sd00, "String")
-
-Name(bd00, Buffer(32) {1,2,3,4})
-Name(bd02, Buffer() {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,
- 0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23})
-
-CreateField(bd00, 0, 8, bf30)
-CreateField(bd00, 8, 65, bf31)
-
-Name(pd00, Package(1){Buffer() {1,2,3,4}})
-
-Device(dd00) { Name(i900, 0xabcd0017) }
-Device(dd01) { Name(i900, 0xabcd0017) }
-Device(dd02) { Name(i900, 0xabcd0017) }
-Device(dd03) { Name(i900, 0xabcd0017) }
-
-Device(dd04) { Name(i900, 0xabcd0017) }
-Device(dd05) { Name(i900, 0xabcd0017) }
-Device(dd06) { Name(i900, 0xabcd0017) }
-Device(dd07) { Name(i900, 0xabcd0017) }
-
-OperationRegion(rd00, SystemMemory, 0x100, 0x100)
-Field(rd00, ByteAcc, NoLock, Preserve) {fd00,8,fd01,65}
-
-
-/*
- * Global CreateField declarations for bug 161
- */
-
-/*
-
-
-!!!!!!!!!!!!!! uncomment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-
-Name(id03, 8)
-Name(id04, 64)
-Name(id05, 80)
-Name(id06, 8)
-Name(id07, 80)
-Name(id08, 8)
-
-Name(bd03, Buffer() {0x10,0x5d,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,
- 0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23})
-
-// Caused stack overflow
-// CreateField(bd03, 32, id03, bf32)
-CreateField(bd03, 32, 8, bf32)
-
-CreateField(bd03, 40, Add(id03, 8), bf33)
-
-// Caused stack overflow
-// CreateField(bd03, id04, 8, bf34)
-CreateField(bd03, 64, 8, bf34)
-
-CreateField(bd03, Add(id04, 8), 8, bf35)
-
-// Caused stack overflow
-// CreateField(bd03, id05, id06, bf36)
-CreateField(bd03, 80, 8, bf36)
-
-CreateField(bd03, Add(id07, 8), Add(id08, 8), bf37)
-
-// ==================== Additional:
-
-CreateBitField(bd03, 8, bf40)
-CreateByteField(bd03, 1, bf41)
-CreateWordField(bd03, 1, bf42)
-CreateDWordField(bd03, 1, bf43)
-CreateQWordField(bd03, 1, bf44)
-CreateField(bd03, 8, 8, bf45)
-
-Name(id21, 1)
-Name(id22, 8)
-
-CreateBitField(bd03, id22, bf46)
-CreateByteField(bd03, id21, bf47)
-CreateWordField(bd03, id21, bf48)
-CreateDWordField(bd03, id21, bf49)
-CreateQWordField(bd03, id21, bf4a)
-CreateField(bd03, 8, id22, bf4b)
-CreateField(bd03, id22, 8, bf4c)
-CreateField(bd03, id22, id22, bf4d)
-
-
-*/
-
-
-// ==================== bug 161.
-
-Mutex(mxd0, 0)
-Event(ed00)
-OperationRegion(rd01, SystemMemory, 0x100, 0x100)
-OperationRegion(rd02, SystemMemory, 0x100, 0x100)
-Name(pd01, Package(){0x89abcdef})
-
-Name(dd08, 0x12)
-Name(sd01, "123456789")
-Name(bd04, Buffer() {1,2,3,4,5,6,7,8,9})
-
-Name(id0c, 0x12)
-Name(sd02, "123456789")
-Name(bd05, Buffer() {1,2,3,4,5,6,7,8,9})
-Name(pd02, Package() {1,2,3,4,5,6,7,8,9})
-OperationRegion(rd03, SystemMemory, 0x100, 0x100)
-Field(rd03, ByteAcc, NoLock, Preserve) { fd02, 8 }
-Device(dd09) {}
-Event(ed01)
-Method(me53) { return (0x12) }
-Mutex(mxd1, 0)
-PowerResource(pwd0, 1, 0) {Method(m001){return (0)}}
-Processor(prd0, 0, 0xFFFFFFFF, 0) {}
-ThermalZone(tzd0) {}
-CreateField(bd05, 0, 8, bfd0)
-
-Name(id0d, 0)
-Name(id0e, 0)
-
-Method(me69) { return (0x12345678) }
-Name(pd03, Package() {me69})
-
-Name(id0f, 0)
-Name(id10, 0x1234)
-
-Name(pd04, Package(){0x10})
-Name(pd05, Package(){0x20})
-Name(pd06, Package(){0x30})
-Name(pd07, Package(){0x40})
-Name(pd08, Package(){0x50})
-Name(pd09, Package(){0x60})
-
-
-Name(id11, 0xfe7cb391d650a284)
-Name(bd06, Buffer() {1,2,3,4,0x59,6,7,8,9})
-CreateField(bd06, 40, 8, bfd1)
-OperationRegion(rd04, SystemMemory, 0x100, 0x100)
-Field(rd04, ByteAcc, NoLock, Preserve) {fd03,8}
-Name(pd0a, Package() {id11})
-Name(pd0b, Package() {bfd1})
-Name(pd0c, Package() {fd03})
-
-Name(sd03, "0123456789a")
-Name(bd07, Buffer(8193){})
-
-Name(sd04, "qwer0000")
-Name(bd08, Buffer(4) {1,0x77,3,4})
-Name(pd0d, Package(3) {5,0x77,7})
-
-Name(id12, 0x77)
-Name(pd0e, Package(1) {0x77})
-
-Name(id13, 0)
-Name(sd05, "q_er0000")
-Name(bd09, Buffer(4) {1,0,3,4})
-Name(pd0f, Package(3) {5,0,7})
-
-Name(id14, 0x11)
-Name(id15, 0x22)
-Name(id16, 0x33)
-Name(id17, 0x44)
-Name(id18, 0x55)
-Name(id19, 0x66)
-Name(id1a, 0x77)
-
-Name(id1b, 0xfedcba9876543210)
-Name(id1c, 0xfedcba9876543211)
-
-Name(id1d, 0xfedcba9876543210)
-Device(dd0b) {Name(s000, "DEV0")}
-Event(ed02)
-
-OperationRegion(rd05, SystemMemory, 0x100, 0x100)
-
-Name(bd0a, Buffer(9){0x10,0x11,0x12,0x13})
-CreateField(bd0a, 0, 8, bfd2)
-
-Name (rtd0, ResourceTemplate () {
- IRQNoFlags () {1}
- DMA (Compatibility, NotBusMaster, Transfer16) {2}
- })
-
-Name (bd0b, Buffer () {
- 0x22, 0x02, 0x00,
- 0x2a, 0x04, 0x02,
- 0x22, 0x02, 0x00,
- 0x2a, 0x04, 0x02,
- 0x79, 0xdf,
- })
-
-Device(dd0c){}
-Processor(prd1, 0, 0xFFFFFFFF, 0) {}
-OperationRegion(rd06, SystemMemory, 0x100, 0x100)
-PowerResource(pwd1, 1, 0) {Method(mmmm){return (0)}}
-ThermalZone(tzd1) {}
-Event(ed03)
-Mutex(mxd2, 0)
-
-Event(ed04)
-Name(id1e, 0x19283746)
-Name(pd10, Package(1){"Package"})
-
-Name (rtd1, ResourceTemplate () {
- QWordSpace (0xc0, ResourceProducer, PosDecode, MinNotFixed, MaxNotFixed, 0x0a,
- 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
- 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff)})
-
-Name (bd0c, Buffer () {
- 0x8a, 0x2b, 0x00, 0xc0, 0x00, 0x0a,
- 0xdf, 0xde, 0xdd, 0xdc, 0xdb, 0xda, 0xd9, 0xd8,
- 0xe7, 0xe6, 0xe5, 0xe4, 0xe3, 0xe2, 0xe1, 0xe0,
- 0xef, 0xee, 0xed, 0xec, 0xeb, 0xea, 0xe9, 0xe8,
- 0xf7, 0xf6, 0xf5, 0xf4, 0xf3, 0xf2, 0xf1, 0xf0,
- 0xff, 0xfe, 0xfd, 0xfc, 0xfb, 0xfa, 0xf9, 0xf8, 0x79, 0x00})
-
-Device(dd0d){}
-Processor(prd2, 0, 0xFFFFFFFF, 0) {}
-OperationRegion(rd07, SystemMemory, 0x100, 0x100)
-PowerResource(pwd2, 1, 0) {Method(mmmm){return (0)}}
-ThermalZone(tzd2) {}
-Event(ed05)
-Mutex(mxd3, 0)
-
-
-Name(id1f, 49)
-Name(id20, 7)
-OperationRegion(rd08, SystemMemory, 0, Increment(id1f))
-Name(bd0d, Buffer(8) {0x80, 0x99, 0xff, 0x83, 0x84, 0x85, 0x86, 0x87})
-CreateField(bd0d, 8, Increment(id20), bfd3)
-
-Name(pd11, Package(2) {1})
-
-Name(bd0e, Buffer(4) {1,0x77,3,4})
-
-// Base of Buffer Field
-Name(bd0f, Buffer(9){})
-
-// Benchmark buffer
-Name(bd10, Buffer(9){})
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Common use Data
+ */
+
+Name(id00, 0xe0385bcd)
+Name(id01, 0) // Flag of error, used by demo-162
+Name(id02, 0) // Flag of presence of demo-162 test
+
+Name(id09, 0)
+Name(id0a, 0)
+Name(id0b, 0x89abcdef)
+
+Name(sd00, "String")
+
+Name(bd00, Buffer(32) {1,2,3,4})
+Name(bd02, Buffer() {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,
+ 0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23})
+
+CreateField(bd00, 0, 8, bf30)
+CreateField(bd00, 8, 65, bf31)
+
+Name(pd00, Package(1){Buffer() {1,2,3,4}})
+
+Device(dd00) { Name(i900, 0xabcd0017) }
+Device(dd01) { Name(i900, 0xabcd0017) }
+Device(dd02) { Name(i900, 0xabcd0017) }
+Device(dd03) { Name(i900, 0xabcd0017) }
+
+Device(dd04) { Name(i900, 0xabcd0017) }
+Device(dd05) { Name(i900, 0xabcd0017) }
+Device(dd06) { Name(i900, 0xabcd0017) }
+Device(dd07) { Name(i900, 0xabcd0017) }
+
+OperationRegion(rd00, SystemMemory, 0x100, 0x100)
+Field(rd00, ByteAcc, NoLock, Preserve) {fd00,8,fd01,65}
+
+
+/*
+ * Global CreateField declarations for bug 161
+ */
+
+/*
+
+
+!!!!!!!!!!!!!! uncomment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+
+Name(id03, 8)
+Name(id04, 64)
+Name(id05, 80)
+Name(id06, 8)
+Name(id07, 80)
+Name(id08, 8)
+
+Name(bd03, Buffer() {0x10,0x5d,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,
+ 0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23})
+
+// Caused stack overflow
+// CreateField(bd03, 32, id03, bf32)
+CreateField(bd03, 32, 8, bf32)
+
+CreateField(bd03, 40, Add(id03, 8), bf33)
+
+// Caused stack overflow
+// CreateField(bd03, id04, 8, bf34)
+CreateField(bd03, 64, 8, bf34)
+
+CreateField(bd03, Add(id04, 8), 8, bf35)
+
+// Caused stack overflow
+// CreateField(bd03, id05, id06, bf36)
+CreateField(bd03, 80, 8, bf36)
+
+CreateField(bd03, Add(id07, 8), Add(id08, 8), bf37)
+
+// ==================== Additional:
+
+CreateBitField(bd03, 8, bf40)
+CreateByteField(bd03, 1, bf41)
+CreateWordField(bd03, 1, bf42)
+CreateDWordField(bd03, 1, bf43)
+CreateQWordField(bd03, 1, bf44)
+CreateField(bd03, 8, 8, bf45)
+
+Name(id21, 1)
+Name(id22, 8)
+
+CreateBitField(bd03, id22, bf46)
+CreateByteField(bd03, id21, bf47)
+CreateWordField(bd03, id21, bf48)
+CreateDWordField(bd03, id21, bf49)
+CreateQWordField(bd03, id21, bf4a)
+CreateField(bd03, 8, id22, bf4b)
+CreateField(bd03, id22, 8, bf4c)
+CreateField(bd03, id22, id22, bf4d)
+
+
+*/
+
+
+// ==================== bug 161.
+
+Mutex(mxd0, 0)
+Event(ed00)
+OperationRegion(rd01, SystemMemory, 0x100, 0x100)
+OperationRegion(rd02, SystemMemory, 0x100, 0x100)
+Name(pd01, Package(){0x89abcdef})
+
+Name(dd08, 0x12)
+Name(sd01, "123456789")
+Name(bd04, Buffer() {1,2,3,4,5,6,7,8,9})
+
+Name(id0c, 0x12)
+Name(sd02, "123456789")
+Name(bd05, Buffer() {1,2,3,4,5,6,7,8,9})
+Name(pd02, Package() {1,2,3,4,5,6,7,8,9})
+OperationRegion(rd03, SystemMemory, 0x100, 0x100)
+Field(rd03, ByteAcc, NoLock, Preserve) { fd02, 8 }
+Device(dd09) {}
+Event(ed01)
+Method(me53) { return (0x12) }
+Mutex(mxd1, 0)
+PowerResource(pwd0, 1, 0) {Method(m001){return (0)}}
+Processor(prd0, 0, 0xFFFFFFFF, 0) {}
+ThermalZone(tzd0) {}
+CreateField(bd05, 0, 8, bfd0)
+
+Name(id0d, 0)
+Name(id0e, 0)
+
+Method(me69) { return (0x12345678) }
+Name(pd03, Package() {me69})
+
+Name(id0f, 0)
+Name(id10, 0x1234)
+
+Name(pd04, Package(){0x10})
+Name(pd05, Package(){0x20})
+Name(pd06, Package(){0x30})
+Name(pd07, Package(){0x40})
+Name(pd08, Package(){0x50})
+Name(pd09, Package(){0x60})
+
+
+Name(id11, 0xfe7cb391d650a284)
+Name(bd06, Buffer() {1,2,3,4,0x59,6,7,8,9})
+CreateField(bd06, 40, 8, bfd1)
+OperationRegion(rd04, SystemMemory, 0x100, 0x100)
+Field(rd04, ByteAcc, NoLock, Preserve) {fd03,8}
+Name(pd0a, Package() {id11})
+Name(pd0b, Package() {bfd1})
+Name(pd0c, Package() {fd03})
+
+Name(sd03, "0123456789a")
+Name(bd07, Buffer(8193){})
+
+Name(sd04, "qwer0000")
+Name(bd08, Buffer(4) {1,0x77,3,4})
+Name(pd0d, Package(3) {5,0x77,7})
+
+Name(id12, 0x77)
+Name(pd0e, Package(1) {0x77})
+
+Name(id13, 0)
+Name(sd05, "q_er0000")
+Name(bd09, Buffer(4) {1,0,3,4})
+Name(pd0f, Package(3) {5,0,7})
+
+Name(id14, 0x11)
+Name(id15, 0x22)
+Name(id16, 0x33)
+Name(id17, 0x44)
+Name(id18, 0x55)
+Name(id19, 0x66)
+Name(id1a, 0x77)
+
+Name(id1b, 0xfedcba9876543210)
+Name(id1c, 0xfedcba9876543211)
+
+Name(id1d, 0xfedcba9876543210)
+Device(dd0b) {Name(s000, "DEV0")}
+Event(ed02)
+
+OperationRegion(rd05, SystemMemory, 0x100, 0x100)
+
+Name(bd0a, Buffer(9){0x10,0x11,0x12,0x13})
+CreateField(bd0a, 0, 8, bfd2)
+
+Name (rtd0, ResourceTemplate () {
+ IRQNoFlags () {1}
+ DMA (Compatibility, NotBusMaster, Transfer16) {2}
+ })
+
+Name (bd0b, Buffer () {
+ 0x22, 0x02, 0x00,
+ 0x2a, 0x04, 0x02,
+ 0x22, 0x02, 0x00,
+ 0x2a, 0x04, 0x02,
+ 0x79, 0xdf,
+ })
+
+Device(dd0c){}
+Processor(prd1, 0, 0xFFFFFFFF, 0) {}
+OperationRegion(rd06, SystemMemory, 0x100, 0x100)
+PowerResource(pwd1, 1, 0) {Method(mmmm){return (0)}}
+ThermalZone(tzd1) {}
+Event(ed03)
+Mutex(mxd2, 0)
+
+Event(ed04)
+Name(id1e, 0x19283746)
+Name(pd10, Package(1){"Package"})
+
+Name (rtd1, ResourceTemplate () {
+ QWordSpace (0xc0, ResourceProducer, PosDecode, MinNotFixed, MaxNotFixed, 0x0a,
+ 0xd8d9dadbdcdddedf, 0xe0e1e2e3e4e5e6e7, 0xe8e9eaebecedeeef,
+ 0xf0f1f2f3f4f5f6f7, 0xf8f9fafbfcfdfeff)})
+
+Name (bd0c, Buffer () {
+ 0x8a, 0x2b, 0x00, 0xc0, 0x00, 0x0a,
+ 0xdf, 0xde, 0xdd, 0xdc, 0xdb, 0xda, 0xd9, 0xd8,
+ 0xe7, 0xe6, 0xe5, 0xe4, 0xe3, 0xe2, 0xe1, 0xe0,
+ 0xef, 0xee, 0xed, 0xec, 0xeb, 0xea, 0xe9, 0xe8,
+ 0xf7, 0xf6, 0xf5, 0xf4, 0xf3, 0xf2, 0xf1, 0xf0,
+ 0xff, 0xfe, 0xfd, 0xfc, 0xfb, 0xfa, 0xf9, 0xf8, 0x79, 0x00})
+
+Device(dd0d){}
+Processor(prd2, 0, 0xFFFFFFFF, 0) {}
+OperationRegion(rd07, SystemMemory, 0x100, 0x100)
+PowerResource(pwd2, 1, 0) {Method(mmmm){return (0)}}
+ThermalZone(tzd2) {}
+Event(ed05)
+Mutex(mxd3, 0)
+
+
+Name(id1f, 49)
+Name(id20, 7)
+OperationRegion(rd08, SystemMemory, 0, Increment(id1f))
+Name(bd0d, Buffer(8) {0x80, 0x99, 0xff, 0x83, 0x84, 0x85, 0x86, 0x87})
+CreateField(bd0d, 8, Increment(id20), bfd3)
+
+Name(pd11, Package(2) {1})
+
+Name(bd0e, Buffer(4) {1,0x77,3,4})
+
+// Base of Buffer Field
+Name(bd0f, Buffer(9){})
+
+// Benchmark buffer
+Name(bd10, Buffer(9){})
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/proc.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/proc.asl
index f2f2f35f1..74fbdce17 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/proc.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/common/proc.asl
@@ -1,377 +1,377 @@
-/*
- * Some or all of this work - Copyright (c) 2006 - 2015, Intel Corp.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * Neither the name of Intel Corporation nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Common use Methods
- */
-
-/*
- * Verification of Package
- *
- * arg0 - Package
- * arg1 - size of Package
- * arg2 - size of pre-initialized area
- * arg3 - index of area to be written
- * arg4 - size of area to be written
- * arg5 - maximal number of pre-initialized elements to be verified
- * arg6 - maximal number of written elements to be verified
- */
-Method(md6a, 7, Serialized)
-{
- Name(lpN0, 0)
- Name(lpC0, 0)
-
-
- // Writing
-
- if (arg4) {
- Store(arg4, lpN0)
- Store(arg3, lpC0)
-
- While (lpN0) {
- TRC0(arg0, lpC0, lpC0)
- Store(lpC0, Index(arg0, lpC0))
- Decrement(lpN0)
- Increment(lpC0)
- }
- }
-
- // Verifying pre-initialized area
-
- if (LAnd(arg2, arg5)) {
- if (LLess(arg2, arg5)) {
- Store(arg2, arg5)
- }
- Store(arg5, lpN0)
- Store(0, lpC0)
-
- While (lpN0) {
- Store(DerefOf(Index(arg0, lpC0)), Local0)
- TRC1(arg0, lpC0, Local0)
- if (LNotEqual(Local0, lpC0)) {
- err("", zFFF, 0x000, 0, 0, Local0, lpC0)
- }
- Decrement(lpN0)
- Increment(lpC0)
- }
- }
-
- if (arg2) {
- // First pre-initialized element
- Store(DerefOf(Index(arg0, 0)), Local0)
- TRC1(arg0, 0, Local0)
- if (LNotEqual(Local0, 0)) {
- err("", zFFF, 0x001, 0, 0, Local0, 0)
- }
-
- // Last pre-initialized element
- Subtract(arg2, 1, Local0)
- Store(DerefOf(Index(arg0, Local0)), Local1)
- TRC1(arg0, Local0, Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x002, 0, 0, Local1, Local0)
- }
-
- // Middle pre-initialized element
- Divide(arg2, 2, Local1, Local0)
- Store(DerefOf(Index(arg0, Local0)), Local1)
- TRC1(arg0, Local0, Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x003, 0, 0, Local1, Local0)
- }
- }
-
- // Verifying written area
-
- if (LAnd(arg4, arg6)) {
- if (LLess(arg4, arg6)) {
- Store(arg4, arg6)
- }
- Store(arg6, lpN0)
- Store(arg3, lpC0)
-
- While (lpN0) {
- Store(DerefOf(Index(arg0, lpC0)), Local0)
- TRC1(arg0, lpC0, Local0)
- if (LNotEqual(Local0, lpC0)) {
- err("", zFFF, 0x004, 0, 0, Local0, lpC0)
- }
- Decrement(lpN0)
- Increment(lpC0)
- }
- }
-
- if (arg4) {
- // First written element
- Store(DerefOf(Index(arg0, arg3)), Local0)
- TRC1(arg0, arg3, Local0)
- if (LNotEqual(Local0, arg3)) {
- err("", zFFF, 0x005, 0, 0, Local0, arg3)
- }
-
- // Last written element
- Add(arg3, arg4, Local0)
- Decrement(Local0)
- Store(DerefOf(Index(arg0, Local0)), Local1)
- TRC1(arg0, Local0, Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x006, 0, 0, Local1, Local0)
- }
-
- // Middle written element
- Divide(arg4, 2, Local0, Local1)
- Add(arg3, Local1, Local0)
- Store(DerefOf(Index(arg0, Local0)), Local1)
- TRC1(arg0, Local0, Local1)
- if (LNotEqual(Local1, Local0)) {
- err("", zFFF, 0x007, 0, 0, Local1, Local0)
- }
- }
-
- // Check exception on access to the uninitialized element
-
- if (LLess(arg2, arg1)) {
- if (arg4) {
- if (LGreater(arg3, arg2)) {
-
- // Just after pre-initialized area
-
- TRC1(arg0, arg2, 0xf0f0f0f0)
- Store(Index(arg0, arg2), Local0)
- CH03("", 0, 0x100, 0, 0)
- Store(DerefOf(Local0), Local1)
- CH04("", 1, 51, 0, 0x101, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
-
- // Just before written area
-
- Subtract(arg3, 1, Local1)
- TRC1(arg0, Local1, 0xf0f0f0f0)
- Store(Index(arg0, Local1), Local0)
- CH03("", 0, 0x102, 0, 0)
- Store(DerefOf(Local0), Local1)
- CH04("", 1, 51, 0, 0x103, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
- }
-
- // Just after pre-initialized and written areas
-
- Add(arg3, arg4, Local7)
- if (LGreater(arg2, Local7)) {
- Store(arg2, Local7)
- }
-
- if (LLess(Local7, arg1)) {
- TRC1(arg0, Local7, 0xf0f0f0f0)
- Store(Index(arg0, Local7), Local0)
- CH03("", 0, 0x104, 0, 0)
- Store(DerefOf(Local0), Local1)
- CH04("", 1, 51, 0, 0x105, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
-
- // Last element of Package
-
- Subtract(arg1, 1, Local1)
- TRC1(arg0, Local1, 0xf0f0f0f0)
- Store(Index(arg0, Local1), Local0)
- CH03("", 0, 0x106, 0, 0)
- Store(DerefOf(Local0), Local1)
- CH04("", 1, 51, 0, 0x107, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
- }
- } else {
- // Just after pre-initialized area
-
- TRC1(arg0, arg2, 0xf0f0f0f0)
- Store(Index(arg0, arg2), Local0)
- CH03("", 0, 0x108, 0, 0)
- Store(DerefOf(Local0), Local1)
- CH04("", 1, 51, 0, 0x109, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
-
- // Last element of Package
-
- Subtract(arg1, 1, Local1)
- TRC1(arg0, Local1, 0xf0f0f0f0)
- Store(Index(arg0, Local1), Local0)
- CH03("", 0, 0x10a, 0, 0)
- Store(DerefOf(Local0), Local1)
- CH04("", 1, 51, 0, 0x10b, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
- }
- }
-
- // Check exception on out of Package access
-
- TRC1(arg0, arg1, 0xf0f0f0f0)
- CH03("", 0, 0x10c, 0, 0)
- Index(arg0, arg1, Local0)
- CH04("", 0, 55, 0, 0x10d, 0, 0) // AE_AML_PACKAGE_LIMIT
-
- Add(arg1, 1, Local7)
- if (LGreaterEqual(Local7, arg1)) {
- TRC1(arg0, Local7, 0xf0f0f0f0)
- CH03("", 0, 0x10e, 0, 0)
- Index(arg0, Local7, Local0)
- CH04("", 0, 55, 0, 0x10f, 0, 0) // AE_AML_PACKAGE_LIMIT
- }
-
- if (LGreaterEqual(0xffffffffffffffff, arg1)) {
- TRC1(arg0, 0xffffffffffffffff, 0xf0f0f0f0)
- CH03("", 0, 0x110, 0, 0)
- Index(arg0, 0xffffffffffffffff, Local0)
- CH04("", 0, 55, 0, 0x111, 0, 0) // AE_AML_PACKAGE_LIMIT
- }
-
- // Check near the maximal bound of a simple Package
- // (not VarPackage) - 254, 255, 256, 257 elements:
-
- md6b(arg0, arg1, arg2, arg3, arg4, 254)
- md6b(arg0, arg1, arg2, arg3, arg4, 255)
- md6b(arg0, arg1, arg2, arg3, arg4, 256)
- md6b(arg0, arg1, arg2, arg3, arg4, 257)
-
- TRC2("The test run up to the end")
-}
-
-/*
- * Verification of Package
- *
- * arg0 - Package
- * arg1 - size of Package
- * arg2 - size of pre-initialized area
- * arg3 - index of area to be written
- * arg4 - size of area to be written
- * arg5 - index of element of Package to be verified
- */
-Method(md6b, 6)
-{
- Store(0, Local7)
-
- if (LLess(arg5, arg2)) {
- Store(1, Local7)
- } elseif (LGreaterEqual(arg5, arg3)) {
- Add(arg3, arg4, Local0)
- if (LLess(arg5, Local0)) {
- Store(1, Local7)
- }
- }
-
- if (Local7) {
-
- // Was initialized
-
- CH03("", 0, 0x112, 0, 0)
- Store(DerefOf(Index(arg0, arg5)), Local0)
- TRC1(arg0, arg5, Local0)
- if (LNotEqual(Local0, arg5)) {
- err("", zFFF, 0x008, 0, 0, Local0, arg5)
- }
- CH03("", 0, 0x113, 0, 0)
-
- } elseif (LLess(arg5, arg1)) {
-
- // Check exception on access to the uninitialized element
-
- TRC1(arg0, arg5, 0xf0f0f0f0)
- Store(Index(arg0, arg5), Local0)
- CH03("", 0, 0x114, 0, 0)
- Store(DerefOf(Local0), Local1)
- CH04("", 1, 51, 0, 0x115, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
-
- } else {
-
- // Check exception on out of Package access
-
- TRC1(arg0, arg5, 0xf0f0f0f0)
- CH03("", 0, 0x116, 0, 0)
- Index(arg0, arg5, Local0)
- CH04("", 0, 55, 0, 0x117, 0, 0) // AE_AML_PACKAGE_LIMIT
-
- }
-}
-
-/*
- * Check, register errors and reset the global level
- * execution exception AE_AML_DIVIDE_BY_ZERO caused in
- * demo-test of bug 162.
- */
-Method(md7d)
-{
- Store(0, id01)
- Store(ERRS, Local0)
-
- /*
- * Slacken expectations:
- *
- * - check opcode of the FIRST exception
- * - number of exceptions NOT GREATER than two
- */
-
- /* Check opcode of the first exception */
- CH04("", 1, 56, 0, 0x118, 0, 0) // AE_AML_DIVIDE_BY_ZERO
-
- /* Number of exceptions not greater than two */
- if (LGreater(EXC1, 2)) {
- Store(1, id01)
- }
-
- /* Reset the number of exceptions */
- Store(0, EXC1)
-
- if (LNotEqual(ERRS, Local0)) {
- Store(1, id01)
- }
-
- CH03("", 0, 0x119, 0, 0)
- return (1)
-}
-
-/*
- * Check result
- * arg0 - result
- * arg1 - expected type of result
- * arg2 - expected result
- * arg3 - index of checking
- * arg4 - index of checking
- * arg5 - tag, to check the value of object
- */
-Method(mf88, 6)
-{
- Store(ObjectType(arg0), Local0)
-
- if (LNotEqual(Local0, arg1)) {
- err("", zFFF, arg3, 0, 0, Local0, arg1)
- }
- if (arg5) {
- if (LNotEqual(arg0, arg2)) {
- err("", zFFF, arg4, 0, 0, arg0, arg2)
- }
- }
-}
-
-Method(m02a)
-{
- Store("Check the error manually and remove call to m02a() when the bug is fixed.", Debug)
-
- err("", zFFF, 0x800, 0, 0, 0, 0)
-}
+/*
+ * Some or all of this work - Copyright (c) 2006 - 2014, Intel Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Common use Methods
+ */
+
+/*
+ * Verification of Package
+ *
+ * arg0 - Package
+ * arg1 - size of Package
+ * arg2 - size of pre-initialized area
+ * arg3 - index of area to be written
+ * arg4 - size of area to be written
+ * arg5 - maximal number of pre-initialized elements to be verified
+ * arg6 - maximal number of written elements to be verified
+ */
+Method(md6a, 7, Serialized)
+{
+ Name(lpN0, 0)
+ Name(lpC0, 0)
+
+
+ // Writing
+
+ if (arg4) {
+ Store(arg4, lpN0)
+ Store(arg3, lpC0)
+
+ While (lpN0) {
+ TRC0(arg0, lpC0, lpC0)
+ Store(lpC0, Index(arg0, lpC0))
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+ }
+
+ // Verifying pre-initialized area
+
+ if (LAnd(arg2, arg5)) {
+ if (LLess(arg2, arg5)) {
+ Store(arg2, arg5)
+ }
+ Store(arg5, lpN0)
+ Store(0, lpC0)
+
+ While (lpN0) {
+ Store(DerefOf(Index(arg0, lpC0)), Local0)
+ TRC1(arg0, lpC0, Local0)
+ if (LNotEqual(Local0, lpC0)) {
+ err("", zFFF, 0x000, 0, 0, Local0, lpC0)
+ }
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+ }
+
+ if (arg2) {
+ // First pre-initialized element
+ Store(DerefOf(Index(arg0, 0)), Local0)
+ TRC1(arg0, 0, Local0)
+ if (LNotEqual(Local0, 0)) {
+ err("", zFFF, 0x001, 0, 0, Local0, 0)
+ }
+
+ // Last pre-initialized element
+ Subtract(arg2, 1, Local0)
+ Store(DerefOf(Index(arg0, Local0)), Local1)
+ TRC1(arg0, Local0, Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x002, 0, 0, Local1, Local0)
+ }
+
+ // Middle pre-initialized element
+ Divide(arg2, 2, Local1, Local0)
+ Store(DerefOf(Index(arg0, Local0)), Local1)
+ TRC1(arg0, Local0, Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x003, 0, 0, Local1, Local0)
+ }
+ }
+
+ // Verifying written area
+
+ if (LAnd(arg4, arg6)) {
+ if (LLess(arg4, arg6)) {
+ Store(arg4, arg6)
+ }
+ Store(arg6, lpN0)
+ Store(arg3, lpC0)
+
+ While (lpN0) {
+ Store(DerefOf(Index(arg0, lpC0)), Local0)
+ TRC1(arg0, lpC0, Local0)
+ if (LNotEqual(Local0, lpC0)) {
+ err("", zFFF, 0x004, 0, 0, Local0, lpC0)
+ }
+ Decrement(lpN0)
+ Increment(lpC0)
+ }
+ }
+
+ if (arg4) {
+ // First written element
+ Store(DerefOf(Index(arg0, arg3)), Local0)
+ TRC1(arg0, arg3, Local0)
+ if (LNotEqual(Local0, arg3)) {
+ err("", zFFF, 0x005, 0, 0, Local0, arg3)
+ }
+
+ // Last written element
+ Add(arg3, arg4, Local0)
+ Decrement(Local0)
+ Store(DerefOf(Index(arg0, Local0)), Local1)
+ TRC1(arg0, Local0, Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x006, 0, 0, Local1, Local0)
+ }
+
+ // Middle written element
+ Divide(arg4, 2, Local0, Local1)
+ Add(arg3, Local1, Local0)
+ Store(DerefOf(Index(arg0, Local0)), Local1)
+ TRC1(arg0, Local0, Local1)
+ if (LNotEqual(Local1, Local0)) {
+ err("", zFFF, 0x007, 0, 0, Local1, Local0)
+ }
+ }
+
+ // Check exception on access to the uninitialized element
+
+ if (LLess(arg2, arg1)) {
+ if (arg4) {
+ if (LGreater(arg3, arg2)) {
+
+ // Just after pre-initialized area
+
+ TRC1(arg0, arg2, 0xf0f0f0f0)
+ Store(Index(arg0, arg2), Local0)
+ CH03("", 0, 0x100, 0, 0)
+ Store(DerefOf(Local0), Local1)
+ CH04("", 1, 51, 0, 0x101, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
+
+ // Just before written area
+
+ Subtract(arg3, 1, Local1)
+ TRC1(arg0, Local1, 0xf0f0f0f0)
+ Store(Index(arg0, Local1), Local0)
+ CH03("", 0, 0x102, 0, 0)
+ Store(DerefOf(Local0), Local1)
+ CH04("", 1, 51, 0, 0x103, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
+ }
+
+ // Just after pre-initialized and written areas
+
+ Add(arg3, arg4, Local7)
+ if (LGreater(arg2, Local7)) {
+ Store(arg2, Local7)
+ }
+
+ if (LLess(Local7, arg1)) {
+ TRC1(arg0, Local7, 0xf0f0f0f0)
+ Store(Index(arg0, Local7), Local0)
+ CH03("", 0, 0x104, 0, 0)
+ Store(DerefOf(Local0), Local1)
+ CH04("", 1, 51, 0, 0x105, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
+
+ // Last element of Package
+
+ Subtract(arg1, 1, Local1)
+ TRC1(arg0, Local1, 0xf0f0f0f0)
+ Store(Index(arg0, Local1), Local0)
+ CH03("", 0, 0x106, 0, 0)
+ Store(DerefOf(Local0), Local1)
+ CH04("", 1, 51, 0, 0x107, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
+ }
+ } else {
+ // Just after pre-initialized area
+
+ TRC1(arg0, arg2, 0xf0f0f0f0)
+ Store(Index(arg0, arg2), Local0)
+ CH03("", 0, 0x108, 0, 0)
+ Store(DerefOf(Local0), Local1)
+ CH04("", 1, 51, 0, 0x109, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
+
+ // Last element of Package
+
+ Subtract(arg1, 1, Local1)
+ TRC1(arg0, Local1, 0xf0f0f0f0)
+ Store(Index(arg0, Local1), Local0)
+ CH03("", 0, 0x10a, 0, 0)
+ Store(DerefOf(Local0), Local1)
+ CH04("", 1, 51, 0, 0x10b, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
+ }
+ }
+
+ // Check exception on out of Package access
+
+ TRC1(arg0, arg1, 0xf0f0f0f0)
+ CH03("", 0, 0x10c, 0, 0)
+ Index(arg0, arg1, Local0)
+ CH04("", 0, 55, 0, 0x10d, 0, 0) // AE_AML_PACKAGE_LIMIT
+
+ Add(arg1, 1, Local7)
+ if (LGreaterEqual(Local7, arg1)) {
+ TRC1(arg0, Local7, 0xf0f0f0f0)
+ CH03("", 0, 0x10e, 0, 0)
+ Index(arg0, Local7, Local0)
+ CH04("", 0, 55, 0, 0x10f, 0, 0) // AE_AML_PACKAGE_LIMIT
+ }
+
+ if (LGreaterEqual(0xffffffffffffffff, arg1)) {
+ TRC1(arg0, 0xffffffffffffffff, 0xf0f0f0f0)
+ CH03("", 0, 0x110, 0, 0)
+ Index(arg0, 0xffffffffffffffff, Local0)
+ CH04("", 0, 55, 0, 0x111, 0, 0) // AE_AML_PACKAGE_LIMIT
+ }
+
+ // Check near the maximal bound of a simple Package
+ // (not VarPackage) - 254, 255, 256, 257 elements:
+
+ md6b(arg0, arg1, arg2, arg3, arg4, 254)
+ md6b(arg0, arg1, arg2, arg3, arg4, 255)
+ md6b(arg0, arg1, arg2, arg3, arg4, 256)
+ md6b(arg0, arg1, arg2, arg3, arg4, 257)
+
+ TRC2("The test run up to the end")
+}
+
+/*
+ * Verification of Package
+ *
+ * arg0 - Package
+ * arg1 - size of Package
+ * arg2 - size of pre-initialized area
+ * arg3 - index of area to be written
+ * arg4 - size of area to be written
+ * arg5 - index of element of Package to be verified
+ */
+Method(md6b, 6)
+{
+ Store(0, Local7)
+
+ if (LLess(arg5, arg2)) {
+ Store(1, Local7)
+ } elseif (LGreaterEqual(arg5, arg3)) {
+ Add(arg3, arg4, Local0)
+ if (LLess(arg5, Local0)) {
+ Store(1, Local7)
+ }
+ }
+
+ if (Local7) {
+
+ // Was initialized
+
+ CH03("", 0, 0x112, 0, 0)
+ Store(DerefOf(Index(arg0, arg5)), Local0)
+ TRC1(arg0, arg5, Local0)
+ if (LNotEqual(Local0, arg5)) {
+ err("", zFFF, 0x008, 0, 0, Local0, arg5)
+ }
+ CH03("", 0, 0x113, 0, 0)
+
+ } elseif (LLess(arg5, arg1)) {
+
+ // Check exception on access to the uninitialized element
+
+ TRC1(arg0, arg5, 0xf0f0f0f0)
+ Store(Index(arg0, arg5), Local0)
+ CH03("", 0, 0x114, 0, 0)
+ Store(DerefOf(Local0), Local1)
+ CH04("", 1, 51, 0, 0x115, 0, 0) // AE_AML_UNINITIALIZED_ELEMENT
+
+ } else {
+
+ // Check exception on out of Package access
+
+ TRC1(arg0, arg5, 0xf0f0f0f0)
+ CH03("", 0, 0x116, 0, 0)
+ Index(arg0, arg5, Local0)
+ CH04("", 0, 55, 0, 0x117, 0, 0) // AE_AML_PACKAGE_LIMIT
+
+ }
+}
+
+/*
+ * Check, register errors and reset the global level
+ * execution exception AE_AML_DIVIDE_BY_ZERO caused in
+ * demo-test of bug 162.
+ */
+Method(md7d)
+{
+ Store(0, id01)
+ Store(ERRS, Local0)
+
+ /*
+ * Slacken expectations:
+ *
+ * - check opcode of the FIRST exception
+ * - number of exceptions NOT GREATER than two
+ */
+
+ /* Check opcode of the first exception */
+ CH04("", 1, 56, 0, 0x118, 0, 0) // AE_AML_DIVIDE_BY_ZERO
+
+ /* Number of exceptions not greater than two */
+ if (LGreater(EXC1, 2)) {
+ Store(1, id01)
+ }
+
+ /* Reset the number of exceptions */
+ Store(0, EXC1)
+
+ if (LNotEqual(ERRS, Local0)) {
+ Store(1, id01)
+ }
+
+ CH03("", 0, 0x119, 0, 0)
+ return (1)
+}
+
+/*
+ * Check result
+ * arg0 - result
+ * arg1 - expected type of result
+ * arg2 - expected result
+ * arg3 - index of checking
+ * arg4 - index of checking
+ * arg5 - tag, to check the value of object
+ */
+Method(mf88, 6)
+{
+ Store(ObjectType(arg0), Local0)
+
+ if (LNotEqual(Local0, arg1)) {
+ err("", zFFF, arg3, 0, 0, Local0, arg1)
+ }
+ if (arg5) {
+ if (LNotEqual(arg0, arg2)) {
+ err("", zFFF, arg4, 0, 0, arg0, arg2)
+ }
+ }
+}
+
+Method(m02a)
+{
+ Store("Check the error manually and remove call to m02a() when the bug is fixed.", Debug)
+
+ err("", zFFF, 0x800, 0, 0, 0, 0)
+}