/* * Intel ACPI Component Architecture * AML Disassembler version 20051216 * * Disassembly of dsdt, Mon Apr 3 00:41:42 2006 * * Original Table Header: * Signature "DSDT" * Length 0x00003D52 (15698) * Revision 0x01 * OEM ID "INTEL " * OEM Table ID "MONTARAG" * OEM Revision 0x06040000 (100925440) * Creator ID "MSFT" * Creator Revision 0x0100000E (16777230) */ DefinitionBlock ("DSDT.aml", "DSDT", 1, "INTEL ", "MONTARAG", 0x06040000) { OperationRegion (PORT, SystemIO, 0x80, 0x02) Field (PORT, ByteAcc, NoLock, Preserve) { P80H, 8, P81H, 8 } OperationRegion (IO_T, SystemIO, 0x0800, 0x10) Field (IO_T, ByteAcc, NoLock, Preserve) { TRP0, 8 } OperationRegion (GPIO, SystemIO, 0x1180, 0x3C) Field (GPIO, ByteAcc, NoLock, Preserve) { GU00, 8, GU01, 8, GU02, 8, GU03, 8, GIO0, 8, GIO1, 8, GIO2, 8, GIO3, 8, Offset (0x0C), GL00, 8, GL01, 8, GL02, 8, GL03, 8, Offset (0x18), GB00, 8, GB01, 8, GB02, 8, GB03, 8, Offset (0x2C), GIV0, 8, GIV1, 8, GIV2, 8, GIV3, 8, GU04, 8, GU05, 8, GU06, 8, GU07, 8, GIO4, 8, GIO5, 8, GIO6, 8, GIO7, 8, , 1, , 1, CPEN, 1, Offset (0x39), GL05, 8, GL06, 8, GL07, 8 } OperationRegion (MNVS, SystemMemory, 0x0F6ECD79, 0x40) Field (MNVS, AnyAcc, Lock, Preserve) { OSYS, 16, SMIF, 8, PRM0, 8, PRM1, 8, SCIF, 8, PRM2, 8, PRM3, 8, LCKF, 8, PRM4, 8, PRM5, 8, DBGS, 8, DCKS, 4, CDCK, 4, FPEN, 8, FPST, 8, LIDS, 8, PWRS, 8, Offset (0x14), CMAP, 8, CMBP, 8, LPTP, 8, FDCP, 8, BTEN, 8, ACTT, 8, PSVT, 8, TC1V, 8, TC2V, 8, TSPV, 8, CRTT, 8, Offset (0x20), BVAL, 32, TMP0, 8, TMP1, 8, TMP2, 8, CPWR, 8, TMP4, 32, TMP5, 32, IGDS, 8, LCDA, 16, TLST, 8, CADL, 16, PADL, 16, CSTE, 16, NSTE, 16, SSTE, 16 } Mutex (MUTX, 0x00) Name (_S0, Package (0x03) { 0x00, 0x00, 0x00 }) Name (_S3, Package (0x03) { 0x05, 0x05, 0x00 }) Name (_S4, Package (0x03) { 0x06, 0x06, 0x00 }) Name (_S5, Package (0x03) { 0x07, 0x07, 0x00 }) Scope (\_PR) { Processor (CPU0, 0x00, 0x00001010, 0x06) {} } Name (\GPIC, 0x00) Name (\CTYP, 0x00) Name (\ECON, 0x00) Name (\DSEN, 0x01) Method (\_PIC, 1, NotSerialized) { Store (Arg0, GPIC) } Method (_PTS, 1, NotSerialized) { Store (Arg0, P80H) If (LEqual (Arg0, 0x04)) { \_SB.PHS (0x90) } } Method (_WAK, 1, NotSerialized) { Store (0x03, P80H) Store (\_SB.PCI0.LPCB.H_EC.ACEX, \PWRS) \_SB.PHS (0xA0) If (\PWRS) { \_SB.PHS (0x96) } Else { \_SB.PHS (0x95) } If (LEqual (Arg0, 0x03)) { \_SB.PHS (0x8A) \_SB.PHS (0x84) If (LEqual (OSYS, 0x07CE)) { Notify (\_SB.PWRB, 0x02) \_SB.PHS (0x93) } } If (LNot (LLess (OSYS, 0x07D0))) { Notify (\_PR.CPU0, 0x81) } } Scope (\_GPE) { Method (_L05, 0, NotSerialized) { Notify (\_SB.PCI0.MODM, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L0B, 0, NotSerialized) { If (LEqual (OSYS, 0x07CE)) { If (And (\_SB.PCI0.PCIB.CDB0.CDA5, 0x80)) { Store (\_SB.PCI0.PCIB.CDB0.CDA5, Local0) Store (Local0, \_SB.PCI0.PCIB.CDB0.CDA5) } If (And (\_SB.PCI0.PCIB.CDB1.CDA5, 0x80)) { Store (\_SB.PCI0.PCIB.CDB1.CDA5, Local0) Store (Local0, \_SB.PCI0.PCIB.CDB1.CDA5) } } Notify (\_SB.PCI0.PCIB, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L1D, 0, NotSerialized) { Store (\_SB.PHS1 (0x8E, 0x00), Local0) If (LEqual (Local0, 0x01)) { Notify (\_SB.PWRB, 0x02) } If (LEqual (Local0, 0x02)) { Notify (\_SB.PWRB, 0x02) } } } Method (BTTM, 1, NotSerialized) { If (FPEN) { If (FPST) { If (LNot (LLess (Arg0, BVAL))) { Store (Arg0, BVAL) Notify (\_SB.BAT1, 0x80) } } Else { If (LNot (LGreater (Arg0, BVAL))) { Store (Arg0, BVAL) Notify (\_SB.BAT1, 0x80) } } } Else { If (PWRS) { If (LNot (LLess (Arg0, BVAL))) { Store (Arg0, BVAL) Notify (\_SB.BAT1, 0x80) } } Else { If (LNot (LGreater (Arg0, BVAL))) { Store (Arg0, BVAL) Notify (\_SB.BAT1, 0x80) } } } } Method (HKDS, 1, Serialized) { If (LEqual (0x00, DSEN)) { Store (Arg0, SMIF) Store (0x00, TRP0) If (LEqual (SMIF, 0x00)) { Notify (\_SB.PCI0, 0x00) Sleep (0x03E8) If (LNot (LEqual (CADL, PADL))) { Store (CADL, PADL) } Notify (\_SB.PCI0.GFX0, 0x80) } } If (LEqual (0x01, DSEN)) { Store (Increment (Arg0), SMIF) Store (0x00, TRP0) If (LEqual (SMIF, 0x00)) { Notify (\_SB.PCI0.GFX0, 0x81) } } } Method (LSDS, 1, Serialized) { If (Arg0) { HKDS (0x0C) } Else { HKDS (0x0E) } } Scope (\_TZ) { ThermalZone (THRM) { Method (_TMP, 0, NotSerialized) { If (LEqual (\ECON, 0x01)) { Store (\_SB.PCI0.LPCB.H_EC.CTMP, Local0) If (LNot (LEqual (Local0, 0xFF))) { Multiply (Local0, 0x0A, Local0) Add (Local0, 0x0AAC, Local0) Return (Local0) } } Return (0x0C1C) } Method (_AC0, 0, NotSerialized) { Store (0x41, Local0) Multiply (Local0, 0x0A, Local0) Add (Local0, 0x0AAC, Local0) Return (Local0) } Name (_AL0, Package (0x01) { FAN0 }) Method (XPSV, 0, NotSerialized) { Store (0x78, Local0) Multiply (Local0, 0x0A, Local0) Add (Local0, 0x0AAC, Local0) Return (Local0) } Name (XPSL, Package (0x01) { \_PR.CPU0 }) Method (_CRT, 0, NotSerialized) { Store (0x78, Local0) Multiply (Local0, 0x0A, Local0) Add (Local0, 0x0AAC, Local0) Return (Local0) } Method (_SCP, 1, NotSerialized) { Store ("Not Support", Debug) } Name (_TC1, 0x04) Name (_TC2, 0x03) Name (_TSP, 0x012C) } } PowerResource (PFAN, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (FANE) } Method (_ON, 0, NotSerialized) { Store (0x01, FANE) } Method (_OFF, 0, NotSerialized) { Store (0x00, FANE) } } Name (FANE, 0x01) Device (FAN0) { Name (_HID, EisaId ("PNP0C0B")) Name (_PR0, Package (0x01) { PFAN }) } Scope (\_SB) { Device (ADP1) { Name (_HID, "ACPI0003") Method (_PSR, 0, NotSerialized) { If (LEqual (\ECON, 0x00)) { Store (\_SB.PHS1 (0x96, 0x02), Local0) } Else { Store (\_SB.PCI0.LPCB.H_EC.ACEX, Local0) } Return (Local0) } Method (_PCL, 0, NotSerialized) { Return (\_SB) } Method (_STA, 0, NotSerialized) { If (LEqual (\ECON, 0x00)) { Store (0x0F, Local0) } Else { If (LEqual (\_SB.PCI0.LPCB.H_EC.ACEX, 0x00)) { Store (0x1F, Local0) } Else { Store (0x0F, Local0) } } Return (Local0) } } Device (BAT1) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, 0x01) Name (BATI, Package (0x0D) { 0x01, 0xFFFFFFFF, 0xFFFFFFFF, 0x01, 0xFFFFFFFF, 0x03, 0x0A, 0x01, 0x01, "Unknown", "Unknown", "Unknown", "Unknown" }) Method (_BIF, 0, NotSerialized) { If (LEqual (\ECON, 0x00)) { Store (\_SB.PHS2 (0x8C, 0xB0, 0x00), Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (BATI, 0x01)) } Else { Store (Local0, Index (BATI, 0x01)) } Store (\_SB.PHS2 (0x8C, 0xB2, 0x00), Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (BATI, 0x02)) } Else { Store (Local0, Index (BATI, 0x02)) } Store (\_SB.PHS2 (0x8C, 0xB4, 0x00), Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (BATI, 0x04)) } Else { Store (Local0, Index (BATI, 0x04)) } Store (0x00, Index (BATI, 0x05)) Store (\_SB.PHS2 (0x8C, 0xB6, 0x00), Local0) If (LEqual (Local0, 0xFFFF)) { Store (Zero, Index (BATI, 0x06)) } Else { Store (Local0, Index (BATI, 0x06)) } } Else { Store (\_SB.PCI0.LPCB.H_EC.B1AF, Local3) Store (\_SB.PCI0.LPCB.H_EC.B1VL, Local4) Store (Local3, Local0) And (Local0, 0xFFFF, Local0) ShiftLeft (Local0, 0x08, Local1) And (Local1, 0xFF00, Local1) ShiftRight (Local0, 0x08, Local0) Or (Local0, Local1, Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (BATI, 0x01)) } Else { Store (Local0, Index (BATI, 0x01)) } Store (Local3, Local0) ShiftRight (Local0, 0x10, Local0) And (Local0, 0xFFFF, Local0) ShiftLeft (Local0, 0x08, Local1) And (Local1, 0xFF00, Local1) ShiftRight (Local0, 0x08, Local0) Or (Local0, Local1, Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (BATI, 0x02)) } Else { Store (Local0, Index (BATI, 0x02)) } Store (Local4, Local0) And (Local0, 0xFFFF, Local0) ShiftLeft (Local0, 0x08, Local1) And (Local1, 0xFF00, Local1) ShiftRight (Local0, 0x08, Local0) Or (Local0, Local1, Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (BATI, 0x04)) } Else { Store (Local0, Index (BATI, 0x04)) } Store (0x00, Index (BATI, 0x05)) Store (Local4, Local0) ShiftRight (Local0, 0x10, Local0) And (Local0, 0xFFFF, Local0) ShiftLeft (Local0, 0x08, Local1) And (Local1, 0xFF00, Local1) ShiftRight (Local0, 0x08, Local0) Or (Local0, Local1, Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (BATI, 0x06)) } Else { Store (Local0, Index (BATI, 0x06)) } } Store ("", Index (BATI, 0x09)) Store ("", Index (BATI, 0x0A)) Store ("LION", Index (BATI, 0x0B)) Store ("SAMSUNG Electronics", Index (BATI, 0x0C)) Return (BATI) } Name (STAT, Package (0x04) { 0x00, 0x00, 0x00, 0x00 }) Method (_BST, 0, NotSerialized) { If (LEqual (\ECON, 0x00)) { Store (\_SB.PHS2 (0x8B, 0x84, 0x00), Local0) If (LAnd (LNot (LEqual (Local0, 0x00)), LNot (LEqual (Local0, 0x05)))) { If (LEqual (\PWRS, 0x01)) { Store (0x02, Local0) } Else { Store (0x01, Local0) } } Store (Local0, Index (STAT, 0x00)) Store (\_SB.PHS2 (0x8C, 0xA4, 0x00), Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (STAT, 0x01)) } Else { If (LNot (LLess (Local0, 0x8000))) { XOr (Local0, 0xFFFF, Local0) Increment (Local0) } Store (Local0, Index (STAT, 0x01)) } Store (\_SB.PHS2 (0x8C, 0xA2, 0x00), Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (STAT, 0x02)) } Else { Store (Local0, Index (STAT, 0x02)) } Store (\_SB.PHS2 (0x8C, 0xA6, 0x00), Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (STAT, 0x03)) } Else { Store (Local0, Index (STAT, 0x03)) } } Else { Store (\_SB.PCI0.LPCB.H_EC.B1RR, Local3) Store (\_SB.PCI0.LPCB.H_EC.B1PV, Local4) Store (Local3, Local0) And (Local0, 0xFF, Local0) If (LAnd (LNot (LEqual (Local0, 0x00)), LNot (LEqual (Local0, 0x05)))) { If (LEqual (\PWRS, 0x01)) { Store (0x02, Local0) } Else { Store (0x01, Local0) } } Store (Local0, Index (STAT, 0x00)) Store (Local4, Local0) And (Local0, 0xFFFF, Local0) ShiftLeft (Local0, 0x08, Local1) And (Local1, 0xFF00, Local1) ShiftRight (Local0, 0x08, Local0) Or (Local0, Local1, Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (STAT, 0x01)) } Else { If (LNot (LLess (Local0, 0x8000))) { XOr (Local0, 0xFFFF, Local0) Increment (Local0) } Store (Local0, Index (STAT, 0x01)) } Store (Local3, Local0) ShiftRight (Local0, 0x10, Local0) And (Local0, 0xFFFF, Local0) ShiftLeft (Local0, 0x08, Local1) And (Local1, 0xFF00, Local1) ShiftRight (Local0, 0x08, Local0) Or (Local0, Local1, Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (STAT, 0x02)) } Else { Store (Local0, Index (STAT, 0x02)) } Store (Local4, Local0) ShiftRight (Local0, 0x10, Local0) And (Local0, 0xFFFF, Local0) ShiftLeft (Local0, 0x08, Local1) And (Local1, 0xFF00, Local1) ShiftRight (Local0, 0x08, Local0) Or (Local0, Local1, Local0) If (LEqual (Local0, 0xFFFF)) { Store (0xFFFFFFFF, Index (STAT, 0x03)) } Else { Store (Local0, Index (STAT, 0x03)) } } Return (STAT) } Method (_STA, 0, NotSerialized) { If (LEqual (\ECON, 0x00)) { If (LEqual (\_SB.PHS1 (0x81, 0x00), 0x01)) { Store (0x1F, Local0) } Else { Store (0x0F, Local0) } } Else { If (LEqual (\_SB.PCI0.LPCB.H_EC.B1EX, 0x01)) { Store (0x1F, Local0) } Else { Store (0x0F, Local0) } } Return (Local0) } Method (_PCL, 0, NotSerialized) { Return (\_SB) } } OperationRegion (PHSD, SystemMemory, 0x0F6FCDBD, 0x00000190) Field (PHSD, AnyAcc, NoLock, Preserve) { BCMD, 8, DID, 32, INFO, 3152, Offset (0x190) } Field (PHSD, AnyAcc, NoLock, Preserve) { Offset (0x05), INF, 8, INF1, 8, INF2, 8, INF3, 8 } Field (PHSD, AnyAcc, NoLock, Preserve) { Offset (0x05), INFW, 16 } Field (PHSD, AnyAcc, NoLock, Preserve) { Offset (0x05), INFD, 32 } OperationRegion (PHSI, SystemIO, 0x0000FE00, 0x00000002) Field (PHSI, AnyAcc, NoLock, Preserve) { SMIC, 8 } Mutex (MPHS, 0x00) Method (PHS, 1, Serialized) { Acquire (MPHS, 0xFFFF) Store (Arg0, BCMD) Store (Zero, SMIC) Store (0x00, BCMD) Store (INF, Local7) Release (MPHS) Return (Local7) } Method (PHSR, 1, Serialized) { Acquire (MPHS, 0xFFFF) Store (Arg0, BCMD) Store (Zero, SMIC) Store (0x00, BCMD) Store (INFD, Local7) Release (MPHS) Return (Local7) } Method (PHS1, 2, Serialized) { Acquire (MPHS, 0xFFFF) Store (Arg0, BCMD) Store (Arg1, INF) Store (Zero, SMIC) Store (0x00, BCMD) Store (INF, Local7) Release (MPHS) Return (Local7) } Method (PHS2, 3, Serialized) { Acquire (MPHS, 0xFFFF) Store (Arg0, BCMD) Store (Arg1, INF) Store (Arg2, INF1) Store (Zero, SMIC) Store (0x00, BCMD) Store (INFW, Local7) Release (MPHS) Return (Local7) } Method (PHS4, 5, Serialized) { Acquire (MPHS, 0xFFFF) Store (Arg0, BCMD) Store (Arg1, INF) Store (Arg2, INF1) Store (Arg3, INF2) Store (Arg4, INF3) Store (Zero, SMIC) Store (0x00, BCMD) Store (INFD, Local7) Release (MPHS) Return (Local7) } Device (LID0) { Name (_HID, EisaId ("PNP0C0D")) Method (_STA, 0, NotSerialized) { Return (0x0F) } Method (_LID, 0, NotSerialized) { If (\ECON) { If (LEqual (\_SB.PCI0.LPCB.H_EC.LIDS, 0x01)) { Return (0x01) } } Return (0x00) } } Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) Method (_STA, 0, NotSerialized) { Return (0x0F) } } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C")) Name (_PRW, Package (0x02) { 0x1D, 0x04 }) } Device (PCI0) { Method (_INI, 0, NotSerialized) { Store (\_SB.PHS1 (0x81, 0x02), Local0) If (LNot (LEqual (Local0, 0x01))) { \_SB.PHS (0x95) } If (CondRefOf (\_OSI, Local0)) { Store (0x07D1, OSYS) \_SB.PHS (0x88) } Else { If (LEqual (SizeOf (_OS), 0x14)) { Store (0x07D0, OSYS) Store (0xA7, P80H) \_SB.PHS (0x87) } Else { If (LEqual (SizeOf (_OS), 0x27)) { Store (0x07CF, OSYS) \_SB.PHS (0x86) } Else { Store (0x07CE, OSYS) \_SB.PHS (0x85) } } } If (LNot (LGreater (OSYS, 0x07CF))) { Store (0x01, ECON) } } Method (_S1D, 0, NotSerialized) { If (LEqual (OSYS, 0x07CF)) { Return (0x02) } Return (0x01) } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } Name (_HID, EisaId ("PNP0A03")) Name (_ADR, 0x00) Name (_BBN, 0x00) OperationRegion (HBUS, PCI_Config, 0x40, 0xC0) Field (HBUS, DWordAcc, NoLock, Preserve) { Offset (0x18), , 7, HENA, 1, , 4, PM0H, 2, Offset (0x1A), PM1L, 2, , 2, PM1H, 2, Offset (0x1B), PM2L, 2, , 2, PM2H, 2, Offset (0x1C), PM3L, 2, , 2, PM3H, 2, Offset (0x1D), PM4L, 2, , 2, PM4H, 2, Offset (0x1E), PM5L, 2, , 2, PM5H, 2, Offset (0x1F), PM6L, 2, , 2, PM6H, 2, Offset (0x20) } Name (BUF0, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Address Space Granularity 0x0000, // Address Range Minimum 0x00FF, // Address Range Maximum 0x0000, // Address Translation Offset 0x0100, // Address Length 0x00,,) DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, // Address Space Granularity 0x00000000, // Address Range Minimum 0x00000CF7, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00000CF8, // Address Length 0x00,,, TypeStatic) IO (Decode16, 0x0CF8, // Address Range Minimum 0x0CF8, // Address Range Maximum 0x01, // Address Alignment 0x08, // Address Length ) DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, // Address Space Granularity 0x00000D00, // Address Range Minimum 0x0000FFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x0000F300, // Address Length 0x00,,, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000A0000, // Address Range Minimum 0x000BFFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00020000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000C0000, // Address Range Minimum 0x000C3FFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000C4000, // Address Range Minimum 0x000C7FFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000C8000, // Address Range Minimum 0x000CBFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000CC000, // Address Range Minimum 0x000CFFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000D0000, // Address Range Minimum 0x000D3FFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000D4000, // Address Range Minimum 0x000D7FFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000D8000, // Address Range Minimum 0x000DBFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000DC000, // Address Range Minimum 0x000DFFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000E0000, // Address Range Minimum 0x000E3FFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000E4000, // Address Range Minimum 0x000E7FFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000E8000, // Address Range Minimum 0x000EBFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000EC000, // Address Range Minimum 0x000EFFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00004000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x000F0000, // Address Range Minimum 0x000FFFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00010000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x00000000, // Address Range Minimum 0xFEBFFFFF, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00000000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Address Space Granularity 0x00000000, // Address Range Minimum 0x00000000, // Address Range Maximum 0x00000000, // Address Translation Offset 0x00000000, // Address Length 0x00,,, AddressRangeMemory, TypeStatic) }) Method (_CRS, 0, Serialized) { If (PM1L) { CreateDWordField (BUF0, 0x80, C0LN) Store (Zero, C0LN) } If (LEqual (PM1L, 0x01)) { CreateBitField (BUF0, 0x0378, C0RW) Store (Zero, C0RW) } If (PM1H) { CreateDWordField (BUF0, 0x9B, C4LN) Store (Zero, C4LN) } If (LEqual (PM1H, 0x01)) { CreateBitField (BUF0, 0x0450, C4RW) Store (Zero, C4RW) } If (PM2L) { CreateDWordField (BUF0, 0xB6, C8LN) Store (Zero, C8LN) } If (LEqual (PM2L, 0x01)) { CreateBitField (BUF0, 0x0528, C8RW) Store (Zero, C8RW) } If (PM2H) { CreateDWordField (BUF0, 0xD1, CCLN) Store (Zero, CCLN) } If (LEqual (PM2H, 0x01)) { CreateBitField (BUF0, 0x0600, CCRW) Store (Zero, CCRW) } If (PM3L) { CreateDWordField (BUF0, 0xEC, D0LN) Store (Zero, D0LN) } If (LEqual (PM3L, 0x01)) { CreateBitField (BUF0, 0x06D8, D0RW) Store (Zero, D0RW) } If (PM3H) { CreateDWordField (BUF0, 0x0107, D4LN) Store (Zero, D4LN) } If (LEqual (PM3H, 0x01)) { CreateBitField (BUF0, 0x07B0, D4RW) Store (Zero, D4RW) } If (PM4L) { CreateDWordField (BUF0, 0x0122, D8LN) Store (Zero, D8LN) } If (LEqual (PM4L, 0x01)) { CreateBitField (BUF0, 0x0888, D8RW) Store (Zero, D8RW) } If (PM4H) { CreateDWordField (BUF0, 0x013D, DCLN) Store (Zero, DCLN) } If (LEqual (PM4H, 0x01)) { CreateBitField (BUF0, 0x0960, DCRW) Store (Zero, DCRW) } If (PM5L) { CreateDWordField (BUF0, 0x0158, E0LN) Store (Zero, E0LN) } If (LEqual (PM5L, 0x01)) { CreateBitField (BUF0, 0x0A38, E0RW) Store (Zero, E0RW) } If (PM5H) { CreateDWordField (BUF0, 0x0173, E4LN) Store (Zero, E4LN) } If (LEqual (PM5H, 0x01)) { CreateBitField (BUF0, 0x0B10, E4RW) Store (Zero, E4RW) } If (PM6L) { CreateDWordField (BUF0, 0x018E, E8LN) Store (Zero, E8LN) } If (LEqual (PM6L, 0x01)) { CreateBitField (BUF0, 0x0BE8, E8RW) Store (Zero, E8RW) } If (PM6H) { CreateDWordField (BUF0, 0x01A9, ECLN) Store (Zero, ECLN) } If (LEqual (PM6H, 0x01)) { CreateBitField (BUF0, 0x0CC0, ECRW) Store (Zero, ECRW) } If (PM0H) { CreateDWordField (BUF0, 0x01C4, F0LN) Store (Zero, F0LN) } If (LEqual (PM0H, 0x01)) { CreateBitField (BUF0, 0x0D98, F0RW) Store (Zero, F0RW) } CreateDWordField (BUF0, 0x01D3, M1MN) CreateDWordField (BUF0, 0x01D7, M1MX) CreateDWordField (BUF0, 0x01DF, M1LN) Multiply (0x02000000, \_SB.PCI0.MBUS.DRB3, M1MN) Add (Subtract (M1MX, M1MN), 0x01, M1LN) ShiftRight (And (\_SB.PCI0.LPCB.HPTE, 0x00038000), 0x0F, Local0) If (And (Local0, 0x04)) { CreateDWordField (BUF0, 0x01EE, M2MN) CreateDWordField (BUF0, 0x01F2, M2MX) CreateDWordField (BUF0, 0x01FA, M2LN) Store (0xFED00000, M2MN) Store (0xFED003FF, M2MX) Store (0x0400, M2LN) If (LEqual (Local0, 0x05)) { Store (0xFED01000, M2MN) Store (0xFED013FF, M2MX) } If (LEqual (Local0, 0x06)) { Store (0xFED02000, M2MN) Store (0xFED023FF, M2MX) } If (LEqual (Local0, 0x07)) { Store (0xFED03000, M2MN) Store (0xFED033FF, M2MX) } } Return (BUF0) } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x07) { Package (0x04) { 0x0002FFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x001DFFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x001DFFFF, 0x01, 0x00, 0x13 }, Package (0x04) { 0x001DFFFF, 0x02, 0x00, 0x12 }, Package (0x04) { 0x001DFFFF, 0x03, 0x00, 0x17 }, Package (0x04) { 0x001FFFFF, 0x00, 0x00, 0x12 }, Package (0x04) { 0x001FFFFF, 0x01, 0x00, 0x11 } }) } Else { Return (Package (0x07) { Package (0x04) { 0x0002FFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x001DFFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x001DFFFF, 0x01, \_SB.PCI0.LPCB.LNKD, 0x00 }, Package (0x04) { 0x001DFFFF, 0x02, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0x001DFFFF, 0x03, \_SB.PCI0.LPCB.LNKH, 0x00 }, Package (0x04) { 0x001FFFFF, 0x00, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0x001FFFFF, 0x01, \_SB.PCI0.LPCB.LNKB, 0x00 } }) } } Device (MBUS) { Name (_ADR, 0x01) OperationRegion (MBUS, PCI_Config, 0x40, 0xC0) Field (MBUS, DWordAcc, NoLock, Preserve) { DRB0, 8, DRB1, 8, DRB2, 8, DRB3, 8 } } Device (GFX0) { Name (_ADR, 0x00020000) OperationRegion (VNVS, SystemMemory, 0x0F6ECDB9, 0x00010004) Field (VNVS, AnyAcc, Lock, Preserve) { RSIZ, 32, RBUF, 524288 } Method (_DOS, 1, NotSerialized) { Store (And (Arg0, 0x03), DSEN) } Method (_DOD, 0, NotSerialized) { If (LEqual (LCDA, 0x0110)) { Return (Package (0x06) { 0x00010100, 0x00010110, 0x00010200, 0x00010300, 0x00010500, 0x00010600 }) } Name (PSIZ, 0x00) Name (PPTR, 0x00) Store (0x02, SMIF) Store (0x00, TRP0) Store (CADL, Local0) Store (CADL, Local1) While (Local1) { If (And (Local1, 0x01)) { Increment (PSIZ) } ShiftRight (Local1, 0x01, Local1) } If (LOr (LEqual (PSIZ, 0x00), LGreater (PSIZ, 0x03))) { Return (Package (0x01) { 0x00010100 }) } Else { If (LEqual (PSIZ, 0x02)) { Name (VID2, Package (0x02) { 0x00010100, 0x00010200 }) If (And (Local0, 0x01)) { Store (0x00010100, Index (VID2, PPTR)) Increment (PPTR) } If (And (Local0, 0x02)) { Store (0x00010200, Index (VID2, PPTR)) Increment (PPTR) } If (And (Local0, 0x08)) { Store (0x00010400, Index (VID2, PPTR)) Increment (PPTR) } Return (VID2) } If (LEqual (PSIZ, 0x03)) { Name (VID3, Package (0x03) { 0x00010100, 0x00010200, 0x00010300 }) If (And (Local0, 0x01)) { Store (0x00010100, Index (VID3, PPTR)) Increment (PPTR) } If (And (Local0, 0x02)) { Store (0x00010200, Index (VID3, PPTR)) Increment (PPTR) } If (And (Local0, 0x08)) { Store (0x00010400, Index (VID3, PPTR)) Increment (PPTR) } Return (VID3) } Name (VID1, Package (0x01) { 0x00010100 }) If (And (Local0, 0x01)) { Store (0x00010100, Index (VID1, 0x00)) } If (And (Local0, 0x02)) { Store (0x00010200, Index (VID1, 0x00)) } If (And (Local0, 0x08)) { Store (0x00010400, Index (VID1, 0x00)) } Return (VID1) } } Method (_ROM, 2, NotSerialized) { Store (Arg0, Local0) Store (Arg1, Local1) If (LGreater (Local1, 0x1000)) { Store (0x1000, Local1) } If (LGreater (Add (Local0, Local1), RSIZ)) { Store (0x00, Local0) } Multiply (Local0, 0x08, Local2) Multiply (Local1, 0x08, Local3) Name (ROM1, Buffer (RSIZ) {}) Name (ROM2, Buffer (Local1) {}) Store (RBUF, ROM1) CreateField (ROM1, Local2, Local3, TMPB) Store (TMPB, ROM2) Return (ROM2) } Device (CRT1) { Name (_ADR, 0x0100) Method (_DCS, 0, NotSerialized) { Store (0x01, SMIF) Store (0x00, TRP0) If (And (CSTE, 0x0101)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x0101)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DTV1) { Name (_ADR, 0x0200) Method (_DCS, 0, NotSerialized) { Store (0x01, SMIF) Store (0x00, TRP0) If (And (CSTE, 0x0202)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x0202)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DFP1) { Name (_ADR, 0x0300) Method (_DCS, 0, NotSerialized) { Store (0x01, SMIF) Store (0x00, TRP0) If (And (CSTE, 0x0404)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x0404)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (LCD) { Method (_ADR, 0, NotSerialized) { If (LEqual (LCDA, 0x0110)) { Return (0x0110) } Return (0x0400) } Method (_DCS, 0, NotSerialized) { Store (0x01, SMIF) Store (0x00, TRP0) If (And (CSTE, 0x0808)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x0808)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } Method (_BCL, 0, NotSerialized) { Return (Package (0x08) { 0x50, 0x3C, 0x00, 0x14, 0x28, 0x3C, 0x50, 0x64 }) } Method (_BCM, 1, NotSerialized) { Store (Arg0, P80H) } } Device (DTV2) { Name (_ADR, 0x0500) Method (_DCS, 0, NotSerialized) { Store (0x01, SMIF) Store (0x00, TRP0) If (And (CSTE, 0x1010)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x1010)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DFP2) { Name (_ADR, 0x0600) Method (_DCS, 0, NotSerialized) { Store (0x01, SMIF) Store (0x00, TRP0) If (And (CSTE, 0x2020)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x2020)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } } Device (PCIB) { Name (_ADR, 0x001E0000) Device (CDB0) { Name (_ADR, 0x00030000) OperationRegion (CBD0, PCI_Config, 0x00, 0xF0) Field (CBD0, AnyAcc, NoLock, Preserve) { Offset (0x3C), CD3C, 8, Offset (0x44), CD44, 32, Offset (0xA5), CDA5, 8, Offset (0xE1), PMES, 8 } Method (_INI, 0, NotSerialized) { Or (CD3C, 0xFF, CD3C) Store (0x00, CD44) } } Device (CDB1) { Name (_ADR, 0x00030001) OperationRegion (CBD1, PCI_Config, 0x00, 0xF0) Field (CBD1, AnyAcc, NoLock, Preserve) { Offset (0x3C), CD3C, 8, Offset (0x44), CD44, 32, Offset (0xA5), CDA5, 8, Offset (0xE1), PMES, 8 } Method (_INI, 0, NotSerialized) { Or (CD3C, 0xFF, CD3C) Store (0x00, CD44) } } Device (OHCI) { Name (_ADR, 0x00030002) OperationRegion (OHCI, PCI_Config, 0x00, 0xF0) Field (OHCI, AnyAcc, NoLock, Preserve) { Offset (0x3C), CD3C, 8, Offset (0x44), CD44, 32, Offset (0xE1), PMES, 8 } Method (_INI, 0, NotSerialized) { Or (CD3C, 0xFF, CD3C) Store (0x00, CD44) } } Device (LANC) { Name (_ADR, 0x00080000) Name (_PRW, Package (0x02) { 0x0B, 0x04 }) } Device (MPC0) { Name (_ADR, 0x00070000) OperationRegion (MPC0, PCI_Config, 0xA0, 0x10) Field (MPC0, AnyAcc, NoLock, Preserve) { Offset (0x05), MA5, 8 } } Device (MPC1) { Name (_ADR, 0x00070001) OperationRegion (MPC1, PCI_Config, 0xA0, 0x10) Field (MPC1, AnyAcc, NoLock, Preserve) { Offset (0x05), MA5, 8 } } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x06) { Package (0x04) { 0x0008FFFF, 0x00, 0x00, 0x14 }, Package (0x04) { 0x0003FFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x0003FFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0x0003FFFF, 0x02, 0x00, 0x12 }, Package (0x04) { 0x0007FFFF, 0x00, 0x00, 0x14 }, Package (0x04) { 0x0007FFFF, 0x01, 0x00, 0x15 } }) } Else { Return (Package (0x06) { Package (0x04) { 0x0008FFFF, 0x00, \_SB.PCI0.LPCB.LNKE, 0x00 }, Package (0x04) { 0x0003FFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x0003FFFF, 0x01, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0x0003FFFF, 0x02, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0x0007FFFF, 0x00, \_SB.PCI0.LPCB.LNKE, 0x00 }, Package (0x04) { 0x0007FFFF, 0x01, \_SB.PCI0.LPCB.LNKF, 0x00 } }) } } } Device (LPCB) { Name (_ADR, 0x001F0000) OperationRegion (LPC0, PCI_Config, 0x40, 0xC0) Field (LPC0, AnyAcc, NoLock, Preserve) { Offset (0x20), PIRA, 8, PIRB, 8, PIRC, 8, PIRD, 8, Offset (0x28), PIRE, 8, PIRF, 8, PIRG, 8, PIRH, 8, Offset (0x90), HPTE, 32, Offset (0xA0), LDE0, 8, LDE1, 8 } Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x01) Method (_DIS, 0, Serialized) { Store (0x80, PIRA) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10} }) Method (_CRS, 0, Serialized) { Name (RTLA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLA, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PIRA, 0x0F), IRQ0) Return (RTLA) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRA) } Method (_STA, 0, Serialized) { If (And (PIRA, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_DIS, 0, Serialized) { Store (0x80, PIRB) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10} }) Method (_CRS, 0, Serialized) { Name (RTLB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLB, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PIRB, 0x0F), IRQ0) Return (RTLB) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRB) } Method (_STA, 0, Serialized) { If (And (PIRB, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_DIS, 0, Serialized) { Store (0x80, PIRC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {11} }) Method (_CRS, 0, Serialized) { Name (RTLC, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLC, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PIRC, 0x0F), IRQ0) Return (RTLC) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRC) } Method (_STA, 0, Serialized) { If (And (PIRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_DIS, 0, Serialized) { Store (0x80, PIRD) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {11} }) Method (_CRS, 0, Serialized) { Name (RTLD, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLD, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PIRD, 0x0F), IRQ0) Return (RTLD) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRD) } Method (_STA, 0, Serialized) { If (And (PIRD, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x05) Method (_DIS, 0, Serialized) { Store (0x80, PIRE) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {5} }) Method (_CRS, 0, Serialized) { Name (RTLE, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLE, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PIRE, 0x0F), IRQ0) Return (RTLE) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRE) } Method (_STA, 0, Serialized) { If (And (PIRE, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x06) Method (_DIS, 0, Serialized) { Store (0x80, PIRF) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {5} }) Method (_CRS, 0, Serialized) { Name (RTLF, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLF, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PIRF, 0x0F), IRQ0) Return (RTLF) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRF) } Method (_STA, 0, Serialized) { If (And (PIRF, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x07) Method (_DIS, 0, Serialized) { Store (0x80, PIRG) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10} }) Method (_CRS, 0, Serialized) { Name (RTLG, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLG, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PIRG, 0x0F), IRQ0) Return (RTLG) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRG) } Method (_STA, 0, Serialized) { If (And (PIRG, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKH) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) Method (_DIS, 0, Serialized) { Store (0x80, PIRH) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10} }) Method (_CRS, 0, Serialized) { Name (RTLH, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLH, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PIRH, 0x0F), IRQ0) Return (RTLH) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PIRH) } Method (_STA, 0, Serialized) { If (And (PIRH, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (TIMR) { Name (_HID, EisaId ("PNP0100")) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0040, // Address Range Minimum 0x0040, // Address Range Maximum 0x01, // Address Alignment 0x04, // Address Length ) IO (Decode16, 0x0050, // Address Range Minimum 0x0050, // Address Range Maximum 0x10, // Address Alignment 0x04, // Address Length ) }) Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0040, // Address Range Minimum 0x0040, // Address Range Maximum 0x01, // Address Alignment 0x04, // Address Length ) IO (Decode16, 0x0050, // Address Range Minimum 0x0050, // Address Range Maximum 0x10, // Address Alignment 0x04, // Address Length ) IRQNoFlags () {0} }) Method (_CRS, 0, Serialized) { If (And (HPTE, 0x00020000)) { Return (BUF0) } Return (BUF1) } } Device (IPIC) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, // Address Range Minimum 0x0020, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x0024, // Address Range Minimum 0x0024, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x0028, // Address Range Minimum 0x0028, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x002C, // Address Range Minimum 0x002C, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x0030, // Address Range Minimum 0x0030, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x0034, // Address Range Minimum 0x0034, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x0038, // Address Range Minimum 0x0038, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x003C, // Address Range Minimum 0x003C, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x00A0, // Address Range Minimum 0x00A0, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x00A4, // Address Range Minimum 0x00A4, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x00A8, // Address Range Minimum 0x00A8, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x00AC, // Address Range Minimum 0x00AC, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x00B0, // Address Range Minimum 0x00B0, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x00B4, // Address Range Minimum 0x00B4, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x00B8, // Address Range Minimum 0x00B8, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x00BC, // Address Range Minimum 0x00BC, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x04D0, // Address Range Minimum 0x04D0, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IRQNoFlags () {2} }) } Device (RTC) { Name (_HID, EisaId ("PNP0B00")) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0070, // Address Range Minimum 0x0070, // Address Range Maximum 0x01, // Address Alignment 0x08, // Address Length ) }) Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0070, // Address Range Minimum 0x0070, // Address Range Maximum 0x01, // Address Alignment 0x08, // Address Length ) IRQNoFlags () {8} }) Method (_CRS, 0, Serialized) { If (And (HPTE, 0x00020000)) { Return (BUF0) } Return (BUF1) } } Device (MATH) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, // Address Range Minimum 0x00F0, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IRQNoFlags () {13} }) } Device (DMAC) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0000, // Address Range Minimum 0x0000, // Address Range Maximum 0x01, // Address Alignment 0x20, // Address Length ) IO (Decode16, 0x0081, // Address Range Minimum 0x0081, // Address Range Maximum 0x01, // Address Alignment 0x0F, // Address Length ) IO (Decode16, 0x0090, // Address Range Minimum 0x0090, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x0093, // Address Range Minimum 0x0093, // Address Range Maximum 0x01, // Address Alignment 0x0D, // Address Length ) IO (Decode16, 0x00C0, // Address Range Minimum 0x00C0, // Address Range Maximum 0x01, // Address Alignment 0x20, // Address Length ) DMA (Compatibility, NotBusMaster, Transfer8_16) {4} }) } Device (MBRD) { Name (_HID, EisaId ("PNP0C02")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x002E, // Address Range Minimum 0x002E, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x0061, // Address Range Minimum 0x0061, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IO (Decode16, 0x0063, // Address Range Minimum 0x0063, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IO (Decode16, 0x0065, // Address Range Minimum 0x0065, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IO (Decode16, 0x0067, // Address Range Minimum 0x0067, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IO (Decode16, 0x0080, // Address Range Minimum 0x0080, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IO (Decode16, 0x0092, // Address Range Minimum 0x0092, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IO (Decode16, 0x00B2, // Address Range Minimum 0x00B2, // Address Range Maximum 0x01, // Address Alignment 0x02, // Address Length ) IO (Decode16, 0x0600, // Address Range Minimum 0x0600, // Address Range Maximum 0x01, // Address Alignment 0x10, // Address Length ) IO (Decode16, 0x0700, // Address Range Minimum 0x0700, // Address Range Maximum 0x01, // Address Alignment 0x10, // Address Length ) IO (Decode16, 0x0800, // Address Range Minimum 0x0800, // Address Range Maximum 0x01, // Address Alignment 0x10, // Address Length ) IO (Decode16, 0x1000, // Address Range Minimum 0x1000, // Address Range Maximum 0x01, // Address Alignment 0x80, // Address Length ) IO (Decode16, 0x1180, // Address Range Minimum 0x1180, // Address Range Maximum 0x01, // Address Alignment 0x40, // Address Length ) Memory32Fixed (ReadWrite, 0xFEC10000, // Address Base 0x00010000, // Address Length ) }) } Device (FWHD) { Name (_HID, EisaId ("INT0800")) Name (_CRS, ResourceTemplate () { Memory32Fixed (ReadOnly, 0xFF800000, // Address Base 0x00800000, // Address Length ) }) } Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (BUF0, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length ) }) Method (_STA, 0, NotSerialized) { ShiftRight (And (HPTE, 0x00038000), 0x0F, Local0) If (LEqual (OSYS, 0x07D1)) { If (And (Local0, 0x04)) { Return (0x0F) } } Else { If (And (Local0, 0x04)) { Return (0x0B) } } Return (0x00) } Method (_CRS, 0, Serialized) { ShiftRight (And (HPTE, 0x00038000), 0x0F, Local0) If (And (Local0, 0x04)) { CreateDWordField (BUF0, 0x0A, HPT0) If (LEqual (Local0, 0x05)) { Store (0xFED01000, HPT0) } If (LEqual (Local0, 0x06)) { Store (0xFED02000, HPT0) } If (LEqual (Local0, 0x07)) { Store (0xFED03000, HPT0) } } Return (BUF0) } } Device (H_EC) { Name (_HID, EisaId ("PNP0C09")) Name (_UID, 0x01) Method (_CRS, 0, NotSerialized) { Name (BFFR, ResourceTemplate () { IO (Decode16, 0x0062, // Address Range Minimum 0x0062, // Address Range Maximum 0x00, // Address Alignment 0x01, // Address Length ) IO (Decode16, 0x0066, // Address Range Minimum 0x0066, // Address Range Maximum 0x00, // Address Alignment 0x01, // Address Length ) }) Return (BFFR) } OperationRegion (ECR, EmbeddedControl, 0x00, 0xFF) Field (ECR, DWordAcc, Lock, Preserve) { Offset (0x80), B1EX, 1, B2EX, 1, ACEX, 1, Offset (0x81), SWBE, 1, DCBE, 1, Offset (0x82), Offset (0x83), LIDS, 1, Offset (0x84), B1ST, 8, B2ST, 8, Offset (0xA0), B1RR, 32, B1PV, 32, B2RR, 32, B2PV, 32, B1AF, 32, B1VL, 32, B2AF, 32, B2VL, 32, CTMP, 8, Offset (0xD0), B1TI, 16, B1SE, 16, B1CR, 16, B1TM, 16, B2TI, 16, B2SE, 16, B2CR, 16, B2TM, 16 } Method (_REG, 2, NotSerialized) { If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, 0x01))) { Store (0x01, ECON) Store (\_SB.PCI0.LPCB.H_EC.ACEX, \PWRS) } } Name (_GPE, 0x1C) Method (_GLK, 1, NotSerialized) { Return (One) } Method (_Q50, 0, NotSerialized) { Notify (\_SB.PWRB, 0x80) } Method (_Q51, 0, NotSerialized) { Store (0x51, P80H) \_SB.PHS1 (0x82, 0x01) Store (0x01, \PWRS) Notify (\_SB.ADP1, 0x80) \_SB.PHS (0x96) If (LNot (LLess (OSYS, 0x07D0))) { Notify (\_PR.CPU0, 0x81) } } Method (_Q52, 0, NotSerialized) { Store (0x52, P80H) \_SB.PHS1 (0x82, 0x00) Store (0x00, \PWRS) Notify (\_SB.ADP1, 0x80) \_SB.PHS (0x95) If (LNot (LLess (OSYS, 0x07D0))) { Notify (\_PR.CPU0, 0x81) } } Method (_Q53, 0, NotSerialized) { Store (0x53, P80H) Notify (\_SB.BAT1, 0x80) Notify (\_SB.BAT1, 0x81) } Method (_Q54, 0, NotSerialized) { Store (0x54, P80H) \_SB.PHS1 (0x8F, 0x00) Notify (\_SB.BAT1, 0x80) Notify (\_SB.BAT1, 0x81) } Method (_Q5B, 0, NotSerialized) { Notify (\_SB.SLPB, 0x80) } Method (_Q5C, 0, NotSerialized) { \_SB.PHS (0x83) } Method (_Q5D, 0, NotSerialized) { Store (0x5D, P80H) \_SB.PHS (0x84) If (IGDS) { Store (0x01, TLST) HKDS (0x0A) } } Method (_Q5E, 0, NotSerialized) { Notify (\_SB.LID0, 0x80) Store (0x5E, P80H) } Method (_Q5F, 0, NotSerialized) { Store (0x5F, P80H) Notify (\_SB.LID0, 0x80) } Method (_Q60, 0, NotSerialized) { If (LEqual (B1EX, 0x01)) { Notify (\_SB.BAT1, 0x01) } } Method (_Q61, 0, NotSerialized) { If (LEqual (B1EX, 0x01)) { Notify (\_SB.BAT1, 0x01) } } Method (_Q63, 0, NotSerialized) { \_SB.PHS (0x9E) } Method (_Q64, 0, NotSerialized) { \_SB.PHS (0x9F) } Method (_Q65, 0, NotSerialized) { Notify (\_TZ.THRM, 0x80) } Method (_Q66, 0, NotSerialized) { Notify (\_SB.BAT1, 0x80) } } Device (PS2K) { Name (_HID, EisaId ("PNP0303")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, // Address Range Minimum 0x0060, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IO (Decode16, 0x0064, // Address Range Minimum 0x0064, // Address Range Maximum 0x01, // Address Alignment 0x01, // Address Length ) IRQ (Edge, ActiveHigh, Exclusive) {1} }) } Device (PS2M) { Name (_HID, EisaId ("PNP0F13")) Name (_CRS, ResourceTemplate () { IRQ (Edge, ActiveHigh, Exclusive) {12} }) } } Device (USB0) { Name (_ADR, 0x001D0000) OperationRegion (U0CS, PCI_Config, 0xC4, 0x04) Field (U0CS, DWordAcc, NoLock, Preserve) { U0EN, 2 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, U0EN) } Else { Store (0x00, U0EN) } } Method (_S1D, 0, NotSerialized) { If (LEqual (OSYS, 0x07CF)) { Return (0x02) } Return (0x01) } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB1) { Name (_ADR, 0x001D0001) OperationRegion (U1CS, PCI_Config, 0xC4, 0x04) Field (U1CS, DWordAcc, NoLock, Preserve) { U1EN, 2 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, U1EN) } Else { Store (0x00, U1EN) } } Method (_S1D, 0, NotSerialized) { If (LEqual (OSYS, 0x07CF)) { Return (0x02) } Return (0x01) } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB2) { Name (_ADR, 0x001D0002) OperationRegion (U2CS, PCI_Config, 0xC4, 0x04) Field (U2CS, DWordAcc, NoLock, Preserve) { U2EN, 2 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, U2EN) } Else { Store (0x00, U2EN) } } Method (_S1D, 0, NotSerialized) { If (LEqual (OSYS, 0x07CF)) { Return (0x02) } Return (0x01) } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB7) { Name (_ADR, 0x001D0007) Method (_PS0, 0, NotSerialized) { \_SB.PHS (0x94) } Method (_PS3, 0, NotSerialized) { Store (0x07, P80H) } } Name (PUAL, Package (0x01) { 0x001F0001 }) Device (IDEC) { Name (_ADR, 0x001F0001) OperationRegion (IDEC, PCI_Config, 0x40, 0x18) Field (IDEC, DWordAcc, NoLock, Preserve) { PRIT, 16, SECT, 16, PSIT, 4, SSIT, 4, Offset (0x08), SYNC, 4, Offset (0x0A), SDT0, 2, , 2, SDT1, 2, Offset (0x0B), SDT2, 2, , 2, SDT3, 2, Offset (0x14), ICR0, 4, ICR1, 4, ICR2, 4, ICR3, 4, ICR4, 4, ICR5, 4 } Device (PRID) { Name (_ADR, 0x00) Method (_GTM, 0, NotSerialized) { Name (PBUF, Buffer (0x14) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (PBUF, 0x00, PIO0) CreateDWordField (PBUF, 0x04, DMA0) CreateDWordField (PBUF, 0x08, PIO1) CreateDWordField (PBUF, 0x0C, DMA1) CreateDWordField (PBUF, 0x10, FLAG) Store (GETP (PRIT), PIO0) Store (GDMA (And (SYNC, 0x01), And (ICR3, 0x01), And (ICR0, 0x01), SDT0, And (ICR1, 0x01)), DMA0) If (LEqual (DMA0, 0xFFFFFFFF)) { Store (PIO0, DMA0) } If (And (PRIT, 0x4000)) { If (LEqual (And (PRIT, 0x90), 0x80)) { Store (0x0384, PIO1) } Else { Store (GETT (PSIT), PIO1) } } Else { Store (0xFFFFFFFF, PIO1) } Store (GDMA (And (SYNC, 0x02), And (ICR3, 0x02), And (ICR0, 0x02), SDT1, And (ICR1, 0x02)), DMA1) If (LEqual (DMA1, 0xFFFFFFFF)) { Store (PIO1, DMA1) } Store (GETF (And (SYNC, 0x01), And (SYNC, 0x02), PRIT), FLAG) Return (PBUF) } Method (_STM, 3, NotSerialized) { CreateDWordField (Arg0, 0x00, PIO0) CreateDWordField (Arg0, 0x04, DMA0) CreateDWordField (Arg0, 0x08, PIO1) CreateDWordField (Arg0, 0x0C, DMA1) CreateDWordField (Arg0, 0x10, FLAG) Store (0x04, ICR2) If (LEqual (SizeOf (Arg1), 0x0200)) { And (PRIT, 0x40F0, PRIT) And (SYNC, 0x0E, SYNC) Store (0x00, SDT0) And (ICR0, 0x0E, ICR0) And (ICR1, 0x0E, ICR1) And (ICR3, 0x0E, ICR3) And (ICR5, 0x0E, ICR5) CreateWordField (Arg1, 0x62, W490) CreateWordField (Arg1, 0x6A, W530) CreateWordField (Arg1, 0x7E, W630) CreateWordField (Arg1, 0x80, W640) CreateWordField (Arg1, 0xB0, W880) CreateWordField (Arg1, 0xBA, W930) Or (PRIT, 0x8004, PRIT) If (LAnd (And (FLAG, 0x02), And (W490, 0x0800))) { Or (PRIT, 0x02, PRIT) } Or (PRIT, SETP (PIO0, W530, W640), PRIT) If (And (FLAG, 0x01)) { Or (SYNC, 0x01, SYNC) Store (SDMA (DMA0), SDT0) If (LLess (DMA0, 0x1E)) { Or (ICR3, 0x01, ICR3) } If (LLess (DMA0, 0x3C)) { Or (ICR0, 0x01, ICR0) } If (And (W930, 0x2000)) { Or (ICR1, 0x01, ICR1) } } } If (LEqual (SizeOf (Arg2), 0x0200)) { And (PRIT, 0x3F0F, PRIT) Store (0x00, PSIT) And (SYNC, 0x0D, SYNC) Store (0x00, SDT1) And (ICR0, 0x0D, ICR0) And (ICR1, 0x0D, ICR1) And (ICR3, 0x0D, ICR3) And (ICR5, 0x0D, ICR5) CreateWordField (Arg2, 0x62, W491) CreateWordField (Arg2, 0x6A, W531) CreateWordField (Arg2, 0x7E, W631) CreateWordField (Arg2, 0x80, W641) CreateWordField (Arg2, 0xB0, W881) CreateWordField (Arg2, 0xBA, W931) Or (PRIT, 0x8040, PRIT) If (LAnd (And (FLAG, 0x08), And (W491, 0x0800))) { Or (PRIT, 0x20, PRIT) } If (And (FLAG, 0x10)) { Or (PRIT, 0x4000, PRIT) If (LGreater (PIO1, 0xF0)) { Or (PRIT, 0x80, PRIT) } Else { Or (PRIT, 0x10, PRIT) Store (SETT (PIO1, W531, W641), PSIT) } } If (And (FLAG, 0x04)) { Or (SYNC, 0x02, SYNC) Store (SDMA (DMA1), SDT1) If (LLess (DMA1, 0x1E)) { Or (ICR3, 0x02, ICR3) } If (LLess (DMA1, 0x3C)) { Or (ICR0, 0x02, ICR0) } If (And (W931, 0x2000)) { Or (ICR1, 0x02, ICR1) } } } } Device (P_D0) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Name (PIB0, Buffer (0x0E) { 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF }) CreateByteField (PIB0, 0x01, PMD0) CreateByteField (PIB0, 0x08, DMD0) If (And (PRIT, 0x02)) { If (LEqual (And (PRIT, 0x09), 0x08)) { Store (0x08, PMD0) } Else { Store (0x0A, PMD0) ShiftRight (And (PRIT, 0x0300), 0x08, Local0) ShiftRight (And (PRIT, 0x3000), 0x0C, Local1) Add (Local0, Local1, Local2) If (LEqual (0x03, Local2)) { Store (0x0B, PMD0) } If (LEqual (0x05, Local2)) { Store (0x0C, PMD0) } } } Else { Store (0x01, PMD0) } If (And (SYNC, 0x01)) { Store (Or (SDT0, 0x40), DMD0) If (And (ICR1, 0x01)) { If (And (ICR0, 0x01)) { Add (DMD0, 0x02, DMD0) } If (And (ICR3, 0x01)) { Store (0x45, DMD0) } } } Else { Or (Subtract (And (PMD0, 0x07), 0x02), 0x20, DMD0) } Return (PIB0) } } Device (P_D1) { Name (_ADR, 0x01) Method (_GTF, 0, NotSerialized) { Name (PIB1, Buffer (0x0E) { 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF }) CreateByteField (PIB1, 0x01, PMD1) CreateByteField (PIB1, 0x08, DMD1) If (And (PRIT, 0x20)) { If (LEqual (And (PRIT, 0x90), 0x80)) { Store (0x08, PMD1) } Else { Add (And (PSIT, 0x03), ShiftRight (And (PSIT, 0x0C), 0x02), Local0) If (LEqual (0x05, Local0)) { Store (0x0C, PMD1) } Else { If (LEqual (0x03, Local0)) { Store (0x0B, PMD1) } Else { Store (0x0A, PMD1) } } } } Else { Store (0x01, PMD1) } If (And (SYNC, 0x02)) { Store (Or (SDT1, 0x40), DMD1) If (And (ICR1, 0x02)) { If (And (ICR0, 0x02)) { Add (DMD1, 0x02, DMD1) } If (And (ICR3, 0x02)) { Store (0x45, DMD1) } } } Else { Or (Subtract (And (PMD1, 0x07), 0x02), 0x20, DMD1) } Return (PIB1) } } Method (_PS0, 0, NotSerialized) { } Method (_PS3, 0, NotSerialized) { } } Device (SECD) { Name (_ADR, 0x01) Method (_GTM, 0, NotSerialized) { Name (SBUF, Buffer (0x14) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (SBUF, 0x00, PIO0) CreateDWordField (SBUF, 0x04, DMA0) CreateDWordField (SBUF, 0x08, PIO1) CreateDWordField (SBUF, 0x0C, DMA1) CreateDWordField (SBUF, 0x10, FLAG) Store (GETP (SECT), PIO0) Store (GDMA (And (SYNC, 0x04), And (ICR3, 0x04), And (ICR0, 0x04), SDT2, And (ICR1, 0x04)), DMA0) If (LEqual (DMA0, 0xFFFFFFFF)) { Store (PIO0, DMA0) } If (And (SECT, 0x4000)) { If (LEqual (And (SECT, 0x90), 0x80)) { Store (0x0384, PIO1) } Else { Store (GETT (SSIT), PIO1) } } Else { Store (0xFFFFFFFF, PIO1) } Store (GDMA (And (SYNC, 0x08), And (ICR3, 0x08), And (ICR0, 0x08), SDT3, And (ICR1, 0x08)), DMA1) If (LEqual (DMA1, 0xFFFFFFFF)) { Store (PIO1, DMA1) } Store (GETF (And (SYNC, 0x04), And (SYNC, 0x08), SECT), FLAG) Return (SBUF) } Method (_STM, 3, NotSerialized) { CreateDWordField (Arg0, 0x00, PIO0) CreateDWordField (Arg0, 0x04, DMA0) CreateDWordField (Arg0, 0x08, PIO1) CreateDWordField (Arg0, 0x0C, DMA1) CreateDWordField (Arg0, 0x10, FLAG) Store (0x04, ICR2) If (LEqual (SizeOf (Arg1), 0x0200)) { And (SECT, 0x40F0, SECT) And (SYNC, 0x0B, SYNC) Store (0x00, SDT2) And (ICR0, 0x0B, ICR0) And (ICR1, 0x0B, ICR1) And (ICR3, 0x0B, ICR3) And (ICR5, 0x0B, ICR5) CreateWordField (Arg1, 0x62, W490) CreateWordField (Arg1, 0x6A, W530) CreateWordField (Arg1, 0x7E, W630) CreateWordField (Arg1, 0x80, W640) CreateWordField (Arg1, 0xB0, W880) CreateWordField (Arg1, 0xBA, W930) Or (SECT, 0x8004, SECT) If (LAnd (And (FLAG, 0x02), And (W490, 0x0800))) { Or (SECT, 0x02, SECT) } Or (SECT, SETP (PIO0, W530, W640), SECT) If (And (FLAG, 0x01)) { Or (SYNC, 0x04, SYNC) Store (SDMA (DMA0), SDT2) If (LLess (DMA0, 0x1E)) { Or (ICR3, 0x04, ICR3) } If (LLess (DMA0, 0x3C)) { Or (ICR0, 0x04, ICR0) } If (And (W930, 0x2000)) { Or (ICR1, 0x04, ICR1) } } } If (LEqual (SizeOf (Arg2), 0x0200)) { And (SECT, 0x3F0F, SECT) Store (0x00, SSIT) And (SYNC, 0x07, SYNC) Store (0x00, SDT3) And (ICR0, 0x07, ICR0) And (ICR1, 0x07, ICR1) And (ICR3, 0x07, ICR3) And (ICR5, 0x07, ICR5) CreateWordField (Arg2, 0x62, W491) CreateWordField (Arg2, 0x6A, W531) CreateWordField (Arg2, 0x7E, W631) CreateWordField (Arg2, 0x80, W641) CreateWordField (Arg2, 0xB0, W881) CreateWordField (Arg2, 0xBA, W931) Or (SECT, 0x8040, SECT) If (LAnd (And (FLAG, 0x08), And (W491, 0x0800))) { Or (SECT, 0x20, SECT) } If (And (FLAG, 0x10)) { Or (SECT, 0x4000, SECT) If (LGreater (PIO1, 0xF0)) { Or (SECT, 0x80, SECT) } Else { Or (SECT, 0x10, SECT) Store (SETT (PIO1, W531, W641), SSIT) } } If (And (FLAG, 0x04)) { Or (SYNC, 0x08, SYNC) Store (SDMA (DMA1), SDT3) If (LLess (DMA1, 0x1E)) { Or (ICR3, 0x08, ICR3) } If (LLess (DMA1, 0x3C)) { Or (ICR0, 0x08, ICR0) } If (And (W931, 0x2000)) { Or (ICR1, 0x08, ICR1) } } } } Device (S_D0) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Name (SIB0, Buffer (0x0E) { 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF }) CreateByteField (SIB0, 0x01, PMD0) CreateByteField (SIB0, 0x08, DMD0) If (And (SECT, 0x02)) { If (LEqual (And (SECT, 0x09), 0x08)) { Store (0x08, PMD0) } Else { Store (0x0A, PMD0) ShiftRight (And (SECT, 0x0300), 0x08, Local0) ShiftRight (And (SECT, 0x3000), 0x0C, Local1) Add (Local0, Local1, Local2) If (LEqual (0x03, Local2)) { Store (0x0B, PMD0) } If (LEqual (0x05, Local2)) { Store (0x0C, PMD0) } } } Else { Store (0x01, PMD0) } If (And (SYNC, 0x04)) { Store (Or (SDT2, 0x40), DMD0) If (And (ICR1, 0x04)) { If (And (ICR0, 0x04)) { Add (DMD0, 0x02, DMD0) } If (And (ICR3, 0x04)) { Store (0x45, DMD0) } } } Else { Or (Subtract (And (PMD0, 0x07), 0x02), 0x20, DMD0) } Return (SIB0) } } Device (S_D1) { Name (_ADR, 0x01) Method (_GTF, 0, NotSerialized) { Name (SIB1, Buffer (0x0E) { 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF }) CreateByteField (SIB1, 0x01, PMD1) CreateByteField (SIB1, 0x08, DMD1) If (And (SECT, 0x20)) { If (LEqual (And (SECT, 0x90), 0x80)) { Store (0x08, PMD1) } Else { Add (And (SSIT, 0x03), ShiftRight (And (SSIT, 0x0C), 0x02), Local0) If (LEqual (0x05, Local0)) { Store (0x0C, PMD1) } Else { If (LEqual (0x03, Local0)) { Store (0x0B, PMD1) } Else { Store (0x0A, PMD1) } } } } Else { Store (0x01, PMD1) } If (And (SYNC, 0x08)) { Store (Or (SDT3, 0x40), DMD1) If (And (ICR1, 0x08)) { If (And (ICR0, 0x08)) { Add (DMD1, 0x02, DMD1) } If (And (ICR3, 0x08)) { Store (0x45, DMD1) } } } Else { Or (Subtract (And (PMD1, 0x07), 0x02), 0x20, DMD1) } Return (SIB1) } } Method (_PS0, 0, NotSerialized) { } Method (_PS3, 0, NotSerialized) { } } Method (GETP, 1, Serialized) { If (LEqual (And (Arg0, 0x09), 0x00)) { Return (0xFFFFFFFF) } If (LEqual (And (Arg0, 0x09), 0x08)) { Return (0x0384) } ShiftRight (And (Arg0, 0x0300), 0x08, Local0) ShiftRight (And (Arg0, 0x3000), 0x0C, Local1) Return (Multiply (0x1E, Subtract (0x09, Add (Local0, Local1)))) } Method (GDMA, 5, Serialized) { If (Arg0) { If (LAnd (Arg1, Arg4)) { Return (0x14) } If (LAnd (Arg2, Arg4)) { Return (Multiply (Subtract (0x04, Arg3), 0x0F)) } Return (Multiply (Subtract (0x04, Arg3), 0x1E)) } Return (0xFFFFFFFF) } Method (GETT, 1, Serialized) { Return (Multiply (0x1E, Subtract (0x09, Add (And (ShiftRight (Arg0, 0x02), 0x03), And (Arg0, 0x03))))) } Method (GETF, 3, Serialized) { Name (TMPF, 0x00) If (Arg0) { Or (TMPF, 0x01, TMPF) } If (And (Arg2, 0x02)) { Or (TMPF, 0x02, TMPF) } If (Arg1) { Or (TMPF, 0x04, TMPF) } If (And (Arg2, 0x20)) { Or (TMPF, 0x08, TMPF) } If (And (Arg2, 0x4000)) { Or (TMPF, 0x10, TMPF) } Return (TMPF) } Method (SETP, 3, Serialized) { If (LGreater (Arg0, 0xF0)) { Return (0x08) } Else { If (And (Arg1, 0x02)) { If (LAnd (LNot (LGreater (Arg0, 0x78)), And (Arg2, 0x02))) { Return (0x2301) } If (LAnd (LNot (LGreater (Arg0, 0xB4)), And (Arg2, 0x01))) { Return (0x2101) } } Return (0x1001) } } Method (SDMA, 1, Serialized) { If (LNot (LGreater (Arg0, 0x14))) { Return (0x01) } If (LNot (LGreater (Arg0, 0x1E))) { Return (0x02) } If (LNot (LGreater (Arg0, 0x2D))) { Return (0x01) } If (LNot (LGreater (Arg0, 0x3C))) { Return (0x02) } If (LNot (LGreater (Arg0, 0x5A))) { Return (0x01) } Return (0x00) } Method (SETT, 3, Serialized) { If (And (Arg1, 0x02)) { If (LAnd (LNot (LGreater (Arg0, 0x78)), And (Arg2, 0x02))) { Return (0x0B) } If (LAnd (LNot (LGreater (Arg0, 0xB4)), And (Arg2, 0x01))) { Return (0x09) } } Return (0x04) } } Device (SBUS) { Name (_ADR, 0x001F0003) } Device (AUD0) { Name (_ADR, 0x001F0005) } Device (MODM) { Name (_ADR, 0x001F0006) Name (_PRW, Package (0x02) { 0x05, 0x03 }) } } } }