Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Intel ACPI Component Architecture
- * AML Disassembler version 20061109
- *
- * Disassembly of dsdt.dat, Thu Feb 14 12:19:21 2008
- *
- *
- * Original Table Header:
- * Signature "DSDT"
- * Length 0x00003499 (13465)
- * Revision 0x01
- * OEM ID "UW "
- * OEM Table ID "F09_____"
- * OEM Revision 0x00000000 (0)
- * Creator ID "INTL"
- * Creator Revision 0x02002026 (33562662)
- */
- DefinitionBlock ("dsdt.aml", "DSDT", 1, "UW ", "F09_____", 0x00000000)
- {
- External (\_SB_.PCI0.SBRG.EC0_.ACIN, IntObj)
- OperationRegion (BIOS, SystemMemory, 0x1DFDF064, 0xFF)
- Field (BIOS, ByteAcc, NoLock, Preserve)
- {
- SS1, 1,
- SS2, 1,
- SS3, 1,
- SS4, 1,
- Offset (0x01),
- IOST, 16,
- TOPM, 32,
- ROMS, 32,
- MG1B, 32,
- MG1L, 32,
- MG2B, 32,
- MG2L, 32,
- Offset (0x48),
- PWLV, 8
- }
- Name (APCB, 0xFEC00000)
- Name (APCL, 0x1000)
- Name (PMBS, 0x0800)
- Name (PMLN, 0x80)
- Name (GPBS, 0x00)
- Name (GPLN, 0x00)
- Name (SMBS, 0x0C00)
- Name (SMBL, 0x20)
- Method (RRIO, 4, NotSerialized)
- {
- Store ("RRIO", Debug)
- }
- Method (RDMA, 3, NotSerialized)
- {
- Store ("rDMA", Debug)
- }
- Name (PICM, 0x00)
- Method (_PIC, 1, NotSerialized)
- {
- If (Arg0)
- {
- Store (0xAA, DBG8)
- }
- Else
- {
- Store (0xAC, DBG8)
- }
- Store (Arg0, PICM)
- }
- Name (OSVR, Ones)
- Method (OSFL, 0, NotSerialized)
- {
- If (LNotEqual (OSVR, Ones))
- {
- Return (OSVR)
- }
- If (LEqual (PICM, 0x00))
- {
- Store (0xAC, DBG8)
- }
- Store (0x01, OSVR)
- If (MCTH (\_OS, "Microsoft Windows NT"))
- {
- Store (0x00, OSVR)
- }
- Else
- {
- If (MCTH (\_OS, "Microsoft WindowsME: Millennium Edition"))
- {
- Store (0x02, OSVR)
- }
- }
- Return (OSVR)
- }
- Method (MCTH, 2, NotSerialized)
- {
- If (LLess (SizeOf (Arg0), SizeOf (Arg1)))
- {
- Return (Zero)
- }
- Add (SizeOf (Arg0), 0x01, Local0)
- Name (BUF0, Buffer (Local0) {})
- Name (BUF1, Buffer (Local0) {})
- Store (Arg0, BUF0)
- Store (Arg1, BUF1)
- While (Local0)
- {
- Decrement (Local0)
- If (LNotEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index (
- BUF1, Local0))))
- {
- Return (Zero)
- }
- }
- Return (One)
- }
- Name (PRWP, Package (0x02)
- {
- Zero,
- Zero
- })
- Method (GPRW, 2, NotSerialized)
- {
- Store (Arg0, Index (PRWP, 0x00))
- Store (ShiftLeft (SS1, 0x01), Local0)
- Or (Local0, ShiftLeft (SS2, 0x02), Local0)
- Or (Local0, ShiftLeft (SS3, 0x03), Local0)
- Or (Local0, ShiftLeft (SS4, 0x04), Local0)
- If (And (ShiftLeft (0x01, Arg1), Local0))
- {
- Store (Arg1, Index (PRWP, 0x01))
- }
- Else
- {
- ShiftRight (Local0, 0x01, Local0)
- If (LOr (LEqual (OSFL (), 0x01), LEqual (OSFL (), 0x02)))
- {
- FindSetLeftBit (Local0, Index (PRWP, 0x01))
- }
- Else
- {
- FindSetRightBit (Local0, Index (PRWP, 0x01))
- }
- }
- Return (PRWP)
- }
- Name (WAKP, Package (0x02)
- {
- Zero,
- Zero
- })
- OperationRegion (DEB0, SystemIO, 0x80, 0x01)
- Field (DEB0, ByteAcc, NoLock, Preserve)
- {
- DBG8, 8
- }
- OperationRegion (DEB1, SystemIO, 0x90, 0x02)
- Field (DEB1, WordAcc, NoLock, Preserve)
- {
- DBG9, 16
- }
- Scope (\_SB)
- {
- Name (PR00, Package (0x12)
- {
- Package (0x04)
- {
- 0x0001FFFF,
- 0x00,
- LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x01,
- LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x02,
- LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x03,
- LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x01,
- LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x02,
- LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x03,
- LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x03,
- LNKH,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x00,
- LNKE,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x01,
- LNKF,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x02,
- LNKG,
- 0x00
- },
- Package (0x04)
- {
- 0x0004FFFF,
- 0x00,
- LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x000AFFFF,
- 0x00,
- LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x000BFFFF,
- 0x00,
- LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x000BFFFF,
- 0x01,
- LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0006FFFF,
- 0x00,
- LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x0009FFFF,
- 0x00,
- LNKB,
- 0x00
- }
- })
- Name (AR00, Package (0x12)
- {
- Package (0x04)
- {
- 0x0001FFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x03,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x03,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x03,
- 0x00,
- 0x17
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x00,
- 0x00,
- 0x14
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x01,
- 0x00,
- 0x15
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x02,
- 0x00,
- 0x16
- },
- Package (0x04)
- {
- 0x0004FFFF,
- 0x00,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0x000AFFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x000BFFFF,
- 0x00,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0x000BFFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0x0006FFFF,
- 0x00,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0x0009FFFF,
- 0x00,
- 0x00,
- 0x11
- }
- })
- Name (PRSA, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,10,11,12,14,15}
- })
- Alias (PRSA, PRSB)
- Alias (PRSA, PRSC)
- Alias (PRSA, PRSD)
- Alias (PRSA, PRSE)
- Alias (PRSA, PRSF)
- Alias (PRSA, PRSG)
- Alias (PRSA, PRSH)
- Device (PCI0)
- {
- Name (_HID, EisaId ("PNP0A03"))
- Name (_ADR, 0x00180000)
- Method (^BN00, 0, NotSerialized)
- {
- Return (0x00)
- }
- Method (_BBN, 0, NotSerialized)
- {
- Return (BN00 ())
- }
- Name (_UID, 0x00)
- Method (_PRT, 0, NotSerialized)
- {
- If (PICM)
- {
- Return (AR00)
- }
- Return (PR00)
- }
- Device (AGP)
- {
- Name (_ADR, 0x00010000)
- Device (VGA)
- {
- Name (_ADR, 0x00)
- Method (_DOS, 1, NotSerialized)
- {
- Store (Arg0, SWIT)
- }
- Name (_DOD, Package (0x02)
- {
- 0x00010100,
- 0x00010110
- })
- Device (CRT)
- {
- Name (_ADR, 0x0100)
- Name (_DCS, 0x1F)
- Name (_DGS, 0x01)
- Method (_DSS, 1, NotSerialized)
- {
- }
- }
- Device (LCD)
- {
- Name (_ADR, 0x0110)
- Name (_DCS, 0x1F)
- Name (_DGS, 0x01)
- Method (_DSS, 1, NotSerialized)
- {
- }
- Method (_BCM, 1, NotSerialized)
- {
- }
- Name (PBCL, Package (0x07)
- {
- 0x50,
- 0x32,
- 0x14,
- 0x28,
- 0x3C,
- 0x50,
- 0x64
- })
- Method (_BCL, 0, NotSerialized)
- {
- Return (PBCL)
- }
- }
- Name (SWIT, 0x00)
- Name (GDCS, 0x02)
- Name (GDGS, 0x01)
- Name (GDTS, 0x00)
- Name (GDFG, 0x01)
- }
- }
- Device (SBRG)
- {
- Name (_ADR, 0x00020000)
- Device (PIC)
- {
- Name (_HID, EisaId ("PNP0000"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0020, // Range Minimum
- 0x0020, // Range Maximum
- 0x00, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00A0, // Range Minimum
- 0x00A0, // Range Maximum
- 0x00, // Alignment
- 0x02, // Length
- )
- IRQNoFlags ()
- {2}
- })
- }
- Device (DMAD)
- {
- Name (_HID, EisaId ("PNP0200"))
- Name (_CRS, ResourceTemplate ()
- {
- DMA (Compatibility, BusMaster, Transfer8, )
- {4}
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x00, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0081, // Range Minimum
- 0x0081, // Range Maximum
- 0x00, // Alignment
- 0x03, // Length
- )
- IO (Decode16,
- 0x0087, // Range Minimum
- 0x0087, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0089, // Range Minimum
- 0x0089, // Range Maximum
- 0x00, // Alignment
- 0x03, // Length
- )
- IO (Decode16,
- 0x008F, // Range Minimum
- 0x008F, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x00C0, // Range Minimum
- 0x00C0, // Range Maximum
- 0x00, // Alignment
- 0x20, // Length
- )
- })
- }
- Device (TMR)
- {
- Name (_HID, EisaId ("PNP0100"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0040, // Range Minimum
- 0x0040, // Range Maximum
- 0x00, // Alignment
- 0x04, // Length
- )
- IRQNoFlags ()
- {0}
- })
- }
- Device (RTC0)
- {
- Name (_HID, EisaId ("PNP0B00"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0070, // Range Minimum
- 0x0070, // Range Maximum
- 0x00, // Alignment
- 0x02, // Length
- )
- IRQNoFlags ()
- {8}
- })
- }
- Device (PS2K)
- {
- Name (_HID, EisaId ("PNP030B"))
- Name (_CID, 0x0B03D041)
- Method (_STA, 0, NotSerialized)
- {
- ShiftLeft (0x01, 0x0A, Local0)
- If (And (IOST, Local0))
- {
- Return (0x0F)
- }
- Return (0x00)
- }
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0060, // Range Minimum
- 0x0060, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0064, // Range Minimum
- 0x0064, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IRQNoFlags ()
- {1}
- })
- }
- Device (PS2M)
- {
- Name (_HID, EisaId ("SYN0801"))
- Name (_CID, Package (0x02)
- {
- 0x00082E4F,
- 0x130FD041
- })
- Method (_STA, 0, NotSerialized)
- {
- ShiftLeft (0x01, 0x0C, Local0)
- If (And (IOST, Local0))
- {
- Return (0x0F)
- }
- Return (0x00)
- }
- Name (CRS1, ResourceTemplate ()
- {
- IRQNoFlags ()
- {12}
- })
- Name (CRS2, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0060, // Range Minimum
- 0x0060, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0064, // Range Minimum
- 0x0064, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IRQNoFlags ()
- {12}
- })
- Method (_CRS, 0, NotSerialized)
- {
- ShiftLeft (0x01, 0x0A, Local0)
- If (And (IOST, Local0))
- {
- Return (CRS1)
- }
- Else
- {
- Return (CRS2)
- }
- }
- }
- Device (SPKR)
- {
- Name (_HID, EisaId ("PNP0800"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0061, // Range Minimum
- 0x0061, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- })
- }
- Device (COPR)
- {
- Name (_HID, EisaId ("PNP0C04"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x00F0, // Range Minimum
- 0x00F0, // Range Maximum
- 0x00, // Alignment
- 0x10, // Length
- )
- IRQNoFlags ()
- {13}
- })
- }
- Device (RMSC)
- {
- Name (_HID, EisaId ("PNP0C02"))
- Name (_UID, 0x10)
- Name (CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0010, // Range Minimum
- 0x0010, // Range Maximum
- 0x00, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0022, // Range Minimum
- 0x0022, // Range Maximum
- 0x00, // Alignment
- 0x1E, // Length
- )
- IO (Decode16,
- 0x0044, // Range Minimum
- 0x0044, // Range Maximum
- 0x00, // Alignment
- 0x1C, // Length
- )
- IO (Decode16,
- 0x0068, // Range Minimum
- 0x0068, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x006C, // Range Minimum
- 0x006C, // Range Maximum
- 0x00, // Alignment
- 0x04, // Length
- )
- IO (Decode16,
- 0x0072, // Range Minimum
- 0x0072, // Range Maximum
- 0x00, // Alignment
- 0x0E, // Length
- )
- IO (Decode16,
- 0x0080, // Range Minimum
- 0x0080, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0084, // Range Minimum
- 0x0084, // Range Maximum
- 0x00, // Alignment
- 0x03, // Length
- )
- IO (Decode16,
- 0x0088, // Range Minimum
- 0x0088, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x008C, // Range Minimum
- 0x008C, // Range Maximum
- 0x00, // Alignment
- 0x03, // Length
- )
- IO (Decode16,
- 0x0090, // Range Minimum
- 0x0090, // Range Maximum
- 0x00, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x00A2, // Range Minimum
- 0x00A2, // Range Maximum
- 0x00, // Alignment
- 0x1E, // Length
- )
- IO (Decode16,
- 0x00E0, // Range Minimum
- 0x00E0, // Range Maximum
- 0x00, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0480, // Range Minimum
- 0x0480, // Range Maximum
- 0x00, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x04D0, // Range Minimum
- 0x04D0, // Range Maximum
- 0x00, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x00, // Alignment
- 0x00, // Length
- _Y00)
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x00, // Alignment
- 0x00, // Length
- _Y01)
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x00, // Alignment
- 0x00, // Length
- _Y02)
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x00, // Alignment
- 0x00, // Length
- _Y03)
- Memory32Fixed (ReadOnly,
- 0xFFF80000, // Address Base
- 0x00080000, // Address Length
- )
- Memory32 (ReadOnly,
- 0xFFE80000, // Range Minimum
- 0xFFE80000, // Range Maximum
- 0x00000000, // Alignment
- 0x00080000, // Length
- )
- Memory32 (ReadOnly,
- 0xFED00000, // Range Minimum
- 0xFED00000, // Range Maximum
- 0x00000000, // Alignment
- 0x00000400, // Length
- )
- })
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y00._MIN, GP00)
- CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y00._MAX, GP01)
- CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y00._LEN, GP0L)
- Store (PMBS, GP00)
- Store (PMBS, GP01)
- Store (PMLN, GP0L)
- If (LNotEqual (SMBS, 0x08E0))
- {
- CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y01._MIN, GP30)
- CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y01._MAX, GP31)
- CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y01._LEN, GP3L)
- Add (0x80, PMBS, Local0)
- Store (Local0, GP30)
- Store (Local0, GP31)
- Store (0x80, GP3L)
- }
- If (SMBS)
- {
- CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y02._MIN, GP10)
- CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y02._MAX, GP11)
- CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y02._LEN, GP1L)
- Store (SMBS, GP10)
- Store (SMBS, GP11)
- Store (SMBL, GP1L)
- }
- If (GPBS)
- {
- CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y03._MIN, GP20)
- CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y03._MAX, GP21)
- CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y03._LEN, GP2L)
- Store (GPBS, GP20)
- Store (GPBS, GP21)
- Store (GPLN, GP2L)
- }
- Return (CRS)
- }
- }
- Scope (\_PR)
- {
- Processor (CPU1, 0x01, 0x00000810, 0x06)
- {
- Name (_PCT, Package (0x02)
- {
- ResourceTemplate ()
- {
- Register (FFixedHW,
- 0x00, // Bit Width
- 0x00, // Bit Offset
- 0x0000000000000000, // Address
- ,)
- },
- ResourceTemplate ()
- {
- Register (FFixedHW,
- 0x00, // Bit Width
- 0x00, // Bit Offset
- 0x0000000000000000, // Address
- ,)
- }
- })
- Name (_PSS, Package (0x03)
- {
- Package (0x06)
- {
- 0x00000708,
- 0x0000F230,
- 0x00000064,
- 0x00000007,
- 0xE0202A4A,
- 0x0000024A
- },
- Package (0x06)
- {
- 0x00000640,
- 0x0000A7F8,
- 0x00000064,
- 0x00000007,
- 0xE0202A88,
- 0x00000288
- },
- Package (0x06)
- {
- 0x00000320,
- 0x000032C8,
- 0x00000064,
- 0x00000007,
- 0xE0202E00,
- 0x00000600
- }
- })
- Name (PSXH, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Name (PSXG, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Name (PSXF, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Name (PSXE, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Name (PSXD, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Name (PSXC, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Name (PSXB, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- })
- Method (_PPC, 0, NotSerialized)
- {
- If (LAnd (\_SB.PCI0.SBRG.EC0.XTIN, LNot (\_SB.PCI0.SBRG.EC0.XCIN)))
- {
- Store (0x11, DBG8)
- Store (\PWLV, Local0)
- Return (Decrement (Local0))
- }
- Else
- {
- If (LNot (\SLMS))
- {
- Store (0x22, DBG8)
- Return (0x00)
- }
- Else
- {
- Store (0x33, DBG8)
- Store (\PWLV, Local0)
- Return (Decrement (Local0))
- }
- }
- }
- }
- }
- Device (OMSC)
- {
- Name (_HID, EisaId ("PNP0C02"))
- Name (_UID, 0x00)
- Name (CRS, ResourceTemplate ()
- {
- Memory32Fixed (ReadOnly,
- 0x00000000, // Address Base
- 0x00000000, // Address Length
- _Y04)
- Memory32Fixed (ReadOnly,
- 0x00000000, // Address Base
- 0x00000000, // Address Length
- _Y05)
- })
- Method (_CRS, 0, NotSerialized)
- {
- If (APCB)
- {
- CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y04._LEN, ML01)
- CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y04._BAS, MB01)
- CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y05._LEN, ML02)
- CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y05._BAS, MB02)
- Store (APCB, MB01)
- Store (APCL, ML01)
- Store (0xFEE00000, MB02)
- Store (0x1000, ML02)
- }
- Return (CRS)
- }
- }
- Device (\_SB.RMEM)
- {
- Name (_HID, EisaId ("PNP0C01"))
- Name (_UID, 0x01)
- Name (CRS, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x000A0000, // Address Length
- )
- Memory32Fixed (ReadOnly,
- 0x00000000, // Address Base
- 0x00000000, // Address Length
- _Y06)
- Memory32Fixed (ReadOnly,
- 0x000E0000, // Address Base
- 0x00020000, // Address Length
- _Y07)
- Memory32Fixed (ReadWrite,
- 0x00100000, // Address Base
- 0x00000000, // Address Length
- _Y08)
- Memory32Fixed (ReadOnly,
- 0x00000000, // Address Base
- 0x00000000, // Address Length
- _Y09)
- })
- Method (_CRS, 0, NotSerialized)
- {
- CreateDWordField (CRS, \_SB.RMEM._Y06._BAS, BAS1)
- CreateDWordField (CRS, \_SB.RMEM._Y06._LEN, LEN1)
- CreateDWordField (CRS, \_SB.RMEM._Y07._BAS, BAS2)
- CreateDWordField (CRS, \_SB.RMEM._Y07._LEN, LEN2)
- CreateDWordField (CRS, \_SB.RMEM._Y08._LEN, LEN3)
- CreateDWordField (CRS, \_SB.RMEM._Y09._BAS, BAS4)
- CreateDWordField (CRS, \_SB.RMEM._Y09._LEN, LEN4)
- If (OSFL ()) {}
- Else
- {
- If (MG1B)
- {
- If (LGreater (MG1B, 0x000C0000))
- {
- Store (0x000C0000, BAS1)
- Subtract (MG1B, BAS1, LEN1)
- }
- }
- Else
- {
- Store (0x000C0000, BAS1)
- Store (0x00020000, LEN1)
- }
- If (Add (MG1B, MG1L, Local0))
- {
- Store (Local0, BAS2)
- Subtract (0x00100000, BAS2, LEN2)
- }
- }
- Subtract (MG2B, 0x00100000, LEN3)
- Add (MG2B, MG2L, BAS4)
- Subtract (0x00, BAS4, LEN4)
- Return (CRS)
- }
- }
- Device (EC0)
- {
- Name (_HID, EisaId ("PNP0C09"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0062, // Range Minimum
- 0x0062, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0066, // Range Minimum
- 0x0066, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- })
- Name (FGEC, 0x00)
- Method (_REG, 2, NotSerialized)
- {
- If (LEqual (Arg0, 0x03))
- {
- Store (Arg1, FGEC)
- Store (0x00, THPP)
- }
- If (LEqual (OSFL (), 0x01))
- {
- Store (0x01, OSEC)
- }
- Else
- {
- If (LEqual (OSFL (), 0x00))
- {
- Store (0x02, OSEC)
- If (CondRefOf (_OSI, Local0))
- {
- If (\_OSI ("Windows 2001"))
- {
- Store (0x04, OSEC)
- }
- }
- }
- Else
- {
- If (LEqual (OSFL (), 0x02))
- {
- Store (0x03, OSEC)
- }
- }
- }
- Store (0xC8, SSMI)
- }
- OperationRegion (ECXP, EmbeddedControl, 0x00, 0x0100)
- Field (ECXP, ByteAcc, Lock, Preserve)
- {
- XIF0, 16,
- XIF1, 16,
- XIF2, 16,
- XIF3, 16,
- XIF4, 16,
- XIF5, 16,
- XIF6, 16,
- XIF7, 16,
- XIF8, 16,
- XIF9, 64,
- XIFA, 64,
- XIFB, 64,
- XIFC, 64,
- XST0, 16,
- XST1, 16,
- XST2, 16,
- XST3, 16,
- XTP0, 16,
- XCIN, 1,
- , 1,
- XTIN, 1,
- Offset (0x3D),
- Offset (0x3E),
- XHPP, 7,
- Offset (0x3F),
- Offset (0x40),
- XSEC, 3,
- Offset (0x41),
- XLPT, 8
- }
- Name (_GPE, 0x02)
- Method (_Q00, 0, NotSerialized)
- {
- }
- Method (_Q18, 0, NotSerialized)
- {
- Store ("Trip Point Event", Debug)
- Notify (\_SB.PCI0.BAT0, 0x80)
- }
- Method (_Q06, 0, NotSerialized)
- {
- Notify (\_PR.CPU1, 0x80)
- Store (0x06, DBG8)
- Store ("Battery Change Event", Debug)
- If (LEqual (OSFL (), 0x01))
- {
- If (BTIN)
- {
- Notify (\_SB.PCI0.BAT0, 0x01)
- }
- Else
- {
- Notify (\_SB.PCI0.BAT0, 0x00)
- }
- Notify (\_SB.PCI0.BAT0, 0x80)
- Notify (\_SB.PCI0, 0x00)
- }
- If (LEqual (OSFL (), 0x02))
- {
- Store (0x01, FAKE)
- Notify (\_SB.PCI0.AC0, 0x00)
- Store (0x00, FAKE)
- Notify (\_SB.PCI0.AC0, 0x00)
- If (BTIN)
- {
- Notify (\_SB.PCI0.BAT0, 0x00)
- }
- Else
- {
- Notify (\_SB.PCI0.BAT0, 0x03)
- }
- Notify (\_SB.PCI0.BAT0, 0x81)
- Notify (\_SB.PCI0.BAT0, 0x80)
- }
- If (LEqual (OSFL (), 0x00))
- {
- Sleep (0x01F4)
- If (BTIN)
- {
- Notify (\_SB.PCI0.BAT0, 0x01)
- }
- Else
- {
- Notify (\_SB.PCI0.BAT0, 0x00)
- }
- Notify (\_SB.PCI0.BAT0, 0x80)
- }
- }
- Method (_Q07, 0, NotSerialized)
- {
- Notify (\_PR.CPU1, 0x80)
- Store (0x07, DBG8)
- Store ("AC Change", Debug)
- If (LEqual (OSFL (), 0x01))
- {
- Store (0x00, FAKE)
- Notify (\_SB.PCI0.AC0, 0x00)
- }
- If (LEqual (OSFL (), 0x02))
- {
- Store (0x00, FAKE)
- Notify (\_SB.PCI0.AC0, 0x00)
- }
- If (LEqual (OSFL (), 0x00))
- {
- Notify (\_SB.PCI0.AC0, 0x80)
- Notify (\_SB.PCI0.BAT0, 0x80)
- }
- }
- Method (_Q0A, 0, NotSerialized)
- {
- Store ("FN+F1 Event", Debug)
- Notify (\_SB.SLPB, 0x80)
- }
- Method (_Q0C, 0, NotSerialized)
- {
- Store ("FN+F3 Event", Debug)
- Store (0xB2, SSMI)
- }
- Method (_Q0D, 0, NotSerialized)
- {
- Store ("FN+F4 Event", Debug)
- If (LEqual (\_SB.PCI0.AGP.VGA.SWIT, 0x00))
- {
- If (LEqual (\_SB.PCI0.AGP.VGA.GDFG, 0x01))
- {
- Notify (\_SB.PCI0.AGP.VGA, 0x80)
- Store (0x00, \_SB.PCI0.AGP.VGA.GDFG)
- Sleep (0x07D0)
- }
- If (LEqual (\_SB.PCI0.AGP.VGA.GDTS, 0x00))
- {
- If (LEqual (\_SB.PCI0.AGP.VGA.GDGS, 0x01))
- {
- Store (0x00, \_SB.PCI0.AGP.VGA.LCD._DGS)
- Store (0x01, \_SB.PCI0.AGP.VGA.CRT._DGS)
- }
- If (LEqual (\_SB.PCI0.AGP.VGA.GDGS, 0x02))
- {
- Store (0x01, \_SB.PCI0.AGP.VGA.LCD._DGS)
- Store (0x00, \_SB.PCI0.AGP.VGA.CRT._DGS)
- }
- If (LEqual (\_SB.PCI0.AGP.VGA.GDGS, 0x03))
- {
- Store (0x01, \_SB.PCI0.AGP.VGA.LCD._DGS)
- Store (0x01, \_SB.PCI0.AGP.VGA.CRT._DGS)
- }
- Notify (\_SB.PCI0.AGP.VGA, 0x80)
- If (LEqual (\_SB.PCI0.AGP.VGA.GDGS, 0x03))
- {
- Store (0x01, \_SB.PCI0.AGP.VGA.GDGS)
- }
- Else
- {
- Add (0x01, \_SB.PCI0.AGP.VGA.GDGS, \_SB.PCI0.AGP.VGA.GDGS)
- }
- }
- }
- }
- Method (_Q10, 0, NotSerialized)
- {
- Store ("FN+F7 Event", Debug)
- Store (0xB6, SSMI)
- }
- Method (_Q11, 0, NotSerialized)
- {
- Store ("FN+F8 Event", Debug)
- Store (0xB7, SSMI)
- }
- Method (_Q12, 0, NotSerialized)
- {
- }
- Method (_Q13, 0, NotSerialized)
- {
- }
- Method (_Q14, 0, NotSerialized)
- {
- }
- Method (_Q15, 0, NotSerialized)
- {
- }
- Method (_Q16, 0, NotSerialized)
- {
- Store (0x01, LIDS)
- Notify (\_SB.PCI0.SBRG.LID, 0x80)
- }
- Method (_Q19, 0, NotSerialized)
- {
- Store (0x00, LIDS)
- Notify (\_SB.PCI0.SBRG.LID, 0x80)
- }
- Method (_Q1E, 0, NotSerialized)
- {
- }
- Method (_Q1F, 0, NotSerialized)
- {
- }
- Method (_Q20, 0, NotSerialized)
- {
- }
- Method (_Q21, 0, NotSerialized)
- {
- }
- Method (_Q22, 0, NotSerialized)
- {
- }
- Method (_Q23, 0, NotSerialized)
- {
- }
- Method (_Q24, 0, NotSerialized)
- {
- }
- Method (_Q25, 0, NotSerialized)
- {
- }
- Method (_Q27, 0, NotSerialized)
- {
- Store (0x7D, THPP)
- Notify (\_TZ.THRM, 0x80)
- }
- Method (_Q2E, 0, NotSerialized)
- {
- Not (\SLMS, \SLMS)
- If (\SLMS)
- {
- Store (0xD4, SSMI)
- }
- Else
- {
- Store (0xD5, SSMI)
- }
- Notify (\_PR.CPU1, 0x80)
- }
- Method (_Q40, 0, NotSerialized)
- {
- If (XCIN)
- {
- Store (0xCC, SSMI)
- Store (0xCC, DBG8)
- }
- }
- Method (_Q41, 0, NotSerialized)
- {
- If (XCIN)
- {
- Store (0xCD, SSMI)
- Store (0xCD, DBG8)
- }
- }
- Method (_Q42, 0, NotSerialized)
- {
- If (XCIN)
- {
- Store (0xCE, SSMI)
- Store (0xCE, DBG8)
- }
- }
- Method (_Q43, 0, NotSerialized)
- {
- If (XCIN)
- {
- Store (0xCF, SSMI)
- Store (0xCF, DBG8)
- }
- }
- Method (_Q44, 0, NotSerialized)
- {
- If (XCIN)
- {
- Store (0xD0, SSMI)
- Store (0xD0, DBG8)
- }
- }
- Method (_Q45, 0, NotSerialized)
- {
- If (XCIN)
- {
- Store (0xD1, SSMI)
- Store (0xD1, DBG8)
- }
- }
- Method (_Q46, 0, NotSerialized)
- {
- If (XCIN)
- {
- Store (0xD2, SSMI)
- Store (0xD2, DBG8)
- }
- }
- Method (_Q47, 0, NotSerialized)
- {
- If (XCIN)
- {
- Store (0xD3, SSMI)
- Store (0xD3, DBG8)
- }
- }
- Device (\_SB.PCI0.BAT0)
- {
- Name (_HID, EisaId ("PNP0C0A"))
- Name (_UID, 0x00)
- Name (_PCL, Package (0x01)
- {
- \_SB.PCI0.SBRG.EC0
- })
- Name (PAK1, Package (0x0D)
- {
- 0x00,
- 0x0C56,
- 0x0C56,
- 0x00,
- 0x2A30,
- 0x013B,
- 0x9D,
- 0x10,
- 0x08,
- "255/259",
- "00001",
- "LiON",
- "OEM"
- })
- Method (_BIF, 0, NotSerialized)
- {
- Store ("BIf", Debug)
- If (LEqual (OSFL (), 0x00))
- {
- Store (\_SB.PCI0.SBRG.EC0.XIF0, Index (PAK1, 0x00))
- Store (\_SB.PCI0.SBRG.EC0.XIF1, Index (PAK1, 0x01))
- Store (\_SB.PCI0.SBRG.EC0.XIF2, Local0)
- Store (Local0, Index (PAK1, 0x02))
- Store (\_SB.PCI0.SBRG.EC0.XIF3, Index (PAK1, 0x03))
- Store (\_SB.PCI0.SBRG.EC0.XIF4, Index (PAK1, 0x04))
- Store (Divide (Local0, 0x0A, ), Index (PAK1, 0x05))
- Store (Divide (Local0, 0x14, ), Index (PAK1, 0x06))
- Store (\_SB.PCI0.SBRG.EC0.XIF7, Index (PAK1, 0x07))
- }
- Else
- {
- Store (0xC9, SSMI)
- Store (BIF0, Index (PAK1, 0x00))
- Store (BIF1, Index (PAK1, 0x01))
- Store (BIF2, Local0)
- Store (Local0, Index (PAK1, 0x02))
- Store (BIF3, Index (PAK1, 0x03))
- Store (BIF4, Index (PAK1, 0x04))
- Store (Divide (Local0, 0x0A, ), Index (PAK1, 0x05))
- Store (Divide (Local0, 0x14, ), Index (PAK1, 0x06))
- Store (BIF7, Index (PAK1, 0x07))
- }
- Return (PAK1)
- }
- Name (BFB0, Package (0x04)
- {
- 0x00,
- 0x00,
- 0x1034,
- 0x2A30
- })
- Method (_BST, 0, NotSerialized)
- {
- Store ("BST Start", Debug)
- If (LEqual (OSFL (), 0x00))
- {
- Store (\_SB.PCI0.SBRG.EC0.XST0, Index (BFB0, 0x00))
- Store (\_SB.PCI0.SBRG.EC0.XST2, Index (BFB0, 0x02))
- Store (\_SB.PCI0.SBRG.EC0.XST3, Index (BFB0, 0x03))
- }
- Else
- {
- Store (0xCA, SSMI)
- Store (BST0, Index (BFB0, 0x00))
- Store (BST2, Index (BFB0, 0x02))
- Store (BST3, Index (BFB0, 0x03))
- }
- Store ("BST End", Debug)
- Return (BFB0)
- }
- Method (_STA, 0, NotSerialized)
- {
- Store ("BAT_STA Start", Debug)
- If (LEqual (OSFL (), 0x00))
- {
- If (LEqual (\_SB.PCI0.SBRG.EC0.FGEC, 0x00))
- {
- Store (0xC8, SSMI)
- Store (BTIN, Local0)
- }
- Else
- {
- Store (\_SB.PCI0.SBRG.EC0.XTIN, Local0)
- }
- If (Local0)
- {
- Return (0x1F)
- }
- Else
- {
- Return (0x0F)
- }
- }
- Else
- {
- Store (0xC8, SSMI)
- Store (BTIN, Local0)
- If (Local0)
- {
- Return (0x1F)
- }
- Else
- {
- Return (0x0F)
- }
- Store ("BAT_STA END", Debug)
- }
- }
- }
- Device (\_SB.PCI0.AC0)
- {
- Name (_HID, "ACPI0003")
- Name (_PCL, Package (0x01)
- {
- \_SB.PCI0.SBRG.EC0
- })
- Method (_PSR, 0, NotSerialized)
- {
- If (LNotEqual (FAKE, 0x00))
- {
- Return (0x00)
- }
- Else
- {
- If (LEqual (OSFL (), 0x00))
- {
- Store (\_SB.PCI0.SBRG.EC0.XCIN, Local0)
- }
- Else
- {
- Store (\_SB.PCI0.SBRG.EC0.ACIN, Local0)
- }
- Return (Local0)
- }
- }
- }
- Scope (\_TZ)
- {
- ThermalZone (THRM)
- {
- Method (KELV, 1, NotSerialized)
- {
- If (LGreater (Arg0, 0x7F))
- {
- XOr (Arg0, 0xFF, Local0)
- Add (Local0, 0x01, Local0)
- Multiply (Local0, 0x0A, Local0)
- Subtract (0x0AAC, Local0, Local1)
- }
- Else
- {
- Multiply (Arg0, 0x0A, Local0)
- Add (Local0, 0x0AAC, Local1)
- }
- Return (Local1)
- }
- Method (_TMP, 0, NotSerialized)
- {
- If (LEqual (\_SB.PCI0.SBRG.EC0.FGEC, 0x00))
- {
- Return (KELV (0x1E))
- }
- If (THPP)
- {
- Return (KELV (THPP))
- }
- Else
- {
- Return (KELV (\_SB.PCI0.SBRG.EC0.XHPP))
- }
- }
- Method (_CRT, 0, NotSerialized)
- {
- Return (KELV (0x78))
- }
- }
- }
- }
- Scope (\_GPE)
- {
- Method (_L02, 0, NotSerialized)
- {
- Notify (\_SB.PCI0, 0x02)
- }
- }
- Name (LIDS, 0x01)
- Device (\_SB.PCI0.SBRG.LID)
- {
- Name (_HID, EisaId ("PNP0C0D"))
- Name (_PRW, Package (0x02)
- {
- 0x02,
- 0x04
- })
- Method (_LID, 0, NotSerialized)
- {
- Return (LIDS)
- }
- }
- Device (\_SB.SLPB)
- {
- Name (_HID, EisaId ("PNP0C0E"))
- Method (_STA, 0, NotSerialized)
- {
- Return (0x0B)
- }
- Method (SBEV, 0, NotSerialized)
- {
- If (SLPS)
- {
- Store (0x00, SLPS)
- Notify (SLPB, 0x02)
- }
- Else
- {
- Store (0x01, SLPS)
- Notify (SLPB, 0x80)
- }
- }
- Name (_PRW, Package (0x02)
- {
- 0x0F,
- 0x04
- })
- }
- Scope (\)
- {
- OperationRegion (PMRG, SystemIO, 0x0800, 0x80)
- Field (PMRG, ByteAcc, NoLock, Preserve)
- {
- Offset (0x01),
- WWAK, 8,
- Offset (0x04),
- SCIF, 1,
- Offset (0x06),
- RTCS, 8,
- Offset (0x10),
- THRT, 8,
- Offset (0x48),
- SSMI, 8
- }
- Mutex (ECKP, 0x00)
- Name (FGEC, 0x00)
- Name (TEM1, 0x00)
- Name (FAKE, 0x00)
- Name (SLPS, 0x00)
- Name (SLMS, 0x00)
- Field (BIOS, ByteAcc, NoLock, Preserve)
- {
- Offset (0x50),
- BIF0, 16,
- BIF1, 16,
- BIF2, 16,
- BIF3, 16,
- BIF4, 16,
- BIF5, 16,
- BIF6, 16,
- BIF7, 16,
- BIF8, 16,
- BIF9, 64,
- BIFA, 64,
- BIFB, 64,
- BIFC, 64,
- BST0, 16,
- BST1, 16,
- BST2, 16,
- BST3, 16,
- BTP0, 16,
- ACIN, 1,
- , 1,
- BTIN, 1,
- Offset (0x8E),
- THPP, 7,
- Offset (0x8F),
- Offset (0x90),
- OSEC, 3,
- Offset (0x91),
- SLPT, 8
- }
- }
- }
- Device (IDEC)
- {
- Name (_ADR, 0x00020005)
- Name (IO5T, Package (0x03)
- {
- Package (0x07)
- {
- 0x78,
- 0xB4,
- 0x014A,
- 0x0186,
- 0x0258,
- 0x78,
- 0x96
- },
- Package (0x07)
- {
- 0x06,
- 0x07,
- 0x1C,
- 0x1C,
- 0x1C,
- 0x06,
- 0x07
- },
- Package (0x07)
- {
- 0x04,
- 0x09,
- 0x03,
- 0x09,
- 0x1E,
- 0x04,
- 0x06
- }
- })
- Name (IO6T, Package (0x03)
- {
- Package (0x07)
- {
- 0x78,
- 0xB4,
- 0x014A,
- 0x0186,
- 0x0258,
- 0x78,
- 0xB4
- },
- Package (0x07)
- {
- 0x09,
- 0x0A,
- 0x26,
- 0x26,
- 0x26,
- 0x09,
- 0x0A
- },
- Package (0x07)
- {
- 0x05,
- 0x0C,
- 0x04,
- 0x0C,
- 0x28,
- 0x05,
- 0x0C
- }
- })
- Name (UM5T, Package (0x06)
- {
- 0x0B,
- 0x07,
- 0x05,
- 0x04,
- 0x02,
- 0x01
- })
- Name (UM6T, Package (0x07)
- {
- 0x0F,
- 0x0A,
- 0x07,
- 0x05,
- 0x03,
- 0x02,
- 0x01
- })
- Name (PIO5, Package (0x05)
- {
- 0x3A,
- 0x25,
- 0x1F,
- 0x10,
- 0x0A
- })
- Name (PIO6, Package (0x05)
- {
- 0x4E,
- 0x32,
- 0x2A,
- 0x16,
- 0x0E
- })
- Name (CRCT, Package (0x07)
- {
- 0x06,
- 0x04,
- 0x03,
- 0x01,
- 0x01,
- 0x01,
- 0x01
- })
- Name (INTT, Package (0x05)
- {
- 0x02,
- 0x02,
- 0x02,
- 0x04,
- 0x06
- })
- Name (DMAT, Package (0x05)
- {
- 0x00,
- 0x01,
- 0x01,
- 0x01,
- 0x02
- })
- Name (RMFL, 0x01)
- OperationRegion (CF40, PCI_Config, 0x40, 0x18)
- Field (CF40, WordAcc, NoLock, Preserve)
- {
- , 1,
- IOR0, 1,
- UDM0, 1,
- UM60, 1,
- UCT0, 4,
- CRC0, 4,
- INI0, 4,
- ATT0, 6,
- Offset (0x03),
- RCT0, 6,
- Offset (0x04),
- , 1,
- IOR1, 1,
- UDM1, 1,
- UM61, 1,
- UCT1, 4,
- CRC1, 4,
- INI1, 4,
- ATT1, 6,
- Offset (0x07),
- RCT1, 6,
- Offset (0x08),
- , 1,
- IOR2, 1,
- UDM2, 1,
- UM62, 1,
- UCT2, 4,
- CRC2, 4,
- INI2, 4,
- ATT2, 6,
- Offset (0x0B),
- RCT2, 6,
- Offset (0x0C),
- , 1,
- IOR3, 1,
- UDM3, 1,
- UM63, 1,
- UCT3, 4,
- CRC3, 4,
- INI3, 4,
- ATT3, 6,
- Offset (0x0F),
- RCT3, 6,
- Offset (0x10),
- , 1,
- CHE0, 1,
- Offset (0x12),
- , 1,
- CHE1, 1,
- Offset (0x14),
- , 30,
- REMP, 1,
- Offset (0x18)
- }
- Name (IDEP, Buffer (0x14) {})
- CreateDWordField (IDEP, 0x00, GTM0)
- CreateDWordField (IDEP, 0x04, GTM1)
- CreateDWordField (IDEP, 0x08, GTM2)
- CreateDWordField (IDEP, 0x0C, GTM3)
- CreateDWordField (IDEP, 0x10, GTM4)
- Device (IDE0)
- {
- Name (_ADR, 0x00)
- Method (_GTM, 0, NotSerialized)
- {
- Store (0xFFFFFFFF, Local0)
- Store (0xFFFFFFFF, Local1)
- Store (0xFFFFFFFF, Local2)
- Store (0xFFFFFFFF, Local3)
- Store (0x10, Local4)
- Store (REMP, RMFL)
- Store (0x00, REMP)
- If (CHE0)
- {
- If (LNotEqual (ATT0, 0x00))
- {
- Add (RCT0, 0x01, Local5)
- Add (ATT0, 0x01, Local6)
- Add (Local5, Local6, Local5)
- Multiply (UM60, 0x05, Local6)
- Subtract (0x14, Local6, Local7)
- Multiply (Local5, Local7, Local0)
- ShiftRight (Local0, 0x01, Local0)
- If (LLessEqual (Local0, 0xB4))
- {
- Store (Local0, Local1)
- }
- If (IOR0)
- {
- Or (Local4, 0x02, Local4)
- }
- If (UDM0)
- {
- Add (UCT0, 0x01, Local5)
- Multiply (Local5, Local7, Local6)
- ShiftRight (Local6, 0x01, Local1)
- Or (Local4, 0x01, Local4)
- }
- }
- If (LNotEqual (ATT1, 0x00))
- {
- Add (RCT1, 0x01, Local5)
- Add (ATT1, 0x01, Local6)
- Add (Local5, Local6, Local5)
- Multiply (UM61, 0x05, Local6)
- Subtract (0x14, Local6, Local7)
- Multiply (Local5, Local7, Local2)
- ShiftRight (Local2, 0x01, Local2)
- If (LLessEqual (Local2, 0xB4))
- {
- Store (Local2, Local3)
- }
- If (IOR1)
- {
- Or (Local4, 0x08, Local4)
- }
- If (UDM1)
- {
- Add (UCT1, 0x01, Local5)
- Multiply (Local5, Local7, Local6)
- ShiftRight (Local6, 0x01, Local3)
- Or (Local4, 0x04, Local4)
- }
- }
- }
- Store (RMFL, REMP)
- Store (Local0, GTM0)
- Store (Local1, GTM1)
- Store (Local2, GTM2)
- Store (Local3, GTM3)
- Store (Local4, GTM4)
- Return (IDEP)
- }
- Method (_STM, 3, NotSerialized)
- {
- Store (Arg0, IDEP)
- Store (GTM0, Local0)
- Store (GTM1, Local1)
- Store (GTM2, Local2)
- Store (GTM3, Local3)
- Store (GTM4, Local4)
- Store (REMP, RMFL)
- Store (0x00, REMP)
- If (LAnd (LNotEqual (Local1, 0xFFFFFFFF), LNotEqual (Local1, 0x00)))
- {
- If (And (Local4, 0x01))
- {
- Store (0x01, UDM0)
- If (LLess (Local1, 0x14))
- {
- Store (0x01, UM60)
- Store (0x01, UCT0)
- }
- Else
- {
- Store (0x00, UM60)
- Divide (Local1, 0x0A, Local6, Local5)
- Decrement (Local5)
- Store (Local5, UCT0)
- Store (Match (UM5T, MEQ, Local5, MTR, 0x00, 0x00), Local5)
- Store (DerefOf (Index (CRCT, Local5)), CRC0)
- }
- }
- }
- If (LAnd (LNotEqual (Local0, 0xFFFFFFFF), LNotEqual (Local0, 0x00)))
- {
- If (UM60)
- {
- Store (Match (DerefOf (Index (IO6T, 0x00)), MEQ, Local0, MTR,
- 0x00, 0x00), Local6)
- Store (DerefOf (Index (DerefOf (Index (IO6T, 0x01)), Local6)),
- ATT0)
- Store (DerefOf (Index (DerefOf (Index (IO6T, 0x02)), Local6)),
- RCT0)
- }
- Else
- {
- Store (Match (DerefOf (Index (IO5T, 0x00)), MEQ, Local0, MTR,
- 0x00, 0x00), Local6)
- Store (DerefOf (Index (DerefOf (Index (IO5T, 0x01)), Local6)),
- ATT0)
- Store (DerefOf (Index (DerefOf (Index (IO5T, 0x02)), Local6)),
- RCT0)
- Store (DerefOf (Index (INTT, Local6)), INI0)
- }
- }
- If (LAnd (LNotEqual (Local3, 0xFFFFFFFF), LNotEqual (Local3, 0x00)))
- {
- If (And (Local4, 0x04))
- {
- Store (0x01, UDM1)
- If (LLess (Local3, 0x14))
- {
- Store (0x01, UM61)
- Store (0x01, UCT1)
- }
- Else
- {
- Store (0x00, UM61)
- Divide (Local3, 0x0A, Local6, Local5)
- Decrement (Local5)
- Store (Local5, UCT1)
- Store (Match (UM5T, MEQ, Local5, MTR, 0x00, 0x00), Local5)
- Store (DerefOf (Index (CRCT, Local5)), CRC1)
- }
- }
- }
- If (LAnd (LNotEqual (Local2, 0xFFFFFFFF), LNotEqual (Local2, 0x00)))
- {
- If (UM61)
- {
- Store (Match (DerefOf (Index (IO6T, 0x00)), MEQ, Local2, MTR,
- 0x00, 0x00), Local6)
- Store (DerefOf (Index (DerefOf (Index (IO6T, 0x01)), Local6)),
- ATT1)
- Store (DerefOf (Index (DerefOf (Index (IO6T, 0x02)), Local6)),
- RCT1)
- }
- Else
- {
- Store (Match (DerefOf (Index (IO5T, 0x00)), MEQ, Local2, MTR,
- 0x00, 0x00), Local6)
- Store (DerefOf (Index (DerefOf (Index (IO5T, 0x01)), Local6)),
- ATT1)
- Store (DerefOf (Index (DerefOf (Index (IO5T, 0x02)), Local6)),
- RCT1)
- Store (DerefOf (Index (INTT, Local6)), INI1)
- }
- }
- Store (RMFL, REMP)
- }
- Device (DRV0)
- {
- Name (_ADR, 0x00)
- Method (_GTF, 0, NotSerialized)
- {
- Store (Buffer (0x07)
- {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF
- }, Local6)
- Store (Buffer (0x07)
- {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF
- }, Local7)
- CreateByteField (Local6, 0x01, MODE)
- CreateByteField (Local7, 0x01, UMOD)
- Store (REMP, RMFL)
- Store (0x00, REMP)
- If (LNotEqual (ATT0, 0x00))
- {
- Add (ATT0, RCT0, Local5)
- If (UM60)
- {
- Store (Match (PIO6, MEQ, Local5, MTR, 0x00, 0x00), MODE)
- }
- Else
- {
- Store (Match (PIO5, MEQ, Local5, MTR, 0x00, 0x00), MODE)
- }
- If (UDM0)
- {
- If (UM60)
- {
- Store (Match (UM6T, MEQ, UCT0, MTR, 0x00, 0x00), UMOD)
- }
- Else
- {
- Store (Match (UM5T, MEQ, UCT0, MTR, 0x00, 0x00), UMOD)
- }
- Or (UMOD, 0x40, UMOD)
- }
- Else
- {
- Store (DerefOf (Index (DMAT, MODE)), UMOD)
- Or (UMOD, 0x20, UMOD)
- }
- Or (MODE, 0x08, MODE)
- }
- Store (RMFL, REMP)
- Concatenate (Local6, Local7, Local5)
- Return (Local5)
- }
- }
- Device (DRV1)
- {
- Name (_ADR, 0x01)
- Method (_GTF, 0, NotSerialized)
- {
- Store (Buffer (0x07)
- {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF
- }, Local6)
- Store (Buffer (0x07)
- {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF
- }, Local7)
- CreateByteField (Local6, 0x01, MODE)
- CreateByteField (Local7, 0x01, UMOD)
- Store (REMP, RMFL)
- Store (0x00, REMP)
- If (LNotEqual (ATT1, 0x00))
- {
- Add (ATT1, RCT1, Local5)
- If (UM61)
- {
- Store (Match (PIO6, MEQ, Local5, MTR, 0x00, 0x00), MODE)
- }
- Else
- {
- Store (Match (PIO5, MEQ, Local5, MTR, 0x00, 0x00), MODE)
- }
- If (UDM1)
- {
- If (UM61)
- {
- Store (Match (UM6T, MEQ, UCT1, MTR, 0x00, 0x00), UMOD)
- }
- Else
- {
- Store (Match (UM5T, MEQ, UCT1, MTR, 0x00, 0x00), UMOD)
- }
- Or (UMOD, 0x40, UMOD)
- }
- Else
- {
- Store (DerefOf (Index (DMAT, MODE)), UMOD)
- Or (UMOD, 0x20, UMOD)
- }
- Or (MODE, 0x08, MODE)
- }
- Store (RMFL, REMP)
- Concatenate (Local6, Local7, Local5)
- Return (Local5)
- }
- }
- }
- Device (IDE1)
- {
- Name (_ADR, 0x01)
- Method (_GTM, 0, NotSerialized)
- {
- Store (0xFFFFFFFF, Local0)
- Store (0xFFFFFFFF, Local1)
- Store (0xFFFFFFFF, Local2)
- Store (0xFFFFFFFF, Local3)
- Store (0x10, Local4)
- Store (REMP, RMFL)
- Store (0x00, REMP)
- If (CHE1)
- {
- If (LNotEqual (ATT2, 0x00))
- {
- Add (RCT2, 0x01, Local5)
- Add (ATT2, 0x01, Local6)
- Add (Local5, Local6, Local5)
- Multiply (UM62, 0x05, Local6)
- Subtract (0x14, Local6, Local7)
- Multiply (Local5, Local7, Local0)
- ShiftRight (Local0, 0x01, Local0)
- If (LLessEqual (Local0, 0xB4))
- {
- Store (Local0, Local1)
- }
- If (IOR2)
- {
- Or (Local4, 0x02, Local4)
- }
- If (UDM2)
- {
- Add (UCT2, 0x01, Local5)
- Multiply (Local5, Local7, Local6)
- ShiftRight (Local6, 0x01, Local1)
- Or (Local4, 0x01, Local4)
- }
- }
- If (LNotEqual (ATT3, 0x00))
- {
- Add (RCT3, 0x01, Local5)
- Add (ATT3, 0x01, Local6)
- Add (Local5, Local6, Local5)
- Multiply (UM63, 0x05, Local6)
- Subtract (0x14, Local6, Local7)
- Multiply (Local5, Local7, Local2)
- ShiftRight (Local2, 0x01, Local2)
- If (LLessEqual (Local2, 0xB4))
- {
- Store (Local2, Local3)
- }
- If (IOR3)
- {
- Or (Local4, 0x08, Local4)
- }
- If (UDM3)
- {
- Add (UCT3, 0x01, Local5)
- Multiply (Local5, Local7, Local6)
- ShiftRight (Local6, 0x01, Local3)
- Or (Local4, 0x04, Local4)
- }
- }
- }
- Store (RMFL, REMP)
- Store (Local0, GTM0)
- Store (Local1, GTM1)
- Store (Local2, GTM2)
- Store (Local3, GTM3)
- Store (Local4, GTM4)
- Return (IDEP)
- }
- Method (_STM, 3, NotSerialized)
- {
- Store (Arg0, IDEP)
- Store (GTM0, Local0)
- Store (GTM1, Local1)
- Store (GTM2, Local2)
- Store (GTM3, Local3)
- Store (GTM4, Local4)
- Store (REMP, RMFL)
- Store (0x00, REMP)
- If (LAnd (LNotEqual (Local1, 0xFFFFFFFF), LNotEqual (Local1, 0x00)))
- {
- If (And (Local4, 0x01))
- {
- Store (0x01, UDM2)
- If (LLess (Local1, 0x14))
- {
- Store (0x01, UM62)
- Store (0x01, UCT2)
- }
- Else
- {
- Store (0x00, UM62)
- Divide (Local1, 0x0A, Local6, Local5)
- Decrement (Local5)
- Store (Local5, UCT2)
- Store (Match (UM5T, MEQ, Local5, MTR, 0x00, 0x00), Local5)
- Store (DerefOf (Index (CRCT, Local5)), CRC2)
- }
- }
- }
- If (LAnd (LNotEqual (Local0, 0xFFFFFFFF), LNotEqual (Local0, 0x00)))
- {
- If (UM62)
- {
- Store (Match (DerefOf (Index (IO6T, 0x00)), MEQ, Local0, MTR,
- 0x00, 0x00), Local6)
- Store (DerefOf (Index (DerefOf (Index (IO6T, 0x01)), Local6)),
- ATT2)
- Store (DerefOf (Index (DerefOf (Index (IO6T, 0x02)), Local6)),
- RCT2)
- }
- Else
- {
- Store (Match (DerefOf (Index (IO5T, 0x00)), MEQ, Local0, MTR,
- 0x00, 0x00), Local6)
- Store (DerefOf (Index (DerefOf (Index (IO5T, 0x01)), Local6)),
- ATT2)
- Store (DerefOf (Index (DerefOf (Index (IO5T, 0x02)), Local6)),
- RCT2)
- Store (DerefOf (Index (INTT, Local6)), INI2)
- }
- }
- If (LAnd (LNotEqual (Local3, 0xFFFFFFFF), LNotEqual (Local3, 0x00)))
- {
- If (And (Local4, 0x04))
- {
- Store (0x01, UDM3)
- If (LLess (Local3, 0x14))
- {
- Store (0x01, UM63)
- Store (0x01, UCT3)
- }
- Else
- {
- Store (0x00, UM63)
- Divide (Local3, 0x0A, Local6, Local5)
- Decrement (Local5)
- Store (Local5, UCT3)
- Store (Match (UM5T, MEQ, Local5, MTR, 0x00, 0x00), Local5)
- Store (DerefOf (Index (CRCT, Local5)), CRC3)
- }
- }
- }
- If (LAnd (LNotEqual (Local2, 0xFFFFFFFF), LNotEqual (Local2, 0x00)))
- {
- If (UM63)
- {
- Store (Match (DerefOf (Index (IO6T, 0x00)), MEQ, Local2, MTR,
- 0x00, 0x00), Local6)
- Store (DerefOf (Index (DerefOf (Index (IO6T, 0x01)), Local6)),
- ATT3)
- Store (DerefOf (Index (DerefOf (Index (IO6T, 0x02)), Local6)),
- RCT3)
- }
- Else
- {
- Store (Match (DerefOf (Index (IO5T, 0x00)), MEQ, Local2, MTR,
- 0x00, 0x00), Local6)
- Store (DerefOf (Index (DerefOf (Index (IO5T, 0x01)), Local6)),
- ATT3)
- Store (DerefOf (Index (DerefOf (Index (IO5T, 0x02)), Local6)),
- RCT3)
- Store (DerefOf (Index (INTT, Local6)), INI3)
- }
- }
- Store (RMFL, REMP)
- }
- Device (DRV0)
- {
- Name (_ADR, 0x00)
- Method (_GTF, 0, NotSerialized)
- {
- Store (Buffer (0x07)
- {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF
- }, Local6)
- Store (Buffer (0x07)
- {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF
- }, Local7)
- CreateByteField (Local6, 0x01, MODE)
- CreateByteField (Local7, 0x01, UMOD)
- Store (REMP, RMFL)
- Store (0x00, REMP)
- If (LNotEqual (ATT2, 0x00))
- {
- Add (ATT2, RCT2, Local5)
- If (UM62)
- {
- Store (Match (PIO6, MEQ, Local5, MTR, 0x00, 0x00), MODE)
- }
- Else
- {
- Store (Match (PIO5, MEQ, Local5, MTR, 0x00, 0x00), MODE)
- }
- If (UDM2)
- {
- If (UM62)
- {
- Store (Match (UM6T, MEQ, UCT2, MTR, 0x00, 0x00), UMOD)
- }
- Else
- {
- Store (Match (UM5T, MEQ, UCT2, MTR, 0x00, 0x00), UMOD)
- }
- Or (UMOD, 0x40, UMOD)
- }
- Else
- {
- Store (DerefOf (Index (DMAT, MODE)), UMOD)
- Or (UMOD, 0x20, UMOD)
- }
- Or (MODE, 0x08, MODE)
- }
- Store (RMFL, REMP)
- Concatenate (Local6, Local7, Local5)
- Return (Local5)
- }
- }
- Device (DRV1)
- {
- Name (_ADR, 0x01)
- Method (_GTF, 0, NotSerialized)
- {
- Store (Buffer (0x07)
- {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF
- }, Local6)
- Store (Buffer (0x07)
- {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF
- }, Local7)
- CreateByteField (Local6, 0x01, MODE)
- CreateByteField (Local7, 0x01, UMOD)
- Store (REMP, RMFL)
- Store (0x00, REMP)
- If (LNotEqual (ATT3, 0x00))
- {
- Add (ATT3, RCT3, Local5)
- If (UM63)
- {
- Store (Match (PIO6, MEQ, Local5, MTR, 0x00, 0x00), MODE)
- }
- Else
- {
- Store (Match (PIO5, MEQ, Local5, MTR, 0x00, 0x00), MODE)
- }
- If (UDM3)
- {
- If (UM63)
- {
- Store (Match (UM6T, MEQ, UCT3, MTR, 0x00, 0x00), UMOD)
- }
- Else
- {
- Store (Match (UM5T, MEQ, UCT3, MTR, 0x00, 0x00), UMOD)
- }
- Or (UMOD, 0x40, UMOD)
- }
- Else
- {
- Store (DerefOf (Index (DMAT, MODE)), UMOD)
- Or (UMOD, 0x20, UMOD)
- }
- Or (MODE, 0x08, MODE)
- }
- Store (RMFL, REMP)
- Concatenate (Local6, Local7, Local5)
- Return (Local5)
- }
- }
- }
- }
- Device (EUSB)
- {
- Name (_ADR, 0x00030003)
- }
- Device (USB)
- {
- Name (_ADR, 0x00030000)
- }
- Device (USB2)
- {
- Name (_ADR, 0x00030001)
- }
- Device (USB3)
- {
- Name (_ADR, 0x00030002)
- }
- Device (MAC)
- {
- Name (_ADR, 0x00040000)
- Method (_PRW, 0, NotSerialized)
- {
- Return (GPRW (0x0C, 0x04))
- }
- }
- Device (AC97)
- {
- Name (_ADR, 0x00020007)
- Method (_PRW, 0, NotSerialized)
- {
- Return (GPRW (0x0A, 0x04))
- }
- }
- Device (MC97)
- {
- Name (_ADR, 0x00020006)
- Method (_PRW, 0, NotSerialized)
- {
- Return (GPRW (0x05, 0x04))
- }
- }
- }
- Scope (\_GPE)
- {
- Method (_L0C, 0, NotSerialized)
- {
- Notify (\_SB.PCI0.MAC, 0x02)
- Notify (\_SB.PWRB, 0x02)
- }
- Method (_L0A, 0, NotSerialized)
- {
- Notify (\_SB.PCI0.AC97, 0x02)
- Notify (\_SB.PWRB, 0x02)
- }
- Method (_L05, 0, NotSerialized)
- {
- Notify (\_SB.PCI0.MC97, 0x02)
- Notify (\_SB.PWRB, 0x02)
- }
- }
- Device (PWRB)
- {
- Name (_HID, EisaId ("PNP0C0C"))
- Name (_UID, 0xAA)
- Name (_STA, 0x0B)
- }
- }
- Scope (\_SB)
- {
- OperationRegion (\_SB.PCI0.SBRG.PIX0, PCI_Config, 0x41, 0x04)
- OperationRegion (\_SB.PCI0.SBRG.PIX1, PCI_Config, 0x60, 0x04)
- Field (\_SB.PCI0.SBRG.PIX0, ByteAcc, NoLock, Preserve)
- {
- PIRA, 8,
- PIRB, 8,
- PIRC, 8,
- PIRD, 8
- }
- Field (\_SB.PCI0.SBRG.PIX1, ByteAcc, NoLock, Preserve)
- {
- PIRE, 8,
- PIRF, 8,
- PIRG, 8,
- PIRH, 8
- }
- Name (BUFA, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y0A)
- {15}
- })
- Device (LNKA)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x01)
- Method (_STA, 0, NotSerialized)
- {
- And (PIRA, 0x80, Local0)
- If (Local0)
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_PRS, 0, NotSerialized)
- {
- Return (PRSA)
- }
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRA, 0x80, PIRA)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (BUFA, \_SB._Y0A._INT, IRA0)
- And (PIRA, 0x0F, Local0)
- Store (One, Local1)
- ShiftLeft (Local1, Local0, IRA0)
- Return (BUFA)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRA)
- FindSetRightBit (IRA, Local0)
- Decrement (Local0)
- Store (Local0, PIRA)
- }
- }
- Device (LNKB)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x02)
- Method (_STA, 0, NotSerialized)
- {
- And (PIRB, 0x80, Local0)
- If (Local0)
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_PRS, 0, NotSerialized)
- {
- Return (PRSB)
- }
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRB, 0x80, PIRB)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (BUFA, \_SB._Y0A._INT, IRA0)
- And (PIRB, 0x0F, Local0)
- Store (One, Local1)
- ShiftLeft (Local1, Local0, IRA0)
- Return (BUFA)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRA)
- FindSetRightBit (IRA, Local0)
- Decrement (Local0)
- Store (Local0, PIRB)
- }
- }
- Device (LNKC)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x03)
- Method (_STA, 0, NotSerialized)
- {
- And (PIRC, 0x80, Local0)
- If (Local0)
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_PRS, 0, NotSerialized)
- {
- Return (PRSC)
- }
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRC, 0x80, PIRC)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (BUFA, \_SB._Y0A._INT, IRA0)
- And (PIRC, 0x0F, Local0)
- Store (One, Local1)
- ShiftLeft (Local1, Local0, IRA0)
- Return (BUFA)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRA)
- FindSetRightBit (IRA, Local0)
- Decrement (Local0)
- Store (Local0, PIRC)
- }
- }
- Device (LNKD)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x04)
- Method (_STA, 0, NotSerialized)
- {
- And (PIRD, 0x80, Local0)
- If (Local0)
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_PRS, 0, NotSerialized)
- {
- Return (PRSD)
- }
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRD, 0x80, PIRD)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (BUFA, \_SB._Y0A._INT, IRA0)
- And (PIRD, 0x0F, Local0)
- Store (One, Local1)
- ShiftLeft (Local1, Local0, IRA0)
- Return (BUFA)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRA)
- FindSetRightBit (IRA, Local0)
- Decrement (Local0)
- Store (Local0, PIRD)
- }
- }
- Device (LNKE)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x05)
- Method (_STA, 0, NotSerialized)
- {
- And (PIRE, 0x80, Local0)
- If (Local0)
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_PRS, 0, NotSerialized)
- {
- Return (PRSE)
- }
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRE, 0x80, PIRE)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (BUFA, \_SB._Y0A._INT, IRA0)
- And (PIRE, 0x0F, Local0)
- Store (One, Local1)
- ShiftLeft (Local1, Local0, IRA0)
- Return (BUFA)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRA)
- FindSetRightBit (IRA, Local0)
- Decrement (Local0)
- Store (Local0, PIRE)
- }
- }
- Device (LNKF)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x06)
- Method (_STA, 0, NotSerialized)
- {
- And (PIRF, 0x80, Local0)
- If (Local0)
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_PRS, 0, NotSerialized)
- {
- Return (PRSF)
- }
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRF, 0x80, PIRF)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (BUFA, \_SB._Y0A._INT, IRA0)
- And (PIRF, 0x0F, Local0)
- Store (One, Local1)
- ShiftLeft (Local1, Local0, IRA0)
- Return (BUFA)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRA)
- FindSetRightBit (IRA, Local0)
- Decrement (Local0)
- Store (Local0, PIRF)
- }
- }
- Device (LNKG)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x07)
- Method (_STA, 0, NotSerialized)
- {
- And (PIRG, 0x80, Local0)
- If (Local0)
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_PRS, 0, NotSerialized)
- {
- Return (PRSG)
- }
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRG, 0x80, PIRG)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (BUFA, \_SB._Y0A._INT, IRA0)
- And (PIRG, 0x0F, Local0)
- Store (One, Local1)
- ShiftLeft (Local1, Local0, IRA0)
- Return (BUFA)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRA)
- FindSetRightBit (IRA, Local0)
- Decrement (Local0)
- Store (Local0, PIRG)
- }
- }
- Device (LNKH)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x08)
- Method (_STA, 0, NotSerialized)
- {
- And (PIRH, 0x80, Local0)
- If (Local0)
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_PRS, 0, NotSerialized)
- {
- Return (PRSH)
- }
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRH, 0x80, PIRH)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (BUFA, \_SB._Y0A._INT, IRA0)
- And (PIRH, 0x0F, Local0)
- Store (One, Local1)
- ShiftLeft (Local1, Local0, IRA0)
- Return (BUFA)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRA)
- FindSetRightBit (IRA, Local0)
- Decrement (Local0)
- Store (Local0, PIRH)
- }
- }
- }
- Scope (\_SB)
- {
- Scope (PCI0)
- {
- Name (CRS, ResourceTemplate ()
- {
- WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
- 0x0000, // Granularity
- 0x0000, // Range Minimum
- 0x00FF, // Range Maximum
- 0x0000, // Translation Offset
- 0x0100, // Length
- ,, )
- IO (Decode16,
- 0x0CF8, // Range Minimum
- 0x0CF8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x0000, // Granularity
- 0x0000, // Range Minimum
- 0x0CF7, // Range Maximum
- 0x0000, // Translation Offset
- 0x0CF8, // Length
- ,, , TypeStatic)
- WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x0000, // Granularity
- 0x0D00, // Range Minimum
- 0xFFFF, // Range Maximum
- 0x0000, // Translation Offset
- 0xF300, // Length
- ,, , TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000A0000, // Range Minimum
- 0x000BFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00020000, // Length
- ,, , AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D0000, // Range Minimum
- 0x000D3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, , AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D4000, // Range Minimum
- 0x000D7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, , AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000DE000, // Range Minimum
- 0x000DFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00002000, // Length
- ,, , AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0x00000000, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00000000, // Length
- ,, _Y0B, AddressRangeMemory, TypeStatic)
- })
- CreateDWordField (CRS, \_SB.PCI0._Y0B._MIN, MIN6)
- CreateDWordField (CRS, \_SB.PCI0._Y0B._MAX, MAX6)
- CreateDWordField (CRS, \_SB.PCI0._Y0B._LEN, LEN6)
- Method (_CRS, 0, NotSerialized)
- {
- Store (MG2B, MIN6)
- Store (MG2L, LEN6)
- Store (MG2L, Local0)
- Add (MIN6, Decrement (Local0), MAX6)
- Return (CRS)
- }
- Method (_S3D, 0, NotSerialized)
- {
- If (LOr (LEqual (OSFL (), 0x01), LEqual (OSFL (), 0x02)))
- {
- Return (0x02)
- }
- Else
- {
- Return (0x03)
- }
- }
- Scope (EUSB)
- {
- Method (_S3D, 0, NotSerialized)
- {
- If (LOr (LEqual (OSFL (), 0x01), LEqual (OSFL (), 0x02)))
- {
- Return (0x02)
- }
- Else
- {
- Return (0x03)
- }
- }
- }
- Scope (USB)
- {
- Method (_S3D, 0, NotSerialized)
- {
- If (LOr (LEqual (OSFL (), 0x01), LEqual (OSFL (), 0x02)))
- {
- Return (0x02)
- }
- Else
- {
- Return (0x03)
- }
- }
- }
- Scope (USB2)
- {
- Method (_S3D, 0, NotSerialized)
- {
- If (LOr (LEqual (OSFL (), 0x01), LEqual (OSFL (), 0x02)))
- {
- Return (0x02)
- }
- Else
- {
- Return (0x03)
- }
- }
- }
- Scope (USB3)
- {
- Method (_S3D, 0, NotSerialized)
- {
- If (LOr (LEqual (OSFL (), 0x01), LEqual (OSFL (), 0x02)))
- {
- Return (0x02)
- }
- Else
- {
- Return (0x03)
- }
- }
- }
- }
- }
- Method (_PTS, 1, NotSerialized)
- {
- If (LGreaterEqual (Arg0, 0x03)) {}
- Store (Arg0, DBG8)
- PTS (Arg0)
- Or (P42, 0x40, P42)
- Store (OSFL (), P49)
- Store (0x00, Index (WAKP, 0x00))
- Store (0x00, Index (WAKP, 0x01))
- }
- Method (_WAK, 1, NotSerialized)
- {
- ShiftLeft (Arg0, 0x04, DBG8)
- If (LEqual (Arg0, 0x01))
- {
- And (RTCE, RTC1, RTCE)
- If (RTCE)
- {
- Store (0xC1, DBG8)
- }
- Else
- {
- Store (0xC8, DBG8)
- Notify (\_SB.PWRB, 0x02)
- Sleep (0x0294)
- }
- }
- If (LEqual (Arg0, 0x03))
- {
- If (RTC3)
- {
- Store (0xC3, DBG8)
- }
- Else
- {
- Notify (\_SB.PWRB, 0x02)
- Sleep (0x0294)
- }
- }
- If (LEqual (Arg0, 0x04))
- {
- Store (0xC8, SSMI)
- }
- Or (Arg0, 0xA0, Local0)
- Store (Local0, P48)
- WAK (Arg0)
- If (DerefOf (Index (WAKP, 0x00)))
- {
- Store (0x00, Index (WAKP, 0x01))
- }
- Else
- {
- Store (Arg0, Index (WAKP, 0x01))
- }
- Return (WAKP)
- }
- OperationRegion (PR48, SystemIO, 0x0848, 0x01)
- Field (PR48, ByteAcc, NoLock, Preserve)
- {
- P48, 8
- }
- OperationRegion (S3WK, SystemIO, 0x0860, 0x02)
- Field (S3WK, ByteAcc, NoLock, Preserve)
- {
- , 14,
- RTC3, 1
- }
- OperationRegion (PR42, SystemIO, 0x0842, 0x01)
- Field (PR42, ByteAcc, NoLock, Preserve)
- {
- P42, 8
- }
- OperationRegion (PR49, SystemIO, 0x0849, 0x01)
- Field (PR49, ByteAcc, NoLock, Preserve)
- {
- P49, 8
- }
- OperationRegion (S1WK, SystemIO, 0x0800, 0x02)
- Field (S1WK, ByteAcc, NoLock, Preserve)
- {
- , 10,
- RTC1, 1
- }
- OperationRegion (PP49, SystemIO, 0x0849, 0x01)
- Field (PP49, ByteAcc, NoLock, Preserve)
- {
- , 4,
- RTCE, 1
- }
- Name (\_S0, Package (0x04)
- {
- 0x00,
- 0x00,
- 0x00,
- 0x00
- })
- If (SS1)
- {
- Name (\_S1, Package (0x04)
- {
- 0x01,
- 0x00,
- 0x00,
- 0x00
- })
- }
- If (SS3)
- {
- Name (\_S3, Package (0x04)
- {
- 0x03,
- 0x00,
- 0x00,
- 0x00
- })
- }
- If (SS4)
- {
- Name (\_S4, Package (0x04)
- {
- 0x04,
- 0x00,
- 0x00,
- 0x00
- })
- }
- Name (\_S5, Package (0x04)
- {
- 0x05,
- 0x00,
- 0x00,
- 0x00
- })
- Method (PTS, 1, NotSerialized)
- {
- If (Arg0) {}
- }
- Method (WAK, 1, NotSerialized)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement