1/* 2 * Some or all of this work - Copyright (c) 2006 - 2021, Intel Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without modification, 6 * are permitted provided that the following conditions are met: 7 * 8 * Redistributions of source code must retain the above copyright notice, 9 * this list of conditions and the following disclaimer. 10 * Redistributions in binary form must reproduce the above copyright notice, 11 * this list of conditions and the following disclaimer in the documentation 12 * and/or other materials provided with the distribution. 13 * Neither the name of Intel Corporation nor the names of its contributors 14 * may be used to endorse or promote products derived from this software 15 * without specific prior written permission. 16 * 17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29/* 30 * Control method objects 31 */ 32 33/* 34 * local.asl is not introduced in aslts. 35 * See, if it should be advanced and introduced. 36 */ 37 38Name(z999, 1) 39 40Method(ma00, 7) 41{ 42 Method(m000, 6) 43 { 44 Method(m000, 5) 45 { 46 Method(m000, 4) 47 { 48 Method(m000, 3) 49 { 50 Method(m000, 2) 51 { 52 Method(m000, 1) 53 { 54 Method(m000, 0) 55 { 56 Method(m000) 57 { 58 } 59 m000() 60 } 61 m000() 62 } 63 m000(28) 64 } 65 m000(26,27) 66 } 67 m000(23,24,25) 68 } 69 m000(19,20,21,22) 70 } // 5 71 72 if (LNotEqual(arg0, 8)) { 73 err(arg0, z999, __LINE__, 0, 0, arg0, 8) 74 } 75 if (LNotEqual(arg1, 9)) { 76 err(arg0, z999, __LINE__, 0, 0, arg0, 9) 77 } 78 if (LNotEqual(arg2, 10)) { 79 err(arg0, z999, __LINE__, 0, 0, arg0, 10) 80 } 81 if (LNotEqual(arg3, 11)) { 82 err(arg0, z999, __LINE__, 0, 0, arg0, 11) 83 } 84 if (LNotEqual(arg4, 12)) { 85 err(arg0, z999, __LINE__, 0, 0, arg0, 12) 86 } 87 if (LNotEqual(arg5, 13)) { 88 err(arg0, z999, __LINE__, 0, 0, arg0, 13) 89 } 90// if (LNotEqual(arg6, 7)) { 91// err(arg0, z999, __LINE__, 0, 0, arg0, 7) 92// } 93 94 m000(14,15,16,17,18) 95 96 } // 6 97 98 if (LNotEqual(arg0, 1)) { 99 err(arg0, z999, __LINE__, 0, 0, arg0, 1) 100 } 101 if (LNotEqual(arg1, 2)) { 102 err(arg0, z999, __LINE__, 0, 0, arg0, 2) 103 } 104 if (LNotEqual(arg2, 3)) { 105 err(arg0, z999, __LINE__, 0, 0, arg0, 3) 106 } 107 if (LNotEqual(arg3, 4)) { 108 err(arg0, z999, __LINE__, 0, 0, arg0, 4) 109 } 110 if (LNotEqual(arg4, 5)) { 111 err(arg0, z999, __LINE__, 0, 0, arg0, 5) 112 } 113 if (LNotEqual(arg5, 6)) { 114 err(arg0, z999, __LINE__, 0, 0, arg0, 6) 115 } 116 if (LNotEqual(arg6, 7)) { 117 err(arg0, z999, __LINE__, 0, 0, arg0, 7) 118 } 119 120 m000(8,9,10,11,12,13) 121 122 if (LNotEqual(arg0, 1)) { 123 err(arg0, z999, __LINE__, 0, 0, arg0, 1) 124 } 125 if (LNotEqual(arg1, 2)) { 126 err(arg0, z999, __LINE__, 0, 0, arg0, 2) 127 } 128 if (LNotEqual(arg2, 3)) { 129 err(arg0, z999, __LINE__, 0, 0, arg0, 3) 130 } 131 if (LNotEqual(arg3, 4)) { 132 err(arg0, z999, __LINE__, 0, 0, arg0, 4) 133 } 134 if (LNotEqual(arg4, 5)) { 135 err(arg0, z999, __LINE__, 0, 0, arg0, 5) 136 } 137 if (LNotEqual(arg5, 6)) { 138 err(arg0, z999, __LINE__, 0, 0, arg0, 6) 139 } 140 if (LNotEqual(arg6, 7)) { 141 err(arg0, z999, __LINE__, 0, 0, arg0, 7) 142 } 143} 144 145// Run-method 146Method(CMO0) 147{ 148 ma00(1,2,3,4,5,6,7) 149} 150