Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- RSD PTR: OEM=PTLTD, ACPI_Rev=2.0x (2)
- XSDT=0xcfe73154, length=36, cksum=161
- */
- /*
- XSDT: Length=204, Revision=1, Checksum=44,
- OEMID=PTLTD, OEM Table ID= XSDT, OEM Revision=0x6040000,
- Creator ID= LTP, Creator Revision=0x0
- Entries={ 0xcfe7d307, 0xcfe7d3fb, 0xcfe7d52a, 0xcfe7d566, 0xcfe7d59e, 0xcfe7d63a, 0xcfe7d662, 0xcfe7d6b2, 0xcfe7dc42, 0xcfe7dcea, 0xcfe7dd1a, 0xcfe7de8a, 0xcfe74a93, 0xcfe749ed, 0xcfe74947, 0xcfe748a1, 0xcfe747fb, 0xcfe74755, 0xcfe746af, 0xcfe74609, 0xcfe73220 }
- */
- /*
- FACP: Length=244, Revision=3, Checksum=4,
- OEMID=INTEL, OEM Table ID=, OEM Revision=0x6040000,
- Creator ID=PTL, Creator Revision=0x2
- FACS=0xcfe80fc0, DSDT=0xcfe76dec
- INT_MODEL=APIC
- Preferred_PM_Profile=Unspecified (0)
- SCI_INT=9
- SMI_CMD=0xb2, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0x0
- PSTATE_CNT=0x80
- PM1a_EVT_BLK=0x1000-0x1003
- PM1a_CNT_BLK=0x1004-0x1005
- PM_TMR_BLK=0x1008-0x100b
- GPE0_BLK=0x1020-0x102f
- CST_CNT=0x85
- P_LVL2_LAT=101 us, P_LVL3_LAT=85 us
- FLUSH_SIZE=0, FLUSH_STRIDE=0
- DUTY_OFFSET=1, DUTY_WIDTH=0
- DAY_ALRM=13, MON_ALRM=0, CENTURY=50
- IAPC_BOOT_ARCH={8042}
- Flags={WBINVD,C1_SUPPORTED,SLEEP_BUTTON,S4_RTC_WAKE}
- X_FACS=0xcfe80fc0, X_DSDT=0xcfe76dec
- X_PM1a_EVT_BLK=0x1000:0[32] (IO)
- X_PM1a_CNT_BLK=0x1004:0[16] (IO)
- X_PM_TMR_BLK=0x1008:0[32] (IO)
- X_GPE0_BLK=0x1020:0[128] (IO)
- */
- /*
- FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000
- Global_Lock=
- Flags=
- Version=1
- */
- /*
- DSDT: Length=25767, Revision=1, Checksum=67,
- OEMID=INTEL, OEM Table ID=BEARLAKE, OEM Revision=0x6040000,
- Creator ID=MSFT, Creator Revision=0x3000001
- */
- /*
- _MAR: Length=303, Revision=1, Checksum=236,
- OEMID=Intel, OEM Table ID=OEMDMAR, OEM Revision=0x6040000,
- Creator ID=LOHR, Creator Revision=0x1
- */
- /*
- MCFG: Length=60, Revision=1, Checksum=87,
- OEMID=PTLTD, OEM Table ID= MCFG, OEM Revision=0x6040000,
- Creator ID= LTP, Creator Revision=0x0
- Base Address=0x00000000e0000000
- Segment Group=0x0000
- Start Bus=0
- End Bus=16
- */
- /*
- HPET: Length=56, Revision=1, Checksum=214,
- OEMID=PTLTD, OEM Table ID=HPETTBL, OEM Revision=0x6040000,
- Creator ID= LTP, Creator Revision=0x1
- HPET Number=0
- ADDR=0xfed00000:0[0] (Memory) HW Rev=0xff
- Comparators=31
- Counter Size=1
- Legacy IRQ routing capable={TRUE}
- PCI Vendor ID=0xffff
- Minimal Tick=0
- */
- /*
- APIC: Length=156, Revision=1, Checksum=151,
- OEMID=PTLTD, OEM Table ID= APIC, OEM Revision=0x6040000,
- Creator ID= LTP, Creator Revision=0x0
- Local APIC ADDR=0xfee00000
- Flags={PC-AT}
- Type=Local APIC
- ACPI CPU=0
- Flags={ENABLED}
- APIC ID=0
- Type=Local APIC
- ACPI CPU=1
- Flags={ENABLED}
- APIC ID=1
- Type=Local APIC
- ACPI CPU=2
- Flags={ENABLED}
- APIC ID=2
- Type=Local APIC
- ACPI CPU=3
- Flags={ENABLED}
- APIC ID=3
- Type=IO APIC
- APIC ID=4
- INT BASE=0
- ADDR=0x00000000fec00000
- Type=IO APIC
- APIC ID=5
- INT BASE=24
- ADDR=0x00000000fecc0000
- Type=IO APIC
- APIC ID=6
- INT BASE=48
- ADDR=0x00000000fecc0400
- Type=Local APIC NMI
- ACPI CPU=0
- LINT Pin=1
- Flags={Polarity=active-hi, Trigger=edge}
- Type=Local APIC NMI
- ACPI CPU=1
- LINT Pin=1
- Flags={Polarity=active-hi, Trigger=edge}
- Type=Local APIC NMI
- ACPI CPU=2
- LINT Pin=1
- Flags={Polarity=active-hi, Trigger=edge}
- Type=Local APIC NMI
- ACPI CPU=3
- LINT Pin=1
- Flags={Polarity=active-hi, Trigger=edge}
- Type=INT Override
- BUS=0
- IRQ=0
- INTR=2
- Flags={Polarity=active-hi, Trigger=edge}
- Type=INT Override
- BUS=0
- IRQ=9
- INTR=9
- Flags={Polarity=active-hi, Trigger=level}
- */
- /*
- BOOT: Length=40, Revision=1, Checksum=165,
- OEMID=PTLTD, OEM Table ID=$SBFTBL$, OEM Revision=0x6040000,
- Creator ID= LTP, Creator Revision=0x1
- */
- /*
- SPCR: Length=80, Revision=1, Checksum=160,
- OEMID=PTLTD, OEM Table ID=$UCRTBL$, OEM Revision=0x6040000,
- Creator ID=PTL, Creator Revision=0x1
- */
- /*
- ERST: Length=1424, Revision=1, Checksum=190,
- OEMID=SMCI, OEM Table ID=ERSTTBL, OEM Revision=0x6040000,
- Creator ID=SMCI, Creator Revision=0x1
- */
- /*
- HEST: Length=168, Revision=1, Checksum=149,
- OEMID=SMCI, OEM Table ID=HESTTBL, OEM Revision=0x6040000,
- Creator ID=SMCI, Creator Revision=0x1
- */
- /*
- BERT: Length=48, Revision=1, Checksum=60,
- OEMID=SMCI, OEM Table ID=BERTTBL, OEM Revision=0x6040000,
- Creator ID=SMCI, Creator Revision=0x1
- */
- /*
- EINJ: Length=368, Revision=1, Checksum=153,
- OEMID=SMCI, OEM Table ID=EINJTBL, OEM Revision=0x6040000,
- Creator ID=SMCI, Creator Revision=0x1
- */
- /*
- SLIC: Length=374, Revision=1, Checksum=185,
- OEMID=OEMID_, OEM Table ID=OEMTABLE, OEM Revision=0x6040000,
- Creator ID= LTP, Creator Revision=0x0
- */
- /*
- SSDT: Length=607, Revision=1, Checksum=200,
- OEMID=PmRef, OEM Table ID=Cpu0Tst, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- SSDT: Length=166, Revision=1, Checksum=82,
- OEMID=PmRef, OEM Table ID=Cpu7Tst, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- SSDT: Length=166, Revision=1, Checksum=86,
- OEMID=PmRef, OEM Table ID=Cpu6Tst, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- SSDT: Length=166, Revision=1, Checksum=91,
- OEMID=PmRef, OEM Table ID=Cpu5Tst, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- SSDT: Length=166, Revision=1, Checksum=95,
- OEMID=PmRef, OEM Table ID=Cpu4Tst, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- SSDT: Length=166, Revision=1, Checksum=100,
- OEMID=PmRef, OEM Table ID=Cpu3Tst, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- SSDT: Length=166, Revision=1, Checksum=104,
- OEMID=PmRef, OEM Table ID=Cpu2Tst, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- SSDT: Length=166, Revision=1, Checksum=109,
- OEMID=PmRef, OEM Table ID=Cpu1Tst, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- SSDT: Length=5097, Revision=1, Checksum=212,
- OEMID=PmRef, OEM Table ID=CpuPm, OEM Revision=0x3000,
- Creator ID=INTL, Creator Revision=0x20050228
- */
- /*
- * Intel ACPI Component Architecture
- * AML Disassembler version 20101013-64
- * Copyright (c) 2000 - 2010 Intel Corporation
- *
- * Disassembly of /tmp/acpidump.JiahR3, Tue Aug 16 22:17:15 2011
- *
- * Original Table Header:
- * Signature "DSDT"
- * Length 0x00007E35 (32309)
- * Revision 0x01 **** ACPI 1.0, no 64-bit math support
- * Checksum 0x99
- * OEM ID "INTEL"
- * OEM Table ID "BEARLAKE"
- * OEM Revision 0x06040000 (100925440)
- * Compiler ID "MSFT"
- * Compiler Version 0x03000001 (50331649)
- */
- DefinitionBlock ("/tmp/acpidump.aml", "DSDT", 1, "INTEL", "BEARLAKE", 0x06040000)
- {
- External (_PSS, IntObj)
- Scope (_GPE)
- {
- Method (_L03, 0, NotSerialized)
- {
- Store (0x03, DEBG)
- Notify (\_SB.PCI0.USB1, 0x02)
- }
- Method (_L04, 0, NotSerialized)
- {
- Store (0x04, DEBG)
- Notify (\_SB.PCI0.USB2, 0x02)
- }
- Method (_L05, 0, NotSerialized)
- {
- Store (0x05, DEBG)
- Notify (\_SB.PCI0.USB5, 0x02)
- }
- Method (_L06, 0, NotSerialized)
- {
- If (\_SB.PCI0.IGD0.GSSE)
- {
- \_SB.PCI0.IGD0.OPRN ()
- }
- Else
- {
- Store (0x01, \_SB.PCI0.LPC0.SCIS)
- }
- }
- Method (_L08, 0, NotSerialized)
- {
- Store (0x08, DEBG)
- Notify (\_SB.PCI0.LPC0.SIO.COM1, 0x02)
- Notify (\_SB.PCI0.PWRB, 0x02)
- }
- Method (_L09, 0, NotSerialized)
- {
- Store (0x09, DEBG)
- Notify (\_SB.PCI0.PEG.PXHA, 0x02)
- Notify (\_SB.PCI0.PEG.PXHB, 0x02)
- Notify (\_SB.PCI0.PEX, 0x02)
- Notify (\_SB.PCI0.EXP1, 0x02)
- Notify (\_SB.PCI0.EXP5, 0x02)
- Notify (\_SB.PCI0.EXP6, 0x02)
- }
- Method (_L0B, 0, NotSerialized)
- {
- Store (0x0B, DEBG)
- Notify (\_SB.PCI0.PCIB, 0x02)
- }
- Method (_L0C, 0, NotSerialized)
- {
- Store (0x0C, DEBG)
- Notify (\_SB.PCI0.USB3, 0x02)
- }
- Method (_L0D, 0, NotSerialized)
- {
- Store (0x0D, DEBG)
- If (\_SB.PCI0.ESB1.PMES)
- {
- Store (0x01, \_SB.PCI0.ESB1.PMES)
- Notify (\_SB.PCI0.ESB1, 0x02)
- }
- If (\_SB.PCI0.ESB2.PMES)
- {
- Store (0x01, \_SB.PCI0.ESB2.PMES)
- Notify (\_SB.PCI0.ESB2, 0x02)
- }
- If (\_SB.PCI0.LAN.PMES)
- {
- Store (0x01, \_SB.PCI0.LAN.PMES)
- Notify (\_SB.PCI0.LAN, 0x02)
- }
- }
- Method (_L0E, 0, NotSerialized)
- {
- Store (0x0E, DEBG)
- Notify (\_SB.PCI0.USB4, 0x02)
- }
- Method (_L1D, 0, NotSerialized)
- {
- Store (0x1D, DEBG)
- Notify (\_SB.PCI0.LPC0.SIO, 0x02)
- Notify (\_SB.PCI0.PWRB, 0x02)
- }
- Method (_L20, 0, NotSerialized)
- {
- Store (0x1D, DEBG)
- Notify (\_SB.PCI0.USB6, 0x02)
- Notify (\_SB.PCI0.USB7, 0x02)
- }
- }
- Scope (_PR)
- {
- Processor (CPU0, 0x00, 0x00001010, 0x06) {}
- Processor (CPU1, 0x01, 0x00001010, 0x06) {}
- Processor (CPU2, 0x02, 0x00001010, 0x06) {}
- Processor (CPU3, 0x03, 0x00001010, 0x06) {}
- Processor (CPU4, 0x04, 0x00001010, 0x06) {}
- Processor (CPU5, 0x05, 0x00001010, 0x06) {}
- Processor (CPU6, 0x06, 0x00001010, 0x06) {}
- Processor (CPU7, 0x07, 0x00001010, 0x06) {}
- }
- Scope (_SB)
- {
- OperationRegion (SMI0, SystemIO, 0x0000FE00, 0x00000002)
- Field (SMI0, AnyAcc, NoLock, Preserve)
- {
- SMIC, 8
- }
- OperationRegion (SMI1, SystemMemory, 0xCFE80EBC, 0x00000090)
- Field (SMI1, AnyAcc, NoLock, Preserve)
- {
- BCMD, 8,
- DID, 32,
- INFO, 1024
- }
- Field (SMI1, AnyAcc, NoLock, Preserve)
- {
- AccessAs (ByteAcc, 0x00),
- Offset (0x05),
- INF, 8
- }
- Device (PCI0)
- {
- Method (_INI, 0, NotSerialized)
- {
- \_SB.OSHT ()
- If (CondRefOf (_OSI, Local0))
- {
- Store (0x07D1, OSYS)
- }
- Else
- {
- If (LEqual (SizeOf (_OS), 0x14))
- {
- Store (0x07D0, OSYS)
- }
- Else
- {
- If (LEqual (SizeOf (_OS), 0x27))
- {
- Store (0x07CF, OSYS)
- }
- Else
- {
- Store (0x07CE, OSYS)
- }
- }
- }
- }
- Name (_HID, EisaId ("PNP0A03"))
- Name (_BBN, 0x00)
- Name (_ADR, 0x00)
- Method (_OSC, 4, NotSerialized)
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x0C, 0x5E, 0x85, 0xED, 0x90, 0x6C, 0xBF, 0x47,
- /* 0008 */ 0xA6, 0x2A, 0x26, 0xDE, 0x0F, 0xC5, 0xAD, 0x5C
- }))
- {
- CreateDWordField (Arg3, 0x00, CDW1)
- CreateDWordField (Arg3, 0x04, CDW2)
- CreateDWordField (Arg3, 0x08, CDW3)
- Name (SUPP, 0x00)
- Name (CTRL, 0x00)
- Store (CDW2, SUPP)
- Store (CDW3, CTRL)
- If (And (SUPP, 0x01))
- {
- Return (Arg3)
- }
- Return (Or (SUPP, 0x04))
- }
- }
- OperationRegion (REGS, PCI_Config, 0x40, 0xC0)
- Field (REGS, ByteAcc, NoLock, Preserve)
- {
- Offset (0x50),
- PAM0, 8,
- PAM1, 8,
- PAM2, 8,
- PAM3, 8,
- PAM4, 8,
- PAM5, 8,
- PAM6, 8,
- , 7,
- HEN, 1,
- Offset (0x60),
- TASM, 10,
- Offset (0x62),
- Offset (0x70),
- Z000, 16
- }
- Name (RSRC, ResourceTemplate ()
- {
- WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
- 0x0000, // Granularity
- 0x0000, // Range Minimum
- 0x003F, // Range Maximum
- 0x0000, // Translation Offset
- 0x0040, // Length
- 0x00,, )
- IO (Decode16,
- 0x0CF8, // Range Minimum
- 0x0CF8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0x00000CF7, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00000CF8, // Length
- 0x00,, , TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000A0000, // Range Minimum
- 0x000BFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00020000, // Length
- 0x00,, , AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C0000, // Range Minimum
- 0x000C3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y01, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C4000, // Range Minimum
- 0x000C7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y02, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C8000, // Range Minimum
- 0x000CBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y03, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000CC000, // Range Minimum
- 0x000CFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y04, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D0000, // Range Minimum
- 0x000D3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y05, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D4000, // Range Minimum
- 0x000D7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y06, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D8000, // Range Minimum
- 0x000DBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y07, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000DC000, // Range Minimum
- 0x000DFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y08, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E0000, // Range Minimum
- 0x000E3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y09, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E4000, // Range Minimum
- 0x000E7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y0A, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E8000, // Range Minimum
- 0x000EBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y0B, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000EC000, // Range Minimum
- 0x000EFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y0C, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000F0000, // Range Minimum
- 0x000FFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00010000, // Length
- 0x00,, _Y0D, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0x00000000, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00000000, // Length
- 0x00,, _Y00, AddressRangeMemory, TypeStatic)
- DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x00000000, // Granularity
- 0x00000D00, // Range Minimum
- 0x0000FDFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x0000F100, // Length
- 0x00,, , TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0x00000000, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00000000, // Length
- 0x00,, , AddressRangeMemory, TypeStatic)
- })
- Method (_CRS, 0, Serialized)
- {
- Store (Zero, Local1)
- CreateDWordField (RSRC, \_SB.PCI0._Y00._MIN, BTMN)
- CreateDWordField (RSRC, \_SB.PCI0._Y00._MAX, BTMX)
- CreateDWordField (RSRC, \_SB.PCI0._Y00._LEN, BTLN)
- ShiftLeft (And (Z000, 0xFFF0), 0x10, BTMN)
- Subtract (0xE0000000, BTMN, BTLN)
- Subtract (Add (BTMN, BTLN), 0x01, BTMX)
- CreateBitField (RSRC, \_SB.PCI0._Y01._RW, C0RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y01._MIN, C0MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y01._MAX, C0MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y01._LEN, C0LN)
- Store (One, C0RW)
- If (LEqual (And (PAM1, 0x03), 0x01))
- {
- Store (Zero, C0RW)
- }
- Store (Zero, C0LN)
- If (LNot (And (PAM1, 0x03)))
- {
- Store (0x4000, C0LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y02._RW, C4RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y02._MIN, C4MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y02._MAX, C4MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y02._LEN, C4LN)
- Store (One, C4RW)
- If (LEqual (And (PAM1, 0x30), 0x10))
- {
- Store (Zero, C4RW)
- }
- Store (Zero, C4LN)
- If (LNot (And (PAM1, 0x30)))
- {
- Store (0x4000, C4LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y03._RW, C8RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y03._MIN, C8MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y03._MAX, C8MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y03._LEN, C8LN)
- Store (One, C8RW)
- If (LEqual (And (PAM2, 0x03), 0x01))
- {
- Store (Zero, C8RW)
- }
- Store (Zero, C8LN)
- If (LNot (And (PAM2, 0x03)))
- {
- Store (0x4000, C8LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y04._RW, CCRW)
- CreateDWordField (RSRC, \_SB.PCI0._Y04._MIN, CCMN)
- CreateDWordField (RSRC, \_SB.PCI0._Y04._MAX, CCMX)
- CreateDWordField (RSRC, \_SB.PCI0._Y04._LEN, CCLN)
- Store (One, CCRW)
- If (LEqual (And (PAM2, 0x30), 0x10))
- {
- Store (Zero, CCRW)
- }
- Store (Zero, CCLN)
- If (LNot (And (PAM2, 0x30)))
- {
- Store (0x4000, CCLN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y05._RW, D0RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y05._MIN, D0MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y05._MAX, D0MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y05._LEN, D0LN)
- Store (One, D0RW)
- If (LEqual (And (PAM3, 0x03), 0x01))
- {
- Store (Zero, D0RW)
- }
- Store (Zero, D0LN)
- If (LNot (And (PAM3, 0x03)))
- {
- Store (0x4000, D0LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y06._RW, D4RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y06._MIN, D4MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y06._MAX, D4MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y06._LEN, D4LN)
- Store (One, D4RW)
- If (LEqual (And (PAM3, 0x30), 0x10))
- {
- Store (Zero, D4RW)
- }
- Store (Zero, D4LN)
- If (LNot (And (PAM3, 0x30)))
- {
- Store (0x4000, D4LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y07._RW, D8RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y07._MIN, D8MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y07._MAX, D8MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y07._LEN, D8LN)
- Store (One, D8RW)
- If (LEqual (And (PAM4, 0x03), 0x01))
- {
- Store (Zero, D8RW)
- }
- Store (Zero, D8LN)
- If (LNot (And (PAM4, 0x03)))
- {
- Store (0x4000, D8LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y08._RW, DCRW)
- CreateDWordField (RSRC, \_SB.PCI0._Y08._MIN, DCMN)
- CreateDWordField (RSRC, \_SB.PCI0._Y08._MAX, DCMX)
- CreateDWordField (RSRC, \_SB.PCI0._Y08._LEN, DCLN)
- Store (One, DCRW)
- If (LEqual (And (PAM4, 0x30), 0x10))
- {
- Store (Zero, DCRW)
- }
- Store (Zero, DCLN)
- If (LNot (And (PAM4, 0x30)))
- {
- Store (0x4000, DCLN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y09._RW, E0RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y09._MIN, E0MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y09._MAX, E0MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y09._LEN, E0LN)
- Store (One, E0RW)
- If (LEqual (And (PAM5, 0x03), 0x01))
- {
- Store (Zero, E0RW)
- }
- Store (Zero, E0LN)
- If (LNot (And (PAM5, 0x03)))
- {
- Store (0x4000, E0LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y0A._RW, E4RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y0A._MIN, E4MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y0A._MAX, E4MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y0A._LEN, E4LN)
- Store (One, E4RW)
- If (LEqual (And (PAM5, 0x30), 0x10))
- {
- Store (Zero, E4RW)
- }
- Store (Zero, E4LN)
- If (LNot (And (PAM5, 0x30)))
- {
- Store (0x4000, E4LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y0B._RW, E8RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y0B._MIN, E8MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y0B._MAX, E8MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y0B._LEN, E8LN)
- Store (One, E8RW)
- If (LEqual (And (PAM6, 0x03), 0x01))
- {
- Store (Zero, E8RW)
- }
- Store (Zero, E8LN)
- If (LNot (And (PAM6, 0x03)))
- {
- Store (0x4000, E8LN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y0C._RW, ECRW)
- CreateDWordField (RSRC, \_SB.PCI0._Y0C._MIN, ECMN)
- CreateDWordField (RSRC, \_SB.PCI0._Y0C._MAX, ECMX)
- CreateDWordField (RSRC, \_SB.PCI0._Y0C._LEN, ECLN)
- Store (One, ECRW)
- If (LEqual (And (PAM6, 0x30), 0x10))
- {
- Store (Zero, ECRW)
- }
- Store (Zero, ECLN)
- If (LNot (And (PAM6, 0x30)))
- {
- Store (0x4000, ECLN)
- }
- CreateBitField (RSRC, \_SB.PCI0._Y0D._RW, F0RW)
- CreateDWordField (RSRC, \_SB.PCI0._Y0D._MIN, F0MN)
- CreateDWordField (RSRC, \_SB.PCI0._Y0D._MAX, F0MX)
- CreateDWordField (RSRC, \_SB.PCI0._Y0D._LEN, F0LN)
- Store (One, F0RW)
- If (LEqual (And (PAM0, 0x30), 0x10))
- {
- Store (Zero, F0RW)
- }
- Store (Zero, F0LN)
- If (LNot (And (PAM0, 0x30)))
- {
- Store (0x00010000, F0LN)
- }
- Return (RSRC)
- }
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- Method (_PRT, 0, NotSerialized)
- {
- If (LNot (\PICF))
- {
- Return (Package (0x18)
- {
- Package (0x04)
- {
- 0x0001FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x0006FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0019FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x001AFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x001AFFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x001AFFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x001BFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x001CFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x001CFFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x001CFFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x001CFFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x001DFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKH,
- 0x00
- },
- Package (0x04)
- {
- 0x001DFFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKG,
- 0x00
- },
- Package (0x04)
- {
- 0x001DFFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x001DFFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x001FFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x001FFFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x001FFFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x001FFFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- }
- })
- }
- Else
- {
- Return (Package (0x18)
- {
- Package (0x04)
- {
- 0x0001FFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x03,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0x0006FFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x0019FFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x001AFFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x001AFFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0x001AFFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0x001BFFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x001CFFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x001CFFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0x001CFFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0x001CFFFF,
- 0x03,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0x001DFFFF,
- 0x00,
- 0x00,
- 0x17
- },
- Package (0x04)
- {
- 0x001DFFFF,
- 0x01,
- 0x00,
- 0x16
- },
- Package (0x04)
- {
- 0x001DFFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0x001DFFFF,
- 0x03,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0x001FFFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0x001FFFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0x001FFFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0x001FFFFF,
- 0x03,
- 0x00,
- 0x13
- }
- })
- }
- }
- Name (NATA, Package (0x03)
- {
- 0x001F0002,
- 0x001F0005
- })
- 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 (GETD, 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, NotSerialized)
- {
- 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 (LGreaterEqual (Arg0, 0xF0))
- {
- Return (0x08)
- }
- Else
- {
- If (And (Arg1, 0x02))
- {
- If (LAnd (LLessEqual (Arg0, 0x78), And (Arg2, 0x02)))
- {
- Return (0x2301)
- }
- If (LAnd (LLessEqual (Arg0, 0xB4), And (Arg2, 0x01)))
- {
- Return (0x2101)
- }
- }
- Return (0x1001)
- }
- }
- Method (SETD, 1, Serialized)
- {
- If (LLessEqual (Arg0, 0x14))
- {
- Return (0x01)
- }
- If (LLessEqual (Arg0, 0x1E))
- {
- Return (0x02)
- }
- If (LLessEqual (Arg0, 0x2D))
- {
- Return (0x01)
- }
- If (LLessEqual (Arg0, 0x3C))
- {
- Return (0x02)
- }
- If (LLessEqual (Arg0, 0x5A))
- {
- Return (0x01)
- }
- Return (0x00)
- }
- Method (SETT, 3, Serialized)
- {
- If (And (Arg1, 0x02))
- {
- If (LAnd (LLessEqual (Arg0, 0x78), And (Arg2, 0x02)))
- {
- Return (0x0B)
- }
- If (LAnd (LLessEqual (Arg0, 0xB4), And (Arg2, 0x01)))
- {
- Return (0x09)
- }
- }
- Return (0x04)
- }
- Device (PEG)
- {
- Name (_ADR, 0x00010000)
- OperationRegion (PCE1, PCI_Config, 0x00, 0xFF)
- Field (PCE1, DWordAcc, NoLock, Preserve)
- {
- Offset (0xBC),
- , 3,
- PMEI, 1,
- Offset (0xC2),
- PMES, 1,
- Offset (0xEC),
- , 2,
- PGPE, 1
- }
- Device (PXHA)
- {
- Name (_ADR, 0x00)
- Name (_PRW, Package (0x02)
- {
- 0x09,
- 0x05
- })
- Method (_PRT, 0, NotSerialized)
- {
- If (LNot (\PICF))
- {
- Return (Package (0x09)
- {
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- }
- })
- }
- Else
- {
- Return (Package (0x09)
- {
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- 0x00,
- 0x1C
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x01,
- 0x00,
- 0x1D
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x02,
- 0x00,
- 0x1E
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x03,
- 0x00,
- 0x1F
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x00,
- 0x00,
- 0x18
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x01,
- 0x00,
- 0x19
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x02,
- 0x00,
- 0x1A
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x03,
- 0x00,
- 0x1B
- },
- Package (0x04)
- {
- 0x0003FFFF,
- 0x00,
- 0x00,
- 0x1A
- }
- })
- }
- }
- }
- Device (PXHB)
- {
- Name (_ADR, 0x02)
- Name (_PRW, Package (0x02)
- {
- 0x09,
- 0x05
- })
- Method (_PRT, 0, NotSerialized)
- {
- If (LNot (\PICF))
- {
- Return (Package (0x0A)
- {
- Package (0x04)
- {
- 0x0001FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- }
- })
- }
- Else
- {
- Return (Package (0x0A)
- {
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- 0x00,
- 0x34
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x01,
- 0x00,
- 0x35
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x02,
- 0x00,
- 0x34
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x03,
- 0x00,
- 0x35
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x00,
- 0x00,
- 0x34
- },
- Package (0x04)
- {
- 0x0002FFFF,
- 0x01,
- 0x00,
- 0x35
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x00,
- 0x00,
- 0x30
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x01,
- 0x00,
- 0x31
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x02,
- 0x00,
- 0x32
- },
- Package (0x04)
- {
- 0x0001FFFF,
- 0x03,
- 0x00,
- 0x33
- }
- })
- }
- }
- }
- }
- Device (PEX)
- {
- Name (_ADR, 0x00060000)
- OperationRegion (PCE6, PCI_Config, 0x00, 0xFF)
- Field (PCE6, DWordAcc, NoLock, Preserve)
- {
- Offset (0xBC),
- , 3,
- PMEI, 1,
- Offset (0xC2),
- PMES, 1,
- Offset (0xEC),
- , 2,
- PGPE, 1
- }
- Name (_PRW, Package (0x02)
- {
- 0x09,
- 0x05
- })
- Method (_PRT, 0, NotSerialized)
- {
- If (LNot (\PICF))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- 0x00,
- 0x13
- }
- })
- }
- }
- }
- Device (IGD0)
- {
- Name (_ADR, 0x00020000)
- OperationRegion (IGDP, PCI_Config, 0x40, 0xC0)
- Field (IGDP, AnyAcc, NoLock, Preserve)
- {
- Offset (0x12),
- , 1,
- GIVD, 1,
- , 2,
- GUMA, 3,
- Offset (0x14),
- , 4,
- GMFN, 1,
- Offset (0x18),
- SSRW, 32,
- Offset (0xA4),
- ASLE, 8,
- Offset (0xA8),
- GSSE, 1,
- GSSB, 14,
- GSES, 1,
- Offset (0xB0),
- Offset (0xB1),
- CDVL, 5,
- Offset (0xB2),
- Offset (0xBC),
- ASLS, 32
- }
- Method (_STA, 0, NotSerialized)
- {
- If (LEqual (ASLS, 0xFEF00000))
- {
- Return (0x00)
- }
- Else
- {
- Return (0x0F)
- }
- }
- OperationRegion (IGDM, SystemMemory, 0xFEF00000, 0x00002040)
- Field (IGDM, AnyAcc, NoLock, Preserve)
- {
- SIGN, 128,
- SIZE, 32,
- OVER, 32,
- SVER, 256,
- VVER, 128,
- GVER, 128,
- MBOX, 32,
- Offset (0x100),
- DRDY, 32,
- CSTS, 32,
- CEVT, 32,
- Offset (0x120),
- DIDL, 256,
- CPDL, 256,
- CADL, 256,
- NADL, 256,
- ASLP, 32,
- TIDX, 32,
- CHPD, 32,
- CLID, 32,
- CDCK, 32,
- SXSW, 32,
- EVTS, 32,
- CNOT, 32,
- NRDY, 32,
- Offset (0x200),
- SCIE, 1,
- GEFC, 4,
- GXFC, 3,
- GESF, 8,
- Offset (0x204),
- PARM, 32,
- DSLP, 32,
- Offset (0x300),
- ARDY, 32,
- ASLC, 32,
- TCHE, 32,
- ALSI, 32,
- BCLP, 32,
- PFIT, 32,
- Offset (0x400),
- GVD1, 57344,
- IBTT, 8,
- IPAT, 8,
- ITVF, 8,
- ITVM, 8,
- IPSC, 8,
- IBLC, 8,
- IBIA, 8,
- ISSC, 8,
- I409, 8,
- I509, 8,
- I609, 8,
- I709, 8,
- IDMM, 8,
- IDMS, 8,
- IF1E, 8,
- GSMI, 8,
- HVCO, 8,
- LIDS, 8,
- CGCS, 16
- }
- Name (DBTB, Package (0x11)
- {
- 0x00,
- 0x01,
- 0x02,
- 0x03,
- 0x04,
- 0x05,
- 0x06,
- 0x07,
- 0x08,
- 0x09,
- 0x0A,
- 0x10,
- 0x11,
- 0x12,
- 0x13,
- 0x14,
- 0xFF
- })
- Method (_DOS, 1, NotSerialized)
- {
- }
- Name (SUCC, 0x01)
- Name (NVLD, 0x02)
- Name (CRIT, 0x04)
- Name (NCRT, 0x06)
- Method (GBDA, 0, Serialized)
- {
- If (LEqual (GESF, 0x00))
- {
- Store (0x00, PARM)
- Or (PARM, ShiftLeft (0x01, 0x00), PARM)
- Or (PARM, ShiftLeft (0x01, 0x03), PARM)
- Or (PARM, ShiftLeft (0x01, 0x04), PARM)
- Or (PARM, ShiftLeft (0x01, 0x05), PARM)
- Or (PARM, ShiftLeft (0x01, 0x06), PARM)
- Or (PARM, ShiftLeft (0x01, 0x09), PARM)
- Store (Zero, GESF)
- Return (SUCC)
- }
- If (LEqual (GESF, 0x01))
- {
- Store (0x00, PARM)
- Store (Zero, GESF)
- Return (SUCC)
- }
- If (LEqual (GESF, 0x04))
- {
- Name (LOOP, 0x00)
- And (PARM, 0xFFFFFF00, PARM)
- Or (DerefOf (Index (DBTB, IBTT)), PARM, PARM)
- Store (Zero, GESF)
- Return (SUCC)
- }
- If (LEqual (GESF, 0x05))
- {
- Store (IPSC, PARM)
- Or (PARM, ShiftLeft (IPAT, 0x08), PARM)
- Add (PARM, 0x0100, PARM)
- Or (PARM, ShiftLeft (LIDS, 0x10), PARM)
- XOr (PARM, ShiftLeft (0x01, 0x10), PARM)
- Or (PARM, ShiftLeft (IBIA, 0x14), PARM)
- Store (Zero, GESF)
- Return (SUCC)
- }
- If (LEqual (GESF, 0x06))
- {
- Store (ITVF, PARM)
- Or (PARM, ShiftLeft (ITVM, 0x04), PARM)
- Store (Zero, GESF)
- Return (SUCC)
- }
- If (LEqual (GESF, 0x07))
- {
- Store (GIVD, PARM)
- XOr (PARM, 0x01, PARM)
- Or (PARM, ShiftLeft (GMFN, 0x01), PARM)
- Or (PARM, ShiftLeft (0x02, 0x0B), PARM)
- If (LEqual (IDMM, 0x00))
- {
- Or (PARM, ShiftLeft (IDMS, 0x0D), PARM)
- }
- If (LOr (LEqual (IDMM, 0x01), LEqual (IDMM, 0x03)))
- {
- Or (PARM, ShiftLeft (IDMS, 0x11), PARM)
- }
- Or (PARM, ShiftLeft (CGCS, 0x15), PARM)
- Store (0x01, GESF)
- Return (SUCC)
- }
- If (LEqual (GESF, 0x0A))
- {
- Store (0x00, PARM)
- If (ISSC)
- {
- Or (0x03, PARM)
- }
- Store (0x00, GESF)
- Return (SUCC)
- }
- Store (Zero, GESF)
- Return (CRIT)
- }
- Method (SBCB, 0, Serialized)
- {
- If (LEqual (GESF, 0x00))
- {
- Store (0x00, PARM)
- Store (Zero, GESF)
- Return (SUCC)
- }
- Store (Zero, GESF)
- Return (SUCC)
- }
- Method (OPRN, 0, Serialized)
- {
- If (LEqual (GEFC, 0x04))
- {
- Store (GBDA (), GXFC)
- }
- If (LEqual (GEFC, 0x06))
- {
- Store (SBCB (), GXFC)
- }
- Store (0x00, GEFC)
- Store (0x01, \_SB.PCI0.LPC0.SCIS)
- Store (0x00, GSSE)
- Store (0x00, SCIE)
- Return (Zero)
- }
- }
- Device (IGD1)
- {
- Name (_ADR, 0x00020001)
- }
- Device (ME0)
- {
- Name (_ADR, 0x00030000)
- }
- Device (ME1)
- {
- Name (_ADR, 0x00030001)
- }
- Device (ME2)
- {
- Name (_ADR, 0x00030002)
- }
- Device (ME3)
- {
- Name (_ADR, 0x00030003)
- }
- Device (LAN)
- {
- Name (_ADR, 0x00190000)
- OperationRegion (LANF, PCI_Config, 0xCC, 0x04)
- Field (LANF, DWordAcc, NoLock, Preserve)
- {
- , 15,
- PMES, 1
- }
- Name (_PRW, Package (0x02)
- {
- 0x0D,
- 0x05
- })
- }
- Device (USB4)
- {
- Name (_ADR, 0x001A0000)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (USBO, PCI_Config, 0xC4, 0x04)
- Field (USBO, DWordAcc, Lock, Preserve)
- {
- RSEN, 2
- }
- Name (_PRW, Package (0x02)
- {
- 0x0E,
- 0x05
- })
- Method (_PSW, 1, NotSerialized)
- {
- If (Arg0)
- {
- Store (0x03, RSEN)
- }
- Else
- {
- Store (0x00, RSEN)
- }
- }
- }
- Device (USB5)
- {
- Name (_ADR, 0x001A0001)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (USBO, PCI_Config, 0xC4, 0x04)
- Field (USBO, DWordAcc, Lock, Preserve)
- {
- RSEN, 2
- }
- Name (_PRW, Package (0x02)
- {
- 0x05,
- 0x05
- })
- Method (_PSW, 1, NotSerialized)
- {
- If (Arg0)
- {
- Store (0x03, RSEN)
- }
- Else
- {
- Store (0x00, RSEN)
- }
- }
- }
- Device (USB7)
- {
- Name (_ADR, 0x001A0002)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (USBO, PCI_Config, 0xC4, 0x04)
- Field (USBO, DWordAcc, Lock, Preserve)
- {
- RSEN, 2
- }
- Name (_PRW, Package (0x02)
- {
- 0x20,
- 0x05
- })
- Method (_PSW, 1, NotSerialized)
- {
- If (Arg0)
- {
- Store (0x03, RSEN)
- }
- Else
- {
- Store (0x00, RSEN)
- }
- }
- }
- Device (ESB2)
- {
- Name (_ADR, 0x001A0007)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (EH2F, PCI_Config, 0x54, 0x04)
- Field (EH2F, DWordAcc, NoLock, Preserve)
- {
- , 15,
- PMES, 1
- }
- Name (_PRW, Package (0x02)
- {
- 0x0D,
- 0x05
- })
- }
- Device (EXP1)
- {
- Name (_ADR, 0x001C0000)
- OperationRegion (P1CS, PCI_Config, 0x40, 0x0100)
- Field (P1CS, AnyAcc, NoLock, WriteAsZeros)
- {
- Offset (0x1A),
- ABP1, 1,
- , 2,
- PDC1, 1,
- , 2,
- PDS1, 1,
- Offset (0x22),
- PSP1, 1,
- Offset (0x65),
- PMEE, 1,
- Offset (0x9B),
- , 7,
- PMCE, 1,
- Offset (0x9F),
- , 6,
- HPCS, 1,
- PMCS, 1
- }
- Name (_PRW, Package (0x02)
- {
- 0x09,
- 0x05
- })
- Method (_PRT, 0, NotSerialized)
- {
- If (LNot (\PICF))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- 0x00,
- 0x13
- }
- })
- }
- }
- }
- Device (EXP5)
- {
- Name (_ADR, 0x001C0004)
- OperationRegion (P5CS, PCI_Config, 0x40, 0x0100)
- Field (P5CS, AnyAcc, NoLock, WriteAsZeros)
- {
- Offset (0x1A),
- ABP5, 1,
- , 2,
- PDC5, 1,
- , 2,
- PDS5, 1,
- Offset (0x22),
- PSP5, 1,
- Offset (0x65),
- PMEE, 1,
- Offset (0x9B),
- , 7,
- PMCE, 1,
- Offset (0x9F),
- , 6,
- HPCS, 1,
- PMCS, 1
- }
- Name (_PRW, Package (0x02)
- {
- 0x09,
- 0x05
- })
- Method (_PRT, 0, NotSerialized)
- {
- If (LNot (\PICF))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- 0x00,
- 0x00,
- 0x10
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x01,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- 0x00,
- 0x13
- }
- })
- }
- }
- }
- Device (EXP6)
- {
- Name (_ADR, 0x001C0005)
- OperationRegion (P6CS, PCI_Config, 0x40, 0x0100)
- Field (P6CS, AnyAcc, NoLock, WriteAsZeros)
- {
- Offset (0x1A),
- ABP6, 1,
- , 2,
- PDC6, 1,
- , 2,
- PDS6, 1,
- Offset (0x22),
- PSP6, 1,
- Offset (0x65),
- PMEE, 1,
- Offset (0x9B),
- , 7,
- PMCE, 1,
- Offset (0x9F),
- , 6,
- HPCS, 1,
- PMCS, 1
- }
- Name (_PRW, Package (0x02)
- {
- 0x09,
- 0x05
- })
- Method (_PRT, 0, NotSerialized)
- {
- If (LNot (\PICF))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKB,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x01,
- \_SB.PCI0.LPC0.LNKC,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- \_SB.PCI0.LPC0.LNKD,
- 0x00
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- \_SB.PCI0.LPC0.LNKA,
- 0x00
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- 0x00,
- 0x00,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x01,
- 0x00,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- 0x00,
- 0x13
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- 0x00,
- 0x10
- }
- })
- }
- }
- }
- Device (USB1)
- {
- Name (_ADR, 0x001D0000)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (USBO, PCI_Config, 0xC4, 0x04)
- Field (USBO, DWordAcc, Lock, Preserve)
- {
- RSEN, 2
- }
- Name (_PRW, Package (0x02)
- {
- 0x03,
- 0x05
- })
- Method (_PSW, 1, NotSerialized)
- {
- If (Arg0)
- {
- Store (0x03, RSEN)
- }
- Else
- {
- Store (0x00, RSEN)
- }
- }
- }
- Device (USB2)
- {
- Name (_ADR, 0x001D0001)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (USBO, PCI_Config, 0xC4, 0x04)
- Field (USBO, DWordAcc, Lock, Preserve)
- {
- RSEN, 2
- }
- Name (_PRW, Package (0x02)
- {
- 0x04,
- 0x05
- })
- Method (_PSW, 1, NotSerialized)
- {
- If (Arg0)
- {
- Store (0x03, RSEN)
- }
- Else
- {
- Store (0x00, RSEN)
- }
- }
- }
- Device (USB3)
- {
- Name (_ADR, 0x001D0002)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (USBO, PCI_Config, 0xC4, 0x04)
- Field (USBO, DWordAcc, Lock, Preserve)
- {
- RSEN, 2
- }
- Name (_PRW, Package (0x02)
- {
- 0x0C,
- 0x05
- })
- Method (_PSW, 1, NotSerialized)
- {
- If (Arg0)
- {
- Store (0x03, RSEN)
- }
- Else
- {
- Store (0x00, RSEN)
- }
- }
- }
- Device (USB6)
- {
- Name (_ADR, 0x001D0003)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (USBO, PCI_Config, 0xC4, 0x04)
- Field (USBO, DWordAcc, Lock, Preserve)
- {
- RSEN, 2
- }
- Name (_PRW, Package (0x02)
- {
- 0x20,
- 0x05
- })
- Method (_PSW, 1, NotSerialized)
- {
- If (Arg0)
- {
- Store (0x03, RSEN)
- }
- Else
- {
- Store (0x00, RSEN)
- }
- }
- }
- Device (ESB1)
- {
- Name (_ADR, 0x001D0007)
- Name (_S1D, 0x01)
- Name (_S3D, 0x02)
- Name (_S4D, 0x02)
- OperationRegion (EH1F, PCI_Config, 0x54, 0x04)
- Field (EH1F, DWordAcc, NoLock, Preserve)
- {
- , 15,
- PMES, 1
- }
- Name (_PRW, Package (0x02)
- {
- 0x0D,
- 0x05
- })
- }
- Device (PCIB)
- {
- Name (_ADR, 0x001E0000)
- Name (_PRW, Package (0x02)
- {
- 0x0B,
- 0x05
- })
- Method (_PRT, 0, NotSerialized)
- {
- If (LNot (\PICF))
- {
- Return (Package (0x01)
- {
- Package (0x04)
- {
- 0x0004FFFF,
- 0x00,
- \_SB.PCI0.LPC0.LNKG,
- 0x00
- }
- })
- }
- Else
- {
- Return (Package (0x01)
- {
- Package (0x04)
- {
- 0x0004FFFF,
- 0x00,
- 0x00,
- 0x16
- }
- })
- }
- }
- }
- Device (LPC0)
- {
- Name (_ADR, 0x001F0000)
- Name (DVEN, 0x00)
- Method (DECD, 4, Serialized)
- {
- Store (Arg0, Debug)
- }
- Device (MBRD)
- {
- Name (_HID, EisaId ("PNP0C02"))
- Name (_UID, 0x1F)
- Name (RSRC, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0010, // Range Minimum
- 0x0010, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0024, // Range Minimum
- 0x0024, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0028, // Range Minimum
- 0x0028, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x002C, // Range Minimum
- 0x002C, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x002E, // Range Minimum
- 0x002E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0030, // Range Minimum
- 0x0030, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0034, // Range Minimum
- 0x0034, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0038, // Range Minimum
- 0x0038, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x003C, // Range Minimum
- 0x003C, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0072, // Range Minimum
- 0x0072, // Range Maximum
- 0x01, // Alignment
- 0x06, // Length
- )
- IO (Decode16,
- 0x0080, // Range Minimum
- 0x0080, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0090, // Range Minimum
- 0x0090, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x00A4, // Range Minimum
- 0x00A4, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00A8, // Range Minimum
- 0x00A8, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00AC, // Range Minimum
- 0x00AC, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00B0, // Range Minimum
- 0x00B0, // Range Maximum
- 0x01, // Alignment
- 0x06, // Length
- )
- IO (Decode16,
- 0x00B8, // Range Minimum
- 0x00B8, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00BC, // Range Minimum
- 0x00BC, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0295, // Range Minimum
- 0x0295, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0800, // Range Minimum
- 0x0800, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x1000, // Range Minimum
- 0x1000, // Range Maximum
- 0x01, // Alignment
- 0x80, // Length
- _Y0E)
- IO (Decode16,
- 0x1180, // Range Minimum
- 0x1180, // Range Maximum
- 0x01, // Alignment
- 0x40, // Length
- _Y0F)
- IO (Decode16,
- 0x04D0, // Range Minimum
- 0x04D0, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0xFE00, // Range Minimum
- 0xFE00, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED14000, // Address Base
- 0x00004000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xE0000000, // Address Base
- 0x10000000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFEF00000, // Address Base
- 0x00100000, // Address Length
- )
- })
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.MBRD._Y0E._MIN, PMMN)
- CreateWordField (RSRC, \_SB.PCI0.LPC0.MBRD._Y0E._MAX, PMMX)
- And (^^PMBA, 0xFF80, PMMN)
- Store (PMMN, PMMX)
- CreateWordField (RSRC, \_SB.PCI0.LPC0.MBRD._Y0F._MIN, GPMN)
- CreateWordField (RSRC, \_SB.PCI0.LPC0.MBRD._Y0F._MAX, GPMX)
- And (^^GPBA, 0xFF80, GPMN)
- Store (GPMN, GPMX)
- Return (RSRC)
- }
- }
- Device (DMAC)
- {
- Name (_HID, EisaId ("PNP0200"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0081, // Range Minimum
- 0x0081, // Range Maximum
- 0x01, // Alignment
- 0x0F, // Length
- )
- IO (Decode16,
- 0x00C0, // Range Minimum
- 0x00C0, // Range Maximum
- 0x01, // Alignment
- 0x20, // Length
- )
- DMA (Compatibility, NotBusMaster, Transfer16, )
- {4}
- })
- }
- Device (MATH)
- {
- Name (_HID, EisaId ("PNP0C04"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x00F0, // Range Minimum
- 0x00F0, // Range Maximum
- 0x01, // Alignment
- 0x0F, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {13}
- })
- }
- Device (PIC)
- {
- Name (_HID, EisaId ("PNP0000"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0020, // Range Minimum
- 0x0020, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00A0, // Range Minimum
- 0x00A0, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {2}
- })
- }
- Device (HPET)
- {
- Name (_HID, EisaId ("PNP0103"))
- Name (BUF0, ResourceTemplate ()
- {
- IRQNoFlags ()
- {0}
- IRQNoFlags ()
- {8}
- Memory32Fixed (ReadOnly,
- 0xFED00000, // Address Base
- 0x00000400, // Address Length
- _Y10)
- })
- Method (_STA, 0, NotSerialized)
- {
- If (HPAE)
- {
- Store (0x0F, Local1)
- }
- Else
- {
- Store (0x00, Local1)
- }
- Return (Local1)
- }
- Method (_CRS, 0, Serialized)
- {
- If (HPAE)
- {
- CreateDWordField (BUF0, \_SB.PCI0.LPC0.HPET._Y10._BAS, HPT0)
- If (LEqual (HPAS, 0x01))
- {
- Store (0xFED01000, HPT0)
- }
- If (LEqual (HPAS, 0x02))
- {
- Store (0xFED02000, HPT0)
- }
- If (LEqual (HPAS, 0x03))
- {
- Store (0xFED03000, HPT0)
- }
- }
- Return (BUF0)
- }
- }
- Device (RTC)
- {
- Name (_HID, EisaId ("PNP0B00"))
- Name (BUF0, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0070, // Range Minimum
- 0x0070, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- })
- Name (BUF1, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0070, // Range Minimum
- 0x0070, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IRQNoFlags ()
- {8}
- })
- Method (_CRS, 0, Serialized)
- {
- If (HPAE)
- {
- Return (BUF0)
- }
- Return (BUF1)
- }
- }
- Device (SPKR)
- {
- Name (_HID, EisaId ("PNP0800"))
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0061, // Range Minimum
- 0x0061, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- })
- }
- Device (TIMR)
- {
- Name (_HID, EisaId ("PNP0100"))
- Name (BUF0, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0040, // Range Minimum
- 0x0040, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IO (Decode16,
- 0x0050, // Range Minimum
- 0x0050, // Range Maximum
- 0x10, // Alignment
- 0x04, // Length
- )
- })
- Name (BUF1, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0040, // Range Minimum
- 0x0040, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IO (Decode16,
- 0x0050, // Range Minimum
- 0x0050, // Range Maximum
- 0x10, // Alignment
- 0x04, // Length
- )
- IRQNoFlags ()
- {0}
- })
- Method (_CRS, 0, Serialized)
- {
- If (HPAE)
- {
- Return (BUF0)
- }
- Return (BUF1)
- }
- }
- Device (LNKA)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x01)
- Name (_PRS, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,6,7,10,11,12,14,15}
- })
- Name (RSRC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y11)
- {}
- })
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRA, 0x80, PIRA)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.LNKA._Y11._INT, IRQ0)
- And (PIRA, 0x0F, Local0)
- ShiftLeft (0x01, Local0, IRQ0)
- Store (RSRC, Debug)
- Return (RSRC)
- }
- Method (_SRS, 1, NotSerialized)
- {
- Store (Arg0, Debug)
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Decrement (Local0)
- Or (Local0, And (PIRA, 0x70), PIRA)
- }
- Method (_STA, 0, NotSerialized)
- {
- If (And (PIRA, 0x80))
- {
- Return (0x09)
- }
- Return (0x0B)
- }
- }
- Device (LNKB)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x02)
- Name (_PRS, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,6,7,10,11,12,14,15}
- })
- Name (RSRC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y12)
- {}
- })
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRB, 0x80, PIRB)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.LNKB._Y12._INT, IRQ0)
- And (PIRB, 0x0F, Local0)
- ShiftLeft (0x01, Local0, IRQ0)
- Return (RSRC)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Decrement (Local0)
- Or (Local0, And (PIRB, 0x70), PIRB)
- }
- Method (_STA, 0, NotSerialized)
- {
- If (And (PIRB, 0x80))
- {
- Return (0x09)
- }
- Return (0x0B)
- }
- }
- Device (LNKC)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x03)
- Name (_PRS, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,6,7,10,11,12,14,15}
- })
- Name (RSRC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y13)
- {}
- })
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRC, 0x80, PIRC)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.LNKC._Y13._INT, IRQ0)
- And (PIRC, 0x0F, Local0)
- ShiftLeft (0x01, Local0, IRQ0)
- Return (RSRC)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Decrement (Local0)
- Or (Local0, And (PIRC, 0x70), PIRC)
- }
- Method (_STA, 0, NotSerialized)
- {
- If (And (PIRC, 0x80))
- {
- Return (0x09)
- }
- Return (0x0B)
- }
- }
- Device (LNKD)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x04)
- Name (_PRS, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,6,7,10,11,12,14,15}
- })
- Name (RSRC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y14)
- {}
- })
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRD, 0x80, PIRD)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.LNKD._Y14._INT, IRQ0)
- And (PIRD, 0x0F, Local0)
- ShiftLeft (0x01, Local0, IRQ0)
- Return (RSRC)
- }
- Method (_SRS, 1, NotSerialized)
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Decrement (Local0)
- Or (Local0, And (PIRD, 0x70), PIRD)
- }
- Method (_STA, 0, NotSerialized)
- {
- If (And (PIRD, 0x80))
- {
- Return (0x09)
- }
- Return (0x0B)
- }
- }
- Device (LNKE)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x05)
- Name (_PRS, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,6,7,10,11,12,14,15}
- })
- Name (RSRC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y15)
- {}
- })
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRE, 0x80, PIRE)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.LNKE._Y15._INT, IRQ0)
- And (PIRE, 0x0F, Local0)
- ShiftLeft (0x01, Local0, IRQ0)
- Store (RSRC, Debug)
- Return (RSRC)
- }
- Method (_SRS, 1, NotSerialized)
- {
- Store (Arg0, Debug)
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Decrement (Local0)
- Or (Local0, And (PIRE, 0x70), PIRE)
- }
- Method (_STA, 0, NotSerialized)
- {
- If (And (PIRE, 0x80))
- {
- Return (0x09)
- }
- Return (0x0B)
- }
- }
- Device (LNKF)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x06)
- Name (_PRS, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,6,7,10,11,12,14,15}
- })
- Name (RSRC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y16)
- {}
- })
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRF, 0x80, PIRF)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.LNKF._Y16._INT, IRQ0)
- And (PIRF, 0x0F, Local0)
- ShiftLeft (0x01, Local0, IRQ0)
- Store (RSRC, Debug)
- Return (RSRC)
- }
- Method (_SRS, 1, NotSerialized)
- {
- Store (Arg0, Debug)
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Decrement (Local0)
- Or (Local0, And (PIRF, 0x70), PIRF)
- }
- Method (_STA, 0, NotSerialized)
- {
- If (And (PIRF, 0x80))
- {
- Return (0x09)
- }
- Return (0x0B)
- }
- }
- Device (LNKG)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x07)
- Name (_PRS, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,6,7,10,11,12,14,15}
- })
- Name (RSRC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y17)
- {}
- })
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRG, 0x80, PIRG)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.LNKG._Y17._INT, IRQ0)
- And (PIRG, 0x0F, Local0)
- ShiftLeft (0x01, Local0, IRQ0)
- Store (RSRC, Debug)
- Return (RSRC)
- }
- Method (_SRS, 1, NotSerialized)
- {
- Store (Arg0, Debug)
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Decrement (Local0)
- Or (Local0, And (PIRG, 0x70), PIRG)
- }
- Method (_STA, 0, NotSerialized)
- {
- If (And (PIRG, 0x80))
- {
- Return (0x09)
- }
- Return (0x0B)
- }
- }
- Device (LNKH)
- {
- Name (_HID, EisaId ("PNP0C0F"))
- Name (_UID, 0x08)
- Name (_PRS, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,6,7,10,11,12,14,15}
- })
- Name (RSRC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y18)
- {}
- })
- Method (_DIS, 0, NotSerialized)
- {
- Or (PIRH, 0x80, PIRH)
- }
- Method (_CRS, 0, NotSerialized)
- {
- CreateWordField (RSRC, \_SB.PCI0.LPC0.LNKH._Y18._INT, IRQ0)
- And (PIRH, 0x0F, Local0)
- ShiftLeft (0x01, Local0, IRQ0)
- Store (RSRC, Debug)
- Return (RSRC)
- }
- Method (_SRS, 1, NotSerialized)
- {
- Store (Arg0, Debug)
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Decrement (Local0)
- Or (Local0, And (PIRH, 0x70), PIRH)
- }
- Method (_STA, 0, NotSerialized)
- {
- If (And (PIRH, 0x80))
- {
- Return (0x09)
- }
- Return (0x0B)
- }
- }
- OperationRegion (TCOI, SystemIO, 0x1060, 0x08)
- Field (TCOI, WordAcc, NoLock, Preserve)
- {
- Offset (0x04),
- , 9,
- SCIS, 1,
- Offset (0x06)
- }
- OperationRegion (GPOX, SystemIO, 0x1180, 0x30)
- Field (GPOX, DWordAcc, NoLock, Preserve)
- {
- Offset (0x07),
- , 3,
- IO27, 1,
- Offset (0x0F),
- , 3,
- LV27, 1,
- Offset (0x1B),
- , 3,
- BL27, 1
- }
- OperationRegion (PIRX, PCI_Config, 0x60, 0x04)
- Field (PIRX, DWordAcc, Lock, Preserve)
- {
- AccessAs (ByteAcc, 0x00),
- PIRA, 8,
- PIRB, 8,
- PIRC, 8,
- PIRD, 8
- }
- OperationRegion (PIRY, PCI_Config, 0x68, 0x04)
- Field (PIRY, DWordAcc, Lock, Preserve)
- {
- AccessAs (ByteAcc, 0x00),
- PIRE, 8,
- PIRF, 8,
- PIRG, 8,
- PIRH, 8
- }
- OperationRegion (ELR0, PCI_Config, 0xA0, 0x14)
- Field (ELR0, DWordAcc, Lock, Preserve)
- {
- Offset (0x01),
- , 1,
- PBLV, 1,
- Offset (0x10),
- , 1,
- ELSS, 1,
- , 1,
- ELST, 1,
- ELPB, 1,
- Offset (0x11),
- , 1,
- ELLO, 1,
- ELGN, 2,
- ELYL, 2,
- ELBE, 1,
- ELIE, 1,
- ELSN, 1,
- ELOC, 1,
- Offset (0x13),
- ELSO, 1
- }
- OperationRegion (ROUT, SystemIO, 0xB8, 0x04)
- Field (ROUT, DWordAcc, Lock, Preserve)
- {
- AccessAs (ByteAcc, 0x00),
- GPI0, 2,
- GPI1, 2,
- GPI2, 2,
- GPI3, 2,
- GPI4, 2,
- GPI5, 2,
- GPI6, 2,
- GPI7, 2,
- GPI8, 2,
- GPI9, 2,
- GP10, 2,
- GP11, 2,
- GP12, 2,
- GP13, 2,
- GP14, 2,
- GP15, 2
- }
- OperationRegion (PMIO, SystemIO, 0x1000, 0x30)
- Field (PMIO, WordAcc, NoLock, Preserve)
- {
- AccessAs (DWordAcc, 0x00),
- Offset (0x2D),
- , 4,
- GPES, 1,
- Offset (0x2F),
- , 4,
- GPEE, 1
- }
- OperationRegion (REGS, PCI_Config, 0x40, 0x10)
- Field (REGS, DWordAcc, Lock, Preserve)
- {
- PMBA, 16,
- Offset (0x08),
- GPBA, 16
- }
- Device (FWH)
- {
- Name (_HID, EisaId ("INT0800"))
- Name (_CRS, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0xFF800000, // Address Base
- 0x00800000, // Address Length
- )
- })
- }
- OperationRegion (LPIO, PCI_Config, 0x80, 0x04)
- Scope (\)
- {
- Field (\_SB.PCI0.LPC0.LPIO, ByteAcc, NoLock, Preserve)
- {
- UAIO, 8,
- PRIO, 8,
- LPE1, 8,
- LPE2, 8
- }
- Method (STDM, 2, NotSerialized)
- {
- If (Arg0)
- {
- If (LEqual (Arg1, 0x02))
- {
- Or (LPE1, 0x01, LPE1)
- }
- If (LEqual (Arg1, 0x03))
- {
- Or (LPE1, 0x02, LPE1)
- }
- If (LEqual (Arg1, 0x01))
- {
- Or (LPE1, 0x04, LPE1)
- }
- If (LEqual (Arg1, 0x00))
- {
- Or (LPE1, 0x08, LPE1)
- }
- If (LEqual (Arg1, 0x04))
- {
- Or (LPE1, 0x03, LPE2)
- }
- }
- Else
- {
- If (LEqual (Arg1, 0x02))
- {
- And (LPE1, 0xFE, LPE1)
- }
- If (LEqual (Arg1, 0x03))
- {
- And (LPE1, 0xFD, LPE1)
- }
- If (LEqual (Arg1, 0x01))
- {
- And (LPE1, 0xFB, LPE1)
- }
- If (LEqual (Arg1, 0x00))
- {
- And (LPE1, 0xF7, LPE1)
- }
- If (LEqual (Arg1, 0x04))
- {
- And (LPE2, 0xFC, LPE2)
- }
- }
- }
- Method (CKIO, 2, NotSerialized)
- {
- CreateWordField (Arg0, 0x02, IOAD)
- If (LEqual (Arg1, 0x02))
- {
- Or (LPE1, 0x01, LPE1)
- And (UAIO, 0xF0, Local0)
- If (LEqual (IOAD, 0x03F8))
- {
- Or (Local0, 0x00, UAIO)
- }
- If (LEqual (IOAD, 0x02F8))
- {
- Or (Local0, 0x01, UAIO)
- }
- If (LEqual (IOAD, 0x02E8))
- {
- Or (Local0, 0x05, UAIO)
- }
- If (LEqual (IOAD, 0x03E8))
- {
- Or (Local0, 0x07, UAIO)
- }
- }
- If (LEqual (Arg1, 0x03))
- {
- Or (LPE1, 0x02, LPE1)
- And (UAIO, 0x0F, Local0)
- If (LEqual (IOAD, 0x03F8))
- {
- Or (Local0, 0x00, UAIO)
- }
- If (LEqual (IOAD, 0x02F8))
- {
- Or (Local0, 0x10, UAIO)
- }
- If (LEqual (IOAD, 0x02E8))
- {
- Or (Local0, 0x50, UAIO)
- }
- If (LEqual (IOAD, 0x03E8))
- {
- Or (Local0, 0x70, UAIO)
- }
- }
- If (LEqual (Arg1, 0x01))
- {
- Or (LPE1, 0x04, LPE1)
- And (PRIO, 0xFC, Local0)
- If (LEqual (IOAD, 0x0378))
- {
- Or (Local0, 0x00, PRIO)
- }
- If (LEqual (IOAD, 0x0278))
- {
- Or (Local0, 0x01, PRIO)
- }
- If (LEqual (IOAD, 0x03BC))
- {
- Or (Local0, 0x02, PRIO)
- }
- }
- If (LEqual (Arg1, 0x00))
- {
- Or (LPE1, 0x08, LPE1)
- And (PRIO, 0xEF, Local0)
- If (LEqual (IOAD, 0x03F0))
- {
- Or (Local0, 0x00, PRIO)
- }
- If (LEqual (IOAD, 0x0370))
- {
- Or (Local0, 0x10, PRIO)
- }
- }
- If (LEqual (Arg1, 0x04))
- {
- If (LEqual (IOAD, 0x0201))
- {
- Or (LPE2, 0x01, LPE2)
- }
- If (LEqual (IOAD, 0x0209))
- {
- Or (LPE2, 0x02, LPE2)
- }
- }
- }
- }
- OperationRegion (PS2P, SystemIO, 0x64, 0x01)
- Field (PS2P, ByteAcc, NoLock, Preserve)
- {
- PS2C, 8
- }
- Device (SIO)
- {
- Name (_HID, EisaId ("PNP0A05"))
- Mutex (W627, 0x00)
- OperationRegion (SIBP, SystemIO, 0x2E, 0x02)
- Field (SIBP, ByteAcc, NoLock, Preserve)
- {
- BPIO, 8
- }
- OperationRegion (SIIO, SystemIO, 0x2E, 0x02)
- Field (SIIO, ByteAcc, NoLock, Preserve)
- {
- INDX, 8,
- DATA, 8
- }
- IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
- {
- Offset (0x07),
- LDN, 8,
- Offset (0x22),
- POW, 8,
- Offset (0x30),
- ACT, 1,
- Offset (0x60),
- IOBH, 8,
- IOBL, 8,
- IO2H, 8,
- IO2L, 8,
- Offset (0x70),
- INT, 4,
- Offset (0x74),
- DMAS, 3,
- Offset (0xE0),
- Z001, 8,
- Offset (0xE4),
- Z002, 8,
- Offset (0xF0),
- MODE, 3,
- Offset (0xF1),
- , 3,
- IRMD, 3,
- Offset (0xF3),
- , 6,
- SLED, 2,
- Offset (0xF5),
- , 6,
- PLED, 2
- }
- Method (CFG, 1, NotSerialized)
- {
- Store (0x87, BPIO)
- Store (0x87, BPIO)
- Store (Arg0, LDN)
- }
- Method (XCFG, 0, NotSerialized)
- {
- Store (0xAA, BPIO)
- }
- Method (STA, 1, NotSerialized)
- {
- Acquire (W627, 0x5000)
- CFG (Arg0)
- Store (0x00, Local1)
- If (ACT)
- {
- Store (0x0F, Local1)
- }
- Else
- {
- If (LOr (IOBH, IOBL))
- {
- Store (0x0D, Local1)
- }
- }
- XCFG ()
- Release (W627)
- Return (Local1)
- }
- Method (DIS, 1, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (Arg0)
- Store (0x00, ACT)
- XCFG ()
- Release (W627)
- STDM (0x00, Arg0)
- Return (0x00)
- }
- Method (PS0, 1, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (Arg0)
- Store (0x01, ACT)
- XCFG ()
- Release (W627)
- STDM (0x01, Arg0)
- Return (0x00)
- }
- Method (PS3, 1, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (Arg0)
- Store (0x00, ACT)
- XCFG ()
- Release (W627)
- Return (0x00)
- }
- OperationRegion (ESTS, SystemMemory, 0x04FF, 0x01)
- Field (ESTS, AnyAcc, NoLock, Preserve)
- {
- , 2,
- PSKB, 1,
- PSMS, 1
- }
- Device (KBC0)
- {
- Name (_HID, EisaId ("PNP0303"))
- Name (_CID, EisaId ("PNP030B"))
- Method (_STA, 0, NotSerialized)
- {
- Return (0x0F)
- }
- Name (_CRS, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0060, // Range Minimum
- 0x0060, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0064, // Range Minimum
- 0x0064, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {1}
- })
- Name (_PRW, Package (0x02)
- {
- 0x1D,
- 0x01
- })
- Method (_PSW, 1, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x0A)
- Store (0xF6, INDX)
- Or (And (DATA, 0xEF), ShiftLeft (Arg0, 0x04), DATA)
- XCFG ()
- Release (W627)
- }
- }
- Device (MSE0)
- {
- Name (_HID, EisaId ("PNP0F13"))
- Name (_CID, EisaId ("PNP0F13"))
- Method (_STA, 0, NotSerialized)
- {
- Return (0x0F)
- }
- Name (_CRS, ResourceTemplate ()
- {
- IRQ (Edge, ActiveHigh, Exclusive, )
- {12}
- })
- Name (_PRW, Package (0x02)
- {
- 0x1D,
- 0x01
- })
- Method (_PSW, 1, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x0A)
- Store (0xF6, INDX)
- Or (And (DATA, 0xDF), ShiftLeft (Arg0, 0x05), DATA)
- XCFG ()
- Release (W627)
- }
- }
- Device (COM1)
- {
- Name (_HID, EisaId ("PNP0501"))
- Name (_UID, 0x01)
- Method (_STA, 0, NotSerialized)
- {
- Store (STA (0x02), Local1)
- Return (Local1)
- }
- Name (_PRW, Package (0x02)
- {
- 0x08,
- 0x05
- })
- Method (_DIS, 0, NotSerialized)
- {
- DIS (0x02)
- }
- Method (_CRS, 0, NotSerialized)
- {
- Name (RSRC, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x08, // Alignment
- 0x08, // Length
- _Y19)
- IRQNoFlags (_Y1A)
- {}
- })
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.COM1._CRS._Y19._MIN, IO1)
- CreateByteField (RSRC, 0x03, IO2)
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.COM1._CRS._Y19._MAX, IO3)
- CreateByteField (RSRC, 0x05, IO4)
- CreateWordField (RSRC, \_SB.PCI0.LPC0.SIO.COM1._CRS._Y1A._INT, IRQV)
- Acquire (W627, 0x1388)
- CFG (0x02)
- Store (IOBL, IO1)
- Store (IOBH, IO2)
- Store (IOBL, IO3)
- Store (IOBH, IO4)
- Store (0x01, Local0)
- ShiftLeft (Local0, INT, IRQV)
- XCFG ()
- Release (W627)
- Return (RSRC)
- }
- Name (_PRS, ResourceTemplate ()
- {
- StartDependentFn (0x00, 0x00)
- {
- IO (Decode16,
- 0x03F8, // Range Minimum
- 0x03F8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {4}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x02F8, // Range Minimum
- 0x02F8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {3}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x03E8, // Range Minimum
- 0x03E8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {4}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x02E8, // Range Minimum
- 0x02E8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {3}
- }
- StartDependentFn (0x02, 0x02)
- {
- IO (Decode16,
- 0x03F8, // Range Minimum
- 0x03F8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {3}
- }
- StartDependentFn (0x02, 0x02)
- {
- IO (Decode16,
- 0x02F8, // Range Minimum
- 0x02F8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {4}
- }
- StartDependentFn (0x02, 0x02)
- {
- IO (Decode16,
- 0x03E8, // Range Minimum
- 0x03E8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {3}
- }
- StartDependentFn (0x02, 0x02)
- {
- IO (Decode16,
- 0x02E8, // Range Minimum
- 0x02E8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {4}
- }
- EndDependentFn ()
- })
- Method (_SRS, 1, NotSerialized)
- {
- CreateByteField (Arg0, 0x02, IO1)
- CreateByteField (Arg0, 0x03, IO2)
- CreateWordField (Arg0, 0x09, IRQV)
- Acquire (W627, 0x1388)
- CFG (0x02)
- Store (IO1, IOBL)
- Store (IO2, IOBH)
- FindSetRightBit (IRQV, Local0)
- Subtract (Local0, 0x01, INT)
- Store (0x01, ACT)
- XCFG ()
- Release (W627)
- CKIO (Arg0, 0x02)
- }
- Method (_PS0, 0, NotSerialized)
- {
- PS0 (0x02)
- }
- Method (_PS3, 0, NotSerialized)
- {
- PS3 (0x02)
- }
- }
- Device (COM2)
- {
- Method (_HID, 0, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x03)
- If (LAnd (IRMD, 0x38))
- {
- Store (0x1005D041, Local1)
- }
- Else
- {
- Store (0x0105D041, Local1)
- }
- XCFG ()
- Release (W627)
- Return (Local1)
- }
- Name (_UID, 0x02)
- Method (_STA, 0, NotSerialized)
- {
- Store (STA (0x03), Local1)
- Return (Local1)
- }
- Name (_PRW, Package (0x02)
- {
- 0x08,
- 0x05
- })
- Method (_DIS, 0, NotSerialized)
- {
- DIS (0x03)
- }
- Method (_CRS, 0, NotSerialized)
- {
- Name (RSRC, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x08, // Alignment
- 0x08, // Length
- _Y1B)
- IRQNoFlags (_Y1C)
- {}
- })
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.COM2._CRS._Y1B._MIN, IO1)
- CreateByteField (RSRC, 0x03, IO2)
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.COM2._CRS._Y1B._MAX, IO3)
- CreateByteField (RSRC, 0x05, IO4)
- CreateWordField (RSRC, \_SB.PCI0.LPC0.SIO.COM2._CRS._Y1C._INT, IRQV)
- Acquire (W627, 0x1388)
- CFG (0x03)
- Store (IOBL, IO1)
- Store (IOBH, IO2)
- Store (IOBL, IO3)
- Store (IOBH, IO4)
- Store (0x01, Local0)
- ShiftLeft (Local0, INT, IRQV)
- XCFG ()
- Release (W627)
- Return (RSRC)
- }
- Name (_PRS, ResourceTemplate ()
- {
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x03F8, // Range Minimum
- 0x03F8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {4}
- }
- StartDependentFn (0x00, 0x00)
- {
- IO (Decode16,
- 0x02F8, // Range Minimum
- 0x02F8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {3}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x03E8, // Range Minimum
- 0x03E8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {4}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x02E8, // Range Minimum
- 0x02E8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {3}
- }
- StartDependentFn (0x02, 0x02)
- {
- IO (Decode16,
- 0x03F8, // Range Minimum
- 0x03F8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {3}
- }
- StartDependentFn (0x02, 0x02)
- {
- IO (Decode16,
- 0x02F8, // Range Minimum
- 0x02F8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {4}
- }
- StartDependentFn (0x02, 0x02)
- {
- IO (Decode16,
- 0x03E8, // Range Minimum
- 0x03E8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {3}
- }
- StartDependentFn (0x02, 0x02)
- {
- IO (Decode16,
- 0x02E8, // Range Minimum
- 0x02E8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {4}
- }
- EndDependentFn ()
- })
- Method (_SRS, 1, NotSerialized)
- {
- CreateByteField (Arg0, 0x02, IO1)
- CreateByteField (Arg0, 0x03, IO2)
- CreateWordField (Arg0, 0x09, IRQV)
- Acquire (W627, 0x1388)
- CFG (0x03)
- Store (IO1, IOBL)
- Store (IO2, IOBH)
- FindSetRightBit (IRQV, Local0)
- Subtract (Local0, 0x01, INT)
- Store (0x01, ACT)
- XCFG ()
- Release (W627)
- CKIO (Arg0, 0x03)
- }
- Method (_PS0, 0, NotSerialized)
- {
- PS0 (0x03)
- }
- Method (_PS3, 0, NotSerialized)
- {
- PS3 (0x03)
- }
- }
- Device (FDC)
- {
- Name (_HID, EisaId ("PNP0700"))
- Name (_UID, 0x01)
- Method (_STA, 0, NotSerialized)
- {
- Store (STA (0x00), Local1)
- Return (Local1)
- }
- Method (_DIS, 0, NotSerialized)
- {
- DIS (0x00)
- }
- Method (_CRS, 0, NotSerialized)
- {
- Name (RSRC, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x01, // Alignment
- 0x06, // Length
- _Y1D)
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- _Y1E)
- IRQNoFlags (_Y1F)
- {}
- DMA (Compatibility, NotBusMaster, Transfer8, _Y20)
- {}
- })
- Acquire (W627, 0x1388)
- CFG (0x00)
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.FDC._CRS._Y1D._MIN, IO1)
- CreateByteField (RSRC, 0x03, IO2)
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.FDC._CRS._Y1D._MAX, IO3)
- CreateByteField (RSRC, 0x05, IO4)
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.FDC._CRS._Y1E._MIN, IO5)
- CreateByteField (RSRC, 0x0B, IO6)
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.FDC._CRS._Y1E._MAX, IO7)
- CreateByteField (RSRC, 0x0D, IO8)
- CreateWordField (RSRC, \_SB.PCI0.LPC0.SIO.FDC._CRS._Y1F._INT, IRQV)
- CreateByteField (RSRC, \_SB.PCI0.LPC0.SIO.FDC._CRS._Y20._DMA, DMAV)
- Store (IOBL, IO1)
- Store (IOBH, IO2)
- Store (IOBL, IO3)
- Store (IOBH, IO4)
- Add (IOBL, 0x07, IO5)
- Store (IOBH, IO6)
- Add (IOBL, 0x07, IO7)
- Store (IOBH, IO8)
- Store (0x01, Local0)
- ShiftLeft (Local0, INT, IRQV)
- Store (0x01, Local0)
- ShiftLeft (Local0, DMAS, DMAV)
- XCFG ()
- Release (W627)
- Return (RSRC)
- }
- Name (_PRS, ResourceTemplate ()
- {
- StartDependentFn (0x00, 0x00)
- {
- IO (Decode16,
- 0x03F0, // Range Minimum
- 0x03F0, // Range Maximum
- 0x01, // Alignment
- 0x06, // Length
- )
- IO (Decode16,
- 0x03F7, // Range Minimum
- 0x03F7, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {6}
- DMA (Compatibility, NotBusMaster, Transfer8, )
- {2}
- }
- StartDependentFn (0x00, 0x00)
- {
- IO (Decode16,
- 0x0370, // Range Minimum
- 0x0370, // Range Maximum
- 0x01, // Alignment
- 0x06, // Length
- )
- IO (Decode16,
- 0x0377, // Range Minimum
- 0x0377, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {6}
- DMA (Compatibility, NotBusMaster, Transfer8, )
- {2}
- }
- EndDependentFn ()
- })
- Method (_SRS, 1, NotSerialized)
- {
- CreateByteField (Arg0, 0x02, IO1)
- CreateByteField (Arg0, 0x03, IO2)
- CreateWordField (Arg0, 0x11, IRQV)
- CreateByteField (Arg0, 0x14, DMAV)
- Acquire (W627, 0x1388)
- CFG (0x00)
- Store (IO1, IOBL)
- Store (IO2, IOBH)
- FindSetRightBit (IRQV, Local0)
- Subtract (Local0, 0x01, INT)
- FindSetRightBit (DMAV, Local0)
- Subtract (Local0, 0x01, DMAS)
- Store (0x01, ACT)
- XCFG ()
- Release (W627)
- CKIO (Arg0, 0x00)
- }
- Method (_PS0, 0, NotSerialized)
- {
- PS0 (0x00)
- }
- Method (_PS3, 0, NotSerialized)
- {
- PS3 (0x00)
- }
- }
- Device (PRT)
- {
- Method (_HID, 0, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x01)
- If (LEqual (MODE, 0x02))
- {
- Store (0x0104D041, Local1)
- }
- Else
- {
- Store (0x0004D041, Local1)
- }
- XCFG ()
- Release (W627)
- Return (Local1)
- }
- Name (_UID, 0x02)
- Method (_STA, 0, NotSerialized)
- {
- Store (STA (0x01), Local1)
- Return (Local1)
- }
- Method (_DIS, 0, NotSerialized)
- {
- DIS (0x01)
- }
- Method (_CRS, 0, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x01)
- Name (CRSA, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- _Y21)
- IRQNoFlags (_Y22)
- {}
- })
- CreateByteField (CRSA, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y21._MIN, IOA1)
- CreateByteField (CRSA, 0x03, IOA2)
- CreateByteField (CRSA, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y21._MAX, IOA3)
- CreateByteField (CRSA, 0x05, IOA4)
- CreateByteField (CRSA, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y21._ALN, ALA1)
- CreateByteField (CRSA, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y21._LEN, LNA1)
- CreateWordField (CRSA, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y22._INT, IRQA)
- Name (CRSB, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- _Y23)
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- _Y24)
- IRQNoFlags (_Y25)
- {}
- DMA (Compatibility, NotBusMaster, Transfer16, _Y26)
- {}
- })
- CreateByteField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y23._MIN, IOB1)
- CreateByteField (CRSB, 0x03, IOB2)
- CreateByteField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y23._MAX, IOB3)
- CreateByteField (CRSB, 0x05, IOB4)
- CreateByteField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y23._ALN, ALB1)
- CreateByteField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y23._LEN, LNB1)
- CreateByteField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y24._MIN, IOB5)
- CreateByteField (CRSB, 0x0B, IOB6)
- CreateByteField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y24._MAX, IOB7)
- CreateByteField (CRSB, 0x0D, IOB8)
- CreateByteField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y24._ALN, ALB2)
- CreateByteField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y24._LEN, LNB2)
- CreateWordField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y25._INT, IRQB)
- CreateWordField (CRSB, \_SB.PCI0.LPC0.SIO.PRT._CRS._Y26._DMA, DMAV)
- If (ACT)
- {
- If (LEqual (MODE, 0x02))
- {
- Store (IOBL, IOB1)
- Store (IOBH, IOB2)
- Store (IOBL, IOB3)
- Store (IOBH, IOB4)
- Store (IOBL, IOB5)
- Add (IOBH, 0x04, IOB6)
- Store (IOBL, IOB7)
- Add (IOBH, 0x04, IOB8)
- If (LEqual (IOBL, 0xBC))
- {
- Store (0x01, ALB1)
- Store (0x04, LNB1)
- Store (0x01, ALB2)
- Store (0x04, LNB2)
- }
- Store (0x01, Local0)
- ShiftLeft (Local0, INT, IRQB)
- Store (0x01, Local0)
- ShiftLeft (Local0, DMAS, DMAV)
- Return (CRSB)
- }
- Else
- {
- Store (IOBL, IOA1)
- Store (IOBH, IOA2)
- Store (IOBL, IOA3)
- Store (IOBH, IOA4)
- Store (0x01, Local0)
- ShiftLeft (Local0, INT, IRQA)
- If (LEqual (IOBL, 0xBC))
- {
- Store (0x01, ALA1)
- Store (0x04, LNA1)
- }
- Return (CRSA)
- }
- }
- Else
- {
- If (LEqual (MODE, 0x02))
- {
- Return (CRSB)
- }
- Else
- {
- Return (CRSA)
- }
- }
- XCFG ()
- Release (W627)
- }
- Name (PRSA, ResourceTemplate ()
- {
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x0378, // Range Minimum
- 0x0378, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {7}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x0378, // Range Minimum
- 0x0378, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {5}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x0278, // Range Minimum
- 0x0278, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {7}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x0278, // Range Minimum
- 0x0278, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {5}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x03BC, // Range Minimum
- 0x03BC, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {7}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x03BC, // Range Minimum
- 0x03BC, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {5}
- }
- EndDependentFn ()
- })
- Name (PRSB, ResourceTemplate ()
- {
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x0378, // Range Minimum
- 0x0378, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IO (Decode16,
- 0x0778, // Range Minimum
- 0x0778, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {7}
- DMA (Compatibility, NotBusMaster, Transfer16, )
- {0,1,3}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x0378, // Range Minimum
- 0x0378, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IO (Decode16,
- 0x0778, // Range Minimum
- 0x0778, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {5}
- DMA (Compatibility, NotBusMaster, Transfer16, )
- {0,1,3}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x0278, // Range Minimum
- 0x0278, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IO (Decode16,
- 0x0678, // Range Minimum
- 0x0678, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {7}
- DMA (Compatibility, NotBusMaster, Transfer16, )
- {0,1,3}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x0278, // Range Minimum
- 0x0278, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IO (Decode16,
- 0x0678, // Range Minimum
- 0x0678, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {5}
- DMA (Compatibility, NotBusMaster, Transfer16, )
- {0,1,3}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x03BC, // Range Minimum
- 0x03BC, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IO (Decode16,
- 0x07BC, // Range Minimum
- 0x07BC, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {7}
- DMA (Compatibility, NotBusMaster, Transfer16, )
- {0,1,3}
- }
- StartDependentFnNoPri ()
- {
- IO (Decode16,
- 0x03BC, // Range Minimum
- 0x03BC, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IO (Decode16,
- 0x07BC, // Range Minimum
- 0x07BC, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {5}
- DMA (Compatibility, NotBusMaster, Transfer16, )
- {0,1,3}
- }
- EndDependentFn ()
- })
- Method (_PRS, 0, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x01)
- If (LEqual (MODE, 0x02))
- {
- Store (PRSB, Local0)
- }
- Else
- {
- Store (PRSA, Local0)
- }
- XCFG ()
- Release (W627)
- Return (Local0)
- }
- Method (_SRS, 1, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x01)
- If (LEqual (MODE, 0x02))
- {
- CreateByteField (Arg0, 0x02, IOB1)
- CreateByteField (Arg0, 0x03, IOB2)
- CreateByteField (Arg0, 0x04, IOB3)
- CreateByteField (Arg0, 0x05, IOB4)
- CreateByteField (Arg0, 0x06, ALB1)
- CreateByteField (Arg0, 0x07, LNB1)
- CreateByteField (Arg0, 0x0A, IOB5)
- CreateByteField (Arg0, 0x0B, IOB6)
- CreateByteField (Arg0, 0x0C, IOB7)
- CreateByteField (Arg0, 0x0D, IOB8)
- CreateByteField (Arg0, 0x0E, ALB2)
- CreateByteField (Arg0, 0x0F, LNB2)
- CreateWordField (Arg0, 0x11, IRQB)
- CreateWordField (Arg0, 0x14, DMAV)
- Store (IOB1, IOBL)
- Store (IOB2, IOBH)
- FindSetLeftBit (IRQB, Local0)
- Subtract (Local0, 0x01, INT)
- FindSetLeftBit (DMAV, Local0)
- Subtract (Local0, 0x01, DMAS)
- }
- Else
- {
- CreateByteField (Arg0, 0x02, IOA1)
- CreateByteField (Arg0, 0x03, IOA2)
- CreateByteField (Arg0, 0x04, IOA3)
- CreateByteField (Arg0, 0x05, IOA4)
- CreateByteField (Arg0, 0x06, ALA1)
- CreateByteField (Arg0, 0x07, LNA1)
- CreateWordField (Arg0, 0x09, IRQA)
- Store (IOA1, IOBL)
- Store (IOA2, IOBH)
- FindSetLeftBit (IRQA, Local0)
- Subtract (Local0, 0x01, INT)
- }
- Store (0x01, ACT)
- XCFG ()
- Release (W627)
- CKIO (Arg0, 0x01)
- }
- Method (_PS0, 0, NotSerialized)
- {
- PS0 (0x01)
- }
- Method (_PS3, 0, NotSerialized)
- {
- PS3 (0x01)
- }
- }
- Method (ENWK, 0, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x0A)
- Store (0x01, ACT)
- Store (0xF3, INDX)
- Store (0x3F, DATA)
- Store (0xF6, INDX)
- Store (DATA, Local0)
- If (LEqual (And (Local0, 0x10), Zero))
- {
- Store (0xAD, PS2C)
- }
- Store (0xF9, INDX)
- Store (0x05, DATA)
- XCFG ()
- Release (W627)
- If (LEqual (And (Local0, 0x20), Zero))
- {
- Store (0xA7, PS2C)
- }
- }
- Method (DSWK, 0, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x0A)
- Store (0x00, ACT)
- Store (0xF9, INDX)
- Store (0x00, DATA)
- XCFG ()
- Release (W627)
- }
- Method (CLED, 1, NotSerialized)
- {
- Acquire (W627, 0x1388)
- CFG (0x09)
- Store (Arg0, SLED)
- XCFG ()
- Release (W627)
- }
- }
- }
- Device (IDE1)
- {
- Name (_ADR, 0x001F0002)
- OperationRegion (PBIO, SystemIO, 0x00001890, 0x00000008)
- Field (PBIO, ByteAcc, NoLock, Preserve)
- {
- Offset (0x07),
- , 7,
- PBSY, 1
- }
- OperationRegion (SBIO, SystemIO, 0x00001888, 0x00000008)
- Field (SBIO, ByteAcc, NoLock, Preserve)
- {
- Offset (0x07),
- , 7,
- SBSY, 1
- }
- OperationRegion (IDE, PCI_Config, 0x40, 0xC0)
- Field (IDE, DWordAcc, NoLock, Preserve)
- {
- PRIT, 16,
- SECT, 16,
- PSIT, 4,
- SSIT, 4,
- Offset (0x08),
- SDMA, 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,
- Offset (0x50),
- MAP, 8,
- Offset (0x52),
- PCS, 16
- }
- Method (BSSP, 1, NotSerialized)
- {
- If (Arg0)
- {
- If (\SPN1)
- {
- Store (And (0x0A00, PCS), Local1)
- Store (0x00, Local3)
- If (LEqual (0x0800, Local1))
- {
- While (LAnd (SBSY, LGreater (0x4B, Local3)))
- {
- Sleep (0x64)
- Increment (Local3)
- }
- }
- Store (0x00, \SPN1)
- }
- }
- Else
- {
- If (\SPN0)
- {
- Store (And (0x0500, PCS), Local0)
- Store (0x00, Local2)
- If (LEqual (0x0400, Local0))
- {
- While (LAnd (PBSY, LGreater (0x4B, Local2)))
- {
- Sleep (0x64)
- Increment (Local2)
- }
- }
- Store (0x00, \SPN0)
- }
- }
- }
- Device (PRID)
- {
- Name (_ADR, 0x00)
- Method (_GTM, 0, NotSerialized)
- {
- Name (PBUF, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 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 (GETD (And (SDMA, 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 (GETD (And (SDMA, 0x02), And (ICR3, 0x02),
- And (ICR0, 0x02), SDT1, And (ICR1, 0x02)), DMA1)
- If (LEqual (DMA1, 0xFFFFFFFF))
- {
- Store (PIO1, DMA1)
- }
- Store (GETF (And (SDMA, 0x01), And (SDMA, 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)
- If (LEqual (SizeOf (Arg1), 0x0200))
- {
- And (PRIT, 0xCCF0, PRIT)
- And (SDMA, 0x0E, SDMA)
- 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 (SDMA, 0x01, SDMA)
- Store (SETD (DMA0), SDT0)
- If (LLess (DMA0, 0x1E))
- {
- Or (ICR3, 0x01, ICR3)
- }
- If (LLess (DMA0, 0x3C))
- {
- Or (ICR0, 0x01, ICR0)
- }
- Or (ICR1, 0x01, ICR1)
- }
- }
- If (LEqual (SizeOf (Arg2), 0x0200))
- {
- And (PRIT, 0xBF0F, PRIT)
- Store (0x00, PSIT)
- And (SDMA, 0x0D, SDMA)
- 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 (SDMA, 0x02, SDMA)
- Store (SETD (DMA1), SDT1)
- If (LLess (DMA1, 0x1E))
- {
- Or (ICR3, 0x02, ICR3)
- }
- If (LLess (DMA1, 0x3C))
- {
- Or (ICR0, 0x02, ICR0)
- }
- Or (ICR1, 0x02, ICR1)
- }
- }
- }
- Method (_PS0, 0, NotSerialized)
- {
- BSSP (0x00)
- }
- Method (_PS3, 0, NotSerialized)
- {
- }
- Device (P_D0)
- {
- Name (_ADR, 0x00)
- Method (_GTF, 0, NotSerialized)
- {
- Name (PIB0, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03,
- /* 0008 */ 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 (SDMA, 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)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03,
- /* 0008 */ 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 (SDMA, 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)
- }
- }
- }
- Device (SECD)
- {
- Name (_ADR, 0x01)
- Method (_GTM, 0, NotSerialized)
- {
- Name (SBUF, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 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 (GETD (And (SDMA, 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 (GETD (And (SDMA, 0x08), And (ICR3, 0x08),
- And (ICR0, 0x08), SDT3, And (ICR1, 0x08)), DMA1)
- If (LEqual (DMA1, 0xFFFFFFFF))
- {
- Store (PIO1, DMA1)
- }
- Store (GETF (And (SDMA, 0x04), And (SDMA, 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)
- If (LEqual (SizeOf (Arg1), 0x0200))
- {
- And (SECT, 0xCCF0, SECT)
- And (SDMA, 0x0B, SDMA)
- 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 (SDMA, 0x04, SDMA)
- Store (SETD (DMA0), SDT2)
- If (LLess (DMA0, 0x1E))
- {
- Or (ICR3, 0x04, ICR3)
- }
- If (LLess (DMA0, 0x3C))
- {
- Or (ICR0, 0x04, ICR0)
- }
- Or (ICR1, 0x04, ICR1)
- }
- }
- If (LEqual (SizeOf (Arg2), 0x0200))
- {
- And (SECT, 0xBF0F, SECT)
- Store (0x00, SSIT)
- And (SDMA, 0x07, SDMA)
- 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 (SDMA, 0x08, SDMA)
- Store (SETD (DMA1), SDT3)
- If (LLess (DMA1, 0x1E))
- {
- Or (ICR3, 0x08, ICR3)
- }
- If (LLess (DMA1, 0x3C))
- {
- Or (ICR0, 0x08, ICR0)
- }
- Or (ICR1, 0x08, ICR1)
- }
- }
- }
- Method (_PS0, 0, NotSerialized)
- {
- BSSP (0x01)
- }
- Method (_PS3, 0, NotSerialized)
- {
- }
- Device (S_D0)
- {
- Name (_ADR, 0x00)
- Method (_GTF, 0, NotSerialized)
- {
- Name (SIB0, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03,
- /* 0008 */ 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 (SDMA, 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)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03,
- /* 0008 */ 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 (SDMA, 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)
- }
- }
- }
- }
- Device (SMBS)
- {
- Name (_ADR, 0x001F0003)
- }
- Device (CHAP)
- {
- Name (_ADR, 0x001F0004)
- }
- Device (IDE2)
- {
- Name (_ADR, 0x001F0005)
- OperationRegion (PBIO, SystemIO, 0x000001F0, 0x00000008)
- Field (PBIO, ByteAcc, NoLock, Preserve)
- {
- Offset (0x07),
- , 7,
- PBSY, 1
- }
- OperationRegion (SBIO, SystemIO, 0x00000170, 0x00000008)
- Field (SBIO, ByteAcc, NoLock, Preserve)
- {
- Offset (0x07),
- , 7,
- SBSY, 1
- }
- OperationRegion (IDE, PCI_Config, 0x40, 0xC0)
- Field (IDE, DWordAcc, NoLock, Preserve)
- {
- PRIT, 16,
- SECT, 16,
- PSIT, 4,
- SSIT, 4,
- Offset (0x08),
- SDMA, 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,
- Offset (0x50),
- MAP, 8,
- Offset (0x52),
- PCS, 16
- }
- Method (BSSP, 1, NotSerialized)
- {
- If (Arg0)
- {
- If (\SPN1)
- {
- Store (And (0x0A00, PCS), Local1)
- Store (0x00, Local3)
- If (LEqual (0x0800, Local1))
- {
- While (LAnd (SBSY, LGreater (0x4B, Local3)))
- {
- Sleep (0x64)
- Increment (Local3)
- }
- }
- Store (0x00, \SPN1)
- }
- }
- Else
- {
- If (\SPN0)
- {
- Store (And (0x0500, PCS), Local0)
- Store (0x00, Local2)
- If (LEqual (0x0400, Local0))
- {
- While (LAnd (PBSY, LGreater (0x4B, Local2)))
- {
- Sleep (0x64)
- Increment (Local2)
- }
- }
- Store (0x00, \SPN0)
- }
- }
- }
- Device (PRID)
- {
- Name (_ADR, 0x00)
- Method (_GTM, 0, NotSerialized)
- {
- Name (PBUF, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 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 (GETD (And (SDMA, 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 (GETD (And (SDMA, 0x02), And (ICR3, 0x02),
- And (ICR0, 0x02), SDT1, And (ICR1, 0x02)), DMA1)
- If (LEqual (DMA1, 0xFFFFFFFF))
- {
- Store (PIO1, DMA1)
- }
- Store (GETF (And (SDMA, 0x01), And (SDMA, 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)
- If (LEqual (SizeOf (Arg1), 0x0200))
- {
- And (PRIT, 0xCCF0, PRIT)
- And (SDMA, 0x0E, SDMA)
- 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 (SDMA, 0x01, SDMA)
- Store (SETD (DMA0), SDT0)
- If (LLess (DMA0, 0x1E))
- {
- Or (ICR3, 0x01, ICR3)
- }
- If (LLess (DMA0, 0x3C))
- {
- Or (ICR0, 0x01, ICR0)
- }
- Or (ICR1, 0x01, ICR1)
- }
- }
- If (LEqual (SizeOf (Arg2), 0x0200))
- {
- And (PRIT, 0xBF0F, PRIT)
- Store (0x00, PSIT)
- And (SDMA, 0x0D, SDMA)
- 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 (SDMA, 0x02, SDMA)
- Store (SETD (DMA1), SDT1)
- If (LLess (DMA1, 0x1E))
- {
- Or (ICR3, 0x02, ICR3)
- }
- If (LLess (DMA1, 0x3C))
- {
- Or (ICR0, 0x02, ICR0)
- }
- Or (ICR1, 0x02, ICR1)
- }
- }
- }
- Method (_PS0, 0, NotSerialized)
- {
- BSSP (0x00)
- }
- Method (_PS3, 0, NotSerialized)
- {
- }
- Device (P_D0)
- {
- Name (_ADR, 0x00)
- Method (_GTF, 0, NotSerialized)
- {
- Name (PIB0, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03,
- /* 0008 */ 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 (SDMA, 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)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03,
- /* 0008 */ 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 (SDMA, 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)
- }
- }
- }
- Device (SECD)
- {
- Name (_ADR, 0x01)
- Method (_GTM, 0, NotSerialized)
- {
- Name (SBUF, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* 0010 */ 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 (GETD (And (SDMA, 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 (GETD (And (SDMA, 0x08), And (ICR3, 0x08),
- And (ICR0, 0x08), SDT3, And (ICR1, 0x08)), DMA1)
- If (LEqual (DMA1, 0xFFFFFFFF))
- {
- Store (PIO1, DMA1)
- }
- Store (GETF (And (SDMA, 0x04), And (SDMA, 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)
- If (LEqual (SizeOf (Arg1), 0x0200))
- {
- And (SECT, 0xCCF0, SECT)
- And (SDMA, 0x0B, SDMA)
- 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 (SDMA, 0x04, SDMA)
- Store (SETD (DMA0), SDT2)
- If (LLess (DMA0, 0x1E))
- {
- Or (ICR3, 0x04, ICR3)
- }
- If (LLess (DMA0, 0x3C))
- {
- Or (ICR0, 0x04, ICR0)
- }
- Or (ICR1, 0x04, ICR1)
- }
- }
- If (LEqual (SizeOf (Arg2), 0x0200))
- {
- And (SECT, 0xBF0F, SECT)
- Store (0x00, SSIT)
- And (SDMA, 0x07, SDMA)
- 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 (SDMA, 0x08, SDMA)
- Store (SETD (DMA1), SDT3)
- If (LLess (DMA1, 0x1E))
- {
- Or (ICR3, 0x08, ICR3)
- }
- If (LLess (DMA1, 0x3C))
- {
- Or (ICR0, 0x08, ICR0)
- }
- Or (ICR1, 0x08, ICR1)
- }
- }
- }
- Method (_PS0, 0, NotSerialized)
- {
- BSSP (0x01)
- }
- Method (_PS3, 0, NotSerialized)
- {
- }
- Device (S_D0)
- {
- Name (_ADR, 0x00)
- Method (_GTF, 0, NotSerialized)
- {
- Name (SIB0, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03,
- /* 0008 */ 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 (SDMA, 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)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03,
- /* 0008 */ 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 (SDMA, 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)
- }
- }
- }
- }
- Device (THRM)
- {
- Name (_ADR, 0x001F0006)
- }
- Device (PWRB)
- {
- Name (_HID, EisaId ("PNP0C0C"))
- Name (_PRW, Package (0x02)
- {
- 0x1D,
- 0x03
- })
- }
- }
- }
- Scope (_SI)
- {
- Method (_SST, 1, NotSerialized)
- {
- If (LEqual (Arg0, 0x01))
- {
- \_SB.PCI0.LPC0.SIO.DSWK ()
- }
- If (LEqual (Arg0, 0x03))
- {
- If (LEqual (OSYS, 0x07CE))
- {
- Or (Arg0, 0x80, \_SB.BCMD)
- Store (Zero, \_SB.SMIC)
- }
- If (LEqual (OSYS, 0x07CF))
- {
- Or (Arg0, 0x80, \_SB.BCMD)
- Store (Zero, \_SB.SMIC)
- }
- Else
- {
- \_SB.PCI0.LPC0.SIO.ENWK ()
- }
- }
- }
- }
- Scope (_TZ)
- {
- }
- Name (_S0, Package (0x02)
- {
- 0x00,
- 0x00
- })
- Name (_S1, Package (0x02)
- {
- 0x01,
- 0x01
- })
- Name (RZ_X, Package (0x02)
- {
- 0x05,
- 0x05
- })
- Name (_S4, Package (0x02)
- {
- 0x06,
- 0x06
- })
- Name (_S5, Package (0x02)
- {
- 0x07,
- 0x07
- })
- Method (_PIC, 1, NotSerialized)
- {
- Store (Arg0, \PICF)
- }
- Method (_PTS, 1, NotSerialized)
- {
- Store (Arg0, DEBG)
- Store (0x01, \_SB.PCI0.PEG.PMES)
- Store (0x01, \_SB.PCI0.PEG.PMES)
- Store (0x01, \_SB.PCI0.PEX.PMES)
- Store (0x01, \_SB.PCI0.PEX.PMES)
- Store (0x01, \_SB.PCI0.EXP1.PSP1)
- Store (0x01, \_SB.PCI0.EXP1.PSP1)
- Store (0x01, \_SB.PCI0.EXP1.PMCS)
- Store (0x01, \_SB.PCI0.EXP5.PSP5)
- Store (0x01, \_SB.PCI0.EXP5.PSP5)
- Store (0x01, \_SB.PCI0.EXP5.PMCS)
- Store (0x01, \_SB.PCI0.EXP6.PSP6)
- Store (0x01, \_SB.PCI0.EXP6.PSP6)
- Store (0x01, \_SB.PCI0.EXP6.PMCS)
- If (LEqual (Arg0, 0x01))
- {
- Store (0x01, \_SB.PCI0.PEG.PMEI)
- Store (0x01, \_SB.PCI0.PEG.PGPE)
- Store (0x01, \_SB.PCI0.PEX.PMEI)
- Store (0x01, \_SB.PCI0.PEX.PGPE)
- Store (0x01, \_SB.PCI0.EXP1.PMCE)
- Store (0x01, \_SB.PCI0.EXP5.PMCE)
- Store (0x01, \_SB.PCI0.EXP6.PMCE)
- \_SB.PCI0.LPC0.SIO.ENWK ()
- \_SB.PCI0.LPC0.SIO.CLED (0x02)
- }
- If (LEqual (Arg0, 0x03))
- {
- \_SB.PCI0.LPC0.SIO.CLED (0x03)
- }
- If (LGreaterEqual (Arg0, 0x04))
- {
- \_SB.PCI0.LPC0.SIO.CLED (0x00)
- }
- If (LEqual (Arg0, 0x05)) {}
- }
- Method (_WAK, 1, NotSerialized)
- {
- If (LEqual (Arg0, 0x01))
- {
- Store (0x00, \_SB.PCI0.PEG.PMEI)
- Store (0x00, \_SB.PCI0.PEG.PGPE)
- Store (0x00, \_SB.PCI0.PEX.PMEI)
- Store (0x00, \_SB.PCI0.PEX.PGPE)
- Store (0x00, \_SB.PCI0.EXP1.PMCE)
- Store (0x00, \_SB.PCI0.EXP5.PMCE)
- Store (0x00, \_SB.PCI0.EXP6.PMCE)
- }
- If (LEqual (Arg0, 0x03))
- {
- Store (0x01, \SPN0)
- Store (0x01, \SPN1)
- }
- If (LEqual (Arg0, 0x04))
- {
- \_SB.OSHT ()
- }
- Store (0x00, DEBG)
- If (LEqual (OSYS, 0x07CE))
- {
- Notify (\_SB.PCI0.PWRB, 0x02)
- }
- \_SB.PCI0.LPC0.SIO.CLED (0x01)
- Notify (\_SB.PCI0.PWRB, 0x02)
- }
- OperationRegion (DBG, SystemIO, 0x80, 0x01)
- Field (DBG, ByteAcc, NoLock, Preserve)
- {
- DEBG, 8
- }
- OperationRegion (RCRB, SystemMemory, 0xFED1C000, 0x00004000)
- Field (RCRB, DWordAcc, Lock, Preserve)
- {
- Offset (0x1000),
- Offset (0x3000),
- Offset (0x3404),
- HPAS, 2,
- , 5,
- HPAE, 1,
- Offset (0x3418),
- , 1,
- PATD, 1,
- SATD, 1,
- SMBD, 1,
- AZAD, 1
- }
- Name (OSYS, 0x00)
- Name (PICF, 0x00)
- Name (SPN0, 0x00)
- Name (SPN1, 0x00)
- Scope (\_SB)
- {
- Name (OSTB, Ones)
- OperationRegion (OSTY, SystemMemory, 0xCFE80F4C, 0x00000001)
- Field (OSTY, AnyAcc, NoLock, Preserve)
- {
- TPOS, 8
- }
- Method (OSTP, 0, NotSerialized)
- {
- If (LEqual (^OSTB, Ones))
- {
- If (CondRefOf (\_OSI, Local0))
- {
- If (\_OSI ("Windows 2001.1"))
- {
- Store (0x20, ^OSTB)
- Store (0x20, ^TPOS)
- }
- Else
- {
- If (\_OSI ("Windows 2001 SP1"))
- {
- Store (0x10, ^OSTB)
- Store (0x10, ^TPOS)
- }
- Else
- {
- If (\_OSI ("Windows 2001"))
- {
- Store (0x08, ^OSTB)
- Store (0x08, ^TPOS)
- }
- Else
- {
- Store (0x00, ^OSTB)
- Store (0x00, ^TPOS)
- }
- }
- }
- }
- Else
- {
- If (CondRefOf (\_OS, Local0))
- {
- If (^SEQL (\_OS, "Microsoft Windows"))
- {
- Store (0x01, ^OSTB)
- Store (0x01, ^TPOS)
- }
- Else
- {
- If (^SEQL (\_OS, "Microsoft WindowsME: Millennium Edition"))
- {
- Store (0x02, ^OSTB)
- Store (0x02, ^TPOS)
- }
- Else
- {
- If (^SEQL (\_OS, "Microsoft Windows NT"))
- {
- Store (0x04, ^OSTB)
- Store (0x04, ^TPOS)
- }
- Else
- {
- Store (0x00, ^OSTB)
- Store (0x00, ^TPOS)
- }
- }
- }
- }
- Else
- {
- Store (0x00, ^OSTB)
- Store (0x00, ^TPOS)
- }
- }
- }
- Return (^OSTB)
- }
- Method (OSHT, 0, NotSerialized)
- {
- \_SB.OSTP ()
- Store (0x48, \_SB.BCMD)
- Store (Zero, \_SB.SMIC)
- }
- Method (SEQL, 2, Serialized)
- {
- Store (SizeOf (Arg0), Local0)
- Store (SizeOf (Arg1), Local1)
- If (LNotEqual (Local0, Local1))
- {
- Return (Zero)
- }
- Name (BUF0, Buffer (Local0) {})
- Store (Arg0, BUF0)
- Name (BUF1, Buffer (Local0) {})
- Store (Arg1, BUF1)
- Store (Zero, Local2)
- While (LLess (Local2, Local0))
- {
- Store (DerefOf (Index (BUF0, Local2)), Local3)
- Store (DerefOf (Index (BUF1, Local2)), Local4)
- If (LNotEqual (Local3, Local4))
- {
- Return (Zero)
- }
- Increment (Local2)
- }
- Return (One)
- }
- Method (_OSC, 4, NotSerialized)
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0x0C, 0x5E, 0x85, 0xED, 0x90, 0x6C, 0xBF, 0x47,
- /* 0008 */ 0xA6, 0x2A, 0x26, 0xDE, 0x0F, 0xC5, 0xAD, 0x5C
- }))
- {
- CreateDWordField (Arg3, 0x00, CDW1)
- CreateDWordField (Arg3, 0x04, CDW2)
- CreateDWordField (Arg3, 0x08, CDW3)
- Name (SUPP, 0x00)
- Name (CTRL, 0x00)
- Store (CDW2, SUPP)
- Store (CDW3, CTRL)
- If (And (SUPP, 0x01))
- {
- Return (Arg3)
- }
- Return (Or (SUPP, 0x04))
- }
- }
- }
- Name (FWSO, "FWSO")
- Name (_PSC, 0x00)
- Method (_PS0, 0, NotSerialized)
- {
- Store (_PSC, Local0)
- Store (0x00, _PSC)
- If (LEqual (Local0, 0x03))
- {
- Store (0x01, \_SB.INF)
- While (\_SB.INF)
- {
- Store (0x20, \_SB.BCMD)
- Store (Zero, \_SB.SMIC)
- If (LAnd (LEqual (\_SB.INF, 0x01), LGreaterEqual (\_SB.OSTB, 0x04)))
- {
- Sleep (0x01F4)
- }
- }
- }
- }
- Method (_PS3, 0, NotSerialized)
- {
- Store (0x03, _PSC)
- }
- Scope (\_PR.CPU0)
- {
- Name (_TPC, 0x00)
- Method (_PTC, 0, NotSerialized)
- {
- If (And (PDC0, 0x04))
- {
- Return (Package (0x02)
- {
- ResourceTemplate ()
- {
- Register (FFixedHW,
- 0x00, // Bit Width
- 0x00, // Bit Offset
- 0x0000000000000000, // Address
- ,)
- },
- ResourceTemplate ()
- {
- Register (FFixedHW,
- 0x00, // Bit Width
- 0x00, // Bit Offset
- 0x0000000000000000, // Address
- ,)
- }
- })
- }
- Return (Package (0x02)
- {
- ResourceTemplate ()
- {
- Register (SystemIO,
- 0x04, // Bit Width
- 0x01, // Bit Offset
- 0x0000000000001010, // Address
- ,)
- },
- ResourceTemplate ()
- {
- Register (SystemIO,
- 0x04, // Bit Width
- 0x01, // Bit Offset
- 0x0000000000001010, // Address
- ,)
- }
- })
- }
- Name (TSSI, Package (0x08)
- {
- Package (0x05)
- {
- 0x64,
- 0x03E8,
- 0x00,
- 0x00,
- 0x00
- },
- Package (0x05)
- {
- 0x58,
- 0x036B,
- 0x00,
- 0x0F,
- 0x00
- },
- Package (0x05)
- {
- 0x4B,
- 0x02EE,
- 0x00,
- 0x0E,
- 0x00
- },
- Package (0x05)
- {
- 0x3F,
- 0x0271,
- 0x00,
- 0x0D,
- 0x00
- },
- Package (0x05)
- {
- 0x32,
- 0x01F4,
- 0x00,
- 0x0C,
- 0x00
- },
- Package (0x05)
- {
- 0x26,
- 0x0177,
- 0x00,
- 0x0B,
- 0x00
- },
- Package (0x05)
- {
- 0x19,
- 0xFA,
- 0x00,
- 0x0A,
- 0x00
- },
- Package (0x05)
- {
- 0x0D,
- 0x7D,
- 0x00,
- 0x09,
- 0x00
- }
- })
- Name (TSSM, Package (0x08)
- {
- Package (0x05)
- {
- 0x64,
- 0x03E8,
- 0x00,
- 0x00,
- 0x00
- },
- Package (0x05)
- {
- 0x58,
- 0x036B,
- 0x00,
- 0x1E,
- 0x00
- },
- Package (0x05)
- {
- 0x4B,
- 0x02EE,
- 0x00,
- 0x1C,
- 0x00
- },
- Package (0x05)
- {
- 0x3F,
- 0x0271,
- 0x00,
- 0x1A,
- 0x00
- },
- Package (0x05)
- {
- 0x32,
- 0x01F4,
- 0x00,
- 0x18,
- 0x00
- },
- Package (0x05)
- {
- 0x26,
- 0x0177,
- 0x00,
- 0x16,
- 0x00
- },
- Package (0x05)
- {
- 0x19,
- 0xFA,
- 0x00,
- 0x14,
- 0x00
- },
- Package (0x05)
- {
- 0x0D,
- 0x7D,
- 0x00,
- 0x12,
- 0x00
- }
- })
- Name (TSSF, 0x00)
- Method (_TSS, 0, NotSerialized)
- {
- If (LAnd (LNot (TSSF), CondRefOf (_PSS)))
- {
- Store (_PSS, Local0)
- Store (SizeOf (Local0), Local1)
- Decrement (Local1)
- Store (DerefOf (Index (DerefOf (Index (Local0, Local1)), 0x01)),
- Local2)
- Store (0x00, Local3)
- While (LLess (Local3, SizeOf (TSSI)))
- {
- Store (Divide (Multiply (Local2, Subtract (0x08, Local3)), 0x08,
- ), Local4)
- Store (Local4, Index (DerefOf (Index (TSSI, Local3)), 0x01))
- Store (Local4, Index (DerefOf (Index (TSSM, Local3)), 0x01))
- Increment (Local3)
- }
- Store (Ones, TSSF)
- }
- If (And (PDC0, 0x04))
- {
- Return (TSSM)
- }
- Return (TSSI)
- }
- Method (_TSD, 0, NotSerialized)
- {
- If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC0, 0x04
- ))))
- {
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x00,
- 0xFD,
- 0x02
- }
- })
- }
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x00,
- 0xFC,
- 0x01
- }
- })
- }
- }
- Scope (\_PR.CPU7)
- {
- Name (_TPC, 0x00)
- Method (_PTC, 0, NotSerialized)
- {
- Return (\_PR.CPU0._PTC ())
- }
- Method (_TSS, 0, NotSerialized)
- {
- Return (\_PR.CPU0._TSS ())
- }
- Method (_TSD, 0, NotSerialized)
- {
- If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC7, 0x04
- ))))
- {
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x03,
- 0xFD,
- 0x02
- }
- })
- }
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x07,
- 0xFC,
- 0x01
- }
- })
- }
- }
- Scope (\_PR.CPU6)
- {
- Name (_TPC, 0x00)
- Method (_PTC, 0, NotSerialized)
- {
- Return (\_PR.CPU0._PTC ())
- }
- Method (_TSS, 0, NotSerialized)
- {
- Return (\_PR.CPU0._TSS ())
- }
- Method (_TSD, 0, NotSerialized)
- {
- If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC6, 0x04
- ))))
- {
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x03,
- 0xFD,
- 0x02
- }
- })
- }
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x06,
- 0xFC,
- 0x01
- }
- })
- }
- }
- Scope (\_PR.CPU5)
- {
- Name (_TPC, 0x00)
- Method (_PTC, 0, NotSerialized)
- {
- Return (\_PR.CPU0._PTC ())
- }
- Method (_TSS, 0, NotSerialized)
- {
- Return (\_PR.CPU0._TSS ())
- }
- Method (_TSD, 0, NotSerialized)
- {
- If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC5, 0x04
- ))))
- {
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x02,
- 0xFD,
- 0x02
- }
- })
- }
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x05,
- 0xFC,
- 0x01
- }
- })
- }
- }
- Scope (\_PR.CPU4)
- {
- Name (_TPC, 0x00)
- Method (_PTC, 0, NotSerialized)
- {
- Return (\_PR.CPU0._PTC ())
- }
- Method (_TSS, 0, NotSerialized)
- {
- Return (\_PR.CPU0._TSS ())
- }
- Method (_TSD, 0, NotSerialized)
- {
- If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC4, 0x04
- ))))
- {
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x02,
- 0xFD,
- 0x02
- }
- })
- }
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x04,
- 0xFC,
- 0x01
- }
- })
- }
- }
- Scope (\_PR.CPU3)
- {
- Name (_TPC, 0x00)
- Method (_PTC, 0, NotSerialized)
- {
- Return (\_PR.CPU0._PTC ())
- }
- Method (_TSS, 0, NotSerialized)
- {
- Return (\_PR.CPU0._TSS ())
- }
- Method (_TSD, 0, NotSerialized)
- {
- If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC3, 0x04
- ))))
- {
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x01,
- 0xFD,
- 0x02
- }
- })
- }
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x03,
- 0xFC,
- 0x01
- }
- })
- }
- }
- Scope (\_PR.CPU2)
- {
- Name (_TPC, 0x00)
- Method (_PTC, 0, NotSerialized)
- {
- Return (\_PR.CPU0._PTC ())
- }
- Method (_TSS, 0, NotSerialized)
- {
- Return (\_PR.CPU0._TSS ())
- }
- Method (_TSD, 0, NotSerialized)
- {
- If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC2, 0x04
- ))))
- {
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x01,
- 0xFD,
- 0x02
- }
- })
- }
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x02,
- 0xFC,
- 0x01
- }
- })
- }
- }
- Scope (\_PR.CPU1)
- {
- Name (_TPC, 0x00)
- Method (_PTC, 0, NotSerialized)
- {
- Return (\_PR.CPU0._PTC ())
- }
- Method (_TSS, 0, NotSerialized)
- {
- Return (\_PR.CPU0._TSS ())
- }
- Method (_TSD, 0, NotSerialized)
- {
- If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC1, 0x04
- ))))
- {
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x00,
- 0xFD,
- 0x02
- }
- })
- }
- Return (Package (0x01)
- {
- Package (0x05)
- {
- 0x05,
- 0x00,
- 0x01,
- 0xFC,
- 0x01
- }
- })
- }
- }
- Scope (\)
- {
- Name (SSDT, Package (0x30)
- {
- "CPU0IST ",
- 0xCFE755AD,
- 0x00000261,
- "CPU1IST ",
- 0xCFE7580E,
- 0x000001F2,
- "CPU0CST ",
- 0xCFE74CF2,
- 0x00000518,
- "CPU1CST ",
- 0xCFE7520A,
- 0x00000085,
- "CPU2IST ",
- 0xCFE75A00,
- 0x000001F2,
- "CPU3IST ",
- 0xCFE75BF2,
- 0x000001F2,
- "CPU2CST ",
- 0xCFE7528F,
- 0x00000085,
- "CPU3CST ",
- 0xCFE75314,
- 0x00000085,
- "CPU4IST ",
- 0xCFE75DE4,
- 0x00000402,
- "CPU5IST ",
- 0xCFE761E6,
- 0x00000402,
- "CPU4CST ",
- 0xCFE75399,
- 0x00000085,
- "CPU5CST ",
- 0xCFE7541E,
- 0x00000085,
- "CPU6IST ",
- 0xCFE765E8,
- 0x00000402,
- "CPU7IST ",
- 0xCFE769EA,
- 0x00000402,
- "CPU6CST ",
- 0xCFE754A3,
- 0x00000085,
- "CPU7CST ",
- 0xCFE75528,
- 0x00000085
- })
- Name (CFGD, 0x11230011)
- Name (\PDC0, 0x80000000)
- Name (\PDC1, 0x80000000)
- Name (\PDC2, 0x80000000)
- Name (\PDC3, 0x80000000)
- Name (\PDC4, 0x80000000)
- Name (\PDC5, 0x80000000)
- Name (\PDC6, 0x80000000)
- Name (\PDC7, 0x80000000)
- Name (\SDTL, 0x00)
- }
- Scope (\_PR.CPU0)
- {
- Name (HI0, 0x00)
- Name (HC0, 0x00)
- Method (_PDC, 1, NotSerialized)
- {
- CreateDWordField (Arg0, 0x00, REVS)
- CreateDWordField (Arg0, 0x04, SIZE)
- Store (SizeOf (Arg0), Local0)
- Store (Subtract (Local0, 0x08), Local1)
- CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
- Name (STS0, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00
- })
- Concatenate (STS0, TEMP, Local2)
- _OSC (Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- }, REVS, SIZE, Local2)
- }
- Method (_OSC, 4, NotSerialized)
- {
- CreateDWordField (Arg3, 0x00, STS0)
- CreateDWordField (Arg3, 0x04, CAP0)
- CreateDWordField (Arg0, 0x00, IID0)
- CreateDWordField (Arg0, 0x04, IID1)
- CreateDWordField (Arg0, 0x08, IID2)
- CreateDWordField (Arg0, 0x0C, IID3)
- Name (UID0, Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- })
- CreateDWordField (UID0, 0x00, EID0)
- CreateDWordField (UID0, 0x04, EID1)
- CreateDWordField (UID0, 0x08, EID2)
- CreateDWordField (UID0, 0x0C, EID3)
- If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)),
- LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
- {
- Store (0x06, STS0)
- Return (Arg3)
- }
- If (LNotEqual (Arg1, 0x01))
- {
- Store (0x0A, STS0)
- Return (Arg3)
- }
- Or (And (PDC0, 0x7FFFFFFF), CAP0, PDC0)
- If (And (CFGD, 0x01))
- {
- If (LAnd (LAnd (Or (Or (And (CFGD, 0x08000000), And (
- CFGD, 0x04000000)), Or (And (CFGD, 0x01000000), And (CFGD,
- 0x02000000))), LEqual (And (PDC0, 0x09), 0x09)), LNot (
- And (SDTL, 0x01))))
- {
- Or (SDTL, 0x01, SDTL)
- OperationRegion (IST0, SystemMemory, DerefOf (Index (SSDT, 0x01)), DerefOf (Index (SSDT, 0x02
- )))
- Load (IST0, HI0)
- }
- }
- If (And (CFGD, 0xF0))
- {
- If (LAnd (And (CFGD, 0x01000000), And (PDC0, 0x10)))
- {
- Store (0x49, \_SB.BCMD)
- Store (0x00, \_SB.DID)
- Store (0x00, \_SB.SMIC)
- }
- If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC0, 0x18
- )), LNot (And (SDTL, 0x02))))
- {
- Or (SDTL, 0x02, SDTL)
- OperationRegion (CST0, SystemMemory, DerefOf (Index (SSDT, 0x07)), DerefOf (Index (SSDT, 0x08
- )))
- Load (CST0, HC0)
- }
- }
- Return (Arg3)
- }
- }
- Scope (\_PR.CPU1)
- {
- Name (HI1, 0x00)
- Name (HC1, 0x00)
- Method (_PDC, 1, NotSerialized)
- {
- CreateDWordField (Arg0, 0x00, REVS)
- CreateDWordField (Arg0, 0x04, SIZE)
- Store (SizeOf (Arg0), Local0)
- Store (Subtract (Local0, 0x08), Local1)
- CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
- Name (STS1, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00
- })
- Concatenate (STS1, TEMP, Local2)
- _OSC (Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- }, REVS, SIZE, Local2)
- }
- Method (_OSC, 4, NotSerialized)
- {
- CreateDWordField (Arg3, 0x00, STS1)
- CreateDWordField (Arg3, 0x04, CAP1)
- CreateDWordField (Arg0, 0x00, IID0)
- CreateDWordField (Arg0, 0x04, IID1)
- CreateDWordField (Arg0, 0x08, IID2)
- CreateDWordField (Arg0, 0x0C, IID3)
- Name (UID1, Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- })
- CreateDWordField (UID1, 0x00, EID0)
- CreateDWordField (UID1, 0x04, EID1)
- CreateDWordField (UID1, 0x08, EID2)
- CreateDWordField (UID1, 0x0C, EID3)
- If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)),
- LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
- {
- Store (0x06, STS1)
- Return (Arg3)
- }
- If (LNotEqual (Arg1, 0x01))
- {
- Store (0x0A, STS1)
- Return (Arg3)
- }
- Or (And (PDC1, 0x7FFFFFFF), CAP1, PDC1)
- If (And (CFGD, 0x01))
- {
- If (LAnd (LAnd (Or (Or (And (CFGD, 0x08000000), And (
- CFGD, 0x04000000)), Or (And (CFGD, 0x01000000), And (CFGD,
- 0x02000000))), LEqual (And (PDC1, 0x09), 0x09)), LNot (
- And (SDTL, 0x10))))
- {
- Or (SDTL, 0x10, SDTL)
- OperationRegion (IST1, SystemMemory, DerefOf (Index (SSDT, 0x04)), DerefOf (Index (SSDT, 0x05
- )))
- Load (IST1, HI1)
- }
- }
- If (And (CFGD, 0xF0))
- {
- If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC1, 0x18
- )), LNot (And (SDTL, 0x20))))
- {
- Or (SDTL, 0x20, SDTL)
- OperationRegion (CST1, SystemMemory, DerefOf (Index (SSDT, 0x0A)), DerefOf (Index (SSDT, 0x0B
- )))
- Load (CST1, HC1)
- }
- }
- Return (Arg3)
- }
- }
- Scope (\_PR.CPU2)
- {
- Name (HI2, 0x00)
- Name (HC2, 0x00)
- Method (_PDC, 1, NotSerialized)
- {
- CreateDWordField (Arg0, 0x00, REVS)
- CreateDWordField (Arg0, 0x04, SIZE)
- Store (SizeOf (Arg0), Local0)
- Store (Subtract (Local0, 0x08), Local1)
- CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
- Name (STS2, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00
- })
- Concatenate (STS2, TEMP, Local2)
- _OSC (Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- }, REVS, SIZE, Local2)
- }
- Method (_OSC, 4, NotSerialized)
- {
- CreateDWordField (Arg3, 0x00, STS2)
- CreateDWordField (Arg3, 0x04, CAP2)
- CreateDWordField (Arg0, 0x00, IID0)
- CreateDWordField (Arg0, 0x04, IID1)
- CreateDWordField (Arg0, 0x08, IID2)
- CreateDWordField (Arg0, 0x0C, IID3)
- Name (UID1, Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- })
- CreateDWordField (UID1, 0x00, EID0)
- CreateDWordField (UID1, 0x04, EID1)
- CreateDWordField (UID1, 0x08, EID2)
- CreateDWordField (UID1, 0x0C, EID3)
- If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)),
- LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
- {
- Store (0x06, STS2)
- Return (Arg3)
- }
- If (LNotEqual (Arg1, 0x01))
- {
- Store (0x0A, STS2)
- Return (Arg3)
- }
- Or (And (PDC2, 0x7FFFFFFF), CAP2, PDC2)
- If (And (CFGD, 0x01))
- {
- If (LAnd (LAnd (Or (Or (And (CFGD, 0x08000000), And (
- CFGD, 0x04000000)), Or (And (CFGD, 0x01000000), And (CFGD,
- 0x02000000))), LEqual (And (PDC2, 0x09), 0x09)), LNot (
- And (SDTL, 0x04))))
- {
- Or (SDTL, 0x04, SDTL)
- OperationRegion (IST2, SystemMemory, DerefOf (Index (SSDT, 0x0D)), DerefOf (Index (SSDT, 0x0E
- )))
- Load (IST2, HI2)
- }
- }
- If (And (CFGD, 0xF0))
- {
- If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC2, 0x18
- )), LNot (And (SDTL, 0x08))))
- {
- Or (SDTL, 0x08, SDTL)
- OperationRegion (CST2, SystemMemory, DerefOf (Index (SSDT, 0x13)), DerefOf (Index (SSDT, 0x14
- )))
- Load (CST2, HC2)
- }
- }
- Return (Arg3)
- }
- }
- Scope (\_PR.CPU3)
- {
- Name (HI3, 0x00)
- Name (HC3, 0x00)
- Method (_PDC, 1, NotSerialized)
- {
- CreateDWordField (Arg0, 0x00, REVS)
- CreateDWordField (Arg0, 0x04, SIZE)
- Store (SizeOf (Arg0), Local0)
- Store (Subtract (Local0, 0x08), Local1)
- CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
- Name (STS3, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00
- })
- Concatenate (STS3, TEMP, Local2)
- _OSC (Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- }, REVS, SIZE, Local2)
- }
- Method (_OSC, 4, NotSerialized)
- {
- CreateDWordField (Arg3, 0x00, STS3)
- CreateDWordField (Arg3, 0x04, CAP3)
- CreateDWordField (Arg0, 0x00, IID0)
- CreateDWordField (Arg0, 0x04, IID1)
- CreateDWordField (Arg0, 0x08, IID2)
- CreateDWordField (Arg0, 0x0C, IID3)
- Name (UID1, Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- })
- CreateDWordField (UID1, 0x00, EID0)
- CreateDWordField (UID1, 0x04, EID1)
- CreateDWordField (UID1, 0x08, EID2)
- CreateDWordField (UID1, 0x0C, EID3)
- If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)),
- LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
- {
- Store (0x06, STS3)
- Return (Arg3)
- }
- If (LNotEqual (Arg1, 0x01))
- {
- Store (0x0A, STS3)
- Return (Arg3)
- }
- Or (And (PDC3, 0x7FFFFFFF), CAP3, PDC3)
- If (And (CFGD, 0x01))
- {
- If (LAnd (LAnd (Or (Or (And (CFGD, 0x08000000), And (
- CFGD, 0x04000000)), Or (And (CFGD, 0x01000000), And (CFGD,
- 0x02000000))), LEqual (And (PDC3, 0x09), 0x09)), LNot (
- And (SDTL, 0x40))))
- {
- Or (SDTL, 0x40, SDTL)
- OperationRegion (IST3, SystemMemory, DerefOf (Index (SSDT, 0x10)), DerefOf (Index (SSDT, 0x11
- )))
- Load (IST3, HI3)
- }
- }
- If (And (CFGD, 0xF0))
- {
- If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC3, 0x18
- )), LNot (And (SDTL, 0x80))))
- {
- Or (SDTL, 0x80, SDTL)
- OperationRegion (CST3, SystemMemory, DerefOf (Index (SSDT, 0x16)), DerefOf (Index (SSDT, 0x17
- )))
- Load (CST3, HC3)
- }
- }
- Return (Arg3)
- }
- }
- Scope (\_PR.CPU4)
- {
- Name (HI4, 0x00)
- Name (HC4, 0x00)
- Method (_PDC, 1, NotSerialized)
- {
- CreateDWordField (Arg0, 0x00, REVS)
- CreateDWordField (Arg0, 0x04, SIZE)
- Store (SizeOf (Arg0), Local0)
- Store (Subtract (Local0, 0x08), Local1)
- CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
- Name (STS4, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00
- })
- Concatenate (STS4, TEMP, Local2)
- _OSC (Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- }, REVS, SIZE, Local2)
- }
- Method (_OSC, 4, NotSerialized)
- {
- CreateDWordField (Arg3, 0x00, STS4)
- CreateDWordField (Arg3, 0x04, CAP4)
- CreateDWordField (Arg0, 0x00, IID0)
- CreateDWordField (Arg0, 0x04, IID1)
- CreateDWordField (Arg0, 0x08, IID2)
- CreateDWordField (Arg0, 0x0C, IID3)
- Name (UID1, Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- })
- CreateDWordField (UID1, 0x00, EID0)
- CreateDWordField (UID1, 0x04, EID1)
- CreateDWordField (UID1, 0x08, EID2)
- CreateDWordField (UID1, 0x0C, EID3)
- If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)),
- LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
- {
- Store (0x06, STS4)
- Return (Arg3)
- }
- If (LNotEqual (Arg1, 0x01))
- {
- Store (0x0A, STS4)
- Return (Arg3)
- }
- Or (And (PDC4, 0x7FFFFFFF), CAP4, PDC4)
- If (And (CFGD, 0x01))
- {
- If (LAnd (LAnd (Or (Or (And (CFGD, 0x08000000), And (
- CFGD, 0x04000000)), Or (And (CFGD, 0x01000000), And (CFGD,
- 0x02000000))), LEqual (And (PDC4, 0x09), 0x09)), LNot (
- And (SDTL, 0x0100))))
- {
- Or (SDTL, 0x0100, SDTL)
- OperationRegion (IST4, SystemMemory, DerefOf (Index (SSDT, 0x19)), DerefOf (Index (SSDT, 0x1A
- )))
- Load (IST4, HI4)
- }
- }
- If (And (CFGD, 0xF0))
- {
- If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC4, 0x18
- )), LNot (And (SDTL, 0x0200))))
- {
- Or (SDTL, 0x0200, SDTL)
- OperationRegion (CST4, SystemMemory, DerefOf (Index (SSDT, 0x1F)), DerefOf (Index (SSDT, 0x20
- )))
- Load (CST4, HC4)
- }
- }
- Return (Arg3)
- }
- }
- Scope (\_PR.CPU5)
- {
- Name (HI5, 0x00)
- Name (HC5, 0x00)
- Method (_PDC, 1, NotSerialized)
- {
- CreateDWordField (Arg0, 0x00, REVS)
- CreateDWordField (Arg0, 0x04, SIZE)
- Store (SizeOf (Arg0), Local0)
- Store (Subtract (Local0, 0x08), Local1)
- CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
- Name (STS5, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00
- })
- Concatenate (STS5, TEMP, Local2)
- _OSC (Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- }, REVS, SIZE, Local2)
- }
- Method (_OSC, 4, NotSerialized)
- {
- CreateDWordField (Arg3, 0x00, STS5)
- CreateDWordField (Arg3, 0x04, CAP5)
- CreateDWordField (Arg0, 0x00, IID0)
- CreateDWordField (Arg0, 0x04, IID1)
- CreateDWordField (Arg0, 0x08, IID2)
- CreateDWordField (Arg0, 0x0C, IID3)
- Name (UID1, Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- })
- CreateDWordField (UID1, 0x00, EID0)
- CreateDWordField (UID1, 0x04, EID1)
- CreateDWordField (UID1, 0x08, EID2)
- CreateDWordField (UID1, 0x0C, EID3)
- If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)),
- LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
- {
- Store (0x06, STS5)
- Return (Arg3)
- }
- If (LNotEqual (Arg1, 0x01))
- {
- Store (0x0A, STS5)
- Return (Arg3)
- }
- Or (And (PDC5, 0x7FFFFFFF), CAP5, PDC5)
- If (And (CFGD, 0x01))
- {
- If (LAnd (LAnd (Or (Or (And (CFGD, 0x08000000), And (
- CFGD, 0x04000000)), Or (And (CFGD, 0x01000000), And (CFGD,
- 0x02000000))), LEqual (And (PDC5, 0x09), 0x09)), LNot (
- And (SDTL, 0x0400))))
- {
- Or (SDTL, 0x0400, SDTL)
- OperationRegion (IST5, SystemMemory, DerefOf (Index (SSDT, 0x1C)), DerefOf (Index (SSDT, 0x1D
- )))
- Load (IST5, HI5)
- }
- }
- If (And (CFGD, 0xF0))
- {
- If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC5, 0x18
- )), LNot (And (SDTL, 0x0800))))
- {
- Or (SDTL, 0x0800, SDTL)
- OperationRegion (CST5, SystemMemory, DerefOf (Index (SSDT, 0x22)), DerefOf (Index (SSDT, 0x23
- )))
- Load (CST5, HC5)
- }
- }
- Return (Arg3)
- }
- }
- Scope (\_PR.CPU6)
- {
- Name (HI6, 0x00)
- Name (HC6, 0x00)
- Method (_PDC, 1, NotSerialized)
- {
- CreateDWordField (Arg0, 0x00, REVS)
- CreateDWordField (Arg0, 0x04, SIZE)
- Store (SizeOf (Arg0), Local0)
- Store (Subtract (Local0, 0x08), Local1)
- CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
- Name (STS6, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00
- })
- Concatenate (STS6, TEMP, Local2)
- _OSC (Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- }, REVS, SIZE, Local2)
- }
- Method (_OSC, 4, NotSerialized)
- {
- CreateDWordField (Arg3, 0x00, STS6)
- CreateDWordField (Arg3, 0x04, CAP6)
- CreateDWordField (Arg0, 0x00, IID0)
- CreateDWordField (Arg0, 0x04, IID1)
- CreateDWordField (Arg0, 0x08, IID2)
- CreateDWordField (Arg0, 0x0C, IID3)
- Name (UID1, Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- })
- CreateDWordField (UID1, 0x00, EID0)
- CreateDWordField (UID1, 0x04, EID1)
- CreateDWordField (UID1, 0x08, EID2)
- CreateDWordField (UID1, 0x0C, EID3)
- If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)),
- LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
- {
- Store (0x06, STS6)
- Return (Arg3)
- }
- If (LNotEqual (Arg1, 0x01))
- {
- Store (0x0A, STS6)
- Return (Arg3)
- }
- Or (And (PDC6, 0x7FFFFFFF), CAP6, PDC6)
- If (And (CFGD, 0x01))
- {
- If (LAnd (LAnd (Or (Or (And (CFGD, 0x08000000), And (
- CFGD, 0x04000000)), Or (And (CFGD, 0x01000000), And (CFGD,
- 0x02000000))), LEqual (And (PDC6, 0x09), 0x09)), LNot (
- And (SDTL, 0x1000))))
- {
- Or (SDTL, 0x1000, SDTL)
- OperationRegion (IST6, SystemMemory, DerefOf (Index (SSDT, 0x25)), DerefOf (Index (SSDT, 0x26
- )))
- Load (IST6, HI6)
- }
- }
- If (And (CFGD, 0xF0))
- {
- If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC6, 0x18
- )), LNot (And (SDTL, 0x2000))))
- {
- Or (SDTL, 0x2000, SDTL)
- OperationRegion (CST6, SystemMemory, DerefOf (Index (SSDT, 0x2B)), DerefOf (Index (SSDT, 0x2C
- )))
- Load (CST6, HC6)
- }
- }
- Return (Arg3)
- }
- }
- Scope (\_PR.CPU7)
- {
- Name (HI7, 0x00)
- Name (HC7, 0x00)
- Method (_PDC, 1, NotSerialized)
- {
- CreateDWordField (Arg0, 0x00, REVS)
- CreateDWordField (Arg0, 0x04, SIZE)
- Store (SizeOf (Arg0), Local0)
- Store (Subtract (Local0, 0x08), Local1)
- CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
- Name (STS7, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00
- })
- Concatenate (STS7, TEMP, Local2)
- _OSC (Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- }, REVS, SIZE, Local2)
- }
- Method (_OSC, 4, NotSerialized)
- {
- CreateDWordField (Arg3, 0x00, STS7)
- CreateDWordField (Arg3, 0x04, CAP7)
- CreateDWordField (Arg0, 0x00, IID0)
- CreateDWordField (Arg0, 0x04, IID1)
- CreateDWordField (Arg0, 0x08, IID2)
- CreateDWordField (Arg0, 0x0C, IID3)
- Name (UID1, Buffer (0x10)
- {
- /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
- /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
- })
- CreateDWordField (UID1, 0x00, EID0)
- CreateDWordField (UID1, 0x04, EID1)
- CreateDWordField (UID1, 0x08, EID2)
- CreateDWordField (UID1, 0x0C, EID3)
- If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)),
- LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
- {
- Store (0x06, STS7)
- Return (Arg3)
- }
- If (LNotEqual (Arg1, 0x01))
- {
- Store (0x0A, STS7)
- Return (Arg3)
- }
- Or (And (PDC7, 0x7FFFFFFF), CAP7, PDC7)
- If (And (CFGD, 0x01))
- {
- If (LAnd (LAnd (Or (Or (And (CFGD, 0x08000000), And (
- CFGD, 0x04000000)), Or (And (CFGD, 0x01000000), And (CFGD,
- 0x02000000))), LEqual (And (PDC7, 0x09), 0x09)), LNot (
- And (SDTL, 0x4000))))
- {
- Or (SDTL, 0x4000, SDTL)
- OperationRegion (IST7, SystemMemory, DerefOf (Index (SSDT, 0x28)), DerefOf (Index (SSDT, 0x29
- )))
- Load (IST7, HI7)
- }
- }
- If (And (CFGD, 0xF0))
- {
- If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC7, 0x18
- )), LNot (And (SDTL, 0x8000))))
- {
- Or (SDTL, 0x8000, SDTL)
- OperationRegion (CST7, SystemMemory, DerefOf (Index (SSDT, 0x2E)), DerefOf (Index (SSDT, 0x2F
- )))
- Load (CST7, HC7)
- }
- }
- Return (Arg3)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement