Fix some unreferenced object remarks
authorAntonio Ospite <ao2@ao2.it>
Tue, 3 Feb 2015 11:14:08 +0000 (12:14 +0100)
committerAntonio Ospite <ao2@ao2.it>
Thu, 16 Apr 2015 12:56:24 +0000 (14:56 +0200)
dsdt.dsl   3752:                         Memory32Fixed (ReadWrite,
Remark   2089 -                       Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl   3754:                             0x00001000,
Remark   2089 -             Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl   3788:                         Memory32Fixed (ReadWrite,
Remark   2089 -                       Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl   3790:                             0x00001000,
Remark   2089 -             Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl   6407:                 Name (RBUF, ResourceTemplate ()
Remark   2089 - Object is not referenced ^  (Name is within method [_AEI])

dsdt.dsl   9896:                         CreateByteField (Arg3, Zero, FARG)
Remark   2089 -                                Object is not referenced ^  (Name is within method [_DSM])

dsdt.dsl  14369:                 Name (RBU0, ResourceTemplate ()
Remark   2089 - Object is not referenced ^  (Name is within method [_CRS])

dsdt.dsl

index 7dd2477..4749b81 100644 (file)
--- 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,