X-Git-Url: https://git.ao2.it/Teclast-X98-Air-3G_C6J6_custom_DSDT.git/blobdiff_plain/e079f167a947a3da4edea8d46dd51feb8695ebb8..e0f31f14b5409a3c554ae3e7d3e568ad5696dfe8:/dsdt.dsl?ds=inline diff --git a/dsdt.dsl b/dsdt.dsl index 7dd2477..4749b81 100644 --- a/dsdt.dsl +++ b/dsdt.dsl @@ -3745,22 +3745,23 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) Return (Zero) } - Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings + Name (RBUF, ResourceTemplate () { - Name (RBUF, ResourceTemplate () + Memory32Fixed (ReadWrite, + 0xDF498000, // Address Base + 0x00001000, // Address Length + _Y07) + Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { - Memory32Fixed (ReadWrite, - 0xDF498000, // Address Base - 0x00001000, // Address Length - _Y07) - Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) - { - 0x00000018, - } - }) - CreateDWordField (RBUF, \_SB.LPEA.ADMA._CRS._Y07._BAS, B0BA) // _BAS: Base Address + 0x00000018, + } + }) + + Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings + { + CreateDWordField (RBUF, \_SB.LPEA.ADMA._Y07._BAS, B0BA) // _BAS: Base Address B0BA = LPE0 /* \LPE0 */ - Return (RBUF) /* \_SB_.LPEA.ADMA._CRS.RBUF */ + Return (RBUF) /* \_SB_.LPEA.ADMA.RBUF */ } } @@ -3781,22 +3782,23 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) Return (Zero) } - Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings + Name (RBUF, ResourceTemplate () { - Name (RBUF, ResourceTemplate () + Memory32Fixed (ReadWrite, + 0xDF4A1000, // Address Base + 0x00001000, // Address Length + _Y08) + Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { - Memory32Fixed (ReadWrite, - 0xDF4A1000, // Address Base - 0x00001000, // Address Length - _Y08) - Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) - { - 0x0000001B, - } - }) - CreateDWordField (RBUF, \_SB.LPEA.SSP1._CRS._Y08._BAS, B0BA) // _BAS: Base Address + 0x0000001B, + } + }) + + Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings + { + CreateDWordField (RBUF, \_SB.LPEA.SSP1._Y08._BAS, B0BA) // _BAS: Base Address B0BA = (LPE0 + 0x000A1000) - Return (RBUF) /* \_SB_.LPEA.SSP1._CRS.RBUF */ + Return (RBUF) /* \_SB_.LPEA.SSP1.RBUF */ } Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method @@ -6404,21 +6406,6 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) Method (_AEI, 0, NotSerialized) // _AEI: ACPI Event Interrupts { - Name (RBUF, ResourceTemplate () - { - GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullUp, 0x0000, - "\\_SB.GPO2", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x0012 - } - GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullUp, 0x0000, - "\\_SB.GPO2", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x0002 - } - }) Name (FBUF, ResourceTemplate () { GpioInt (Edge, ActiveBoth, SharedAndWake, PullUp, 0x0000, @@ -9893,7 +9880,6 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) Name (T_0, Zero) // _T_x: Emitted by ASL Compiler If ((Arg0 == ToUUID ("a9240c44-f032-454d-80e5-7aeed80e9551"))) { - CreateByteField (Arg3, Zero, FARG) While (One) { T_0 = Arg2 @@ -14366,39 +14352,6 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) 0x005F } }) - Name (RBU0, ResourceTemplate () - { - GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDefault, 0x0000, - "\\_SB.GPO2", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x0010 - } - GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDefault, 0x0000, - "\\_SB.GPO2", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x0015 - } - GpioInt (Edge, ActiveBoth, Exclusive, PullDefault, 0x0000, - "\\_SB.GPO0", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x0001 - } - GpioInt (Edge, ActiveBoth, Exclusive, PullDefault, 0x0000, - "\\_SB.GPO0", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x0000 - } - GpioInt (Edge, ActiveBoth, Exclusive, PullDefault, 0x0000, - "\\_SB.GPO0", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x0028 - } - }) Name (ABU0, ResourceTemplate () { GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDefault, 0x0000,