--- /root/acpica/dsdt_SB600.dsl Wed Apr 29 21:46:11 2009 UTC +++ /root/acpica/dsdt_SB600_edit.dsl Wed Apr 29 21:44:46 2009 UTC @@ -1,94 +1,99 @@ +/* +Modified by Pattern (patttern@gmail.com) +*/ +/* ACPI Warning: NsLookup: Type mismatch on INFO (RegionField), searching for (Buffer) 20090422 nsaccess-731 ACPI Warning: NsLookup: Type mismatch on INFO (RegionField), searching for (Buffer) 20090422 nsaccess-731 ACPI Warning: NsLookup: Type mismatch on INFO (RegionField), searching for (Buffer) 20090422 nsaccess-731 ACPI Warning: NsLookup: Type mismatch on INFO (RegionField), searching for (Buffer) 20090422 nsaccess-731 +*/ /* - * Intel ACPI Component Architecture - * AML Disassembler version 20090422 - * - * Disassembly of (null), Mon Apr 27 00:55:20 2009 - * - * - * Original Table Header: - * Signature "DSDT" - * Length 0x00007E7B (32379) - * Revision 0x01 **** ACPI 1.0, no 64-bit math support - * Checksum 0x4B - * OEM ID "TOSCPL" - * OEM Table ID "SB600" - * OEM Revision 0x06040000 (100925440) - * Compiler ID "MSFT" - * Compiler Version 0x03000000 (50331648) +Intel ACPI Component Architecture +AML Disassembler version 20090422 + +Disassembly of (null), Mon Apr 27 00:55:20 2009 + + +Original Table Header: + Signature "DSDT" + Length 0x00007E7B (32379) + Revision One **** ACPI 1.0, no 64-bit math support + Checksum 0x4B + OEM ID "TOSCPL" + OEM Table ID "SB600" + OEM Revision 0x06040000 (100925440) + Compiler ID "MSFT" + Compiler Version 0x03000000 (50331648) */ -DefinitionBlock ("DSDT.aml", "DSDT", 1, "TOSCPL", "SB600", 0x06040000) +DefinitionBlock ("/root/acpica/dsdt_SB600_edit.aml", "DSDT", 1, "TOSCPL", "SB600", 0x06040000) { External (\_PR_.CPU1._PPC) External (\_PR_.CPU0._PPC, IntObj) - Name (Z000, 0x01) + Name (Z000, One) Name (Z001, 0x02) Name (Z002, 0x04) Name (Z003, 0x08) - Name (Z004, 0x00) + Name (Z004, Zero) Name (Z005, 0x0F) Name (Z006, 0x0D) Name (Z007, 0x0B) Name (Z008, 0x09) - Scope (\_PR) + Scope (_PR_) { - Processor (CPU0, 0x00, 0x00008010, 0x06) {} - Processor (CPU1, 0x01, 0x00000000, 0x00) {} + Processor (CPU0, Zero, 0x00008010, 0x06) {} + Processor (CPU1, One, 0x00000000, Zero) {} } Name (_S0, Package (0x04) { - 0x00, - 0x00, - 0x00, - 0x00 + Zero, + Zero, + Zero, + Zero }) Name (_S3, Package (0x04) { 0x03, 0x03, - 0x00, - 0x00 + Zero, + Zero }) Name (_S4, Package (0x04) { 0x04, 0x04, - 0x00, - 0x00 + Zero, + Zero }) Name (_S5, Package (0x04) { 0x05, 0x05, - 0x00, - 0x00 + Zero, + Zero }) - OperationRegion (\DEBG, SystemIO, 0x1080, 0x01) - Field (\DEBG, ByteAcc, NoLock, Preserve) + OperationRegion (DEBG, SystemIO, 0x1080, One) + Field (DEBG, ByteAcc, NoLock, Preserve) { DBGP, 8 } - OperationRegion (\DEB2, SystemIO, 0x80, 0x01) - Field (\DEB2, ByteAcc, NoLock, Preserve) + OperationRegion (DEB2, SystemIO, 0x80, One) + Field (DEB2, ByteAcc, NoLock, Preserve) { P80H, 8 } - OperationRegion (\PMIO, SystemIO, 0x0CD6, 0x02) - Field (\PMIO, ByteAcc, NoLock, Preserve) + OperationRegion (PMIO, SystemIO, 0x0CD6, 0x02) + Field (PMIO, ByteAcc, NoLock, Preserve) { PIDX, 8, PDAT, 8 } - OperationRegion (\P01, SystemIO, 0x8001, 0x01) - Field (\P01, ByteAcc, NoLock, Preserve) + OperationRegion (P01_, SystemIO, 0x8001, One) + Field (P01_, ByteAcc, NoLock, Preserve) { PST1, 8 } @@ -203,7 +208,7 @@ HDPT, 8 } - Name (HTTX, 0x00) + Name (HTTX, Zero) Method (_PTS, 1, NotSerialized) { Store (Arg0, P80H) @@ -231,6 +236,11 @@ } } + Name (WAKI, Package (0x02) + { + Zero, + Zero + }) Method (_WAK, 1, NotSerialized) { Store (\_SB.PCI0.SMB.PEWS, \_SB.PCI0.SMB.PEWS) @@ -246,7 +256,7 @@ Store (0x61, PIDX) Store (PDAT, Local0) And (Local0, 0x80, Local0) - If (LEqual (Local0, 0x00)) + If (LEqual (Local0, Zero)) { Notify (\_SB.PWRB, 0x02) } @@ -261,34 +271,35 @@ } \_SB.PCI0.LPC0.PHSS (0x0F) - If (LEqual (And (WAKF, 0x05), 0x01)) + If (LEqual (And (WAKF, 0x05), One)) { Notify (\_SB.PWRB, 0x02) } - Store (0x00, WAKF) + Store (Zero, WAKF) } - If (LEqual (Arg0, 0x01)) + If (LEqual (Arg0, One)) { Store (One, \_SB.PCI0.SMB.IR9S) Store (One, \_SB.PCI0.SMB.IR9E) And (PST1, 0x04, Local0) - If (LEqual (Local0, 0x00)) + If (LEqual (Local0, Zero)) { Notify (\_SB.PWRB, 0x02) } } - Notify (\_SB.PCI0, 0x00) + Notify (\_SB.PCI0, Zero) \_SB.HSWK (Arg0) + Return (WAKI) } - Scope (\_SB) + Scope (_SB_) { - Name (LINX, 0x00) + Name (LINX, Zero) Name (OSTB, Ones) - OperationRegion (OSTY, SystemMemory, 0xCEE84E04, 0x00000001) + OperationRegion (OSTY, SystemMemory, 0xCEE84E04, One) Field (OSTY, AnyAcc, NoLock, Preserve) { TPOS, 8 @@ -296,105 +307,105 @@ Method (OSTP, 0, NotSerialized) { - If (LEqual (^OSTB, Ones)) + If (LEqual (OSTB, Ones)) { If (CondRefOf (\_OSI, Local0)) { - Store (0x00, ^OSTB) - Store (0x00, ^TPOS) - If (\_OSI ("Windows 2001")) + Store (Zero, OSTB) + Store (Zero, TPOS) + If (_OSI ("Windows 2001")) { - Store (0x08, ^OSTB) - Store (0x08, ^TPOS) + Store (0x08, OSTB) + Store (0x08, TPOS) } - If (\_OSI ("Windows 2001.1")) + If (_OSI ("Windows 2001.1")) { - Store (0x20, ^OSTB) - Store (0x20, ^TPOS) + Store (0x20, OSTB) + Store (0x20, TPOS) } - If (\_OSI ("Windows 2001 SP1")) + If (_OSI ("Windows 2001 SP1")) { - Store (0x10, ^OSTB) - Store (0x10, ^TPOS) + Store (0x10, OSTB) + Store (0x10, TPOS) } - If (\_OSI ("Windows 2001 SP2")) + If (_OSI ("Windows 2001 SP2")) { - Store (0x11, ^OSTB) - Store (0x11, ^TPOS) + Store (0x11, OSTB) + Store (0x11, TPOS) } - If (\_OSI ("Windows 2001 SP3")) + If (_OSI ("Windows 2001 SP3")) { - Store (0x12, ^OSTB) - Store (0x12, ^TPOS) + Store (0x12, OSTB) + Store (0x12, TPOS) } - If (\_OSI ("Windows 2006")) + If (_OSI ("Windows 2006")) { - Store (0x40, ^OSTB) - Store (0x40, ^TPOS) + Store (0x40, OSTB) + Store (0x40, TPOS) } - If (\_OSI ("Linux")) + If (_OSI ("Linux")) { - Store (0x01, LINX) - Store (0x80, ^OSTB) - Store (0x80, ^TPOS) + Store (One, LINX) + Store (0x80, OSTB) + Store (0x80, TPOS) } } Else { If (CondRefOf (\_OS, Local0)) { - If (^SEQL (\_OS, "Microsoft Windows")) + If (SEQL (_OS_, "Microsoft Windows")) { - Store (0x01, ^OSTB) - Store (0x01, ^TPOS) + Store (One, OSTB) + Store (One, TPOS) } Else { - If (^SEQL (\_OS, "Microsoft WindowsME: Millennium Edition")) + If (SEQL (_OS_, "Microsoft WindowsME: Millennium Edition")) { - Store (0x02, ^OSTB) - Store (0x02, ^TPOS) + Store (0x02, OSTB) + Store (0x02, TPOS) } Else { - If (^SEQL (\_OS, "Microsoft Windows NT")) + If (SEQL (_OS_, "Microsoft Windows NT")) { - Store (0x04, ^OSTB) - Store (0x04, ^TPOS) + Store (0x04, OSTB) + Store (0x04, TPOS) } Else { - Store (0x00, ^OSTB) - Store (0x00, ^TPOS) + Store (Zero, OSTB) + Store (Zero, TPOS) } } } } Else { - Store (0x00, ^OSTB) - Store (0x00, ^TPOS) + Store (Zero, OSTB) + Store (Zero, TPOS) } } - Store (0xB0, \_SB.PCI0.LPC0.BCMD) - Store (Zero, \_SB.PCI0.LPC0.SMIC) + Store (0xB0, ^PCI0.LPC0.BCMD) + Store (Zero, ^PCI0.LPC0.SMIC) } - Return (^OSTB) + Return (OSTB) } Method (OSHT, 0, NotSerialized) { - \_SB.OSTP () - Store (0x48, \_SB.PCI0.LPC0.BCMD) - Store (Zero, \_SB.PCI0.LPC0.SMIC) + OSTP () + Store (0x48, ^PCI0.LPC0.BCMD) + Store (Zero, ^PCI0.LPC0.SMIC) } Method (SEQL, 2, Serialized) @@ -427,8 +438,8 @@ } } - Name (\GPIC, 0x00) - Method (\_PIC, 1, NotSerialized) + Name (GPIC, Zero) + Method (_PIC, 1, NotSerialized) { Store (Arg0, GPIC) If (Arg0) @@ -437,16 +448,16 @@ } } - Scope (\_SB) + Scope (_SB_) { Device (CPIR) { Name (_HID, "CPL0001") Method (_STA, 0, NotSerialized) { - If (\_SB.PCI0.SMB.G62I) + If (^^PCI0.SMB_.G62I) { - Return (0x00) + Return (Zero) } Else { @@ -458,31 +469,31 @@ { If (LEqual (Arg0, 0x97)) { - Store (\_SB.PCI0.LPC0.EC0.CR97, Local0) + Store (^^PCI0.LPC0.EC0_.CR97, Local0) Return (Local0) } If (LEqual (Arg0, 0x90)) { - Store (\_SB.PCI0.LPC0.EC0.CR90, Local0) + Store (^^PCI0.LPC0.EC0_.CR90, Local0) Return (Local0) } If (LEqual (Arg0, 0x91)) { - Store (\_SB.PCI0.LPC0.EC0.CR91, Local0) + Store (^^PCI0.LPC0.EC0_.CR91, Local0) Return (Local0) } If (LEqual (Arg0, 0x92)) { - Store (\_SB.PCI0.LPC0.EC0.CR92, Local0) + Store (^^PCI0.LPC0.EC0_.CR92, Local0) Return (Local0) } If (LEqual (Arg0, 0x93)) { - Store (\_SB.PCI0.LPC0.EC0.CR93, Local0) + Store (^^PCI0.LPC0.EC0_.CR93, Local0) Return (Local0) } @@ -491,18 +502,18 @@ Method (SIRS, 1, NotSerialized) { - Store (\_SB.PCI0.LPC0.EC0.CR97, Local0) + Store (^^PCI0.LPC0.EC0_.CR97, Local0) If (Arg0) { - Or (Local0, 0x01, Local0) + Or (Local0, One, Local0) } Else { And (Local0, 0xFE, Local0) } - Store (Local0, \_SB.PCI0.LPC0.EC0.CR97) - Return (0x00) + Store (Local0, ^^PCI0.LPC0.EC0_.CR97) + Return (Zero) } } @@ -511,7 +522,7 @@ Name (_HID, EisaId ("PNP0C0D")) Method (_LID, 0, NotSerialized) { - Return (LNot (\_SB.PCI0.SMB.GM3C)) + Return (LNot (^^PCI0.SMB_.GM3C)) } } @@ -519,30 +530,30 @@ { If (LGreaterEqual (Arg0, 0x03)) { - \_SB.HTEV (0x02) + HTEV (0x02) } } Method (HTEV, 1, NotSerialized) { - Store (\_SB.PCI0.LPC0.EC0.GHID, Local0) + Store (^PCI0.LPC0.EC0_.GHID, Local0) If (LEqual (Local0, 0x13)) { - Store (0x00, \_SB.PCI0.LPC0.EC0.GHID) - Notify (\_SB.HKFA, Arg0) + Store (Zero, ^PCI0.LPC0.EC0_.GHID) + Notify (HKFA, Arg0) } If (LEqual (Local0, 0x14)) { - Store (0x00, \_SB.PCI0.LPC0.EC0.GHID) - Notify (\_SB.HKFB, Arg0) + Store (Zero, ^PCI0.LPC0.EC0_.GHID) + Notify (HKFB, Arg0) } } Device (HKFA) { Name (_HID, "PNP0C32") - Name (_UID, 0x01) + Name (_UID, One) Method (_STA, 0, NotSerialized) { If (LAnd (LGreaterEqual (TPOS, 0x40), LLess (TPOS, 0x80))) @@ -551,15 +562,15 @@ } Else { - Return (0x00) + Return (Zero) } } Method (GHID, 0, NotSerialized) { - Return (Buffer (0x01) + Return (Buffer (One) { - 0x01 + One }) } } @@ -576,13 +587,13 @@ } Else { - Return (0x00) + Return (Zero) } } Method (GHID, 0, NotSerialized) { - Return (Buffer (0x01) + Return (Buffer (One) { 0x02 }) @@ -598,9 +609,9 @@ { Name (_HID, EisaId ("PNP0A08")) Name (_CID, EisaId ("PNP0A03")) - Name (_ADR, 0x00) - Name (_UID, 0x01) - Name (_BBN, 0x00) + Name (_ADR, Zero) + Name (_UID, One) + Name (_BBN, Zero) Method (_OSC, 4, NotSerialized) { Store (Arg3, Local0) @@ -610,10 +621,10 @@ Method (_INI, 0, NotSerialized) { Store (0x9999, MARK) - \_SB.OSTP () + OSTP () } - OperationRegion (NBRV, PCI_Config, 0x08, 0x01) + OperationRegion (NBRV, PCI_Config, 0x08, One) Field (NBRV, ByteAcc, NoLock, Preserve) { PREV, 8 @@ -651,7 +662,7 @@ MIDR, 32 } - Mutex (NBMM, 0x00) + Mutex (NBMM, Zero) Method (NBMR, 1, NotSerialized) { Acquire (NBMM, 0xFFFF) @@ -681,13 +692,13 @@ NBXD, 32 } - Mutex (NBXM, 0x00) + Mutex (NBXM, Zero) Method (NBXR, 1, NotSerialized) { Acquire (NBXM, 0xFFFF) Store (Arg0, NBXI) Store (NBXD, Local0) - Store (0x00, NBXI) + Store (Zero, NBXI) Release (NBXM) Return (Local0) } @@ -697,7 +708,7 @@ Acquire (NBXM, 0xFFFF) Store (Arg0, NBXI) Store (Arg1, NBXD) - Store (0x00, NBXI) + Store (Zero, NBXI) Release (NBXM) } @@ -719,11 +730,11 @@ { If (LAnd (LLess (Arg0, 0x02), LGreater (Arg0, 0x07))) { - Return (0x00) + Return (Zero) } Else { - Store (0x01, Local0) + Store (One, Local0) If (LLess (Arg0, 0x04)) { Add (Arg0, 0x02, Local1) @@ -753,7 +764,7 @@ Name (PX3H, 0x80000000) Name (PX3S, 0x10000000) Name (PX3K, 0xF0000000) - Mutex (BR3X, 0x00) + Mutex (BR3X, Zero) Method (BR3M, 0, NotSerialized) { Store (PARB, Local0) @@ -761,7 +772,7 @@ And (Local0, 0x07, Local0) If (Local0) { - ShiftLeft (0x01, Local0, Local1) + ShiftLeft (One, Local0, Local1) Subtract (0x1000, Local1, Local1) ShiftLeft (Local1, 0x14, Local1) Store (Local1, PX3K) @@ -770,18 +781,18 @@ } Acquire (BR3X, 0xFFFF) - Store (NBMR (0x00), Local0) + Store (NBMR (Zero), Local0) And (Local0, 0xFFFFFFF7, Local0) - NBMW (0x00, Local0) + NBMW (Zero, Local0) Store (BR3L, Local0) And (Local0, PX3K, Local0) Store (Local0, PX3L) Store (BR3H, Local0) And (Local0, 0xFF, Local0) Store (Local0, PX3H) - Store (NBMR (0x00), Local0) + Store (NBMR (Zero), Local0) Or (Local0, 0x08, Local0) - NBMW (0x00, Local0) + NBMW (Zero, Local0) Release (BR3X) Return (PX3L) } @@ -833,200 +844,200 @@ 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0100, // Length - 0x00,, ) + Zero,, ) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000A0000, // Range Minimum 0x000BFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length - 0x00,, , AddressRangeMemory, TypeStatic) + Zero,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000C1FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y00, AddressRangeMemory, TypeStatic) + Zero,, _Y00, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000C2000, // Range Minimum 0x000C3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y01, AddressRangeMemory, TypeStatic) + Zero,, _Y01, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000C4000, // Range Minimum 0x000C5FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y02, AddressRangeMemory, TypeStatic) + Zero,, _Y02, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000C6000, // Range Minimum 0x000C7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y03, AddressRangeMemory, TypeStatic) + Zero,, _Y03, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000C8000, // Range Minimum 0x000C9FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y04, AddressRangeMemory, TypeStatic) + Zero,, _Y04, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000CA000, // Range Minimum 0x000CBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y05, AddressRangeMemory, TypeStatic) + Zero,, _Y05, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000CC000, // Range Minimum 0x000CDFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y06, AddressRangeMemory, TypeStatic) + Zero,, _Y06, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000CE000, // Range Minimum 0x000CFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y07, AddressRangeMemory, TypeStatic) + Zero,, _Y07, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000D0000, // Range Minimum 0x000D1FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y08, AddressRangeMemory, TypeStatic) + Zero,, _Y08, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000D2000, // Range Minimum 0x000D3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y09, AddressRangeMemory, TypeStatic) + Zero,, _Y09, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000D4000, // Range Minimum 0x000D5FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y0A, AddressRangeMemory, TypeStatic) + Zero,, _Y0A, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000D6000, // Range Minimum 0x000D7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y0B, AddressRangeMemory, TypeStatic) + Zero,, _Y0B, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000D8000, // Range Minimum 0x000D9FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y0C, AddressRangeMemory, TypeStatic) + Zero,, _Y0C, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000DA000, // Range Minimum 0x000DBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y0D, AddressRangeMemory, TypeStatic) + Zero,, _Y0D, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000DC000, // Range Minimum 0x000DDFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y0E, AddressRangeMemory, TypeStatic) + Zero,, _Y0E, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000DE000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y0F, AddressRangeMemory, TypeStatic) + Zero,, _Y0F, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000E0000, // Range Minimum 0x000E1FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y10, AddressRangeMemory, TypeStatic) + Zero,, _Y10, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000E2000, // Range Minimum 0x000E3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y11, AddressRangeMemory, TypeStatic) + Zero,, _Y11, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000E4000, // Range Minimum 0x000E5FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y12, AddressRangeMemory, TypeStatic) + Zero,, _Y12, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000E6000, // Range Minimum 0x000E7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y13, AddressRangeMemory, TypeStatic) + Zero,, _Y13, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000E8000, // Range Minimum 0x000E9FFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y14, AddressRangeMemory, TypeStatic) + Zero,, _Y14, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000EA000, // Range Minimum 0x000EBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y15, AddressRangeMemory, TypeStatic) + Zero,, _Y15, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000EC000, // Range Minimum 0x000EDFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y16, AddressRangeMemory, TypeStatic) + Zero,, _Y16, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000EE000, // Range Minimum 0x000EFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length - 0x00,, _Y17, AddressRangeMemory, TypeStatic) + Zero,, _Y17, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000000, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length - 0x00,, _Y18, AddressRangeMemory, TypeStatic) + Zero,, _Y18, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0xFFFFFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length - 0x00,, _Y19, AddressRangeMemory, TypeStatic) + Zero,, _Y19, AddressRangeMemory, TypeStatic) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x08, // Length ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, @@ -1035,253 +1046,253 @@ 0x0CF7, // Range Maximum 0x0000, // Translation Offset 0x0CF8, // Length - 0x00,, , TypeStatic) + Zero,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0D00, // Range Minimum 0xFFFF, // Range Maximum 0x0000, // Translation Offset 0xF300, // Length - 0x00,, , TypeStatic) + Zero,, , TypeStatic) }) Method (_CRS, 0, Serialized) { - CreateBitField (RSRC, \_SB.PCI0._Y00._RW, C0RW) - CreateDWordField (RSRC, \_SB.PCI0._Y00._LEN, C0LN) + CreateBitField (RSRC, ^_Y00._RW_, C0RW) + CreateDWordField (RSRC, ^_Y00._LEN, C0LN) Store (One, C0RW) Store (0x2000, C0LN) If (And (C0_0, 0x1818)) { - Store (0x00, C0LN) + Store (Zero, C0LN) } - CreateBitField (RSRC, \_SB.PCI0._Y01._RW, C2RW) - CreateDWordField (RSRC, \_SB.PCI0._Y01._LEN, C2LN) + CreateBitField (RSRC, ^_Y01._RW_, C2RW) + CreateDWordField (RSRC, ^_Y01._LEN, C2LN) Store (One, C2RW) Store (0x2000, C2LN) If (And (C2_0, 0x1818)) { - Store (0x00, C2LN) + Store (Zero, C2LN) } - CreateBitField (RSRC, \_SB.PCI0._Y02._RW, C4RW) - CreateDWordField (RSRC, \_SB.PCI0._Y02._LEN, C4LN) + CreateBitField (RSRC, ^_Y02._RW_, C4RW) + CreateDWordField (RSRC, ^_Y02._LEN, C4LN) Store (One, C4RW) Store (0x2000, C4LN) If (And (C4_0, 0x1818)) { - Store (0x00, C4LN) + Store (Zero, C4LN) } - CreateBitField (RSRC, \_SB.PCI0._Y03._RW, C6RW) - CreateDWordField (RSRC, \_SB.PCI0._Y03._LEN, C6LN) + CreateBitField (RSRC, ^_Y03._RW_, C6RW) + CreateDWordField (RSRC, ^_Y03._LEN, C6LN) Store (One, C6RW) Store (0x2000, C6LN) If (And (C6_0, 0x1818)) { - Store (0x00, C6LN) + Store (Zero, C6LN) } - CreateBitField (RSRC, \_SB.PCI0._Y04._RW, C8RW) - CreateDWordField (RSRC, \_SB.PCI0._Y04._LEN, C8LN) + CreateBitField (RSRC, ^_Y04._RW_, C8RW) + CreateDWordField (RSRC, ^_Y04._LEN, C8LN) Store (One, C8RW) Store (0x2000, C8LN) If (And (C8_0, 0x1818)) { - Store (0x00, C8LN) + Store (Zero, C8LN) } - CreateBitField (RSRC, \_SB.PCI0._Y05._RW, CARW) - CreateDWordField (RSRC, \_SB.PCI0._Y05._LEN, CALN) + CreateBitField (RSRC, ^_Y05._RW_, CARW) + CreateDWordField (RSRC, ^_Y05._LEN, CALN) Store (One, CARW) Store (0x2000, CALN) If (And (CA_0, 0x1818)) { - Store (0x00, CALN) + Store (Zero, CALN) } - CreateBitField (RSRC, \_SB.PCI0._Y06._RW, CCRW) - CreateDWordField (RSRC, \_SB.PCI0._Y06._LEN, CCLN) + CreateBitField (RSRC, ^_Y06._RW_, CCRW) + CreateDWordField (RSRC, ^_Y06._LEN, CCLN) Store (One, CCRW) Store (0x2000, CCLN) If (And (CC_0, 0x1818)) { - Store (0x00, CCLN) + Store (Zero, CCLN) } - CreateBitField (RSRC, \_SB.PCI0._Y07._RW, CERW) - CreateDWordField (RSRC, \_SB.PCI0._Y07._LEN, CELN) + CreateBitField (RSRC, ^_Y07._RW_, CERW) + CreateDWordField (RSRC, ^_Y07._LEN, CELN) Store (One, CERW) Store (0x2000, CELN) If (And (CE_0, 0x1818)) { - Store (0x00, CELN) + Store (Zero, CELN) } - CreateBitField (RSRC, \_SB.PCI0._Y08._RW, D0RW) - CreateDWordField (RSRC, \_SB.PCI0._Y08._LEN, D0LN) + CreateBitField (RSRC, ^_Y08._RW_, D0RW) + CreateDWordField (RSRC, ^_Y08._LEN, D0LN) Store (One, D0RW) Store (0x2000, D0LN) If (And (D0_0, 0x1818)) { - Store (0x00, D0LN) + Store (Zero, D0LN) } - CreateBitField (RSRC, \_SB.PCI0._Y09._RW, D2RW) - CreateDWordField (RSRC, \_SB.PCI0._Y09._LEN, D2LN) + CreateBitField (RSRC, ^_Y09._RW_, D2RW) + CreateDWordField (RSRC, ^_Y09._LEN, D2LN) Store (One, D2RW) Store (0x2000, D2LN) If (And (D2_0, 0x1818)) { - Store (0x00, D2LN) + Store (Zero, D2LN) } - CreateBitField (RSRC, \_SB.PCI0._Y0A._RW, D4RW) - CreateDWordField (RSRC, \_SB.PCI0._Y0A._LEN, D4LN) + CreateBitField (RSRC, ^_Y0A._RW_, D4RW) + CreateDWordField (RSRC, ^_Y0A._LEN, D4LN) Store (One, D4RW) Store (0x2000, D4LN) If (And (D4_0, 0x1818)) { - Store (0x00, D4LN) + Store (Zero, D4LN) } - CreateBitField (RSRC, \_SB.PCI0._Y0B._RW, D6RW) - CreateDWordField (RSRC, \_SB.PCI0._Y0B._LEN, D6LN) + CreateBitField (RSRC, ^_Y0B._RW_, D6RW) + CreateDWordField (RSRC, ^_Y0B._LEN, D6LN) Store (One, D6RW) Store (0x2000, D6LN) If (And (D6_0, 0x1818)) { - Store (0x00, D6LN) + Store (Zero, D6LN) } - CreateBitField (RSRC, \_SB.PCI0._Y0C._RW, D8RW) - CreateDWordField (RSRC, \_SB.PCI0._Y0C._LEN, D8LN) + CreateBitField (RSRC, ^_Y0C._RW_, D8RW) + CreateDWordField (RSRC, ^_Y0C._LEN, D8LN) Store (One, D8RW) Store (0x2000, D8LN) If (And (D8_0, 0x1818)) { - Store (0x00, D8LN) + Store (Zero, D8LN) } - CreateBitField (RSRC, \_SB.PCI0._Y0D._RW, DARW) - CreateDWordField (RSRC, \_SB.PCI0._Y0D._LEN, DALN) + CreateBitField (RSRC, ^_Y0D._RW_, DARW) + CreateDWordField (RSRC, ^_Y0D._LEN, DALN) Store (One, DARW) Store (0x2000, DALN) If (And (DA_0, 0x1818)) { - Store (0x00, DALN) + Store (Zero, DALN) } - CreateBitField (RSRC, \_SB.PCI0._Y0E._RW, DCRW) - CreateDWordField (RSRC, \_SB.PCI0._Y0E._LEN, DCLN) + CreateBitField (RSRC, ^_Y0E._RW_, DCRW) + CreateDWordField (RSRC, ^_Y0E._LEN, DCLN) Store (One, DCRW) Store (0x2000, DCLN) If (And (DC_0, 0x1818)) { - Store (0x00, DCLN) + Store (Zero, DCLN) } - CreateBitField (RSRC, \_SB.PCI0._Y0F._RW, DERW) - CreateDWordField (RSRC, \_SB.PCI0._Y0F._LEN, DELN) + CreateBitField (RSRC, ^_Y0F._RW_, DERW) + CreateDWordField (RSRC, ^_Y0F._LEN, DELN) Store (One, DERW) Store (0x2000, DELN) If (And (DE_0, 0x1818)) { - Store (0x00, DELN) + Store (Zero, DELN) } - CreateBitField (RSRC, \_SB.PCI0._Y10._RW, E0RW) - CreateDWordField (RSRC, \_SB.PCI0._Y10._LEN, E0LN) + CreateBitField (RSRC, ^_Y10._RW_, E0RW) + CreateDWordField (RSRC, ^_Y10._LEN, E0LN) Store (One, E0RW) Store (0x2000, E0LN) If (And (E0_0, 0x1818)) { - Store (0x00, E0LN) + Store (Zero, E0LN) } - CreateBitField (RSRC, \_SB.PCI0._Y11._RW, E2RW) - CreateDWordField (RSRC, \_SB.PCI0._Y11._LEN, E2LN) + CreateBitField (RSRC, ^_Y11._RW_, E2RW) + CreateDWordField (RSRC, ^_Y11._LEN, E2LN) Store (One, E2RW) Store (0x2000, E2LN) If (And (E2_0, 0x1818)) { - Store (0x00, E2LN) + Store (Zero, E2LN) } - CreateBitField (RSRC, \_SB.PCI0._Y12._RW, E4RW) - CreateDWordField (RSRC, \_SB.PCI0._Y12._LEN, E4LN) + CreateBitField (RSRC, ^_Y12._RW_, E4RW) + CreateDWordField (RSRC, ^_Y12._LEN, E4LN) Store (One, E4RW) Store (0x2000, E4LN) If (And (E4_0, 0x1818)) { - Store (0x00, E4LN) + Store (Zero, E4LN) } - CreateBitField (RSRC, \_SB.PCI0._Y13._RW, E6RW) - CreateDWordField (RSRC, \_SB.PCI0._Y13._LEN, E6LN) + CreateBitField (RSRC, ^_Y13._RW_, E6RW) + CreateDWordField (RSRC, ^_Y13._LEN, E6LN) Store (One, E6RW) Store (0x2000, E6LN) If (And (E6_0, 0x1818)) { - Store (0x00, E6LN) + Store (Zero, E6LN) } - CreateBitField (RSRC, \_SB.PCI0._Y14._RW, E8RW) - CreateDWordField (RSRC, \_SB.PCI0._Y14._LEN, E8LN) + CreateBitField (RSRC, ^_Y14._RW_, E8RW) + CreateDWordField (RSRC, ^_Y14._LEN, E8LN) Store (One, E8RW) Store (0x2000, E8LN) If (And (E8_0, 0x1818)) { - Store (0x00, E8LN) + Store (Zero, E8LN) } - CreateBitField (RSRC, \_SB.PCI0._Y15._RW, EARW) - CreateDWordField (RSRC, \_SB.PCI0._Y15._LEN, EALN) + CreateBitField (RSRC, ^_Y15._RW_, EARW) + CreateDWordField (RSRC, ^_Y15._LEN, EALN) Store (One, EARW) Store (0x2000, EALN) If (And (EA_0, 0x1818)) { - Store (0x00, EALN) + Store (Zero, EALN) } - CreateBitField (RSRC, \_SB.PCI0._Y16._RW, ECRW) - CreateDWordField (RSRC, \_SB.PCI0._Y16._LEN, ECLN) + CreateBitField (RSRC, ^_Y16._RW_, ECRW) + CreateDWordField (RSRC, ^_Y16._LEN, ECLN) Store (One, ECRW) Store (0x2000, ECLN) If (And (EC_0, 0x1818)) { - Store (0x00, ECLN) + Store (Zero, ECLN) } - CreateBitField (RSRC, \_SB.PCI0._Y17._RW, EERW) - CreateDWordField (RSRC, \_SB.PCI0._Y17._LEN, EELN) + CreateBitField (RSRC, ^_Y17._RW_, EERW) + CreateDWordField (RSRC, ^_Y17._LEN, EELN) Store (One, EERW) Store (0x2000, EELN) If (And (EE_0, 0x1818)) { - Store (0x00, EELN) + Store (Zero, EELN) } - CreateDWordField (RSRC, \_SB.PCI0._Y18._MIN, BT1S) - CreateDWordField (RSRC, \_SB.PCI0._Y18._MAX, BT1M) - CreateDWordField (RSRC, \_SB.PCI0._Y18._LEN, BT1L) - CreateDWordField (RSRC, \_SB.PCI0._Y19._MIN, BT2S) - CreateDWordField (RSRC, \_SB.PCI0._Y19._MAX, BT2M) - CreateDWordField (RSRC, \_SB.PCI0._Y19._LEN, BT2L) + CreateDWordField (RSRC, ^_Y18._MIN, BT1S) + CreateDWordField (RSRC, ^_Y18._MAX, BT1M) + CreateDWordField (RSRC, ^_Y18._LEN, BT1L) + CreateDWordField (RSRC, ^_Y19._MIN, BT2S) + CreateDWordField (RSRC, ^_Y19._MAX, BT2M) + CreateDWordField (RSRC, ^_Y19._LEN, BT2L) Store (BR3M (), Local0) Store (PX3H, Local2) Store (PX3S, Local1) If (Local2) { - Store (0x00, Local1) + Store (Zero, Local1) Store (TOML, Local0) } Store (TOML, BT1S) - Store (Subtract (Local0, 0x01), BT1M) + Store (Subtract (Local0, One), BT1M) Subtract (Local0, TOML, BT1L) Store (Add (Local0, Local1), BT2S) - Store (Add (Subtract (BT2M, BT2S), 0x01), BT2L) + Store (Add (Subtract (BT2M, BT2S), One), BT2L) Return (RSRC) } @@ -1301,10 +1312,10 @@ }) Method (_CRS, 0, NotSerialized) { - CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y1A._BAS, MB01) - CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y1A._LEN, ML01) - CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y1B._BAS, MB02) - CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y1B._LEN, ML02) + CreateDWordField (MEM1, ^_Y1A._BAS, MB01) + CreateDWordField (MEM1, ^_Y1A._LEN, ML01) + CreateDWordField (MEM1, ^_Y1B._BAS, MB02) + CreateDWordField (MEM1, ^_Y1B._LEN, ML02) If (GPIC) { Store (0xFEC00000, MB01) @@ -1326,24 +1337,24 @@ Package (0x04) { 0x0012FFFF, - 0x00, - 0x00, + Zero, + Zero, 0x16 }, Package (0x04) { 0x0013FFFF, - 0x00, - 0x00, + Zero, + Zero, 0x10 }, Package (0x04) { 0x0013FFFF, - 0x01, - 0x00, + One, + Zero, 0x11 }, @@ -1351,7 +1362,7 @@ { 0x0013FFFF, 0x02, - 0x00, + Zero, 0x12 }, @@ -1359,23 +1370,23 @@ { 0x0013FFFF, 0x03, - 0x00, + Zero, 0x13 }, Package (0x04) { 0x0014FFFF, - 0x00, - 0x00, + Zero, + Zero, 0x10 }, Package (0x04) { 0x0014FFFF, - 0x01, - 0x00, + One, + Zero, 0x11 }, @@ -1383,7 +1394,7 @@ { 0x0014FFFF, 0x02, - 0x00, + Zero, 0x12 }, @@ -1391,7 +1402,7 @@ { 0x0014FFFF, 0x03, - 0x00, + Zero, 0x13 } }) @@ -1403,73 +1414,73 @@ Package (0x04) { 0x0012FFFF, - 0x00, - \_SB.PCI0.LPC0.LNKG, - 0x00 + Zero, + ^LPC0.LNKG, + Zero }, Package (0x04) { 0x0013FFFF, - 0x00, - \_SB.PCI0.LPC0.LNKA, - 0x00 + Zero, + ^LPC0.LNKA, + Zero }, Package (0x04) { 0x0013FFFF, - 0x01, - \_SB.PCI0.LPC0.LNKB, - 0x00 + One, + ^LPC0.LNKB, + Zero }, Package (0x04) { 0x0013FFFF, 0x02, - \_SB.PCI0.LPC0.LNKC, - 0x00 + ^LPC0.LNKC, + Zero }, Package (0x04) { 0x0013FFFF, 0x03, - \_SB.PCI0.LPC0.LNKD, - 0x00 + ^LPC0.LNKD, + Zero }, Package (0x04) { 0x0014FFFF, - 0x00, - \_SB.PCI0.LPC0.LNKA, - 0x00 + Zero, + ^LPC0.LNKA, + Zero }, Package (0x04) { 0x0014FFFF, - 0x01, - \_SB.PCI0.LPC0.LNKB, - 0x00 + One, + ^LPC0.LNKB, + Zero }, Package (0x04) { 0x0014FFFF, 0x02, - \_SB.PCI0.LPC0.LNKC, - 0x00 + ^LPC0.LNKC, + Zero }, Package (0x04) { 0x0014FFFF, 0x03, - \_SB.PCI0.LPC0.LNKD, - 0x00 + ^LPC0.LNKD, + Zero } }) } @@ -1498,16 +1509,16 @@ Package (0x04) { 0xFFFF, - 0x00, - 0x00, + Zero, + Zero, 0x12 }, Package (0x04) { 0xFFFF, - 0x01, - 0x00, + One, + Zero, 0x13 }, @@ -1515,7 +1526,7 @@ { 0xFFFF, 0x02, - 0x00, + Zero, 0x10 }, @@ -1523,7 +1534,7 @@ { 0xFFFF, 0x03, - 0x00, + Zero, 0x11 } }) @@ -1535,33 +1546,33 @@ Package (0x04) { 0xFFFF, - 0x00, - \_SB.PCI0.LPC0.LNKC, - 0x00 + Zero, + ^^LPC0.LNKC, + Zero }, Package (0x04) { 0xFFFF, - 0x01, - \_SB.PCI0.LPC0.LNKD, - 0x00 + One, + ^^LPC0.LNKD, + Zero }, Package (0x04) { 0xFFFF, 0x02, - \_SB.PCI0.LPC0.LNKA, - 0x00 + ^^LPC0.LNKA, + Zero }, Package (0x04) { 0xFFFF, 0x03, - \_SB.PCI0.LPC0.LNKB, - 0x00 + ^^LPC0.LNKB, + Zero } }) } @@ -1569,14 +1580,14 @@ Device (VGA) { - Name (_ADR, 0x00) - Name (SWIT, 0x01) - Name (CRTA, 0x01) - Name (LCDA, 0x01) - Name (TVAA, 0x01) - Name (DVIA, 0x01) - Name (VLDF, 0x01) - OperationRegion (VIDS, PCI_Config, 0x00, 0xC8) + Name (_ADR, Zero) + Name (SWIT, One) + Name (CRTA, One) + Name (LCDA, One) + Name (TVAA, One) + Name (DVIA, One) + Name (VLDF, One) + OperationRegion (VIDS, PCI_Config, Zero, 0xC8) Field (VIDS, DWordAcc, NoLock, Preserve) { VID0, 16, @@ -1591,12 +1602,12 @@ Name (ATIB, Buffer (0x0100) {}) Method (XTIF, 2, Serialized) { - If (LEqual (Arg0, 0x00)) + If (LEqual (Arg0, Zero)) { Return (AF00 ()) } - If (LEqual (Arg0, 0x01)) + If (LEqual (Arg0, One)) { Return (AF01 ()) } @@ -1627,14 +1638,14 @@ } Else { - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) - Store (0x00, SSZE) - Store (0x00, VERN) - Store (0x00, NMSK) - Store (0x00, SFUN) + Store (Zero, SSZE) + Store (Zero, VERN) + Store (Zero, NMSK) + Store (Zero, SFUN) Return (ATIB) } } @@ -1642,12 +1653,12 @@ Method (AF00, 0, NotSerialized) { Store (0xF0, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (0x0C, SSZE) - Store (0x01, VERN) + Store (One, VERN) Store (0x11, NMSK) Store (NMSK, MSKN) Store (0xF3, SFUN) @@ -1657,42 +1668,42 @@ Method (AF01, 0, NotSerialized) { Store (0xF1, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, VMSK) CreateDWordField (ATIB, 0x06, FLGS) Store (0x0A, SSZE) Store (0x03, VMSK) - Store (0x01, FLGS) + Store (One, FLGS) Return (ATIB) } Name (PSBR, Buffer (0x04) { - 0x00, 0x00, 0x00, 0x00 + Zero, Zero, Zero, Zero }) - Name (MSKN, 0x00) - Name (SEXM, 0x00) - Name (STHG, 0x00) - Name (STHI, 0x00) - Name (SFPG, 0x00) - Name (SFPI, 0x00) - Name (SSPS, 0x00) + Name (MSKN, Zero) + Name (SEXM, Zero) + Name (STHG, Zero) + Name (STHI, Zero) + Name (SFPG, Zero) + Name (SFPI, Zero) + Name (SSPS, Zero) Name (SSDM, 0x0A) - Name (SCDY, 0x00) + Name (SCDY, Zero) Name (SACT, Buffer (0x05) { - 0x01, 0x02, 0x08, 0x03, 0x09 + One, 0x02, 0x08, 0x03, 0x09 }) Method (AF02, 0, NotSerialized) { Store (0xF2, DBGP) - CreateBitField (PSBR, 0x00, PDSW) - CreateBitField (PSBR, 0x01, PEXM) + CreateBitField (PSBR, Zero, PDSW) + CreateBitField (PSBR, One, PEXM) CreateBitField (PSBR, 0x02, PTHR) CreateBitField (PSBR, 0x03, PFPS) CreateBitField (PSBR, 0x04, PSPS) CreateBitField (PSBR, 0x05, PDCC) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, PSBI) CreateByteField (ATIB, 0x06, EXPM) CreateByteField (ATIB, 0x07, THRM) @@ -1746,70 +1757,72 @@ Method (AF05, 0, NotSerialized) { Store (0xF5, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, TSEF) CreateByteField (ATIB, 0x03, TVIF) Store (0x04, SSZE) - Store (0x00, TSEF) - Acquire (\_SB.PCI0.LPC0.PSMX, 0xFFFF) - Store (0x8D, \_SB.PCI0.LPC0.BCMD) - Store (0x05, \_SB.PCI0.LPC0.DID) - Store (ATIB, \_SB.PCI0.LPC0.INFO) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - CreateByteField (\_SB.PCI0.LPC0.INFO, 0x03, TVII) + Store (Zero, TSEF) + Acquire (^^^LPC0.PSMX, 0xFFFF) + Store (0x8D, ^^^LPC0.BCMD) + Store (0x05, ^^^LPC0.DID_) + Store (ATIB, ^^^LPC0.INFO) + Store (Zero, ^^^LPC0.SMIC) + CreateByteField (^^^LPC0.INFO, 0x03, TVII) Store (TVII, TVIF) - Release (\_SB.PCI0.LPC0.PSMX) + Release (^^^LPC0.PSMX) Return (ATIB) } Method (AF06, 1, NotSerialized) { Store (0xF6, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, TSEF) CreateByteField (ATIB, 0x03, TVIF) Store (0x04, SSZE) - Store (0x00, TSEF) + Store (Zero, TSEF) Store (Arg0, TVIF) - Acquire (\_SB.PCI0.LPC0.PSMX, 0xFFFF) - Store (0x8D, \_SB.PCI0.LPC0.BCMD) - Store (0x06, \_SB.PCI0.LPC0.DID) - Store (ATIB, \_SB.PCI0.LPC0.INFO) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - Release (\_SB.PCI0.LPC0.PSMX) + Acquire (^^^LPC0.PSMX, 0xFFFF) + Store (0x8D, ^^^LPC0.BCMD) + Store (0x06, ^^^LPC0.DID_) + Store (ATIB, ^^^LPC0.INFO) + Store (Zero, ^^^LPC0.SMIC) + Release (^^^LPC0.PSMX) + Return (ATIB) } Method (AF07, 0, NotSerialized) { Store (0xF7, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, XMOD) Store (0x03, SSZE) - Store (0x00, XMOD) - Acquire (\_SB.PCI0.LPC0.PSMX, 0xFFFF) - Store (0x8D, \_SB.PCI0.LPC0.BCMD) - Store (0x07, \_SB.PCI0.LPC0.DID) - Store (ATIB, \_SB.PCI0.LPC0.INFO) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - CreateByteField (\_SB.PCI0.LPC0.INFO, 0x02, PMOD) + Store (Zero, XMOD) + Acquire (^^^LPC0.PSMX, 0xFFFF) + Store (0x8D, ^^^LPC0.BCMD) + Store (0x07, ^^^LPC0.DID_) + Store (ATIB, ^^^LPC0.INFO) + Store (Zero, ^^^LPC0.SMIC) + CreateByteField (^^^LPC0.INFO, 0x02, PMOD) Store (PMOD, XMOD) - Release (\_SB.PCI0.LPC0.PSMX) + Release (^^^LPC0.PSMX) Return (ATIB) } Method (AF08, 1, NotSerialized) { Store (0xF8, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, XMOD) Store (0x03, SSZE) Store (Arg0, XMOD) - Acquire (\_SB.PCI0.LPC0.PSMX, 0xFFFF) - Store (0x8D, \_SB.PCI0.LPC0.BCMD) - Store (0x08, \_SB.PCI0.LPC0.DID) - Store (ATIB, \_SB.PCI0.LPC0.INFO) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - Release (\_SB.PCI0.LPC0.PSMX) + Acquire (^^^LPC0.PSMX, 0xFFFF) + Store (0x8D, ^^^LPC0.BCMD) + Store (0x08, ^^^LPC0.DID_) + Store (ATIB, ^^^LPC0.INFO) + Store (Zero, ^^^LPC0.SMIC) + Release (^^^LPC0.PSMX) + Return (ATIB) } Method (AFN1, 1, Serialized) @@ -1819,7 +1832,7 @@ Store (Arg0, Local0) And (Local0, 0x03, Local0) Store (Local0, SEXM) - CreateBitField (PSBR, 0x01, PEXM) + CreateBitField (PSBR, One, PEXM) Store (One, PEXM) Notify (VGA, 0x81) } @@ -1849,15 +1862,15 @@ } } - Name (_PSC, 0x00) + Name (_PSC, Zero) Method (_PS0, 0, NotSerialized) { - Store (0x00, _PSC) + Store (Zero, _PSC) } Method (_PS1, 0, NotSerialized) { - Store (0x01, _PSC) + Store (One, _PSC) } Method (_PS3, 0, NotSerialized) @@ -1890,18 +1903,18 @@ Method (_DCS, 0, NotSerialized) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) And (Local0, 0x02, Local0) And (Local1, 0x02, Local1) If (Local0) { - Store (0x01, CRTA) + Store (One, CRTA) } Else { - Store (0x00, CRTA) + Store (Zero, CRTA) } If (CRTA) @@ -1932,11 +1945,11 @@ { If (CRTA) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } @@ -1954,23 +1967,23 @@ Method (_DCS, 0, NotSerialized) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) - And (Local0, 0x01, Local0) - And (Local1, 0x01, Local1) + And (Local0, One, Local0) + And (Local1, One, Local1) If (Local0) { - Store (0x01, LCDA) + Store (One, LCDA) } Else { - Store (0x00, LCDA) + Store (Zero, LCDA) } If (LCDA) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { Return (0x1F) } @@ -1981,7 +1994,7 @@ } Else { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { Return (0x0F) } @@ -1996,11 +2009,11 @@ { If (LCDA) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } @@ -2014,7 +2027,7 @@ { 0x46, 0x28, - 0x00, + Zero, 0x0A, 0x14, 0x1E, @@ -2028,7 +2041,7 @@ Method (_BCM, 1, NotSerialized) { Divide (Arg0, 0x0A, Local0, Local1) - Store (Local1, \_SB.PCI0.LPC0.EC0.BRTS) + Store (Local1, ^^^^LPC0.EC0_.BRTS) } } @@ -2041,18 +2054,18 @@ Method (_DCS, 0, NotSerialized) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) And (Local0, 0x04, Local0) And (Local1, 0x04, Local1) If (Local0) { - Store (0x01, TVAA) + Store (One, TVAA) } Else { - Store (0x00, TVAA) + Store (Zero, TVAA) } If (TVAA) @@ -2083,11 +2096,11 @@ { If (TVAA) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } @@ -2105,18 +2118,18 @@ Method (_DCS, 0, NotSerialized) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) And (Local0, 0x08, Local0) And (Local1, 0x08, Local1) If (Local0) { - Store (0x01, DVIA) + Store (One, DVIA) } Else { - Store (0x00, DVIA) + Store (Zero, DVIA) } If (DVIA) @@ -2147,11 +2160,11 @@ { If (DVIA) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } @@ -2164,13 +2177,13 @@ { If (LNotEqual (VID0, 0xFFFF)) { - If (LEqual (SWIT, 0x00)) + If (LEqual (SWIT, Zero)) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) - Store (\_SB.PCI0.LPC0.INF, Local2) - If (LGreater (Local1, 0x01)) + Store (^^^LPC0.INF_, Local2) + If (LGreater (Local1, One)) { And (Local0, Local1, VLDF) And (VLDF, 0xFE, VLDF) @@ -2180,14 +2193,14 @@ { If (LEqual (Local0, 0x03)) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { STBL (0x03) } If (LEqual (Local1, 0x02)) { - STBL (0x01) + STBL (One) } If (LEqual (Local1, 0x03)) @@ -2198,9 +2211,9 @@ If (LEqual (Local0, 0x05)) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { - If (LNotEqual (Local2, 0x00)) + If (LNotEqual (Local2, Zero)) { STBL (0x04) } @@ -2212,7 +2225,7 @@ If (LEqual (Local1, 0x04)) { - STBL (0x01) + STBL (One) } If (LEqual (Local1, 0x05)) @@ -2223,14 +2236,14 @@ If (LEqual (Local0, 0x07)) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { STBL (0x03) } If (LEqual (Local1, 0x02)) { - If (LNotEqual (Local2, 0x00)) + If (LNotEqual (Local2, Zero)) { STBL (0x04) } @@ -2247,7 +2260,7 @@ If (LEqual (Local1, 0x04)) { - STBL (0x01) + STBL (One) } If (LEqual (Local1, 0x05)) @@ -2258,7 +2271,7 @@ If (LOr (LEqual (Local0, 0x09), LEqual (Local0, 0x0B))) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { STBL (0x09) } @@ -2270,13 +2283,13 @@ If (LEqual (Local1, 0x08)) { - STBL (0x01) + STBL (One) } } If (LOr (LEqual (Local0, 0x0D), LEqual (Local0, 0x0F))) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { STBL (0x09) } @@ -2298,21 +2311,21 @@ If (LEqual (Local1, 0x04)) { - STBL (0x01) + STBL (One) } } } Else { - Store (0x01, VLDF) - STBL (0x01) + Store (One, VLDF) + STBL (One) } } Else { - If (LEqual (SWIT, 0x01)) + If (LEqual (SWIT, One)) { - \_SB.PCI0.LPC0.PHSS (0x01) + ^^^LPC0.PHSS (One) } } } @@ -2320,7 +2333,7 @@ Method (STBL, 1, NotSerialized) { - If (LEqual (Arg0, 0x01)) + If (LEqual (Arg0, One)) { Store (Zero, CRTA) Store (One, LCDA) @@ -2392,7 +2405,7 @@ Store (One, DVIA) } - Notify (\_SB.PCI0.PB2.VGA, 0x80) + Notify (VGA_, 0x80) } } } @@ -2414,16 +2427,16 @@ Package (0x04) { 0xFFFF, - 0x00, - 0x00, + Zero, + Zero, 0x13 }, Package (0x04) { 0xFFFF, - 0x01, - 0x00, + One, + Zero, 0x10 }, @@ -2431,7 +2444,7 @@ { 0xFFFF, 0x02, - 0x00, + Zero, 0x11 }, @@ -2439,7 +2452,7 @@ { 0xFFFF, 0x03, - 0x00, + Zero, 0x12 } }) @@ -2451,33 +2464,33 @@ Package (0x04) { 0xFFFF, - 0x00, - \_SB.PCI0.LPC0.LNKD, - 0x00 + Zero, + ^^LPC0.LNKD, + Zero }, Package (0x04) { 0xFFFF, - 0x01, - \_SB.PCI0.LPC0.LNKA, - 0x00 + One, + ^^LPC0.LNKA, + Zero }, Package (0x04) { 0xFFFF, 0x02, - \_SB.PCI0.LPC0.LNKB, - 0x00 + ^^LPC0.LNKB, + Zero }, Package (0x04) { 0xFFFF, 0x03, - \_SB.PCI0.LPC0.LNKC, - 0x00 + ^^LPC0.LNKC, + Zero } }) } @@ -2501,16 +2514,16 @@ Package (0x04) { 0xFFFF, - 0x00, - 0x00, + Zero, + Zero, 0x10 }, Package (0x04) { 0xFFFF, - 0x01, - 0x00, + One, + Zero, 0x11 }, @@ -2518,7 +2531,7 @@ { 0xFFFF, 0x02, - 0x00, + Zero, 0x12 }, @@ -2526,7 +2539,7 @@ { 0xFFFF, 0x03, - 0x00, + Zero, 0x13 } }) @@ -2538,33 +2551,33 @@ Package (0x04) { 0xFFFF, - 0x00, - \_SB.PCI0.LPC0.LNKA, - 0x00 + Zero, + ^^LPC0.LNKA, + Zero }, Package (0x04) { 0xFFFF, - 0x01, - \_SB.PCI0.LPC0.LNKB, - 0x00 + One, + ^^LPC0.LNKB, + Zero }, Package (0x04) { 0xFFFF, 0x02, - \_SB.PCI0.LPC0.LNKC, - 0x00 + ^^LPC0.LNKC, + Zero }, Package (0x04) { 0xFFFF, 0x03, - \_SB.PCI0.LPC0.LNKD, - 0x00 + ^^LPC0.LNKD, + Zero } }) } @@ -2604,7 +2617,7 @@ Method (XPDL, 0, NotSerialized) { Store (Zero, Local0) - If (\_SB.PCI0.NBR2 ()) + If (NBR2 ()) { If (And (VC02, 0x00020000)) { @@ -2626,7 +2639,7 @@ { Store (Arg0, XPIR) Store (XPID, Local0) - Store (0x00, XPIR) + Store (Zero, XPIR) Return (Local0) } @@ -2634,7 +2647,7 @@ { Store (Arg0, XPIR) Store (Arg1, XPID) - Store (0x00, XPIR) + Store (Zero, XPIR) } Method (XPRT, 0, NotSerialized) @@ -2651,7 +2664,7 @@ Method (XPLP, 1, NotSerialized) { Store (0x2020, Local1) - Store (\_SB.PCI0.NBXR (0x00010065), Local2) + Store (NBXR (0x00010065), Local2) If (Arg0) { And (Local2, Not (Local1), Local2) @@ -2661,7 +2674,7 @@ Or (Local2, Local1, Local2) } - \_SB.PCI0.NBXW (0x00010065, Local2) + NBXW (0x00010065, Local2) } Method (XPR2, 0, NotSerialized) @@ -2672,10 +2685,10 @@ Or (Local0, 0x20, Local0) Store (Local0, LKCN) Store (0x64, Local1) - Store (0x01, Local2) + Store (One, Local2) While (LAnd (Local1, Local2)) { - Sleep (0x01) + Sleep (One) Store (LKST, Local3) If (And (Local3, 0x0800)) { @@ -2683,7 +2696,7 @@ } Else { - Store (0x00, Local2) + Store (Zero, Local2) } } @@ -2701,8 +2714,8 @@ Device (NCRD) { - Name (_ADR, 0x00) - OperationRegion (PCFG, PCI_Config, 0x00, 0x08) + Name (_ADR, Zero) + OperationRegion (PCFG, PCI_Config, Zero, 0x08) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, @@ -2711,7 +2724,7 @@ Method (_RMV, 0, NotSerialized) { - Return (0x01) + Return (One) } } @@ -2729,16 +2742,16 @@ Package (0x04) { 0xFFFF, - 0x00, - 0x00, + Zero, + Zero, 0x11 }, Package (0x04) { 0xFFFF, - 0x01, - 0x00, + One, + Zero, 0x12 }, @@ -2746,7 +2759,7 @@ { 0xFFFF, 0x02, - 0x00, + Zero, 0x13 }, @@ -2754,7 +2767,7 @@ { 0xFFFF, 0x03, - 0x00, + Zero, 0x10 } }) @@ -2766,33 +2779,33 @@ Package (0x04) { 0xFFFF, - 0x00, - \_SB.PCI0.LPC0.LNKB, - 0x00 + Zero, + ^^LPC0.LNKB, + Zero }, Package (0x04) { 0xFFFF, - 0x01, - \_SB.PCI0.LPC0.LNKC, - 0x00 + One, + ^^LPC0.LNKC, + Zero }, Package (0x04) { 0xFFFF, 0x02, - \_SB.PCI0.LPC0.LNKD, - 0x00 + ^^LPC0.LNKD, + Zero }, Package (0x04) { 0xFFFF, 0x03, - \_SB.PCI0.LPC0.LNKA, - 0x00 + ^^LPC0.LNKA, + Zero } }) } @@ -2817,7 +2830,7 @@ Return (Package (0x02) { 0x18, - 0x00 + Zero }) } } @@ -2831,16 +2844,16 @@ Package (0x04) { 0xFFFF, - 0x00, - 0x00, + Zero, + Zero, 0x12 }, Package (0x04) { 0xFFFF, - 0x01, - 0x00, + One, + Zero, 0x13 }, @@ -2848,7 +2861,7 @@ { 0xFFFF, 0x02, - 0x00, + Zero, 0x10 }, @@ -2856,7 +2869,7 @@ { 0xFFFF, 0x03, - 0x00, + Zero, 0x11 } }) @@ -2868,33 +2881,33 @@ Package (0x04) { 0xFFFF, - 0x00, - \_SB.PCI0.LPC0.LNKC, - 0x00 + Zero, + ^^LPC0.LNKC, + Zero }, Package (0x04) { 0xFFFF, - 0x01, - \_SB.PCI0.LPC0.LNKD, - 0x00 + One, + ^^LPC0.LNKD, + Zero }, Package (0x04) { 0xFFFF, 0x02, - \_SB.PCI0.LPC0.LNKA, - 0x00 + ^^LPC0.LNKA, + Zero }, Package (0x04) { 0xFFFF, 0x03, - \_SB.PCI0.LPC0.LNKB, - 0x00 + ^^LPC0.LNKB, + Zero } }) } @@ -2913,16 +2926,16 @@ Package (0x04) { 0xFFFF, - 0x00, - 0x00, + Zero, + Zero, 0x13 }, Package (0x04) { 0xFFFF, - 0x01, - 0x00, + One, + Zero, 0x10 }, @@ -2930,7 +2943,7 @@ { 0xFFFF, 0x02, - 0x00, + Zero, 0x11 }, @@ -2938,7 +2951,7 @@ { 0xFFFF, 0x03, - 0x00, + Zero, 0x12 } }) @@ -2950,33 +2963,33 @@ Package (0x04) { 0xFFFF, - 0x00, - \_SB.PCI0.LPC0.LNKD, - 0x00 + Zero, + ^^LPC0.LNKD, + Zero }, Package (0x04) { 0xFFFF, - 0x01, - \_SB.PCI0.LPC0.LNKA, - 0x00 + One, + ^^LPC0.LNKA, + Zero }, Package (0x04) { 0xFFFF, 0x02, - \_SB.PCI0.LPC0.LNKB, - 0x00 + ^^LPC0.LNKB, + Zero }, Package (0x04) { 0xFFFF, 0x03, - \_SB.PCI0.LPC0.LNKC, - 0x00 + ^^LPC0.LNKC, + Zero } }) } @@ -3016,7 +3029,7 @@ Method (XPDL, 0, NotSerialized) { Store (Zero, Local0) - If (\_SB.PCI0.NBR2 ()) + If (NBR2 ()) { If (And (VC02, 0x00020000)) { @@ -3038,7 +3051,7 @@ { Store (Arg0, XPIR) Store (XPID, Local0) - Store (0x00, XPIR) + Store (Zero, XPIR) Return (Local0) } @@ -3046,7 +3059,7 @@ { Store (Arg0, XPIR) Store (Arg1, XPID) - Store (0x00, XPIR) + Store (Zero, XPIR) } Method (XPRT, 0, NotSerialized) @@ -3063,7 +3076,7 @@ Method (XPLP, 1, NotSerialized) { Store (0x1010, Local1) - Store (\_SB.PCI0.NBXR (0x00010065), Local2) + Store (NBXR (0x00010065), Local2) If (Arg0) { And (Local2, Not (Local1), Local2) @@ -3073,7 +3086,7 @@ Or (Local2, Local1, Local2) } - \_SB.PCI0.NBXW (0x00010065, Local2) + NBXW (0x00010065, Local2) } Method (XPR2, 0, NotSerialized) @@ -3084,10 +3097,10 @@ Or (Local0, 0x20, Local0) Store (Local0, LKCN) Store (0x64, Local1) - Store (0x01, Local2) + Store (One, Local2) While (LAnd (Local1, Local2)) { - Sleep (0x01) + Sleep (One) Store (LKST, Local3) If (And (Local3, 0x0800)) { @@ -3095,7 +3108,7 @@ } Else { - Store (0x00, Local2) + Store (Zero, Local2) } } @@ -3113,8 +3126,8 @@ Device (NCRD) { - Name (_ADR, 0x00) - OperationRegion (PCFG, PCI_Config, 0x00, 0x08) + Name (_ADR, Zero) + OperationRegion (PCFG, PCI_Config, Zero, 0x08) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, @@ -3123,7 +3136,7 @@ Method (_RMV, 0, NotSerialized) { - Return (0x01) + Return (One) } } @@ -3141,16 +3154,16 @@ Package (0x04) { 0xFFFF, - 0x00, - 0x00, + Zero, + Zero, 0x10 }, Package (0x04) { 0xFFFF, - 0x01, - 0x00, + One, + Zero, 0x11 }, @@ -3158,7 +3171,7 @@ { 0xFFFF, 0x02, - 0x00, + Zero, 0x12 }, @@ -3166,7 +3179,7 @@ { 0xFFFF, 0x03, - 0x00, + Zero, 0x13 } }) @@ -3178,33 +3191,33 @@ Package (0x04) { 0xFFFF, - 0x00, - \_SB.PCI0.LPC0.LNKA, - 0x00 + Zero, + ^^LPC0.LNKA, + Zero }, Package (0x04) { 0xFFFF, - 0x01, - \_SB.PCI0.LPC0.LNKB, - 0x00 + One, + ^^LPC0.LNKB, + Zero }, Package (0x04) { 0xFFFF, 0x02, - \_SB.PCI0.LPC0.LNKC, - 0x00 + ^^LPC0.LNKC, + Zero }, Package (0x04) { 0xFFFF, 0x03, - \_SB.PCI0.LPC0.LNKD, - 0x00 + ^^LPC0.LNKD, + Zero } }) } @@ -3228,16 +3241,16 @@ Package (0x04) { 0xFFFF, - 0x00, - 0x00, + Zero, + Zero, 0x11 }, Package (0x04) { 0xFFFF, - 0x01, - 0x00, + One, + Zero, 0x12 }, @@ -3245,7 +3258,7 @@ { 0xFFFF, 0x02, - 0x00, + Zero, 0x13 }, @@ -3253,7 +3266,7 @@ { 0xFFFF, 0x03, - 0x00, + Zero, 0x10 } }) @@ -3265,33 +3278,33 @@ Package (0x04) { 0xFFFF, - 0x00, - \_SB.PCI0.LPC0.LNKB, - 0x00 + Zero, + ^^LPC0.LNKB, + Zero }, Package (0x04) { 0xFFFF, - 0x01, - \_SB.PCI0.LPC0.LNKC, - 0x00 + One, + ^^LPC0.LNKC, + Zero }, Package (0x04) { 0xFFFF, 0x02, - \_SB.PCI0.LPC0.LNKD, - 0x00 + ^^LPC0.LNKD, + Zero }, Package (0x04) { 0xFFFF, 0x03, - \_SB.PCI0.LPC0.LNKA, - 0x00 + ^^LPC0.LNKA, + Zero } }) } @@ -3329,7 +3342,7 @@ { If (Arg0) { - Store (0x01, \_SB.PCI0.LPC0.EC0.UWAK) + Store (One, ^^LPC0.EC0_.UWAK) } } } @@ -3346,7 +3359,7 @@ { If (Arg0) { - Store (0x01, \_SB.PCI0.LPC0.EC0.UWAK) + Store (One, ^^LPC0.EC0_.UWAK) } } } @@ -3363,7 +3376,7 @@ { If (Arg0) { - Store (0x01, \_SB.PCI0.LPC0.EC0.UWAK) + Store (One, ^^LPC0.EC0_.UWAK) } } } @@ -3380,7 +3393,7 @@ { If (Arg0) { - Store (0x01, \_SB.PCI0.LPC0.EC0.UWAK) + Store (One, ^^LPC0.EC0_.UWAK) } } } @@ -3397,7 +3410,7 @@ { If (Arg0) { - Store (0x01, \_SB.PCI0.LPC0.EC0.UWAK) + Store (One, ^^LPC0.EC0_.UWAK) } } } @@ -3414,7 +3427,7 @@ { If (Arg0) { - Store (0x01, \_SB.PCI0.LPC0.EC0.UWAK) + Store (One, ^^LPC0.EC0_.UWAK) } } } @@ -3422,10 +3435,10 @@ Device (SATA) { Name (_ADR, 0x00120000) - Name (B5EN, 0x00) - Name (BA_5, 0x00) + Name (B5EN, Zero) + Name (BA_5, Zero) Name (SBAR, 0xCF5F6C00) - OperationRegion (SATX, PCI_Config, 0x00, 0x28) + OperationRegion (SATX, PCI_Config, Zero, 0x28) Field (SATX, AnyAcc, NoLock, Preserve) { VIDI, 32, @@ -3436,14 +3449,14 @@ Method (GBAA, 0, Serialized) { Store (BA05, BA_5) - If (LEqual (BA_5, 0xFFFFFFFF)) + If (LEqual (BA_5, Ones)) { - Store (0x00, B5EN) + Store (Zero, B5EN) Return (SBAR) } Else { - Store (0x01, B5EN) + Store (One, B5EN) Return (BA_5) } } @@ -3509,12 +3522,12 @@ Device (PRID) { - Name (_ADR, 0x00) + Name (_ADR, Zero) Name (SPTM, Buffer (0x14) { - /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, - /* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, - /* 0010 */ 0x1F, 0x00, 0x00, 0x00 + /* 0000 */ 0x78, Zero, Zero, Zero, 0x0F, Zero, Zero, Zero, + /* 0008 */ 0x78, Zero, Zero, Zero, 0x0F, Zero, Zero, Zero, + /* 0010 */ 0x1F, Zero, Zero, Zero }) Method (_GTM, 0, NotSerialized) { @@ -3526,26 +3539,26 @@ Store (Arg0, SPTM) } - Name (PRIS, 0x00) + Name (PRIS, Zero) Method (_PS0, 0, NotSerialized) { GBAA () - If (LAnd (LOr (LEqual (TPOS, 0x40), LEqual (TPOS, 0x04)), \_SB.PCI0.SATA.B5EN)) + If (LAnd (LOr (LEqual (TPOS, 0x40), LEqual (TPOS, 0x04)), B5EN)) { - If (\_SB.PCI0.SATA.PMS1) + If (PMS1) { Store (0x32, Local0) - While (LAnd (LEqual (\_SB.PCI0.SATA.PMBY, 0x01), Local0)) + While (LAnd (LEqual (PMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } - If (\_SB.PCI0.SATA.PSS1) + If (PSS1) { Store (0x32, Local0) - While (LAnd (LEqual (\_SB.PCI0.SATA.PSBY, 0x01), Local0)) + While (LAnd (LEqual (PSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) @@ -3553,7 +3566,7 @@ } } - Store (0x00, PRIS) + Store (Zero, PRIS) } Method (_PS3, 0, NotSerialized) @@ -3568,41 +3581,41 @@ Device (P_D0) { - Name (_ADR, 0x00) + Name (_ADR, Zero) Method (_STA, 0, NotSerialized) { GBAA () - If (LEqual (B5EN, 0x00)) + If (LEqual (B5EN, Zero)) { - Return (0x00) + Return (Zero) } - If (Not (LEqual (\_SB.PCI0.SATA.PMS1, 0x00))) + If (Not (LEqual (PMS1, Zero))) { Return (0x0F) } Else { - Return (0x00) + Return (Zero) } } - Name (S12P, 0x00) + Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { GBAA () If (LAnd (LAnd (LNotEqual (TPOS, 0x40), LNotEqual (TPOS, - 0x04)), \_SB.PCI0.SATA.B5EN)) + 0x04)), B5EN)) { Store (0x32, Local0) - While (LAnd (LEqual (\_SB.PCI0.SATA.PMBY, 0x01), Local0)) + While (LAnd (LEqual (PMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } - Store (0x00, S12P) + Store (Zero, S12P) } Method (_PS3, 0, NotSerialized) @@ -3619,7 +3632,7 @@ { Store (Buffer (0x07) { - 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF + 0x03, 0x46, Zero, Zero, Zero, 0xA0, 0xEF }, Local0) Return (Local0) } @@ -3627,41 +3640,41 @@ Device (P_D1) { - Name (_ADR, 0x01) + Name (_ADR, One) Method (_STA, 0, NotSerialized) { GBAA () - If (LEqual (B5EN, 0x00)) + If (LEqual (B5EN, Zero)) { - Return (0x00) + Return (Zero) } - If (Not (LEqual (\_SB.PCI0.SATA.SMS1, 0x00))) + If (Not (LEqual (SMS1, Zero))) { Return (0x0F) } Else { - Return (0x00) + Return (Zero) } } - Name (S12P, 0x00) + Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { GBAA () If (LAnd (LAnd (LNotEqual (TPOS, 0x40), LNotEqual (TPOS, - 0x04)), \_SB.PCI0.SATA.B5EN)) + 0x04)), B5EN)) { Store (0x32, Local0) - While (LAnd (LEqual (\_SB.PCI0.SATA.PSBY, 0x01), Local0)) + While (LAnd (LEqual (PSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } - Store (0x00, S12P) + Store (Zero, S12P) } Method (_PS3, 0, NotSerialized) @@ -3678,7 +3691,7 @@ { Store (Buffer (0x07) { - 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF + 0x03, 0x46, Zero, Zero, Zero, 0xA0, 0xEF }, Local0) Return (Local0) } @@ -3687,12 +3700,12 @@ Device (SECD) { - Name (_ADR, 0x01) + Name (_ADR, One) Name (SPTM, Buffer (0x14) { - /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, - /* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, - /* 0010 */ 0x1F, 0x00, 0x00, 0x00 + /* 0000 */ 0x78, Zero, Zero, Zero, 0x0F, Zero, Zero, Zero, + /* 0008 */ 0x78, Zero, Zero, Zero, 0x0F, Zero, Zero, Zero, + /* 0010 */ 0x1F, Zero, Zero, Zero }) Method (_GTM, 0, NotSerialized) { @@ -3704,26 +3717,26 @@ Store (Arg0, SPTM) } - Name (SECS, 0x00) + Name (SECS, Zero) Method (_PS0, 0, NotSerialized) { GBAA () - If (LAnd (LOr (LEqual (TPOS, 0x40), LEqual (TPOS, 0x04)), \_SB.PCI0.SATA.B5EN)) + If (LAnd (LOr (LEqual (TPOS, 0x40), LEqual (TPOS, 0x04)), B5EN)) { - If (\_SB.PCI0.SATA.SMS1) + If (SMS1) { Store (0x32, Local0) - While (LAnd (LEqual (\_SB.PCI0.SATA.SMBY, 0x01), Local0)) + While (LAnd (LEqual (SMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } - If (\_SB.PCI0.SATA.SSS1) + If (SSS1) { Store (0x32, Local0) - While (LAnd (LEqual (\_SB.PCI0.SATA.SSBY, 0x01), Local0)) + While (LAnd (LEqual (SSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) @@ -3731,7 +3744,7 @@ } } - Store (0x00, SECS) + Store (Zero, SECS) } Method (_PS3, 0, NotSerialized) @@ -3746,41 +3759,41 @@ Device (S_D0) { - Name (_ADR, 0x00) + Name (_ADR, Zero) Method (_STA, 0, NotSerialized) { GBAA () - If (LEqual (B5EN, 0x00)) + If (LEqual (B5EN, Zero)) { - Return (0x00) + Return (Zero) } - If (Not (LEqual (\_SB.PCI0.SATA.PSS1, 0x00))) + If (Not (LEqual (PSS1, Zero))) { Return (0x0F) } Else { - Return (0x00) + Return (Zero) } } - Name (S12P, 0x00) + Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { GBAA () If (LAnd (LAnd (LNotEqual (TPOS, 0x40), LNotEqual (TPOS, - 0x04)), \_SB.PCI0.SATA.B5EN)) + 0x04)), B5EN)) { Store (0x32, Local0) - While (LAnd (LEqual (\_SB.PCI0.SATA.SMBY, 0x01), Local0)) + While (LAnd (LEqual (SMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } - Store (0x00, S12P) + Store (Zero, S12P) } Method (_PS3, 0, NotSerialized) @@ -3797,7 +3810,7 @@ { Store (Buffer (0x07) { - 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF + 0x03, 0x46, Zero, Zero, Zero, 0xA0, 0xEF }, Local0) Return (Local0) } @@ -3805,41 +3818,41 @@ Device (S_D1) { - Name (_ADR, 0x01) + Name (_ADR, One) Method (_STA, 0, NotSerialized) { GBAA () - If (LEqual (B5EN, 0x00)) + If (LEqual (B5EN, Zero)) { - Return (0x00) + Return (Zero) } - If (Not (LEqual (\_SB.PCI0.SATA.SSS0, 0x00))) + If (Not (LEqual (SSS0, Zero))) { Return (0x0F) } Else { - Return (0x00) + Return (Zero) } } - Name (S12P, 0x00) + Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { GBAA () If (LAnd (LAnd (LNotEqual (TPOS, 0x40), LNotEqual (TPOS, - 0x04)), \_SB.PCI0.SATA.B5EN)) + 0x04)), B5EN)) { Store (0x32, Local0) - While (LAnd (LEqual (\_SB.PCI0.SATA.SSBY, 0x01), Local0)) + While (LAnd (LEqual (SSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } - Store (0x00, S12P) + Store (Zero, S12P) } Method (_PS3, 0, NotSerialized) @@ -3856,7 +3869,7 @@ { Store (Buffer (0x07) { - 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF + 0x03, 0x46, Zero, Zero, Zero, 0xA0, 0xEF }, Local0) Return (Local0) } @@ -3873,45 +3886,45 @@ { If (\_SB.PCI0.SATA.PRC0) { - If (Not (LEqual (\_SB.PCI0.SATA.PMS1, 0x00))) + If (Not (LEqual (\_SB.PCI0.SATA.PMS1, Zero))) { Sleep (0x1E) } - Notify (\_SB.PCI0.SATA.PRID.P_D0, 0x01) + Notify (\_SB.PCI0.SATA.PRID.P_D0, One) Store (One, \_SB.PCI0.SATA.PRC0) } If (\_SB.PCI0.SATA.PRC1) { - If (Not (LEqual (\_SB.PCI0.SATA.SMS1, 0x00))) + If (Not (LEqual (\_SB.PCI0.SATA.SMS1, Zero))) { Sleep (0x1E) } - Notify (\_SB.PCI0.SATA.SECD.S_D0, 0x01) + Notify (\_SB.PCI0.SATA.SECD.S_D0, One) Store (One, \_SB.PCI0.SATA.PRC1) } If (\_SB.PCI0.SATA.PRC2) { - If (Not (LEqual (\_SB.PCI0.SATA.PSS1, 0x00))) + If (Not (LEqual (\_SB.PCI0.SATA.PSS1, Zero))) { Sleep (0x1E) } - Notify (\_SB.PCI0.SATA.PRID.P_D1, 0x01) + Notify (\_SB.PCI0.SATA.PRID.P_D1, One) Store (One, \_SB.PCI0.SATA.PRC2) } If (\_SB.PCI0.SATA.PRC3) { - If (Not (LEqual (\_SB.PCI0.SATA.SSS1, 0x00))) + If (Not (LEqual (\_SB.PCI0.SATA.SSS1, Zero))) { Sleep (0x1E) } - Notify (\_SB.PCI0.SATA.SECD.S_D1, 0x01) + Notify (\_SB.PCI0.SATA.SECD.S_D1, One) Store (One, \_SB.PCI0.SATA.PRC3) } } @@ -4060,7 +4073,7 @@ PEWD, 1 } - OperationRegion (GPIO, PCI_Config, 0x00, 0x0100) + OperationRegion (GPIO, PCI_Config, Zero, 0x0100) Field (GPIO, AnyAcc, NoLock, Preserve) { Offset (0x50), @@ -4158,7 +4171,7 @@ 0x1E, 0x14, 0x0F, - 0x00 + Zero }) Name (PIOT, Package (0x06) { @@ -4167,7 +4180,7 @@ 0x010E, 0xB4, 0x78, - 0x00 + Zero }) Name (PITR, Package (0x06) { @@ -4183,7 +4196,7 @@ 0x01E0, 0x96, 0x78, - 0x00 + Zero }) Name (MDTR, Package (0x04) { @@ -4216,21 +4229,21 @@ Store (Arg0, Local0) And (Local0, 0xFF, Local0) Or (Local0, 0x41544900, Local0) - Store (Local0, \_SB.PCI0.LPC0.INFO) + Store (Local0, ^^LPC0.INFO) } Method (GETT, 1, NotSerialized) { Store (And (Arg0, 0x0F), Local0) Store (ShiftRight (Arg0, 0x04), Local1) - Return (Multiply (0x1E, Add (Add (Local0, 0x01), Add (Local1, - 0x01)))) + Return (Multiply (0x1E, Add (Add (Local0, One), Add (Local1, + One)))) } Method (GTM, 1, NotSerialized) { - CreateByteField (Arg0, 0x00, PIT1) - CreateByteField (Arg0, 0x01, PIT0) + CreateByteField (Arg0, Zero, PIT1) + CreateByteField (Arg0, One, PIT0) CreateByteField (Arg0, 0x02, MDT1) CreateByteField (Arg0, 0x03, MDT0) CreateByteField (Arg0, 0x04, PICX) @@ -4240,24 +4253,24 @@ { /* 0000 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - /* 0010 */ 0x00, 0x00, 0x00, 0x00 + /* 0010 */ Zero, Zero, Zero, Zero }) - CreateDWordField (BUF, 0x00, PIO0) + CreateDWordField (BUF, Zero, PIO0) CreateDWordField (BUF, 0x04, DMA0) CreateDWordField (BUF, 0x08, PIO1) CreateDWordField (BUF, 0x0C, DMA1) CreateDWordField (BUF, 0x10, FLAG) - If (And (PICX, 0x01)) + If (And (PICX, One)) { Return (BUF) } Store (GETT (PIT0), PIO0) Store (GETT (PIT1), PIO1) - If (And (UDCX, 0x01)) + If (And (UDCX, One)) { - Or (FLAG, 0x01, FLAG) - Store (DerefOf (Index (^UDMT, And (UDMX, 0x0F))), DMA0) + Or (FLAG, One, FLAG) + Store (DerefOf (Index (UDMT, And (UDMX, 0x0F))), DMA0) } Else { @@ -4267,7 +4280,7 @@ If (And (UDCX, 0x02)) { Or (FLAG, 0x04, FLAG) - Store (DerefOf (Index (^UDMT, ShiftRight (UDMX, 0x04))), DMA1) + Store (DerefOf (Index (UDMT, ShiftRight (UDMX, 0x04))), DMA1) } Else { @@ -4280,58 +4293,58 @@ Method (STM, 3, NotSerialized) { - CreateDWordField (Arg0, 0x00, PIO0) + CreateDWordField (Arg0, Zero, PIO0) CreateDWordField (Arg0, 0x04, DMA0) CreateDWordField (Arg0, 0x08, PIO1) CreateDWordField (Arg0, 0x0C, DMA1) CreateDWordField (Arg0, 0x10, FLAG) Name (BUF, Buffer (0x07) { - 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00 + Zero, Zero, 0xFF, 0xFF, Zero, Zero, Zero }) - CreateByteField (BUF, 0x00, PIT1) - CreateByteField (BUF, 0x01, PIT0) + CreateByteField (BUF, Zero, PIT1) + CreateByteField (BUF, One, PIT0) CreateByteField (BUF, 0x02, MDT1) CreateByteField (BUF, 0x03, MDT0) CreateByteField (BUF, 0x04, PIMX) CreateByteField (BUF, 0x05, UDCX) CreateByteField (BUF, 0x06, UDMX) - Store (Match (^PIOT, MLE, PIO0, MTR, 0x00, 0x00), Local0) + Store (Match (PIOT, MLE, PIO0, MTR, Zero, Zero), Local0) Divide (Local0, 0x05, Local0) - Store (Match (^PIOT, MLE, PIO1, MTR, 0x00, 0x00), Local1) + Store (Match (PIOT, MLE, PIO1, MTR, Zero, Zero), Local1) Divide (Local1, 0x05, Local1) Store (Or (ShiftLeft (Local1, 0x04), Local0), PIMX) - Store (DerefOf (Index (^PITR, Local0)), PIT0) - Store (DerefOf (Index (^PITR, Local1)), PIT1) - If (And (FLAG, 0x01)) + Store (DerefOf (Index (PITR, Local0)), PIT0) + Store (DerefOf (Index (PITR, Local1)), PIT1) + If (And (FLAG, One)) { - Store (Match (^UDMT, MLE, DMA0, MTR, 0x00, 0x00), Local0) + Store (Match (UDMT, MLE, DMA0, MTR, Zero, Zero), Local0) Divide (Local0, 0x07, Local0) Or (UDMX, Local0, UDMX) - Or (UDCX, 0x01, UDCX) + Or (UDCX, One, UDCX) } Else { - If (LNotEqual (DMA0, 0xFFFFFFFF)) + If (LNotEqual (DMA0, Ones)) { - Store (Match (^MDMT, MLE, DMA0, MTR, 0x00, 0x00), Local0) - Store (DerefOf (Index (^MDTR, Local0)), MDT0) + Store (Match (MDMT, MLE, DMA0, MTR, Zero, Zero), Local0) + Store (DerefOf (Index (MDTR, Local0)), MDT0) } } If (And (FLAG, 0x04)) { - Store (Match (^UDMT, MLE, DMA1, MTR, 0x00, 0x00), Local0) + Store (Match (UDMT, MLE, DMA1, MTR, Zero, Zero), Local0) Divide (Local0, 0x07, Local0) Or (UDMX, ShiftLeft (Local0, 0x04), UDMX) Or (UDCX, 0x02, UDCX) } Else { - If (LNotEqual (DMA1, 0xFFFFFFFF)) + If (LNotEqual (DMA1, Ones)) { - Store (Match (^MDMT, MLE, DMA1, MTR, 0x00, 0x00), Local0) - Store (DerefOf (Index (^MDTR, Local0)), MDT1) + Store (Match (MDMT, MLE, DMA1, MTR, Zero, Zero), Local0) + Store (DerefOf (Index (MDTR, Local0)), MDT1) } } @@ -4340,8 +4353,8 @@ Method (GTF, 2, NotSerialized) { - CreateByteField (Arg1, 0x00, MDT1) - CreateByteField (Arg1, 0x01, MDT0) + CreateByteField (Arg1, Zero, MDT1) + CreateByteField (Arg1, One, MDT0) CreateByteField (Arg1, 0x02, PIMX) CreateByteField (Arg1, 0x03, UDCX) CreateByteField (Arg1, 0x04, UDMX) @@ -4349,7 +4362,7 @@ { Store (And (PIMX, 0x0F), Local0) Store (MDT0, Local1) - And (UDCX, 0x01, Local2) + And (UDCX, One, Local2) Store (And (UDMX, 0x0F), Local3) } Else @@ -4362,10 +4375,10 @@ Name (BUF, Buffer (0x0E) { - /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x03, - /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF + /* 0000 */ 0x03, Zero, Zero, Zero, Zero, 0xFF, 0xEF, 0x03, + /* 0008 */ Zero, Zero, Zero, Zero, 0xFF, 0xEF }) - CreateByteField (BUF, 0x01, PMOD) + CreateByteField (BUF, One, PMOD) CreateByteField (BUF, 0x08, DMOD) CreateByteField (BUF, 0x05, CMDA) CreateByteField (BUF, 0x0C, CMDB) @@ -4378,7 +4391,7 @@ } Else { - Store (Match (^MDMT, MLE, GETT (Local1), MTR, 0x00, 0x00), Local4) + Store (Match (MDMT, MLE, GETT (Local1), MTR, Zero, Zero), Local4) If (LLess (Local4, 0x03)) { Or (0x20, Local4, DMOD) @@ -4390,23 +4403,23 @@ Device (PRID) { - Name (_ADR, 0x00) + Name (_ADR, Zero) Method (_GTM, 0, NotSerialized) { Name (BUF, Buffer (0x07) { - 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00 + Zero, Zero, 0xFF, 0xFF, Zero, Zero, Zero }) - CreateWordField (BUF, 0x00, VPIT) + CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIC) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) - Store (^^PPIT, VPIT) - Store (^^PMDT, VMDT) - Store (^^PPIC, VPIC) - Store (^^PUDC, VUDC) - Store (^^PUDM, VUDM) + Store (PPIT, VPIT) + Store (PMDT, VMDT) + Store (PPIC, VPIC) + Store (PUDC, VUDC) + Store (PUDM, VUDM) Return (GTM (BUF)) } @@ -4414,67 +4427,67 @@ { Name (BUF, Buffer (0x07) { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + Zero, Zero, Zero, Zero, Zero, Zero, Zero }) - CreateWordField (BUF, 0x00, VPIT) + CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIM) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (STM (Arg0, Arg1, Arg2), BUF) - Store (VPIT, ^^PPIT) - Store (VMDT, ^^PMDT) - Store (VPIM, ^^PPIM) - Store (VUDC, ^^PUDC) - Store (VUDM, ^^PUDM) + Store (VPIT, PPIT) + Store (VMDT, PMDT) + Store (VPIM, PPIM) + Store (VUDC, PUDC) + Store (VUDM, PUDM) } Device (P_D0) { - Name (_ADR, 0x00) + Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { - 0x00, 0x00, 0x00, 0x00, 0x00 + Zero, Zero, Zero, Zero, Zero }) - CreateWordField (BUF, 0x00, VMDT) + CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) - Store (^^^PMDT, VMDT) - Store (^^^PPIM, VPIM) - Store (^^^PUDC, VUDC) - Store (^^^PUDM, VUDM) + Store (PMDT, VMDT) + Store (PPIM, VPIM) + Store (PUDC, VUDC) + Store (PUDM, VUDM) Return (GTF (0xA0, BUF)) } } Device (P_D1) { - Name (_ADR, 0x01) + Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { - 0x00, 0x00, 0x00, 0x00, 0x00 + Zero, Zero, Zero, Zero, Zero }) - CreateWordField (BUF, 0x00, VMDT) + CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) - Store (^^^PMDT, VMDT) - Store (^^^PPIM, VPIM) - Store (^^^PUDC, VUDC) - Store (^^^PUDM, VUDM) + Store (PMDT, VMDT) + Store (PPIM, VPIM) + Store (PUDC, VUDC) + Store (PUDM, VUDM) Return (GTF (0xB0, BUF)) } } Method (_STA, 0, NotSerialized) { - And (PPIC, 0x01, Local0) - If (LAnd (Local0, 0x01)) + And (PPIC, One, Local0) + If (LAnd (Local0, One)) { Return (Z008) } @@ -4485,19 +4498,19 @@ } Name (FWSO, "FWSO") - Name (_PSC, 0x00) + Name (_PSC, Zero) Method (_PS0, 0, NotSerialized) { Store (_PSC, Local0) - Store (0x00, _PSC) + Store (Zero, _PSC) If (LEqual (Local0, 0x03)) { - Store (0x01, \_SB.PCI0.LPC0.INF) - While (\_SB.PCI0.LPC0.INF) + Store (One, ^^^LPC0.INF_) + While (^^^LPC0.INF_) { - Store (0x20, \_SB.PCI0.LPC0.BCMD) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - If (LAnd (LEqual (\_SB.PCI0.LPC0.INF, 0x01), LGreaterEqual (\_SB.OSTB, 0x04))) + Store (0x20, ^^^LPC0.BCMD) + Store (Zero, ^^^LPC0.SMIC) + If (LAnd (LEqual (^^^LPC0.INF_, One), LGreaterEqual (OSTB, 0x04))) { Sleep (0x01F4) } @@ -4513,7 +4526,7 @@ Device (SECD) { - Name (_ADR, 0x01) + Name (_ADR, One) Method (_STA, 0, NotSerialized) { Return (Z008) @@ -4524,7 +4537,7 @@ Device (LPC0) { Name (_ADR, 0x00140003) - Mutex (PSMX, 0x00) + Mutex (PSMX, Zero) OperationRegion (PIRQ, SystemIO, 0x0C00, 0x02) Field (PIRQ, ByteAcc, NoLock, Preserve) { @@ -4558,20 +4571,20 @@ }) Method (DSPI, 0, NotSerialized) { - Store (0x00, PIRA) - Store (0x00, PIRB) - Store (0x00, PIRC) - Store (0x00, PIRD) - Store (0x00, PIRE) - Store (0x00, PIRF) - Store (0x00, PIRG) - Store (0x00, PIRH) + Store (Zero, PIRA) + Store (Zero, PIRB) + Store (Zero, PIRC) + Store (Zero, PIRD) + Store (Zero, PIRE) + Store (Zero, PIRF) + Store (Zero, PIRG) + Store (Zero, PIRH) } Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) - Name (_UID, 0x01) + Name (_UID, One) Method (_STA, 0, NotSerialized) { If (PIRA) @@ -4591,20 +4604,20 @@ Method (_DIS, 0, NotSerialized) { - Store (0x00, PIRA) + Store (Zero, PIRA) } Method (_CRS, 0, NotSerialized) { Store (IPRS, Local0) - CreateWordField (Local0, 0x01, IRQ0) - ShiftLeft (0x01, PIRA, IRQ0) + CreateWordField (Local0, One, IRQ0) + ShiftLeft (One, PIRA, IRQ0) Return (Local0) } Method (_SRS, 1, NotSerialized) { - CreateWordField (Arg0, 0x01, IRQ0) + CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRA) @@ -4634,20 +4647,20 @@ Method (_DIS, 0, NotSerialized) { - Store (0x00, PIRB) + Store (Zero, PIRB) } Method (_CRS, 0, NotSerialized) { Store (IPRS, Local0) - CreateWordField (Local0, 0x01, IRQ0) - ShiftLeft (0x01, PIRB, IRQ0) + CreateWordField (Local0, One, IRQ0) + ShiftLeft (One, PIRB, IRQ0) Return (Local0) } Method (_SRS, 1, NotSerialized) { - CreateWordField (Arg0, 0x01, IRQ0) + CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRB) @@ -4677,20 +4690,20 @@ Method (_DIS, 0, NotSerialized) { - Store (0x00, PIRC) + Store (Zero, PIRC) } Method (_CRS, 0, NotSerialized) { Store (IPRS, Local0) - CreateWordField (Local0, 0x01, IRQ0) - ShiftLeft (0x01, PIRC, IRQ0) + CreateWordField (Local0, One, IRQ0) + ShiftLeft (One, PIRC, IRQ0) Return (Local0) } Method (_SRS, 1, NotSerialized) { - CreateWordField (Arg0, 0x01, IRQ0) + CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRC) @@ -4720,20 +4733,20 @@ Method (_DIS, 0, NotSerialized) { - Store (0x00, PIRD) + Store (Zero, PIRD) } Method (_CRS, 0, NotSerialized) { Store (IPRS, Local0) - CreateWordField (Local0, 0x01, IRQ0) - ShiftLeft (0x01, PIRD, IRQ0) + CreateWordField (Local0, One, IRQ0) + ShiftLeft (One, PIRD, IRQ0) Return (Local0) } Method (_SRS, 1, NotSerialized) { - CreateWordField (Arg0, 0x01, IRQ0) + CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRD) @@ -4763,20 +4776,20 @@ Method (_DIS, 0, NotSerialized) { - Store (0x00, PIRE) + Store (Zero, PIRE) } Method (_CRS, 0, NotSerialized) { Store (IPRS, Local0) - CreateWordField (Local0, 0x01, IRQ0) - ShiftLeft (0x01, PIRE, IRQ0) + CreateWordField (Local0, One, IRQ0) + ShiftLeft (One, PIRE, IRQ0) Return (Local0) } Method (_SRS, 1, NotSerialized) { - CreateWordField (Arg0, 0x01, IRQ0) + CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRE) @@ -4806,20 +4819,20 @@ Method (_DIS, 0, NotSerialized) { - Store (0x00, PIRF) + Store (Zero, PIRF) } Method (_CRS, 0, NotSerialized) { Store (IPRS, Local0) - CreateWordField (Local0, 0x01, IRQ0) - ShiftLeft (0x01, PIRF, IRQ0) + CreateWordField (Local0, One, IRQ0) + ShiftLeft (One, PIRF, IRQ0) Return (Local0) } Method (_SRS, 1, NotSerialized) { - CreateWordField (Arg0, 0x01, IRQ0) + CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRF) @@ -4849,20 +4862,20 @@ Method (_DIS, 0, NotSerialized) { - Store (0x00, PIRG) + Store (Zero, PIRG) } Method (_CRS, 0, NotSerialized) { Store (IPRS, Local0) - CreateWordField (Local0, 0x01, IRQ0) - ShiftLeft (0x01, PIRG, IRQ0) + CreateWordField (Local0, One, IRQ0) + ShiftLeft (One, PIRG, IRQ0) Return (Local0) } Method (_SRS, 1, NotSerialized) { - CreateWordField (Arg0, 0x01, IRQ0) + CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRG) @@ -4892,20 +4905,20 @@ Method (_DIS, 0, NotSerialized) { - Store (0x00, PIRH) + Store (Zero, PIRH) } Method (_CRS, 0, NotSerialized) { Store (IPRS, Local0) - CreateWordField (Local0, 0x01, IRQ0) - ShiftLeft (0x01, PIRH, IRQ0) + CreateWordField (Local0, One, IRQ0) + ShiftLeft (One, PIRH, IRQ0) Return (Local0) } Method (_SRS, 1, NotSerialized) { - CreateWordField (Arg0, 0x01, IRQ0) + CreateWordField (Arg0, One, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRH) @@ -4933,10 +4946,10 @@ Method (RGPM, 0, NotSerialized) { - Store (\_SB.PCI0.LPC0.GPIO, Local0) + Store (GPIO, Local0) And (Local0, Not (0xC0), Local0) - Store (Local0, \_SB.PCI0.LPC0.GPIO) - Store (\_SB.PCI0.LPC0.CLGP, Local1) + Store (Local0, GPIO) + Store (CLGP, Local1) Return (Local1) } @@ -4969,19 +4982,19 @@ IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x20, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x10, // Length ) IO (Decode16, 0x00C0, // Range Minimum 0x00C0, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x20, // Length ) DMA (Compatibility, NotBusMaster, Transfer8_16, ) @@ -4997,7 +5010,7 @@ IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x0F, // Length ) IRQ (Edge, ActiveHigh, Exclusive, ) @@ -5013,13 +5026,13 @@ IO (Decode16, 0x0020, // Range Minimum 0x0020, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x00A0, // Range Minimum 0x00A0, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IRQ (Edge, ActiveHigh, Exclusive, ) @@ -5035,7 +5048,7 @@ IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IRQ (Edge, ActiveHigh, Exclusive, ) @@ -5051,8 +5064,8 @@ IO (Decode16, 0x0061, // Range Minimum 0x0061, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) }) } @@ -5065,7 +5078,7 @@ IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x04, // Length ) IRQ (Edge, ActiveHigh, Exclusive, ) @@ -5081,14 +5094,14 @@ IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IRQ (Edge, ActiveHigh, Exclusive, ) {1} @@ -5119,62 +5132,62 @@ IO (Decode16, 0x0022, // Range Minimum 0x0022, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x002E, // Range Minimum 0x002E, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x0072, // Range Minimum 0x0072, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x1080, // Range Minimum 0x1080, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x00B0, // Range Minimum 0x00B0, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x0092, // Range Minimum 0x0092, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x0220, // Range Minimum 0x0220, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x10, // Length ) IO (Decode16, 0x040B, // Range Minimum 0x040B, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x04D6, // Range Minimum 0x04D6, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x0530, // Range Minimum @@ -5185,67 +5198,67 @@ IO (Decode16, 0x0C00, // Range Minimum 0x0C00, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x0C14, // Range Minimum 0x0C14, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x0C50, // Range Minimum 0x0C50, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x03, // Length ) IO (Decode16, 0x0C6C, // Range Minimum 0x0C6C, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x0C6F, // Range Minimum 0x0C6F, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x0CD0, // Range Minimum 0x0CD0, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x0CD2, // Range Minimum 0x0CD2, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x0CD4, // Range Minimum 0x0CD4, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x0CD6, // Range Minimum 0x0CD6, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x02, // Length ) IO (Decode16, 0x0CD8, // Range Minimum 0x0CD8, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x08, // Length ) IO (Decode16, 0x8000, // Range Minimum 0x8000, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x60, // Length ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, @@ -5265,19 +5278,19 @@ IO (Decode16, 0x0F40, // Range Minimum 0x0F40, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x08, // Length ) IO (Decode16, 0x087F, // Range Minimum 0x087F, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0xFD60, // Range Minimum 0xFD60, // Range Maximum - 0x01, // Alignment + One, // Alignment 0x80, // Length ) }) @@ -5303,9 +5316,9 @@ }) Method (_CRS, 0, NotSerialized) { - CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y1C._BAS, BARX) - CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y1C._LEN, GALN) - Store (\_SB.PCI0.Z009, Local0) + CreateDWordField (MSRC, ^_Y1C._BAS, BARX) + CreateDWordField (MSRC, ^_Y1C._LEN, GALN) + Store (Z009, Local0) If (Local0) { Store (0x1000, GALN) @@ -5337,7 +5350,7 @@ Field (SMI1, AnyAcc, NoLock, Preserve) { - AccessAs (ByteAcc, 0x00), + AccessAs (ByteAcc, Zero), Offset (0x05), INF, 8, INF1, 32 @@ -5364,29 +5377,29 @@ }) Method (_STA, 0, NotSerialized) { - If (LEqual (\_SB.PCI0.SMB.HPET, One)) + If (LEqual (^^^SMB_.HPET, One)) { Return (0x0F) } Else { - Return (0x00) + Return (Zero) } } - Mutex (HPSM, 0x00) + Mutex (HPSM, Zero) Method (_CRS, 0, NotSerialized) { - CreateDWordField (CRS, \_SB.PCI0.LPC0.HPET._Y1D._BAS, HPT) + CreateDWordField (CRS, ^_Y1D._BAS, HPT) Acquire (HPSM, 0xFFFF) - Store (\_SB.PCI0.SMB.HIHP, Local0) - Store (Zero, \_SB.PCI0.SMB.HIHP) - If (LNotEqual (\_SB.PCI0.SMB.HPBS, 0x00)) + Store (^^^SMB_.HIHP, Local0) + Store (Zero, ^^^SMB_.HIHP) + If (LNotEqual (^^^SMB_.HPBS, Zero)) { - Store (\_SB.PCI0.SMB.HPBS, HPT) + Store (^^^SMB_.HPBS, HPT) } - Store (Local0, \_SB.PCI0.SMB.HIHP) + Store (Local0, ^^^SMB_.HIHP) Release (HPSM) And (HPT, 0xFFFFFFC0, HPT) Return (CRS) @@ -5396,32 +5409,32 @@ Device (ACAD) { Name (_HID, "ACPI0003") - Name (_PCL, Package (0x01) + Name (_PCL, Package (One) { - \_SB + _SB_ }) Method (_PSR, 0, NotSerialized) { If (ECOK ()) { - Return (\_SB.PCI0.LPC0.EC0.ADPT) + Return (^^EC0_.ADPT) } Else { - Return (0x01) + Return (One) } } } Method (ECOK, 0, NotSerialized) { - If (LEqual (\_SB.PCI0.LPC0.EC0.Z00B, 0x01)) + If (LEqual (^EC0_.Z00B, One)) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } @@ -5435,14 +5448,14 @@ IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum - 0x01, // Alignment - 0x01, // Length + One, // Alignment + One, // Length ) }) Method (_REG, 2, NotSerialized) @@ -5452,10 +5465,10 @@ Store (Arg1, Z00B) } - \_SB.HTEV (0x02) + HTEV (0x02) } - OperationRegion (ERAM, EmbeddedControl, 0x00, 0xFF) + OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF) Field (ERAM, ByteAcc, Lock, Preserve) { BTDT, 1, @@ -5635,81 +5648,81 @@ Method (_Q11, 0, NotSerialized) { - Notify (\_SB.PCI0.AGP.VGA.LCD, 0x87) - Notify (\_SB.PCI0.PB2.VGA.LCD, 0x87) - Notify (\_SB.VALZ, 0x80) + Notify (^^^AGP_.VGA_.LCD_, 0x87) + Notify (^^^PB2_.VGA_.LCD_, 0x87) + Notify (VALZ, 0x80) } Method (_Q12, 0, NotSerialized) { - Notify (\_SB.PCI0.AGP.VGA.LCD, 0x86) - Notify (\_SB.PCI0.PB2.VGA.LCD, 0x86) - Notify (\_SB.VALZ, 0x80) + Notify (^^^AGP_.VGA_.LCD_, 0x86) + Notify (^^^PB2_.VGA_.LCD_, 0x86) + Notify (VALZ, 0x80) } Method (_Q19, 0, NotSerialized) { Store ("=====QUERY_19=====", Debug) - Notify (\_SB.PCI0.LPC0.EC0.BT, 0x80) + Notify (BT__, 0x80) } Method (_Q1A, 0, NotSerialized) { Store ("=====QUERY_1A=====", Debug) - Notify (\_SB.PCI0.LPC0.EC0.BT, 0x90) + Notify (BT__, 0x90) } Method (_Q1C, 0, NotSerialized) { Store ("=====QUERY_1C=====", Debug) - If (\_SB.PCI0.LPC0.EC0.VIDO) + If (VIDO) { - \_SB.PCI0.AGP.VGA.DSSW () - \_SB.PCI0.PB2.VGA.DSSW () - Store (0x00, \_SB.PCI0.LPC0.EC0.VIDO) + ^^^AGP_.VGA_.DSSW () + ^^^PB2_.VGA_.DSSW () + Store (Zero, VIDO) } } Method (_Q1D, 0, NotSerialized) { Store ("=====QUERY_1E=====", Debug) - \_SB.PCI0.LPC0.EC0.PCLK () + PCLK () } Method (_Q1F, 0, NotSerialized) { Store ("=====QUERY_1F=====", Debug) - \_SB.HTEV (0x80) + HTEV (0x80) } Method (_Q22, 0, NotSerialized) { Store ("=====QUERY_22=====", Debug) Sleep (0x03E8) - Notify (\_SB.PCI0.LPC0.BAT1, 0x80) + Notify (^^BAT1, 0x80) } Method (_Q23, 0, NotSerialized) { Store ("=====QUERY_23=====", Debug) Sleep (0x03E8) - Notify (\_SB.PCI0.LPC0.BAT1, 0x80) + Notify (^^BAT1, 0x80) } Method (_Q25, 0, NotSerialized) { Store ("=====QUERY_25=====", Debug) Sleep (0x03E8) - Notify (\_SB.PCI0.LPC0.BAT1, 0x81) + Notify (^^BAT1, 0x81) Sleep (0x03E8) - Notify (\_SB.PCI0.LPC0.BAT1, 0x80) + Notify (^^BAT1, 0x80) } Method (_Q31, 0, NotSerialized) { Store ("=====QUERY_31=====", Debug) Store (0x31, P80H) - Notify (\_SB.CPIR, 0x81) + Notify (CPIR, 0x81) } Method (_Q37, 0, NotSerialized) @@ -5717,13 +5730,13 @@ Store ("=====QUERY_37=====", Debug) If (ECOK ()) { - Store (\_SB.PCI0.LPC0.EC0.ADPT, PWRS) + Store (ADPT, PWRS) } PHSS (0x0D) - Notify (\_SB.PCI0.LPC0.ACAD, 0x80) + Notify (ACAD, 0x80) Sleep (0x03E8) - Notify (\_SB.PCI0.LPC0.BAT1, 0x80) + Notify (^^BAT1, 0x80) } Method (_Q38, 0, NotSerialized) @@ -5731,18 +5744,18 @@ Store ("=====QUERY_38=====", Debug) If (ECOK ()) { - Store (\_SB.PCI0.LPC0.EC0.ADPT, PWRS) + Store (ADPT, PWRS) } PHSS (0x0D) - Notify (\_SB.PCI0.LPC0.ACAD, 0x80) + Notify (ACAD, 0x80) Sleep (0x03E8) - Notify (\_SB.PCI0.LPC0.BAT1, 0x80) + Notify (^^BAT1, 0x80) } Method (_Q43, 0, NotSerialized) { - Notify (\_SB.VALZ, 0x80) + Notify (VALZ, 0x80) } Device (BT) @@ -5756,44 +5769,44 @@ } Else { - Return (0x00) + Return (Zero) } } Method (DUSB, 0, NotSerialized) { - Store (0x00, \_SB.PCI0.LPC0.EC0.BTDT) + Store (Zero, BTDT) } Method (AUSB, 0, NotSerialized) { - Store (0x01, \_SB.PCI0.LPC0.EC0.BTDT) + Store (One, BTDT) } Method (BTPO, 0, NotSerialized) { - Store (0x01, \_SB.PCI0.LPC0.EC0.BTPW) + Store (One, BTPW) } Method (BTPF, 0, NotSerialized) { - Store (0x00, \_SB.PCI0.LPC0.EC0.BTPW) + Store (Zero, BTPW) } Method (BTST, 0, NotSerialized) { - Store (\_SB.PCI0.LPC0.EC0.BTSW, Local3) + Store (BTSW, Local3) If (Local3) { - ShiftLeft (\_SB.PCI0.LPC0.EC0.BTDT, 0x06, Local0) - ShiftLeft (\_SB.PCI0.LPC0.EC0.BTPW, 0x07, Local1) + ShiftLeft (BTDT, 0x06, Local0) + ShiftLeft (BTPW, 0x07, Local1) } Else { - Store (0x00, \_SB.PCI0.LPC0.EC0.BTDT) - Store (0x00, \_SB.PCI0.LPC0.EC0.BTPW) - Store (0x00, Local0) - Store (0x00, Local1) + Store (Zero, BTDT) + Store (Zero, BTPW) + Store (Zero, Local0) + Store (Zero, Local1) } Or (Local0, Local1, Local2) @@ -5813,8 +5826,8 @@ TSTS, 1 } - OperationRegion (ECRM, EmbeddedControl, 0x00, 0xFF) - Field (ECRM, AnyAcc, Lock, Preserve) + OperationRegion (ECRM, EmbeddedControl, Zero, 0xFF) + Field (ECRM, ByteAcc, Lock, Preserve) { Offset (0x94), ERIB, 16, @@ -5833,7 +5846,7 @@ RFRD, 16 } - Mutex (FAMX, 0x00) + Mutex (FAMX, Zero) Method (FANG, 1, NotSerialized) { Acquire (FAMX, 0xFFFF) @@ -5859,20 +5872,20 @@ Method (THRO, 1, NotSerialized) { - If (LEqual (Arg0, 0x00)) + If (LEqual (Arg0, Zero)) { - If (LEqual (\_PR.CPU0._PPC, 0x00)) + If (LEqual (\_PR.CPU0._PPC, Zero)) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } Else { - If (LEqual (Arg0, 0x01)) + If (LEqual (Arg0, One)) { Return (\_PR.CPU0._PPC) } @@ -5892,7 +5905,7 @@ Method (CLCK, 1, NotSerialized) { - Return (0x00) + Return (Zero) } Method (PCLK, 0, NotSerialized) @@ -5900,12 +5913,12 @@ Store (PTVL, Local0) Store (PPC0, Local1) Store (PPC1, Local2) - If (LGreater (Local1, 0x00)) + If (LGreater (Local1, Zero)) { Decrement (Local1) } - If (LGreater (Local2, 0x00)) + If (LGreater (Local2, Zero)) { Decrement (Local2) } @@ -5913,7 +5926,7 @@ If (LLessEqual (Local0, Local1)) { Store (Local0, \_PR.CPU0._PPC) - If (LEqual (MPEN, 0x01)) + If (LEqual (MPEN, One)) { Store (Local0, \_PR.CPU1._PPC) } @@ -5921,14 +5934,14 @@ Else { Store (Local1, \_PR.CPU0._PPC) - If (LEqual (MPEN, 0x01)) + If (LEqual (MPEN, One)) { Store (Local2, \_PR.CPU1._PPC) } } Notify (\_PR.CPU0, 0x80) - If (LEqual (MPEN, 0x01)) + If (LEqual (MPEN, One)) { Notify (\_PR.CPU1, 0x80) } @@ -5936,8 +5949,8 @@ Method (NTFY, 0, NotSerialized) { - Store (0x01, \_SB.VALZ.TECF) - Notify (\_SB.VALZ, 0x80) + Store (One, ^^^^VALZ.TECF) + Notify (VALZ, 0x80) Return (0xAA) } @@ -5947,7 +5960,7 @@ { Name (_HID, EisaId ("TOS1900")) Name (_DDN, "VALZeneral") - Name (TECF, 0x00) + Name (TECF, Zero) Method (_STA, 0, NotSerialized) { Return (0x0B) @@ -5961,13 +5974,13 @@ { If (TECF) { - Store (0x00, TECF) - Store (\_SB.PCI0.LPC0.EC0.TOHK, Local0) - Store (0x00, \_SB.PCI0.LPC0.EC0.TOHK) + Store (Zero, TECF) + Store (^^PCI0.LPC0.EC0_.TOHK, Local0) + Store (Zero, ^^PCI0.LPC0.EC0_.TOHK) } Else { - Store (0x00, Local0) + Store (Zero, Local0) } Return (Local0) @@ -5976,22 +5989,22 @@ Method (SPFC, 6, NotSerialized) { Name (TSFR, Package (0x06) {}) - Store (0x00, Index (TSFR, 0x00)) - Store (0x00, Index (TSFR, 0x01)) - Store (0x00, Index (TSFR, 0x02)) - Store (0x00, Index (TSFR, 0x03)) - Store (0x00, Index (TSFR, 0x04)) - Store (0x00, Index (TSFR, 0x05)) - CreateDWordField (Arg0, 0x00, TOI0) - CreateDWordField (Arg1, 0x00, TOI1) - CreateDWordField (Arg2, 0x00, TOI2) - CreateDWordField (Arg3, 0x00, TOI3) - CreateDWordField (Arg4, 0x00, TOI4) - CreateDWordField (Arg5, 0x00, TOI5) + Store (Zero, Index (TSFR, Zero)) + Store (Zero, Index (TSFR, One)) + Store (Zero, Index (TSFR, 0x02)) + Store (Zero, Index (TSFR, 0x03)) + Store (Zero, Index (TSFR, 0x04)) + Store (Zero, Index (TSFR, 0x05)) + CreateDWordField (Arg0, Zero, TOI0) + CreateDWordField (Arg1, Zero, TOI1) + CreateDWordField (Arg2, Zero, TOI2) + CreateDWordField (Arg3, Zero, TOI3) + CreateDWordField (Arg4, Zero, TOI4) + CreateDWordField (Arg5, Zero, TOI5) If (LAnd (LAnd (LEqual (TOI0, 0xFE00), LEqual (TOI1, 0x56)), LEqual ( - TOI3, 0x01))) + TOI3, One))) { - Or (ShiftLeft (\_SB.PCI0.LPC0.EC0.WLAT, 0x09, Local0), \_SB.PCI0.LPC0.EC0.KLSW, Local2) + Or (ShiftLeft (^^PCI0.LPC0.EC0_.WLAT, 0x09, Local0), ^^PCI0.LPC0.EC0_.KLSW, Local2) Store (Local2, Index (TSFR, 0x02)) } Else @@ -5999,66 +6012,66 @@ If (LAnd (LAnd (LEqual (TOI0, 0xFF00), LEqual (TOI1, 0x56)), LEqual ( TOI3, 0x0200))) { - If (LEqual (TOI2, 0x00)) + If (LEqual (TOI2, Zero)) { - Store (0x00, \_SB.PCI0.LPC0.EC0.WLAT) + Store (Zero, ^^PCI0.LPC0.EC0_.WLAT) } Else { - Store (0x01, \_SB.PCI0.LPC0.EC0.WLAT) + Store (One, ^^PCI0.LPC0.EC0_.WLAT) } } Else { If (LAnd (LEqual (TOI0, 0xF300), LEqual (TOI1, 0x050E))) { - If (\_SB.PCI0.LPC0.EC0.TOUP) + If (^^PCI0.LPC0.EC0_.TOUP) { - Store (0x00, Index (TSFR, 0x02)) + Store (Zero, Index (TSFR, 0x02)) } Else { - Store (0x01, Index (TSFR, 0x02)) + Store (One, Index (TSFR, 0x02)) } } Else { If (LAnd (LEqual (TOI0, 0xF400), LEqual (TOI1, 0x050E))) { - If (LEqual (TOI2, 0x00)) + If (LEqual (TOI2, Zero)) { - Store (0x01, \_SB.PCI0.LPC0.EC0.TOUP) + Store (One, ^^PCI0.LPC0.EC0_.TOUP) } Else { - Store (0x00, \_SB.PCI0.LPC0.EC0.TOUP) + Store (Zero, ^^PCI0.LPC0.EC0_.TOUP) } } Else { If (LAnd (LAnd (LEqual (TOI0, 0xFF00), LEqual (TOI1, 0x5A)), LEqual ( - TOI3, 0x01))) + TOI3, One))) { - Store (TOI2, \_SB.PCI0.LPC0.EC0.FNSF) + Store (TOI2, ^^PCI0.LPC0.EC0_.FNSF) } Else { If (LAnd (LEqual (TOI0, 0xFE00), LEqual (TOI1, 0x7F))) { - Store (\_SB.PCI0.LPC0.EC0.CLME, Index (TSFR, 0x02)) - Store (0x01, Index (TSFR, 0x03)) + Store (^^PCI0.LPC0.EC0_.CLME, Index (TSFR, 0x02)) + Store (One, Index (TSFR, 0x03)) } Else { If (LAnd (LEqual (TOI0, 0xFF00), LEqual (TOI1, 0x7F))) { - Store (TOI2, \_SB.PCI0.LPC0.EC0.CLME) + Store (TOI2, ^^PCI0.LPC0.EC0_.CLME) } Else { If (LAnd (LEqual (TOI0, 0xFE00), LEqual (TOI1, 0x62))) { - Store (0x00, Index (TSFR, 0x03)) + Store (Zero, Index (TSFR, 0x03)) } Else { @@ -6068,7 +6081,7 @@ { If (LEqual (VERT, 0x01E0)) { - Store (0x00, Index (TSFR, 0x02)) + Store (Zero, Index (TSFR, 0x02)) } Else { @@ -6230,13 +6243,13 @@ Else { If (LAnd (LAnd (LEqual (TOI0, 0xFF00), LEqual (TOI1, 0xC000)), LEqual ( - TOI2, 0x00))) {} + TOI2, Zero))) {} Else { If (LAnd (LAnd (LEqual (TOI0, 0xFE00), LEqual (TOI1, 0xC000)), LEqual ( TOI2, 0x03))) { - Store (0x01, HDPT) + Store (One, HDPT) ShiftLeft (HDPT, 0x04, Local2) Store (Local2, Index (TSFR, 0x03)) } @@ -6247,40 +6260,40 @@ And (TOI2, 0x02, Local0) If (LEqual (Local0, 0x02)) { - Store (0x00, \_SB.PCI0.LPC0.EC0.HKEV) + Store (Zero, ^^PCI0.LPC0.EC0_.HKEV) } Else { - Store (0x01, \_SB.PCI0.LPC0.EC0.HKEV) + Store (One, ^^PCI0.LPC0.EC0_.HKEV) } And (TOI2, 0x08, Local1) If (LEqual (Local1, 0x08)) { - Store (0x00, \_SB.PCI0.LPC0.EC0.HKHS) + Store (Zero, ^^PCI0.LPC0.EC0_.HKHS) } Else { - Store (0x01, \_SB.PCI0.LPC0.EC0.HKHS) + Store (One, ^^PCI0.LPC0.EC0_.HKHS) } } Else { If (LAnd (LEqual (TOI0, 0xFE00), LEqual (TOI1, 0x1E))) { - If (LAnd (LEqual (\_SB.PCI0.LPC0.EC0.HKEV, 0x01), LEqual (\_SB.PCI0.LPC0.EC0.HKHS, 0x01))) + If (LAnd (LEqual (^^PCI0.LPC0.EC0_.HKEV, One), LEqual (^^PCI0.LPC0.EC0_.HKHS, One))) { - Store (0x01, Index (TSFR, 0x02)) + Store (One, Index (TSFR, 0x02)) } Else { - If (LAnd (LEqual (\_SB.PCI0.LPC0.EC0.HKEV, 0x01), LEqual (\_SB.PCI0.LPC0.EC0.HKHS, 0x00))) + If (LAnd (LEqual (^^PCI0.LPC0.EC0_.HKEV, One), LEqual (^^PCI0.LPC0.EC0_.HKHS, Zero))) { Store (0x09, Index (TSFR, 0x02)) } Else { - If (LAnd (LEqual (\_SB.PCI0.LPC0.EC0.HKEV, 0x00), LEqual (\_SB.PCI0.LPC0.EC0.HKHS, 0x01))) + If (LAnd (LEqual (^^PCI0.LPC0.EC0_.HKEV, Zero), LEqual (^^PCI0.LPC0.EC0_.HKHS, One))) { Store (0x03, Index (TSFR, 0x02)) } @@ -6293,7 +6306,7 @@ } Else { - Store (0x8000, Index (TSFR, 0x00)) + Store (0x8000, Index (TSFR, Zero)) } } } @@ -6317,17 +6330,17 @@ Device (BAT1) { Name (_HID, EisaId ("PNP0C0A")) - Name (_UID, 0x01) - Name (_PCL, Package (0x01) + Name (_UID, One) + Name (_PCL, Package (One) { - \_SB + _SB_ }) - Name (BMDL, 0x00) + Name (BMDL, Zero) Method (_STA, 0, NotSerialized) { If (ECOK ()) { - If (\_SB.PCI0.LPC0.EC0.BAL0) + If (^^EC0_.BAL0) { Sleep (0x14) Return (0x1F) @@ -6349,10 +6362,10 @@ { Name (STAT, Package (0x0D) { - 0x01, + One, 0x0FA0, 0x0FA0, - 0x01, + One, 0x39D0, 0x01A4, 0x9C, @@ -6365,9 +6378,9 @@ }) If (ECOK ()) { - Store (\_SB.PCI0.LPC0.EC0.BDN0, Local0) + Store (^^EC0_.BDN0, Local0) Store (Local0, BMDL) - If (LOr (LEqual (BRAD, 0x01), LEqual (BRAD, 0x02))) + If (LOr (LEqual (BRAD, One), LEqual (BRAD, 0x02))) { If (LEqual (Local0, 0x02)) { @@ -6403,14 +6416,14 @@ } Sleep (0x14) - Store (\_SB.PCI0.LPC0.EC0.BDC0, BFC1) + Store (^^EC0_.BDC0, BFC1) Sleep (0x14) } Else { Store ("Li-Ion", Index (STAT, 0x0B)) Store (BDN1, Local0) - If (LEqual (BRAD, 0x01)) + If (LEqual (BRAD, One)) { If (LEqual (Local0, 0x02)) { @@ -6459,7 +6472,7 @@ Divide (BFC1, 0x64, Local0, Local1) Multiply (Local1, 0x64, Local1) Store (Local1, BFC1) - Store (Local1, Index (STAT, 0x01)) + Store (Local1, Index (STAT, One)) Store (Local1, Index (STAT, 0x02)) } @@ -6470,18 +6483,18 @@ { Name (PBST, Package (0x04) { - 0x00, - 0xFFFFFFFF, - 0xFFFFFFFF, + Zero, + Ones, + Ones, 0x39D0 }) Store (0x39D0, Local3) If (ECOK ()) { Sleep (0x14) - Store (\_SB.PCI0.LPC0.EC0.BST0, BST1) + Store (^^EC0_.BST0, BST1) Sleep (0x14) - Store (\_SB.PCI0.LPC0.EC0.GAU0, BGU1) + Store (^^EC0_.GAU0, BGU1) Sleep (0x14) } @@ -6495,15 +6508,15 @@ Multiply (BGU1, 0x28, Local2) } - Store (BST1, Index (PBST, 0x00)) - Store (0x00, Index (PBST, 0x01)) + Store (BST1, Index (PBST, Zero)) + Store (Zero, Index (PBST, One)) Store (Local2, Index (PBST, 0x02)) Store (Local3, Index (PBST, 0x03)) If (ECOK ()) { - If (LNotEqual (\_SB.PCI0.LPC0.EC0.BDN0, BMDL)) + If (LNotEqual (^^EC0_.BDN0, BMDL)) { - Notify (\_SB.PCI0.LPC0.BAT1, 0x81) + Notify (BAT1, 0x81) } } @@ -6529,16 +6542,16 @@ Package (0x04) { 0x0004FFFF, - 0x00, - 0x00, + Zero, + Zero, 0x14 }, Package (0x04) { 0x0004FFFF, - 0x01, - 0x00, + One, + Zero, 0x15 }, @@ -6546,7 +6559,7 @@ { 0x0004FFFF, 0x02, - 0x00, + Zero, 0x16 }, @@ -6554,7 +6567,7 @@ { 0x0004FFFF, 0x03, - 0x00, + Zero, 0x17 } }) @@ -6566,33 +6579,33 @@ Package (0x04) { 0x0004FFFF, - 0x00, - \_SB.PCI0.LPC0.LNKE, - 0x00 + Zero, + ^^LPC0.LNKE, + Zero }, Package (0x04) { 0x0004FFFF, - 0x01, - \_SB.PCI0.LPC0.LNKF, - 0x00 + One, + ^^LPC0.LNKF, + Zero }, Package (0x04) { 0x0004FFFF, 0x02, - \_SB.PCI0.LPC0.LNKG, - 0x00 + ^^LPC0.LNKG, + Zero }, Package (0x04) { 0x0004FFFF, 0x03, - \_SB.PCI0.LPC0.LNKH, - 0x00 + ^^LPC0.LNKH, + Zero } }) } @@ -6601,7 +6614,7 @@ Device (CBS0) { Name (_ADR, 0x00040000) - OperationRegion (CBE0, PCI_Config, 0x8A, 0x01) + OperationRegion (CBE0, PCI_Config, 0x8A, One) Field (CBE0, AnyAcc, NoLock, Preserve) { , 3, @@ -6664,16 +6677,16 @@ Package (0x04) { 0x0005FFFF, - 0x00, - 0x00, + Zero, + Zero, 0x12 }, Package (0x04) { 0x0005FFFF, - 0x01, - 0x00, + One, + Zero, 0x13 } }) @@ -6685,17 +6698,17 @@ Package (0x04) { 0x0005FFFF, - 0x00, - \_SB.PCI0.LPC0.LNKC, - 0x00 + Zero, + ^^LPC0.LNKC, + Zero }, Package (0x04) { 0x0005FFFF, - 0x01, - \_SB.PCI0.LPC0.LNKD, - 0x00 + One, + ^^LPC0.LNKD, + Zero } }) } @@ -6704,12 +6717,12 @@ Device (VGA) { Name (_ADR, 0x00050000) - Name (SWIT, 0x01) - Name (CRTA, 0x01) - Name (LCDA, 0x01) - Name (TVAA, 0x01) - Name (VLDF, 0x01) - OperationRegion (VIDS, PCI_Config, 0x00, 0xC8) + Name (SWIT, One) + Name (CRTA, One) + Name (LCDA, One) + Name (TVAA, One) + Name (VLDF, One) + OperationRegion (VIDS, PCI_Config, Zero, 0xC8) Field (VIDS, DWordAcc, NoLock, Preserve) { VID0, 16, @@ -6724,12 +6737,12 @@ Name (ATIB, Buffer (0x0100) {}) Method (XTIF, 2, Serialized) { - If (LEqual (Arg0, 0x00)) + If (LEqual (Arg0, Zero)) { Return (AF00 ()) } - If (LEqual (Arg0, 0x01)) + If (LEqual (Arg0, One)) { Return (AF01 ()) } @@ -6760,14 +6773,14 @@ } Else { - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) - Store (0x00, SSZE) - Store (0x00, VERN) - Store (0x00, NMSK) - Store (0x00, SFUN) + Store (Zero, SSZE) + Store (Zero, VERN) + Store (Zero, NMSK) + Store (Zero, SFUN) Return (ATIB) } } @@ -6775,12 +6788,12 @@ Method (AF00, 0, NotSerialized) { Store (0xF0, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (0x0C, SSZE) - Store (0x01, VERN) + Store (One, VERN) Store (0x11, NMSK) Store (NMSK, MSKN) Store (0xF3, SFUN) @@ -6790,42 +6803,42 @@ Method (AF01, 0, NotSerialized) { Store (0xF1, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, VMSK) CreateDWordField (ATIB, 0x06, FLGS) Store (0x0A, SSZE) Store (0x03, VMSK) - Store (0x01, FLGS) + Store (One, FLGS) Return (ATIB) } Name (PSBR, Buffer (0x04) { - 0x00, 0x00, 0x00, 0x00 + Zero, Zero, Zero, Zero }) - Name (MSKN, 0x00) - Name (SEXM, 0x00) - Name (STHG, 0x00) - Name (STHI, 0x00) - Name (SFPG, 0x00) - Name (SFPI, 0x00) - Name (SSPS, 0x00) + Name (MSKN, Zero) + Name (SEXM, Zero) + Name (STHG, Zero) + Name (STHI, Zero) + Name (SFPG, Zero) + Name (SFPI, Zero) + Name (SSPS, Zero) Name (SSDM, 0x0A) - Name (SCDY, 0x00) + Name (SCDY, Zero) Name (SACT, Buffer (0x05) { - 0x01, 0x02, 0x08, 0x03, 0x09 + One, 0x02, 0x08, 0x03, 0x09 }) Method (AF02, 0, NotSerialized) { Store (0xF2, DBGP) - CreateBitField (PSBR, 0x00, PDSW) - CreateBitField (PSBR, 0x01, PEXM) + CreateBitField (PSBR, Zero, PDSW) + CreateBitField (PSBR, One, PEXM) CreateBitField (PSBR, 0x02, PTHR) CreateBitField (PSBR, 0x03, PFPS) CreateBitField (PSBR, 0x04, PSPS) CreateBitField (PSBR, 0x05, PDCC) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, PSBI) CreateByteField (ATIB, 0x06, EXPM) CreateByteField (ATIB, 0x07, THRM) @@ -6879,70 +6892,72 @@ Method (AF05, 0, NotSerialized) { Store (0xF5, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, TSEF) CreateByteField (ATIB, 0x03, TVIF) Store (0x04, SSZE) - Store (0x00, TSEF) - Acquire (\_SB.PCI0.LPC0.PSMX, 0xFFFF) - Store (0x8D, \_SB.PCI0.LPC0.BCMD) - Store (0x05, \_SB.PCI0.LPC0.DID) - Store (ATIB, \_SB.PCI0.LPC0.INFO) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - CreateByteField (\_SB.PCI0.LPC0.INFO, 0x03, TVII) + Store (Zero, TSEF) + Acquire (^^^LPC0.PSMX, 0xFFFF) + Store (0x8D, ^^^LPC0.BCMD) + Store (0x05, ^^^LPC0.DID_) + Store (ATIB, ^^^LPC0.INFO) + Store (Zero, ^^^LPC0.SMIC) + CreateByteField (^^^LPC0.INFO, 0x03, TVII) Store (TVII, TVIF) - Release (\_SB.PCI0.LPC0.PSMX) + Release (^^^LPC0.PSMX) Return (ATIB) } Method (AF06, 1, NotSerialized) { Store (0xF6, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, TSEF) CreateByteField (ATIB, 0x03, TVIF) Store (0x04, SSZE) - Store (0x00, TSEF) + Store (Zero, TSEF) Store (Arg0, TVIF) - Acquire (\_SB.PCI0.LPC0.PSMX, 0xFFFF) - Store (0x8D, \_SB.PCI0.LPC0.BCMD) - Store (0x06, \_SB.PCI0.LPC0.DID) - Store (ATIB, \_SB.PCI0.LPC0.INFO) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - Release (\_SB.PCI0.LPC0.PSMX) + Acquire (^^^LPC0.PSMX, 0xFFFF) + Store (0x8D, ^^^LPC0.BCMD) + Store (0x06, ^^^LPC0.DID_) + Store (ATIB, ^^^LPC0.INFO) + Store (Zero, ^^^LPC0.SMIC) + Release (^^^LPC0.PSMX) + Return (ATIB) } Method (AF07, 0, NotSerialized) { Store (0xF7, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, XMOD) Store (0x03, SSZE) - Store (0x00, XMOD) - Acquire (\_SB.PCI0.LPC0.PSMX, 0xFFFF) - Store (0x8D, \_SB.PCI0.LPC0.BCMD) - Store (0x07, \_SB.PCI0.LPC0.DID) - Store (ATIB, \_SB.PCI0.LPC0.INFO) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - CreateByteField (\_SB.PCI0.LPC0.INFO, 0x02, PMOD) + Store (Zero, XMOD) + Acquire (^^^LPC0.PSMX, 0xFFFF) + Store (0x8D, ^^^LPC0.BCMD) + Store (0x07, ^^^LPC0.DID_) + Store (ATIB, ^^^LPC0.INFO) + Store (Zero, ^^^LPC0.SMIC) + CreateByteField (^^^LPC0.INFO, 0x02, PMOD) Store (PMOD, XMOD) - Release (\_SB.PCI0.LPC0.PSMX) + Release (^^^LPC0.PSMX) Return (ATIB) } Method (AF08, 1, NotSerialized) { Store (0xF8, DBGP) - CreateWordField (ATIB, 0x00, SSZE) + CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, XMOD) Store (0x03, SSZE) Store (Arg0, XMOD) - Acquire (\_SB.PCI0.LPC0.PSMX, 0xFFFF) - Store (0x8D, \_SB.PCI0.LPC0.BCMD) - Store (0x08, \_SB.PCI0.LPC0.DID) - Store (ATIB, \_SB.PCI0.LPC0.INFO) - Store (Zero, \_SB.PCI0.LPC0.SMIC) - Release (\_SB.PCI0.LPC0.PSMX) + Acquire (^^^LPC0.PSMX, 0xFFFF) + Store (0x8D, ^^^LPC0.BCMD) + Store (0x08, ^^^LPC0.DID_) + Store (ATIB, ^^^LPC0.INFO) + Store (Zero, ^^^LPC0.SMIC) + Release (^^^LPC0.PSMX) + Return (ATIB) } Method (AFN1, 1, Serialized) @@ -6952,7 +6967,7 @@ Store (Arg0, Local0) And (Local0, 0x03, Local0) Store (Local0, SEXM) - CreateBitField (PSBR, 0x01, PEXM) + CreateBitField (PSBR, One, PEXM) Store (One, PEXM) Notify (VGA, 0x81) } @@ -6982,15 +6997,15 @@ } } - Name (_PSC, 0x00) + Name (_PSC, Zero) Method (_PS0, 0, NotSerialized) { - Store (0x00, _PSC) + Store (Zero, _PSC) } Method (_PS1, 0, NotSerialized) { - Store (0x01, _PSC) + Store (One, _PSC) } Method (_PS3, 0, NotSerialized) @@ -7022,18 +7037,18 @@ Method (_DCS, 0, NotSerialized) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) And (Local0, 0x02, Local0) And (Local1, 0x02, Local1) If (Local0) { - Store (0x01, CRTA) + Store (One, CRTA) } Else { - Store (0x00, CRTA) + Store (Zero, CRTA) } If (CRTA) @@ -7064,11 +7079,11 @@ { If (CRTA) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } @@ -7086,23 +7101,23 @@ Method (_DCS, 0, NotSerialized) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) - And (Local0, 0x01, Local0) - And (Local1, 0x01, Local1) + And (Local0, One, Local0) + And (Local1, One, Local1) If (Local0) { - Store (0x01, LCDA) + Store (One, LCDA) } Else { - Store (0x00, LCDA) + Store (Zero, LCDA) } If (LCDA) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { Return (0x1F) } @@ -7113,7 +7128,7 @@ } Else { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { Return (0x0F) } @@ -7128,11 +7143,11 @@ { If (LCDA) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } @@ -7146,7 +7161,7 @@ { 0x46, 0x28, - 0x00, + Zero, 0x0A, 0x14, 0x1E, @@ -7160,7 +7175,7 @@ Method (_BCM, 1, NotSerialized) { Divide (Arg0, 0x0A, Local0, Local1) - Store (Local1, \_SB.PCI0.LPC0.EC0.BRTS) + Store (Local1, ^^^^LPC0.EC0_.BRTS) } } @@ -7173,18 +7188,18 @@ Method (_DCS, 0, NotSerialized) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) And (Local0, 0x04, Local0) And (Local1, 0x04, Local1) If (Local0) { - Store (0x01, TVAA) + Store (One, TVAA) } Else { - Store (0x00, TVAA) + Store (Zero, TVAA) } If (TVAA) @@ -7215,11 +7230,11 @@ { If (TVAA) { - Return (0x01) + Return (One) } Else { - Return (0x00) + Return (Zero) } } @@ -7232,13 +7247,13 @@ { If (LNotEqual (VID0, 0xFFFF)) { - If (LEqual (SWIT, 0x00)) + If (LEqual (SWIT, Zero)) { - \_SB.PCI0.LPC0.PHSS (0x0C) + ^^^LPC0.PHSS (0x0C) Store (CADL, Local0) Store (CSTE, Local1) - Store (\_SB.PCI0.LPC0.INF, Local2) - If (LGreater (Local1, 0x01)) + Store (^^^LPC0.INF_, Local2) + If (LGreater (Local1, One)) { And (Local0, Local1, VLDF) And (VLDF, 0xFE, VLDF) @@ -7248,14 +7263,14 @@ { If (LEqual (Local0, 0x03)) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { STBL (0x03) } If (LEqual (Local1, 0x02)) { - STBL (0x01) + STBL (One) } If (LEqual (Local1, 0x03)) @@ -7266,9 +7281,9 @@ If (LEqual (Local0, 0x05)) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { - If (LNotEqual (Local2, 0x00)) + If (LNotEqual (Local2, Zero)) { STBL (0x04) } @@ -7280,7 +7295,7 @@ If (LEqual (Local1, 0x04)) { - STBL (0x01) + STBL (One) } If (LEqual (Local1, 0x05)) @@ -7291,14 +7306,14 @@ If (LEqual (Local0, 0x07)) { - If (LEqual (Local1, 0x01)) + If (LEqual (Local1, One)) { STBL (0x03) } If (LEqual (Local1, 0x02)) { - If (LNotEqual (Local2, 0x00)) + If (LNotEqual (Local2, Zero)) { STBL (0x04) } @@ -7315,7 +7330,7 @@ If (LEqual (Local1, 0x04)) { - STBL (0x01) + STBL (One) } If (LEqual (Local1, 0x05)) @@ -7326,15 +7341,15 @@ } Else { - Store (0x01, VLDF) - STBL (0x01) + Store (One, VLDF) + STBL (One) } } Else { - If (LEqual (SWIT, 0x01)) + If (LEqual (SWIT, One)) { - \_SB.PCI0.LPC0.PHSS (0x01) + ^^^LPC0.PHSS (One) } } } @@ -7342,7 +7357,7 @@ Method (STBL, 1, NotSerialized) { - If (LEqual (Arg0, 0x01)) + If (LEqual (Arg0, One)) { Store (Zero, CRTA) Store (One, LCDA) @@ -7391,14 +7406,14 @@ Store (One, TVAA) } - Notify (\_SB.PCI0.AGP.VGA, 0x80) + Notify (VGA_, 0x80) } } } } } - Scope (\_GPE) + Scope (_GPE) { Method (_L04, 0, NotSerialized) { @@ -7424,19 +7439,19 @@ Method (_L15, 0, NotSerialized) { - Name (HPOK, 0x00) + Name (HPOK, Zero) If (\_SB.PCI0.SMB.GM2C) { Sleep (0x14) Store (\_SB.PCI0.LPC0.RGPM (), Local0) If (And (Local0, 0x04)) { - Store (0x00, \_SB.PCI0.SMB.GM2C) + Store (Zero, \_SB.PCI0.SMB.GM2C) Store ("HotPlug:05: Removal Event", Debug) Store (0x08, \_SB.PCI0.PB5.SLST) Store (\_SB.PCI0.PB5.NCRD.DVID, Local7) Sleep (0x0A) - Store (0x01, Local4) + Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { @@ -7444,7 +7459,7 @@ And (Local6, 0x3F, Local6) If (LLessEqual (Local6, 0x04)) { - Store (0x00, Local4) + Store (Zero, Local4) } Else { @@ -7454,9 +7469,9 @@ } } - \_SB.PCI0.XPTR (0x05, 0x00) - \_SB.PCI0.PB5.XPLP (0x00) - Store (0x01, HPOK) + \_SB.PCI0.XPTR (0x05, Zero) + \_SB.PCI0.PB5.XPLP (Zero) + Store (One, HPOK) } } Else @@ -7465,18 +7480,18 @@ Store (\_SB.PCI0.LPC0.RGPM (), Local0) If (LNot (And (Local0, 0x04))) { - Store (0x01, \_SB.PCI0.SMB.GM2C) + Store (One, \_SB.PCI0.SMB.GM2C) Store ("HotPlug:05: Insertion Event", Debug) - Store (0x00, HPOK) - \_SB.PCI0.PB5.XPLP (0x01) + Store (Zero, HPOK) + \_SB.PCI0.PB5.XPLP (One) Sleep (0xC8) - \_SB.PCI0.XPTR (0x05, 0x01) + \_SB.PCI0.XPTR (0x05, One) Sleep (0x14) - Store (0x00, Local2) + Store (Zero, Local2) While (LLess (Local2, 0x0F)) { Store (0x08, \_SB.PCI0.PB5.SLST) - Store (0x01, Local4) + Store (One, Local4) Store (0xC8, Local5) While (LAnd (Local4, Local5)) { @@ -7485,7 +7500,7 @@ If (LEqual (Local6, 0x10)) { Store ("HotPlug:05: TrainingState=0x10", Debug) - Store (0x00, Local4) + Store (Zero, Local4) } Else { @@ -7513,13 +7528,13 @@ Store (Zero, \_SB.PCI0.LPC0.SMIC) If (LEqual (\_SB.PCI0.PB5.XPR2 (), Ones)) { - Store (0x01, HPOK) + Store (One, HPOK) Store (0x10, Local2) } Else { Store ("HotPlug:05: Common Clock Retraining Failed", Debug) - Store (0x00, HPOK) + Store (Zero, HPOK) Store (0x10, Local2) } } @@ -7536,7 +7551,7 @@ Store ("HotPlug:05: Insertion Failed: Disable Training & PowerDown", Debug) Store (\_SB.PCI0.PB5.NCRD.DVID, Local7) Sleep (0x0A) - Store (0x01, Local4) + Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { @@ -7544,7 +7559,7 @@ And (Local6, 0x3F, Local6) If (LLessEqual (Local6, 0x04)) { - Store (0x00, Local4) + Store (Zero, Local4) } Else { @@ -7554,15 +7569,15 @@ } } - \_SB.PCI0.XPTR (0x05, 0x00) - \_SB.PCI0.PB5.XPLP (0x00) + \_SB.PCI0.XPTR (0x05, Zero) + \_SB.PCI0.PB5.XPLP (Zero) } } } If (HPOK) { - Notify (\_SB.PCI0.PB5, 0x00) + Notify (\_SB.PCI0.PB5, Zero) Store (0x86, \_SB.PCI0.LPC0.BCMD) Store (Zero, \_SB.PCI0.LPC0.SMIC) } @@ -7571,7 +7586,7 @@ Method (_L16, 0, NotSerialized) { Not (\_SB.PCI0.SMB.GM3C, \_SB.PCI0.SMB.GM3C) - Store (0x01, \_SB.PCI0.SMB.GM3S) + Store (One, \_SB.PCI0.SMB.GM3S) Notify (\_SB.LID, 0x80) } }