summaryrefslogtreecommitdiff
path: root/tests/aslts/src/runtime/collections/functional/bfield/crbuffield.asl
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2011-11-04 14:45:40 -0700
committerLin Ming <ming.m.lin@intel.com>2011-11-10 10:10:26 +0800
commit5a343a31be343dc7561879f7dfc9e3ef45be351a (patch)
tree30d93ef4c24761515db4aa1d7a558761739266d2 /tests/aslts/src/runtime/collections/functional/bfield/crbuffield.asl
parentee6f67bbf7548455f9331c397af7a3ff7e640582 (diff)
downloadacpica-5a343a31be343dc7561879f7dfc9e3ef45be351a.tar.gz
ASLTS: Cleanup compilation of functional tests.
Fix various warnings, especially warnings from use of Switch.
Diffstat (limited to 'tests/aslts/src/runtime/collections/functional/bfield/crbuffield.asl')
-rw-r--r--tests/aslts/src/runtime/collections/functional/bfield/crbuffield.asl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/aslts/src/runtime/collections/functional/bfield/crbuffield.asl b/tests/aslts/src/runtime/collections/functional/bfield/crbuffield.asl
index a37e93ea6..e5d3b0648 100644
--- a/tests/aslts/src/runtime/collections/functional/bfield/crbuffield.asl
+++ b/tests/aslts/src/runtime/collections/functional/bfield/crbuffield.asl
@@ -1541,7 +1541,7 @@ Method(m21a, 6)
// <num of bits>,
// <opcode of buffer to fill the ground>
// <opcode of buffer to fill the field>
-Method(m21b, 6)
+Method(m21b, 6, Serialized)
{
Name(pr00, 0)
@@ -1584,7 +1584,7 @@ Method(m21b, 6)
// Prepare the buffer for filling the ground
// =========================================
- switch (arg4) {
+ switch (ToInteger (arg4)) {
case (0) {
Store(b000, b0G0)
}
@@ -1600,7 +1600,7 @@ Method(m21b, 6)
// Prepare the buffer for filling the field (over the ground)
// ==========================================================
- switch (arg5) {
+ switch (ToInteger (arg5)) {
case (0) {
Store(b000, b0F0)
}