1/* 2 * Flag, compiler the test in the abbu layout 3 */ 4Name(ABUU, 1) 5 6/* 7 * Internal objects used in this file only 8 */ 9Name (AI03, 1) // Print out the name of test-case 10Name (AI05, 0) // Print out the name of test 11Name (AI06, 1) // Print out additional parameters of errors 12 13/* 14 * Objects from the common.asl used there also 15 */ 16Name(TCLT, 7) // Identity2MS test case ID 17Name(ERRS, 0) // Errors counter 18Name(RMRC, 0) // Current number of root Methods runs 19// Types, as returned by ObjectType 20Name(c008, 0) // Uninitialized 21Name(c009, 1) // Integer 22Name(c00a, 2) // String 23Name(c00b, 3) // Buffer 24Name(c00c, 4) // Package 25Name(c00d, 5) // Field Unit 26Name(c00e, 6) // Device 27Name(c00f, 7) // Event 28Name(c010, 8) // Method 29Name(c011, 9) // Mutex 30Name(c012, 10) // Operation Region 31Name(c013, 11) // Power Resource 32Name(c014, 12) // Processor 33Name(c015, 13) // Thermal Zone 34Name(c016, 14) // Buffer Field 35Name(c017, 15) // DDB Handle 36Name(c018, 16) // Debug Object 37Name(c019, 17) // LOCAL_REGION_FIELD 38Name(c01a, 18) // LOCAL_BANK_FIELD 39Name(c01b, 19) // LOCAL_INDEX_FIELD 40Name(c01c, 20) // LOCAL_REFERENCE 41Name(c01d, 21) // LOCAL_ALIAS 42Name(c01e, 22) // LOCAL_METHOD_ALIAS 43Name(c01f, 23) // LOCAL_NOTIFY 44Name(c020, 24) // LOCAL_ADDRESS_HANDLER 45Name(c021, 25) // LOCAL_RESOURCE 46Name(c022, 26) // LOCAL_RESOURCE_FIELD 47Name(c023, 27) // LOCAL_SCOPE 48Name(c024, 28) // LOCAL_EXTRA 49Name(c025, 29) // LOCAL_DATA 50Name(c027, 30) // Number of different types 51 52/* 53 * Methods from common.asl 54 */ 55 56Method(STRT, 1) 57{ 58 /* Adjust some skippings of tests for different ACPICA rereales */ 59 SET2(SETN) 60} 61 62Method(FNSH) 63{ 64 65 /* The usual layout of aslts summary lines */ 66 67 if (ERRS) { 68 OUUP("\":STST:Identity2MS:abbu:mmmm:FAIL:Errors # 12 34 56 78:\"", 1) 69 } else { 70 OUUP("\":STST:Identity2MS:abbu:mmmm:PASS:\"", 1) 71 } 72 73 OUUP(ERRS, 1) 74 75 OUUP("The number of tests has been executed:", 1) 76 OUUP(RMRC, 1) 77 78 return (ERRS) 79} 80 81Method(STTT, 4) 82{ 83 if (AI03) { 84 OUTP(arg0) 85 } 86 87 return (1) 88} 89 90Method(SRMT, 1) 91{ 92 if (AI05) { 93 OUTP(arg0) 94 } 95 96 Increment(RMRC) 97} 98 99 100Method(err, 7) 101{ 102 OUTP(arg0) 103 if (AI06) { 104 OUTP(arg2) 105 OUTP(arg5) 106 } 107 108 Increment(ERRS) 109} 110 111Method(FTTT) {} 112Method(BLCK) {} 113 114 115/* 116 * Methods from ehandle.asl 117 */ 118Method(CH02) { return (0) } 119Method(CH03, 5) { return (0) } 120Method(CH04, 7) { return (0) } 121 122