2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 33: Name (PKG1, Package(5) {0,1})
|
|
|
|
Remark 2063 - ^ Initializer list shorter than declared package length
|
|
|
|
|
|
|
|
badcode.asl 49: FLD1, 8
|
|
|
|
Error 6030 - ^ Access width of Field Unit extends beyond region limit
|
|
|
|
|
|
|
|
badcode.asl 55: Field (OPR2, DWordAcc, NoLock, Preserve)
|
|
|
|
Error 6100 - ^ Host Operation Region requires ByteAcc access
|
|
|
|
|
|
|
|
badcode.asl 60: Field (OPR3, WordAcc, NoLock, Preserve)
|
|
|
|
Error 6099 - ^ Host Operation Region requires BufferAcc access
|
|
|
|
|
2015-08-05 17:00:27 +00:00
|
|
|
badcode.asl 71: Store (Arg3, Local0)
|
|
|
|
Warning 3144 - ^ Method Local is set but never used (Local0)
|
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 71: Store (Arg3, Local0)
|
|
|
|
Error 6006 - ^ Method argument is not initialized (Arg3)
|
|
|
|
|
|
|
|
badcode.asl 71: Store (Arg3, Local0)
|
|
|
|
Remark 2087 - ^ Not a parameter, used as local only (Arg3)
|
|
|
|
|
2015-08-05 17:00:27 +00:00
|
|
|
badcode.asl 72: Store (Local1, Local2)
|
|
|
|
Warning 3144 - ^ Method Local is set but never used (Local2)
|
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 72: Store (Local1, Local2)
|
|
|
|
Error 6066 - ^ Method local variable is not initialized (Local1)
|
|
|
|
|
2015-08-05 17:00:27 +00:00
|
|
|
badcode.asl 76: Subtract (MTX1, 4, Local3)
|
|
|
|
Warning 3144 - Method Local is set but never used ^ (Local3)
|
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 76: Subtract (MTX1, 4, Local3)
|
2015-10-14 23:46:47 +00:00
|
|
|
Error 6058 - Invalid type ^ ([Mutex] found, Subtract operator requires [Integer|String|Buffer])
|
2013-08-28 19:31:28 +00:00
|
|
|
|
2014-01-07 21:35:10 +00:00
|
|
|
badcode.asl 80: CreateField (BUF1, 0, Subtract (4, 4), FLD1)
|
2016-04-26 15:51:09 +00:00
|
|
|
Remark 2089 - Object is not referenced ^ (Name [FLD1] is within a method [MTH1])
|
2014-01-07 21:35:10 +00:00
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 80: CreateField (BUF1, 0, Subtract (4, 4), FLD1)
|
|
|
|
Error 6083 - Operand evaluates to zero ^
|
|
|
|
|
|
|
|
badcode.asl 84: Acquire (MTX1, 100)
|
|
|
|
Warning 3130 - ^ Result is not used, possible operator timeout will be missed
|
|
|
|
|
|
|
|
badcode.asl 85: Wait (EVT1, 1)
|
|
|
|
Warning 3130 - ^ Result is not used, possible operator timeout will be missed
|
|
|
|
|
|
|
|
badcode.asl 89: Add (INT1, 8)
|
|
|
|
Error 6114 - ^ Result is not used, operator has no effect
|
|
|
|
|
|
|
|
badcode.asl 94: Store (5, INT1)
|
|
|
|
Warning 3134 - ^ Statement is unreachable
|
|
|
|
|
|
|
|
badcode.asl 97: Method (MTH2)
|
|
|
|
Warning 3115 - ^ Not all control paths return a value (MTH2)
|
|
|
|
|
2015-08-05 17:00:27 +00:00
|
|
|
badcode.asl 120: Store (MTH2 (), Local0)
|
|
|
|
Warning 3144 - ^ Method Local is set but never used (Local0)
|
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 120: Store (MTH2 (), Local0)
|
|
|
|
Warning 3122 - ^ Called method may not always return a value
|
|
|
|
|
2015-08-05 17:00:27 +00:00
|
|
|
badcode.asl 126: Method (MTH5) {Store (MTH4(), Local0)}
|
|
|
|
Warning 3144 - Method Local is set but never used ^ (Local0)
|
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 126: Method (MTH5) {Store (MTH4(), Local0)}
|
|
|
|
Error 6080 - Called method returns no value ^
|
|
|
|
|
2017-08-11 22:17:24 +00:00
|
|
|
badcode.asl 132: Name (_HID, "*PNP0C0A") // Illegal leading asterisk
|
2013-08-28 19:31:28 +00:00
|
|
|
Error 6061 - Invalid leading asterisk ^ (*PNP0C0A)
|
|
|
|
|
2017-08-11 22:17:24 +00:00
|
|
|
badcode.asl 136: Name (_HID, "PNP") // Too short, must be 7 or 8 chars
|
2013-08-28 19:31:28 +00:00
|
|
|
Error 6033 - ^ _HID string must be exactly 7 or 8 characters (PNP)
|
|
|
|
|
2017-08-11 22:17:24 +00:00
|
|
|
badcode.asl 140: Name (_HID, "MYDEVICE01") // Too long, must be 7 or 8 chars
|
2013-08-28 19:31:28 +00:00
|
|
|
Error 6033 - ^ _HID string must be exactly 7 or 8 characters (MYDEVICE01)
|
|
|
|
|
2017-08-11 22:17:24 +00:00
|
|
|
badcode.asl 144: Name (_HID, "acpi0001") // non-hex chars must be uppercase
|
2013-08-28 19:31:28 +00:00
|
|
|
Error 6034 - ^ _HID prefix must be all uppercase or decimal digits (acpi0001)
|
|
|
|
|
2017-08-11 22:17:24 +00:00
|
|
|
badcode.asl 148: Name (_HID, "PNP-123") // HID must be alphanumeric
|
2013-08-28 19:31:28 +00:00
|
|
|
Error 6002 - ^ String must be entirely alphanumeric (PNP-123)
|
|
|
|
|
2017-08-11 22:17:24 +00:00
|
|
|
badcode.asl 152: Name (_HID, "") // Illegal Null HID
|
2013-08-28 19:31:28 +00:00
|
|
|
Error 6091 - ^ Invalid zero-length (null) string
|
|
|
|
|
2017-08-11 22:17:24 +00:00
|
|
|
badcode.asl 153: Name (_CID, "") // Illegal Null CID
|
2013-08-28 19:31:28 +00:00
|
|
|
Error 6091 - ^ Invalid zero-length (null) string
|
|
|
|
|
|
|
|
badcode.asl 158: Name (_PRW, 4)
|
|
|
|
Error 6105 - ^ Invalid object type for reserved name (_PRW: found Integer, Package required)
|
|
|
|
|
|
|
|
badcode.asl 159: Name (_FDI, Buffer () {0})
|
2016-08-03 00:33:32 +00:00
|
|
|
Error 6105 - ^ Invalid object type for reserved name (_FDI: found Buffer, Package required)
|
2013-08-28 19:31:28 +00:00
|
|
|
|
|
|
|
badcode.asl 164: Method (_OSC, 5)
|
|
|
|
Warning 3101 - ^ Reserved method has too many arguments (_OSC requires 4)
|
|
|
|
|
|
|
|
badcode.asl 164: Method (_OSC, 5)
|
|
|
|
Warning 3107 - ^ Reserved method must return a value (Buffer required for _OSC)
|
|
|
|
|
|
|
|
badcode.asl 170: Name (_L01, 1)
|
|
|
|
Error 6103 - ^ Reserved name must be a control method (with zero arguments)
|
|
|
|
|
|
|
|
badcode.asl 171: Name (_E02, 2)
|
|
|
|
Error 6103 - ^ Reserved name must be a control method (with zero arguments)
|
|
|
|
|
|
|
|
badcode.asl 172: Name (_Q03, 3)
|
|
|
|
Error 6103 - ^ Reserved name must be a control method (with zero arguments)
|
|
|
|
|
|
|
|
badcode.asl 173: Name (_ON, 0)
|
|
|
|
Error 6103 - ^ Reserved name must be a control method (with zero arguments)
|
|
|
|
|
|
|
|
badcode.asl 174: Name (_INI, 1)
|
|
|
|
Error 6103 - ^ Reserved name must be a control method (with zero arguments)
|
|
|
|
|
|
|
|
badcode.asl 175: Name (_PTP, 2)
|
|
|
|
Error 6103 - ^ Reserved name must be a control method (with arguments)
|
|
|
|
|
|
|
|
badcode.asl 184: Method (_E1D)
|
|
|
|
Error 6032 - ^ Name conflicts with a previous GPE method (_L1D)
|
|
|
|
|
|
|
|
badcode.asl 193: Return (Buffer(1){0x33})
|
|
|
|
Warning 3104 - ^ Reserved method should not return a value (_FDM)
|
|
|
|
|
|
|
|
badcode.asl 197: Return ("Unexpected Return Value")
|
|
|
|
Warning 3104 - Reserved method should not return a value ^ (_Q22)
|
|
|
|
|
2014-08-29 20:59:20 +00:00
|
|
|
badcode.asl 203: Device (EC)
|
|
|
|
Warning 3141 - ^ Missing dependency (Device object requires a _HID or _ADR in same scope)
|
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 205: Method (_REG, 2)
|
|
|
|
Warning 3079 - ^ _REG has no corresponding Operation Region
|
|
|
|
|
|
|
|
badcode.asl 388: CreateWordField (RSC3, \DWI1._LEN, LEN)
|
|
|
|
Warning 3128 - ResourceTag larger than Field ^ (Size mismatch, Tag: 32 bits, Field: 16 bits)
|
|
|
|
|
2014-01-07 21:35:10 +00:00
|
|
|
badcode.asl 388: CreateWordField (RSC3, \DWI1._LEN, LEN)
|
2016-04-26 15:51:09 +00:00
|
|
|
Remark 2089 - Object is not referenced ^ (Name [LEN_] is within a method [REM1])
|
2014-01-07 21:35:10 +00:00
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 389: CreateByteField (RSC3, \DWI1._MIN, MIN)
|
|
|
|
Warning 3128 - ResourceTag larger than Field ^ (Size mismatch, Tag: 32 bits, Field: 8 bits)
|
|
|
|
|
2014-01-07 21:35:10 +00:00
|
|
|
badcode.asl 389: CreateByteField (RSC3, \DWI1._MIN, MIN)
|
2016-04-26 15:51:09 +00:00
|
|
|
Remark 2089 - Object is not referenced ^ (Name [MIN_] is within a method [REM1])
|
2014-01-07 21:35:10 +00:00
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 390: CreateBitField (RSC3, \DWI1._RNG, RNG1)
|
|
|
|
Warning 3128 - ResourceTag larger than Field ^ (Size mismatch, Tag: 2 bits, Field: 1 bit)
|
|
|
|
|
2014-01-07 21:35:10 +00:00
|
|
|
badcode.asl 390: CreateBitField (RSC3, \DWI1._RNG, RNG1)
|
2016-04-26 15:51:09 +00:00
|
|
|
Remark 2089 - Object is not referenced ^ (Name [RNG1] is within a method [REM1])
|
2014-01-07 21:35:10 +00:00
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 394: CreateQWordField (RSC3, \DWI1._MAX, MAX)
|
|
|
|
Warning 3129 - ResourceTag smaller than Field ^ (Size mismatch, Tag: 32 bits, Field: 64 bits)
|
|
|
|
|
2014-01-07 21:35:10 +00:00
|
|
|
badcode.asl 394: CreateQWordField (RSC3, \DWI1._MAX, MAX)
|
2016-04-26 15:51:09 +00:00
|
|
|
Remark 2089 - Object is not referenced ^ (Name [MAX_] is within a method [REM1])
|
2014-01-07 21:35:10 +00:00
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 395: CreateBitField (RSC3, \DWI1._GRA, GRA)
|
|
|
|
Warning 3128 - ResourceTag larger than Field ^ (Size mismatch, Tag: 32 bits, Field: 1 bit)
|
|
|
|
|
2014-01-07 21:35:10 +00:00
|
|
|
badcode.asl 395: CreateBitField (RSC3, \DWI1._GRA, GRA)
|
2016-04-26 15:51:09 +00:00
|
|
|
Remark 2089 - Object is not referenced ^ (Name [GRA_] is within a method [REM1])
|
2014-01-07 21:35:10 +00:00
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 396: CreateField (RSC3, \DWI1._MIF, 5, MIF)
|
|
|
|
Warning 3129 - ResourceTag smaller than Field ^ (Size mismatch, Tag: 1 bit, Field: 5 bits)
|
|
|
|
|
2014-01-07 21:35:10 +00:00
|
|
|
badcode.asl 396: CreateField (RSC3, \DWI1._MIF, 5, MIF)
|
2016-04-26 15:51:09 +00:00
|
|
|
Remark 2089 - Object is not referenced ^ (Name [MIF_] is within a method [REM1])
|
2014-01-07 21:35:10 +00:00
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
badcode.asl 397: CreateField (RSC3, \DWI1._RNG, 3, RNG2)
|
|
|
|
Warning 3129 - ResourceTag smaller than Field ^ (Size mismatch, Tag: 2 bits, Field: 3 bits)
|
|
|
|
|
2014-01-07 21:35:10 +00:00
|
|
|
badcode.asl 397: CreateField (RSC3, \DWI1._RNG, 3, RNG2)
|
2016-04-26 15:51:09 +00:00
|
|
|
Remark 2089 - Object is not referenced ^ (Name [RNG2] is within a method [REM1])
|
2014-01-07 21:35:10 +00:00
|
|
|
|
2015-08-05 17:00:27 +00:00
|
|
|
badcode.asl 404: Store (40, Local0)
|
|
|
|
Warning 3144 - ^ Method Local is set but never used (Local0)
|
|
|
|
|
2013-08-28 19:31:28 +00:00
|
|
|
|
|
|
|
Intel ACPI Component Architecture
|
2017-01-29 20:20:08 +00:00
|
|
|
ASL+ Optimizing Compiler/Disassembler version VVVVVVVV
|
2019-05-10 21:03:56 +00:00
|
|
|
Copyright (c) 2000 - 2019 Intel Corporation
|
2013-08-28 19:31:28 +00:00
|
|
|
|
|
|
|
Ignoring all errors, forcing AML file generation
|
|
|
|
|
2019-05-11 22:52:39 +00:00
|
|
|
ASL Input: badcode.asl - 11587 bytes 81 keywords 408 source lines
|
|
|
|
AML Output: badcode.aml - 1195 bytes 20 opcodes 61 named objects
|
2013-08-28 19:31:28 +00:00
|
|
|
|
2019-05-11 22:52:39 +00:00
|
|
|
Compilation successful. 46 Errors, 28 Warnings, 11 Remarks, 16 Optimizations, 1 Constants Folded
|