1 /* 2 * Flag, compiler the test in the abbu layout 3 */ 4 Name (ABUU, 0x01) 5 /* 6 * Internal objects used in this file only 7 */ 8 Name (AI03, 0x01) /* Print out the name of test-case */ 9 Name (AI05, 0x00) /* Print out the name of test */ 10 Name (AI06, 0x01) /* Print out additional parameters of errors */ 11 /* 12 * Objects from the common.asl used there also 13 */ 14 Name (TCLT, 0x07) /* Identity2MS test case ID */ 15 Name (ERRS, 0x00) /* Errors counter */ 16 Name (RMRC, 0x00) /* Current number of root Methods runs */ 17 /* Types, as returned by ObjectType */ 18 19 Name (C008, 0x00) /* Uninitialized */ 20 Name (C009, 0x01) /* Integer */ 21 Name (C00A, 0x02) /* String */ 22 Name (C00B, 0x03) /* Buffer */ 23 Name (C00C, 0x04) /* Package */ 24 Name (C00D, 0x05) /* Field Unit */ 25 Name (C00E, 0x06) /* Device */ 26 Name (C00F, 0x07) /* Event */ 27 Name (C010, 0x08) /* Method */ 28 Name (C011, 0x09) /* Mutex */ 29 Name (C012, 0x0A) /* Operation Region */ 30 Name (C013, 0x0B) /* Power Resource */ 31 Name (C014, 0x0C) /* Processor */ 32 Name (C015, 0x0D) /* Thermal Zone */ 33 Name (C016, 0x0E) /* Buffer Field */ 34 Name (C017, 0x0F) /* DDB Handle */ 35 Name (C018, 0x10) /* Debug Object */ 36 Name (C019, 0x11) /* LOCAL_REGION_FIELD */ 37 Name (C01A, 0x12) /* LOCAL_BANK_FIELD */ 38 Name (C01B, 0x13) /* LOCAL_INDEX_FIELD */ 39 Name (C01C, 0x14) /* LOCAL_REFERENCE */ 40 Name (C01D, 0x15) /* LOCAL_ALIAS */ 41 Name (C01E, 0x16) /* LOCAL_METHOD_ALIAS */ 42 Name (C01F, 0x17) /* LOCAL_NOTIFY */ 43 Name (C020, 0x18) /* LOCAL_ADDRESS_HANDLER */ 44 Name (C021, 0x19) /* LOCAL_RESOURCE */ 45 Name (C022, 0x1A) /* LOCAL_RESOURCE_FIELD */ 46 Name (C023, 0x1B) /* LOCAL_SCOPE */ 47 Name (C024, 0x1C) /* LOCAL_EXTRA */ 48 Name (C025, 0x1D) /* LOCAL_DATA */ 49 Name (C027, 0x1E) /* Number of different types */ 50 /* 51 * Methods from common.asl 52 */ 53 Method (STRT, 1, NotSerialized) 54 { 55 /* Adjust some skippings of tests for different ACPICA rereales */ 56 57 SET2 (SETN) 58 } 59 60 Method (FNSH, 0, NotSerialized) 61 { 62 /* The usual layout of aslts summary lines */ 63 64 If (ERRS) 65 { 66 OUUP ("\":STST:Identity2MS:abbu:mmmm:FAIL:Errors # 12 34 56 78:\"", 0x01) 67 } 68 Else 69 { 70 OUUP ("\":STST:Identity2MS:abbu:mmmm:PASS:\"", 0x01) 71 } 72 73 OUUP (ERRS, 0x01) 74 OUUP ("The number of tests has been executed:", 0x01) 75 OUUP (RMRC, 0x01) 76 Return (ERRS) /* \_SB_.ABBU.ERRS */ 77 } 78 79 Method (STTT, 4, NotSerialized) 80 { 81 If (AI03) 82 { 83 OUTP (Arg0) 84 } 85 86 Return (0x01) 87 } 88 89 Method (SRMT, 1, NotSerialized) 90 { 91 If (AI05) 92 { 93 OUTP (Arg0) 94 } 95 96 RMRC++ 97 } 98 99 Method (ERR, 7, NotSerialized) 100 { 101 OUTP (Arg0) 102 If (AI06) 103 { 104 OUTP (Arg2) 105 OUTP (Arg5) 106 } 107 108 ERRS++ 109 } 110 111 Method (FTTT, 0, NotSerialized) 112 { 113 } 114 115 Method (BLCK, 0, NotSerialized) 116 { 117 } 118 119 /* 120 * Methods from ehandle.asl 121 */ 122 Method (CH02, 0, NotSerialized) 123 { 124 Return (0x00) 125 } 126 127 Method (CH03, 5, NotSerialized) 128 { 129 Return (0x00) 130 } 131 132 Method (CH04, 7, NotSerialized) 133 { 134 Return (0x00) 135 } 136