projects
/
Teclast-X98-Air-3G_C6J6_custom_DSDT.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some remarks about using compiler reserverd names
[Teclast-X98-Air-3G_C6J6_custom_DSDT.git]
/
dsdt.dsl
diff --git
a/dsdt.dsl
b/dsdt.dsl
index
fd80b31
..
7dd2477
100644
(file)
--- a/
dsdt.dsl
+++ b/
dsdt.dsl
@@
-3801,7
+3801,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
If ((Arg0 == ToUUID ("886a3f26-600c-4401-b7b1-01e9c2e7e77e")))
{
Return ("BLUET")
If ((Arg0 == ToUUID ("886a3f26-600c-4401-b7b1-01e9c2e7e77e")))
{
Return ("BLUET")
@@
-3821,8
+3821,8
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
{
While (One)
{
{
While (One)
{
-
_
T_0 = ToInteger (Arg1)
- If ((
_
T_0 == 0x08))
+ T_0 = ToInteger (Arg1)
+ If ((T_0 == 0x08))
{
Return (Buffer (0x05)
{
{
Return (Buffer (0x05)
{
@@
-3831,7
+3831,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == 0x10))
+ If ((T_0 == 0x10))
{
Return (Buffer (0x05)
{
{
Return (Buffer (0x05)
{
@@
-3840,7
+3840,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == 0x30))
+ If ((T_0 == 0x30))
{
Return (Buffer (0x05)
{
{
Return (Buffer (0x05)
{
@@
-5274,13
+5274,13
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
{
While (One)
{
If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
{
While (One)
{
-
_
T_0 = ToInteger (Arg2)
- If ((
_
T_0 == Zero))
+ T_0 = ToInteger (Arg2)
+ If ((T_0 == Zero))
{
If ((Arg1 == One))
{
{
If ((Arg1 == One))
{
@@
-5299,7
+5299,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == One))
+ If ((T_0 == One))
{
If ((SDGV == 0xFF))
{
{
If ((SDGV == 0xFF))
{
@@
-5312,7
+5312,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == 0x02))
+ If ((T_0 == 0x02))
{
Return (SDGV) /* \SDGV */
}
{
Return (SDGV) /* \SDGV */
}
@@
-5371,13
+5371,13
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
{
While (One)
{
If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
{
While (One)
{
-
_
T_0 = ToInteger (Arg2)
- If ((
_
T_0 == Zero))
+ T_0 = ToInteger (Arg2)
+ If ((T_0 == Zero))
{
If ((Arg1 == One))
{
{
If ((Arg1 == One))
{
@@
-5396,7
+5396,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == One))
+ If ((T_0 == One))
{
If ((SDGV == 0xFF))
{
{
If ((SDGV == 0xFF))
{
@@
-5409,7
+5409,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == 0x02))
+ If ((T_0 == 0x02))
{
Return (SDGV) /* \SDGV */
}
{
Return (SDGV) /* \SDGV */
}
@@
-5468,13
+5468,13
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
{
While (One)
{
If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
{
While (One)
{
-
_
T_0 = ToInteger (Arg2)
- If ((
_
T_0 == Zero))
+ T_0 = ToInteger (Arg2)
+ If ((T_0 == Zero))
{
If ((Arg1 == One))
{
{
If ((Arg1 == One))
{
@@
-5493,7
+5493,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == One))
+ If ((T_0 == One))
{
If ((SDGV == 0xFF))
{
{
If ((SDGV == 0xFF))
{
@@
-5506,7
+5506,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == 0x02))
+ If ((T_0 == 0x02))
{
Return (SDGV) /* \SDGV */
}
{
Return (SDGV) /* \SDGV */
}
@@
-5565,13
+5565,13
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
{
While (One)
{
If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
{
While (One)
{
-
_
T_0 = ToInteger (Arg2)
- If ((
_
T_0 == Zero))
+ T_0 = ToInteger (Arg2)
+ If ((T_0 == Zero))
{
If ((Arg1 == One))
{
{
If ((Arg1 == One))
{
@@
-5590,7
+5590,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == One))
+ If ((T_0 == One))
{
If ((SDGV == 0xFF))
{
{
If ((SDGV == 0xFF))
{
@@
-5603,7
+5603,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == 0x02))
+ If ((T_0 == 0x02))
{
Return (SDGV) /* \SDGV */
}
{
Return (SDGV) /* \SDGV */
}
@@
-9889,26
+9889,26
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_1, Zero) // _T_x: Emitted by ASL Compiler
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_1, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
If ((Arg0 == ToUUID ("a9240c44-f032-454d-80e5-7aeed80e9551")))
{
CreateByteField (Arg3, Zero, FARG)
While (One)
{
If ((Arg0 == ToUUID ("a9240c44-f032-454d-80e5-7aeed80e9551")))
{
CreateByteField (Arg3, Zero, FARG)
While (One)
{
-
_
T_0 = Arg2
- If ((
_
T_0 == 0x03))
+ T_0 = Arg2
+ If ((T_0 == 0x03))
{
While (One)
{
{
While (One)
{
-
_
T_1 = Arg3
- If ((
_
T_1 == Zero))
+ T_1 = Arg3
+ If ((T_1 == Zero))
{
Return (0x11)
}
Else
{
{
Return (0x11)
}
Else
{
- If ((
_
T_1 == 0x04))
+ If ((T_1 == 0x04))
{
Return (Buffer (0x34)
{
{
Return (Buffer (0x34)
{
@@
-11413,20
+11413,20
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_1, Zero) // _T_x: Emitted by ASL Compiler
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_1, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
Debug = "Method _DSM begin"
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
While (One)
{
Debug = "Method _DSM begin"
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
While (One)
{
-
_
T_0 = ToInteger (Arg2)
- If ((
_
T_0 == Zero))
+ T_0 = ToInteger (Arg2)
+ If ((T_0 == Zero))
{
While (One)
{
{
While (One)
{
-
_
T_1 = ToInteger (Arg1)
- If ((
_
T_1 == One))
+ T_1 = ToInteger (Arg1)
+ If ((T_1 == One))
{
Debug = "Method _DSM Function Query"
Return (Buffer (One)
{
Debug = "Method _DSM Function Query"
Return (Buffer (One)
@@
-11447,7
+11447,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == One))
+ If ((T_0 == One))
{
Debug = "Method _DSM Function HID"
Return (Zero)
{
Debug = "Method _DSM Function HID"
Return (Zero)
@@
-12090,20
+12090,20
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_1, Zero) // _T_x: Emitted by ASL Compiler
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_1, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
Debug = "Method _DSM begin"
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
While (One)
{
Debug = "Method _DSM begin"
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
While (One)
{
-
_
T_0 = ToInteger (Arg2)
- If ((
_
T_0 == Zero))
+ T_0 = ToInteger (Arg2)
+ If ((T_0 == Zero))
{
While (One)
{
{
While (One)
{
-
_
T_1 = ToInteger (Arg1)
- If ((
_
T_1 == One))
+ T_1 = ToInteger (Arg1)
+ If ((T_1 == One))
{
Debug = "Method _DSM Function Query"
Return (Buffer (One)
{
Debug = "Method _DSM Function Query"
Return (Buffer (One)
@@
-12124,7
+12124,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == One))
+ If ((T_0 == One))
{
Debug = "Method _DSM Function HID"
Return (Zero)
{
Debug = "Method _DSM Function HID"
Return (Zero)
@@
-14499,13
+14499,13
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
- Name (
_
T_0, Zero) // _T_x: Emitted by ASL Compiler
+ Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
If ((Arg0 == ToUUID ("dfbcf3c5-e7a5-44e6-9c1f-29c76f6e059c") /* Power Button Device */))
{
While (One)
{
If ((Arg0 == ToUUID ("dfbcf3c5-e7a5-44e6-9c1f-29c76f6e059c") /* Power Button Device */))
{
While (One)
{
-
_
T_0 = ToInteger (Arg2)
- If ((
_
T_0 == Zero))
+ T_0 = ToInteger (Arg2)
+ If ((T_0 == Zero))
{
Return (Buffer (One)
{
{
Return (Buffer (One)
{
@@
-14514,7
+14514,7
@@
DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
}
Else
{
}
Else
{
- If ((
_
T_0 == One))
+ If ((T_0 == One))
{
Return (0x07)
}
{
Return (0x07)
}