Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Intel ACPI Component Architecture
- * AML/ASL+ Disassembler version 20230628 (64-bit version)
- * Copyright (c) 2000 - 2023 Intel Corporation
- *
- * Disassembling to symbolic ASL+ operators
- *
- * Disassembly of DSDT.aml, Tue Jan 14 01:05:19 2025
- *
- * Original Table Header:
- * Signature "DSDT"
- * Length 0x00004D5C (19804)
- * Revision 0x01 **** 32-bit table (V1), no 64-bit math support
- * Checksum 0x93
- * OEM ID "APPLE "
- * OEM Table ID "MacBookP"
- * OEM Revision 0x00100001 (1048577)
- * Compiler ID "INTL"
- * Compiler Version 0x20100915 (537921813)
- */
- DefinitionBlock ("", "DSDT", 1, "APPLE ", "MacBookP", 0x00100001)
- {
- External (_SB_.PCI0.DTBP, MethodObj) // 0 Arguments
- External (_SB_.PCI0.DTLK, MethodObj) // 0 Arguments
- External (_SB_.PCI0.EHC1, UnknownObj)
- External (_SB_.PCI0.EHC2, UnknownObj)
- External (_SB_.PCI0.IGPU.CLID, FieldUnitObj)
- External (_SB_.PCI0.P0P2.GFX0, UnknownObj)
- External (_SB_.PCI0.RMCR, MethodObj) // 0 Arguments
- External (_SB_.PCI0.TGPE, MethodObj) // 0 Arguments
- External (_SB_.PCI0.XHC1._INI, MethodObj) // 0 Arguments"PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID
- Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID
- Name (_ADR, 0x00) // _ADR: Address
- Method (^BN00, 0, NotSerialized)
- {
- Return (0x00)
- }
- Method (_BBN, 0, NotSerialized) // _BBN: BIOS Bus Number
- {
- Return (BN00 ())
- }
- Name (_UID, 0x00) // _UID: Unique ID
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (PICM)
- {
- Return (AR00 ())
- }
- Return (PR00 ())
- }
- OperationRegion (HBUS, PCI_Config, 0x00, 0x0100)
- Field (HBUS, DWordAcc, NoLock, Preserve)
- {
- Offset (0x40),
- EPEN, 1,
- , 11,
- EPBR, 20,
- Offset (0x48),
- MHEN, 1,
- , 14,
- MHBR, 17,
- Offset (0x50),
- GCLK, 1,
- Offset (0x54),
- D0EN, 1,
- Offset (0x60),
- PXEN, 1,
- PXSZ, 2,
- , 23,
- PXBR, 6,
- Offset (0x68),
- DIEN, 1,
- , 11,
- DIBR, 20,
- Offset (0x70),
- , 20,
- MEBR, 12,
- Offset (0x80),
- , 4,
- PM0H, 2,
- Offset (0x81),
- PM1L, 2,
- , 2,
- PM1H, 2,
- Offset (0x82),
- PM2L, 2,
- , 2,
- PM2H, 2,
- Offset (0x83),
- PM3L, 2,
- , 2,
- PM3H, 2,
- Offset (0x84),
- PM4L, 2,
- , 2,
- PM4H, 2,
- Offset (0x85),
- PM5L, 2,
- , 2,
- PM5H, 2,
- Offset (0x86),
- PM6L, 2,
- , 2,
- PM6H, 2,
- Offset (0x87),
- Offset (0xA8),
- , 20,
- TUUD, 19,
- Offset (0xBC),
- , 20,
- TLUD, 12,
- Offset (0xC8),
- , 7,
- HTSE, 1
- }
- OperationRegion (MCHT, SystemMemory, 0xFED10000, 0x6000)
- Field (MCHT, ByteAcc, NoLock, Preserve)
- {
- Offset (0x5994),
- RPSL, 8,
- Offset (0x5998),
- RP0C, 8,
- RP1C, 8,
- RPNC, 8
- }
- Name (BUF0, ResourceTemplate ()
- {
- WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
- 0x0000, // Granularity
- 0x0000, // Range Minimum
- 0x00FF, // Range Maximum
- 0x0000, // Translation Offset
- 0x0100, // Length
- ,, )
- DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0x00000CF7, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00000CF8, // Length
- ,, , TypeStatic, DenseTranslation)
- IO (Decode16,
- 0x0CF8, // Range Minimum
- 0x0CF8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x00000000, // Granularity
- 0x00000D00, // Range Minimum
- 0x0000FFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x0000F300, // Length
- ,, , TypeStatic, DenseTranslation)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000A0000, // Range Minimum
- 0x000BFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00020000, // Length
- ,, , AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C0000, // Range Minimum
- 0x000C3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y00, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C4000, // Range Minimum
- 0x000C7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y01, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C8000, // Range Minimum
- 0x000CBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y02, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000CC000, // Range Minimum
- 0x000CFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y03, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D0000, // Range Minimum
- 0x000D3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y04, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D4000, // Range Minimum
- 0x000D7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y05, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D8000, // Range Minimum
- 0x000DBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y06, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000DC000, // Range Minimum
- 0x000DFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y07, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E0000, // Range Minimum
- 0x000E3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y08, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E4000, // Range Minimum
- 0x000E7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y09, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E8000, // Range Minimum
- 0x000EBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y0A, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000EC000, // Range Minimum
- 0x000EFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- ,, _Y0B, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000F0000, // Range Minimum
- 0x000FFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00010000, // Length
- ,, _Y0C, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0xFEAFFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0xFEB00000, // Length
- ,, _Y0D, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0xFED40000, // Range Minimum
- 0xFED44FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00005000, // Length
- ,, , AddressRangeMemory, TypeStatic)
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- If (PM1L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y00._LEN, C0LN) // _LEN: Length
- C0LN = Zero
- }
- If ((PM1L == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y00._RW, C0RW) // _RW_: Read-Write Status
- C0RW = Zero
- }
- If (PM1H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y01._LEN, C4LN) // _LEN: Length
- C4LN = Zero
- }
- If ((PM1H == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y01._RW, C4RW) // _RW_: Read-Write Status
- C4RW = Zero
- }
- If (PM2L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y02._LEN, C8LN) // _LEN: Length
- C8LN = Zero
- }
- If ((PM2L == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y02._RW, C8RW) // _RW_: Read-Write Status
- C8RW = Zero
- }
- If (PM2H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y03._LEN, CCLN) // _LEN: Length
- CCLN = Zero
- }
- If ((PM2H == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y03._RW, CCRW) // _RW_: Read-Write Status
- CCRW = Zero
- }
- If (PM3L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y04._LEN, D0LN) // _LEN: Length
- D0LN = Zero
- }
- If ((PM3L == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y04._RW, D0RW) // _RW_: Read-Write Status
- D0RW = Zero
- }
- If (PM3H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y05._LEN, D4LN) // _LEN: Length
- D4LN = Zero
- }
- If ((PM3H == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y05._RW, D4RW) // _RW_: Read-Write Status
- D4RW = Zero
- }
- If (PM4L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y06._LEN, D8LN) // _LEN: Length
- D8LN = Zero
- }
- If ((PM4L == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y06._RW, D8RW) // _RW_: Read-Write Status
- D8RW = Zero
- }
- If (PM4H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y07._LEN, DCLN) // _LEN: Length
- DCLN = Zero
- }
- If ((PM4H == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y07._RW, DCRW) // _RW_: Read-Write Status
- DCRW = Zero
- }
- If (PM5L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y08._LEN, E0LN) // _LEN: Length
- E0LN = Zero
- }
- If ((PM5L == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y08._RW, E0RW) // _RW_: Read-Write Status
- E0RW = Zero
- }
- If (PM5H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y09._LEN, E4LN) // _LEN: Length
- E4LN = Zero
- }
- If ((PM5H == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y09._RW, E4RW) // _RW_: Read-Write Status
- E4RW = Zero
- }
- If (PM6L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y0A._LEN, E8LN) // _LEN: Length
- E8LN = Zero
- }
- If ((PM6L == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y0A._RW, E8RW) // _RW_: Read-Write Status
- E8RW = Zero
- }
- If (PM6H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y0B._LEN, ECLN) // _LEN: Length
- ECLN = Zero
- }
- If ((PM6H == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y0B._RW, ECRW) // _RW_: Read-Write Status
- ECRW = Zero
- }
- If (PM0H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y0C._LEN, F0LN) // _LEN: Length
- F0LN = Zero
- }
- If ((PM0H == 0x01))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, F0RW) // _RW_: Read-Write Status
- F0RW = Zero
- }
- CreateDWordField (BUF0, \_SB.PCI0._Y0D._MIN, M1MN) // _MIN: Minimum Base Address
- CreateDWordField (BUF0, \_SB.PCI0._Y0D._MAX, M1MX) // _MAX: Maximum Base Address
- CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, M1LN) // _LEN: Length
- M1MN = (TLUD << 0x14)
- M1LN = ((M1MX - M1MN) + 0x01)
- Return (BUF0) /* \_SB_.PCI0.BUF0 */
- }
- Name (GUID, ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") /* PCI Host Bridge Device */)
- Name (SUPP, 0x00)
- Name (CTRL, 0x00)
- Method (_OSC, 4, Serialized) // _OSC: Operating System Capabilities
- {
- Local0 = Arg3
- CreateDWordField (Local0, 0x00, CDW1)
- CreateDWordField (Local0, 0x04, CDW2)
- CreateDWordField (Local0, 0x08, CDW3)
- SUPP = CDW2 /* \_SB_.PCI0._OSC.CDW2 */
- CTRL = CDW3 /* \_SB_.PCI0._OSC.CDW3 */
- If ((0x01 == OSDW ()))
- {
- If (((Arg0 == GUID) && NEXP))
- {
- If (~(CDW1 & 0x01))
- {
- If ((CTRL & 0x02))
- {
- NHPG ()
- }
- If ((CTRL & 0x04))
- {
- NPME ()
- }
- }
- If ((Arg1 != One))
- {
- CDW1 |= 0x08
- }
- If ((CDW3 != CTRL))
- {
- CDW1 |= 0x10
- }
- CDW3 = CTRL /* \_SB_.PCI0.CTRL */
- OSCC = CTRL /* \_SB_.PCI0.CTRL */
- Return (Local0)
- }
- Else
- {
- CDW1 |= 0x04
- Return (Local0)
- }
- }
- Else
- {
- If ((Arg0 == ToUUID ("7c9512a9-1705-4cb4-af7d-506a2423ab71") /* Unknown UUID */))
- {
- \_SB.PCI0.XHC1.PASS = 0x01
- \_SB.PCI0.XHC1.PAHC = 0x01
- \_SB.PCI0.XHC1.PBSS = 0x01
- \_SB.PCI0.XHC1.PBHC = 0x01
- GI60 = 0x01
- \_SB.PCI0.XHC1.PCSS = 0x01
- \_SB.PCI0.XHC1.PCHC = 0x01
- \_SB.PCI0.XHC1.PDSS = 0x01
- \_SB.PCI0.XHC1.PDHC = 0x01
- GI74 = 0x01
- }
- If ((Arg0 == GUID))
- {
- If ((\_SB.PCI0.DTBP () == 0x01))
- {
- CDW3 &= 0xFFFFFFFB
- }
- }
- Return (Local0)
- }
- }
- Scope (\_SB.PCI0)
- {
- Method (AR00, 0, NotSerialized)
- {
- Return (\_SB.AR00)
- }
- Method (PR00, 0, NotSerialized)
- {
- Return (\_SB.PR00)
- }
- Method (AR01, 0, NotSerialized)
- {
- Return (\_SB.AR01)
- }
- Method (PR01, 0, NotSerialized)
- {
- Return (\_SB.PR01)
- }
- Method (AR02, 0, NotSerialized)
- {
- Return (\_SB.AR02)
- }
- Method (PR02, 0, NotSerialized)
- {
- Return (\_SB.PR02)
- }
- Method (AR04, 0, NotSerialized)
- {
- Return (\_SB.AR04)
- }
- Method (PR04, 0, NotSerialized)
- {
- Return (\_SB.PR04)
- }
- Method (AR05, 0, NotSerialized)
- {
- Return (\_SB.AR05)
- }
- Method (PR05, 0, NotSerialized)
- {
- Return (\_SB.PR05)
- }
- Method (AR06, 0, NotSerialized)
- {
- Return (\_SB.AR06)
- }
- Method (PR06, 0, NotSerialized)
- {
- Return (\_SB.PR06)
- }
- Method (AR07, 0, NotSerialized)
- {
- Return (\_SB.AR07)
- }
- Method (PR07, 0, NotSerialized)
- {
- Return (\_SB.PR07)
- }
- Method (AR08, 0, NotSerialized)
- {
- Return (\_SB.AR08)
- }
- Method (PR08, 0, NotSerialized)
- {
- Return (\_SB.PR08)
- }
- Method (AR09, 0, NotSerialized)
- {
- Return (\_SB.AR09)
- }
- Method (PR09, 0, NotSerialized)
- {
- Return (\_SB.PR09)
- }
- Method (AR0A, 0, NotSerialized)
- {
- Return (\_SB.AR0A)
- }
- Method (PR0A, 0, NotSerialized)
- {
- Return (\_SB.PR0A)
- }
- Method (AR0B, 0, NotSerialized)
- {
- Return (\_SB.AR0B)
- }
- Method (PR0B, 0, NotSerialized)
- {
- Return (\_SB.PR0B)
- }
- }
- Device (MCHC)
- {
- Name (_ADR, 0x00) // _ADR: Address
- }
- Device (P0P2)
- {
- Name (_ADR, 0x00010000) // _ADR: Address
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x03
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (PICM)
- {
- Return (AR02 ())
- }
- Return (PR02 ())
- }
- }
- Device (PEG1)
- {
- Name (_ADR, 0x00010001) // _ADR: Address
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x03
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (PICM)
- {
- Return (AR0A ())
- }
- Return (PR0A ())
- }
- }
- Device (PEG2)
- {
- Name (_ADR, 0x00010002) // _ADR: Address
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x04
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (PICM)
- {
- Return (AR0B ())
- }
- Return (PR0B ())
- }
- Device (SATA)
- {
- Name (_ADR, 0x00) // _ADR: Address
- }
- }
- Device (IGPU)
- {
- Name (_ADR, 0x00020000) // _ADR: Address
- }
- Device (SATA)
- {
- Name (_ADR, 0x001F0002) // _ADR: Address
- }
- Device (SBUS)
- {
- Name (_ADR, 0x001F0003) // _ADR: Address
- OperationRegion (SMBP, PCI_Config, 0x40, 0xC0)
- Field (SMBP, DWordAcc, NoLock, Preserve)
- {
- , 2,
- I2CE, 1
- }
- OperationRegion (SMPB, PCI_Config, 0x20, 0x04)
- Field (SMPB, DWordAcc, NoLock, Preserve)
- {
- , 5,
- SBAR, 11
- }
- OperationRegion (SMBI, SystemIO, (SBAR << 0x05), 0x10)
- Field (SMBI, ByteAcc, NoLock, Preserve)
- {
- HSTS, 8,
- Offset (0x02),
- HCON, 8,
- HCOM, 8,
- TXSA, 8,
- DAT0, 8,
- DAT1, 8,
- HBDR, 8,
- PECR, 8,
- RXSA, 8,
- SDAT, 16
- }
- Method (SSXB, 2, Serialized)
- {
- If (STRT ())
- {
- Return (0x00)
- }
- I2CE = 0x00
- HSTS = 0xBF
- TXSA = Arg0
- HCOM = Arg1
- HCON = 0x48
- If (COMP ())
- {
- HSTS |= 0xFF
- Return (0x01)
- }
- Return (0x00)
- }
- Method (SRXB, 1, Serialized)
- {
- If (STRT ())
- {
- Return (0xFFFF)
- }
- I2CE = 0x00
- HSTS = 0xBF
- TXSA = (Arg0 | 0x01)
- HCON = 0x44
- If (COMP ())
- {
- HSTS |= 0xFF
- Return (DAT0) /* \_SB_.PCI0.SBUS.DAT0 */
- }
- Return (0xFFFF)
- }
- Method (SWRB, 3, Serialized)
- {
- If (STRT ())
- {
- Return (0x00)
- }
- I2CE = 0x00
- HSTS = 0xBF
- TXSA = Arg0
- HCOM = Arg1
- DAT0 = Arg2
- HCON = 0x48
- If (COMP ())
- {
- HSTS |= 0xFF
- Return (0x01)
- }
- Return (0x00)
- }
- Method (SRDB, 2, Serialized)
- {
- If (STRT ())
- {
- Return (0xFFFF)
- }
- I2CE = 0x00
- HSTS = 0xBF
- TXSA = (Arg0 | 0x01)
- HCOM = Arg1
- HCON = 0x48
- If (COMP ())
- {
- HSTS |= 0xFF
- Return (DAT0) /* \_SB_.PCI0.SBUS.DAT0 */
- }
- Return (0xFFFF)
- }
- Method (SWRW, 3, Serialized)
- {
- If (STRT ())
- {
- Return (0x00)
- }
- I2CE = 0x00
- HSTS = 0xBF
- TXSA = Arg0
- HCOM = Arg1
- DAT1 = (Arg2 & 0xFF)
- DAT0 = ((Arg2 >> 0x08) & 0xFF)
- HCON = 0x4C
- If (COMP ())
- {
- HSTS |= 0xFF
- Return (0x01)
- }
- Return (0x00)
- }
- Method (SRDW, 2, Serialized)
- {
- If (STRT ())
- {
- Return (0xFFFF)
- }
- I2CE = 0x00
- HSTS = 0xBF
- TXSA = (Arg0 | 0x01)
- HCOM = Arg1
- HCON = 0x4C
- If (COMP ())
- {
- HSTS |= 0xFF
- Return (((DAT0 << 0x08) | DAT1))
- }
- Return (0xFFFFFFFF)
- }
- Method (SBLW, 4, Serialized)
- {
- If (STRT ())
- {
- Return (0x00)
- }
- I2CE = Arg3
- HSTS = 0xBF
- TXSA = Arg0
- HCOM = Arg1
- DAT0 = SizeOf (Arg2)
- Local1 = 0x00
- HBDR = DerefOf (Arg2 [0x00])
- HCON = 0x54
- While ((SizeOf (Arg2) > Local1))
- {
- Local0 = 0x4E20
- While ((!(HSTS & 0x80) && Local0))
- {
- Local0--
- }
- If (!Local0)
- {
- KILL ()
- Return (0x00)
- }
- Local1++
- If ((SizeOf (Arg2) > Local1))
- {
- HBDR = DerefOf (Arg2 [Local1])
- HSTS = 0x80
- }
- }
- HSTS = 0x80
- If (COMP ())
- {
- HSTS |= 0xFF
- Return (0x01)
- }
- Return (0x00)
- }
- Method (SBLR, 3, Serialized)
- {
- Name (TBUF, Buffer (0x0100){})
- If (STRT ())
- {
- Return (0x00)
- }
- I2CE = Arg2
- HSTS = 0xBF
- TXSA = (Arg0 | 0x01)
- HCOM = Arg1
- HCON = 0x54
- Local0 = 0x0FA0
- While ((!(HSTS & 0x80) && Local0))
- {
- Local0--
- Stall (0x32)
- }
- If (!Local0)
- {
- KILL ()
- Return (0x00)
- }
- TBUF [0x00] = DAT0 /* \_SB_.PCI0.SBUS.DAT0 */
- HSTS = 0x80
- Local1 = 0x01
- While ((Local1 < DerefOf (TBUF [0x00])))
- {
- Local0 = 0x0FA0
- While ((!(HSTS & 0x80) && Local0))
- {
- Local0--
- Stall (0x32)
- }
- If (!Local0)
- {
- KILL ()
- Return (0x00)
- }
- TBUF [Local1] = HBDR /* \_SB_.PCI0.SBUS.HBDR */
- HSTS = 0x80
- Local1++
- }
- If (COMP ())
- {
- HSTS |= 0xFF
- Return (TBUF) /* \_SB_.PCI0.SBUS.SBLR.TBUF */
- }
- Return (0x00)
- }
- Method (STRT, 0, Serialized)
- {
- Local0 = 0xC8
- While (Local0)
- {
- If ((HSTS & 0x40))
- {
- Local0--
- Sleep (0x01)
- If ((Local0 == 0x00))
- {
- Return (0x01)
- }
- }
- Else
- {
- Local0 = 0x00
- }
- }
- Local0 = 0x0FA0
- While (Local0)
- {
- If ((HSTS & 0x01))
- {
- Local0--
- Stall (0x32)
- If ((Local0 == 0x00))
- {
- KILL ()
- }
- }
- Else
- {
- Return (0x00)
- }
- }
- Return (0x01)
- }
- Method (COMP, 0, Serialized)
- {
- Local0 = 0x0FA0
- While (Local0)
- {
- If ((HSTS & 0x02))
- {
- Return (0x01)
- }
- Else
- {
- Local0--
- Stall (0x32)
- If ((Local0 == 0x00))
- {
- KILL ()
- }
- }
- }
- Return (0x00)
- }
- Method (KILL, 0, Serialized)
- {
- HCON |= 0x02
- HSTS |= 0xFF
- }
- Device (BUS0)
- {
- Name (_CID, "smbus") // _CID: Compatible ID
- Name (_ADR, 0x00) // _ADR: Address
- Device (MKY0)
- {
- Name (_ADR, 0x00) // _ADR: Address
- Name (_CID, "mikey") // _CID: Compatible ID
- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- Local0 = Package (0x0A)
- {
- "refnum",
- 0x00,
- "address",
- 0x39,
- "device-id",
- 0x0CD2,
- "ramp-control-address",
- 0x3B,
- "hdet",
- 0x01
- }
- DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
- Return (Local0)
- }
- Method (H1EN, 1, Serialized)
- {
- If ((Arg0 <= 0x01))
- {
- If ((Arg0 == 0x01))
- {
- GP16 |= 0x01
- }
- Else
- {
- GP16 &= 0x00
- }
- }
- }
- Method (H1IL, 0, Serialized)
- {
- Local0 = GP05 /* \GP05 */
- Return (Local0)
- }
- Method (H1IP, 1, Serialized)
- {
- Local0 = Arg0
- If ((Arg0 <= 0x01))
- {
- Arg0 = ~Arg0
- GI05 = Arg0
- }
- }
- Name (H1IN, 0x15)
- Scope (\_GPE)
- {
- Method (_L15, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
- {
- If (OSDW ())
- {
- Notify (\_SB.PCI0.SBUS.BUS0.MKY0, 0x80) // Status Change
- }
- Else
- {
- GI05 = 0x00
- GU05 = 0x00
- Notify (\_SB.PWRB, 0x02) // Device Wake
- }
- }
- }
- Method (P1IL, 0, Serialized)
- {
- Local0 = GP03 /* \GP03 */
- Return (Local0)
- }
- Method (P1IP, 1, Serialized)
- {
- If ((Arg0 <= 0x01))
- {
- Arg0 = ~Arg0
- GI03 = Arg0
- }
- }
- Name (P1IN, 0x13)
- Scope (\_GPE)
- {
- Method (_L13, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
- {
- GI03 ^= 0x01
- If (OSDW ())
- {
- Notify (\_SB.PCI0.SBUS.BUS0.MKY0, 0x81) // Information Change
- }
- Else
- {
- Notify (\_SB.PWRB, 0x02) // Device Wake
- }
- }
- }
- }
- }
- Device (BUS1)
- {
- Name (_CID, "smbus") // _CID: Compatible ID
- Name (_ADR, 0x01) // _ADR: Address
- }
- }
- Device (LPCB)
- {
- Name (_ADR, 0x001F0000) // _ADR: Address
- Scope (\_SB)
- {
- OperationRegion (\_SB.PCI0.LPCB.LPC1, PCI_Config, 0x40, 0xC0)
- Field (\_SB.PCI0.LPCB.LPC1, AnyAcc, NoLock, Preserve)
- {
- Offset (0x20),
- PARC, 8,
- PBRC, 8,
- PCRC, 8,
- PDRC, 8,
- Offset (0x28),
- PERC, 8,
- PFRC, 8,
- PGRC, 8,
- PHRC, 8
- }
- Device (LNKA)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x01) // _UID: Unique ID
- Method (_DIS, 0, Serialized) // _DIS: Disable Device
- {
- PARC |= 0x80
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {1,3,4,5,6,7,10,12,14,15}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RTLA, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y0E)
- {}
- })
- CreateWordField (RTLA, \_SB.LNKA._CRS._Y0E._INT, IRQ0) // _INT: Interrupts
- IRQ0 = Zero
- IRQ0 = (0x01 << (PARC & 0x0F))
- Return (RTLA) /* \_SB_.LNKA._CRS.RTLA */
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Local0--
- PARC = Local0
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If ((PARC & 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- }
- Device (LNKB)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x02) // _UID: Unique ID
- Method (_DIS, 0, Serialized) // _DIS: Disable Device
- {
- PBRC |= 0x80
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {1,3,4,5,6,7,11,12,14,15}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RTLB, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y0F)
- {}
- })
- CreateWordField (RTLB, \_SB.LNKB._CRS._Y0F._INT, IRQ0) // _INT: Interrupts
- IRQ0 = Zero
- IRQ0 = (0x01 << (PBRC & 0x0F))
- Return (RTLB) /* \_SB_.LNKB._CRS.RTLB */
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Local0--
- PBRC = Local0
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If ((PBRC & 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- }
- Device (LNKC)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x03) // _UID: Unique ID
- Method (_DIS, 0, Serialized) // _DIS: Disable Device
- {
- PCRC |= 0x80
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {1,3,4,5,6,7,10,12,14,15}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RTLC, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y10)
- {}
- })
- CreateWordField (RTLC, \_SB.LNKC._CRS._Y10._INT, IRQ0) // _INT: Interrupts
- IRQ0 = Zero
- IRQ0 = (0x01 << (PCRC & 0x0F))
- Return (RTLC) /* \_SB_.LNKC._CRS.RTLC */
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Local0--
- PCRC = Local0
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If ((PCRC & 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- }
- Device (LNKD)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x04) // _UID: Unique ID
- Method (_DIS, 0, Serialized) // _DIS: Disable Device
- {
- PDRC |= 0x80
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {1,3,4,5,6,7,11,12,14,15}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RTLD, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y11)
- {}
- })
- CreateWordField (RTLD, \_SB.LNKD._CRS._Y11._INT, IRQ0) // _INT: Interrupts
- IRQ0 = Zero
- IRQ0 = (0x01 << (PDRC & 0x0F))
- Return (RTLD) /* \_SB_.LNKD._CRS.RTLD */
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Local0--
- PDRC = Local0
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If ((PDRC & 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- }
- Device (LNKE)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x05) // _UID: Unique ID
- Method (_DIS, 0, Serialized) // _DIS: Disable Device
- {
- PERC |= 0x80
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {1,3,4,5,6,7,10,12,14,15}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RTLE, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y12)
- {}
- })
- CreateWordField (RTLE, \_SB.LNKE._CRS._Y12._INT, IRQ0) // _INT: Interrupts
- IRQ0 = Zero
- IRQ0 = (0x01 << (PERC & 0x0F))
- Return (RTLE) /* \_SB_.LNKE._CRS.RTLE */
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Local0--
- PERC = Local0
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If ((PERC & 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- }
- Device (LNKF)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x06) // _UID: Unique ID
- Method (_DIS, 0, Serialized) // _DIS: Disable Device
- {
- PFRC |= 0x80
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {1,3,4,5,6,7,11,12,14,15}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RTLF, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y13)
- {}
- })
- CreateWordField (RTLF, \_SB.LNKF._CRS._Y13._INT, IRQ0) // _INT: Interrupts
- IRQ0 = Zero
- IRQ0 = (0x01 << (PFRC & 0x0F))
- Return (RTLF) /* \_SB_.LNKF._CRS.RTLF */
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Local0--
- PFRC = Local0
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If ((PFRC & 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- }
- Device (LNKG)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x07) // _UID: Unique ID
- Method (_DIS, 0, Serialized) // _DIS: Disable Device
- {
- PGRC |= 0x80
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {1,3,4,5,6,7,10,12,14,15}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RTLG, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y14)
- {}
- })
- CreateWordField (RTLG, \_SB.LNKG._CRS._Y14._INT, IRQ0) // _INT: Interrupts
- IRQ0 = Zero
- IRQ0 = (0x01 << (PGRC & 0x0F))
- Return (RTLG) /* \_SB_.LNKG._CRS.RTLG */
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Local0--
- PGRC = Local0
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If ((PGRC & 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- }
- Device (LNKH)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x08) // _UID: Unique ID
- Method (_DIS, 0, Serialized) // _DIS: Disable Device
- {
- PHRC |= 0x80
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {1,3,4,5,6,7,11,12,14,15}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- Name (RTLH, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, _Y15)
- {}
- })
- CreateWordField (RTLH, \_SB.LNKH._CRS._Y15._INT, IRQ0) // _INT: Interrupts
- IRQ0 = Zero
- IRQ0 = (0x01 << (PHRC & 0x0F))
- Return (RTLH) /* \_SB_.LNKH._CRS.RTLH */
- }
- Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, 0x01, IRQ0)
- FindSetRightBit (IRQ0, Local0)
- Local0--
- PHRC = Local0
- }
- Method (_STA, 0, Serialized) // _STA: Status
- {
- If ((PHRC & 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- }
- }
- OperationRegion (LPC0, PCI_Config, 0x40, 0xC0)
- Field (LPC0, AnyAcc, NoLock, Preserve)
- {
- Offset (0x40),
- IOD0, 8,
- IOD1, 8,
- Offset (0xB0),
- RAEN, 1,
- , 13,
- RCBA, 18
- }
- Device (DMAC)
- {
- Name (_HID, EisaId ("PNP0200") /* PC-class DMA Controller */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x01, // Alignment
- 0x20, // Length
- )
- IO (Decode16,
- 0x0081, // Range Minimum
- 0x0081, // Range Maximum
- 0x01, // Alignment
- 0x11, // Length
- )
- IO (Decode16,
- 0x0093, // Range Minimum
- 0x0093, // Range Maximum
- 0x01, // Alignment
- 0x0D, // Length
- )
- IO (Decode16,
- 0x00C0, // Range Minimum
- 0x00C0, // Range Maximum
- 0x01, // Alignment
- 0x20, // Length
- )
- DMA (Compatibility, NotBusMaster, Transfer8_16, )
- {4}
- })
- }
- Device (FWHD)
- {
- Name (_HID, EisaId ("INT0800") /* Intel 82802 Firmware Hub Device */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- Memory32Fixed (ReadOnly,
- 0xFF000000, // Address Base
- 0x01000000, // Address Length
- )
- })
- }
- Device (HPET)
- {
- Name (_HID, EisaId ("PNP0103") /* HPET System Timer */) // _HID: Hardware ID
- Name (_CID, EisaId ("PNP0C01") /* System Board */) // _CID: Compatible ID
- Name (BUF0, ResourceTemplate ()
- {
- IRQNoFlags ()
- {0}
- IRQNoFlags ()
- {8}
- Memory32Fixed (ReadWrite,
- 0xFED00000, // Address Base
- 0x00000400, // Address Length
- _Y16)
- })
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If ((OSYS >= 0x07D1))
- {
- If (HPAE)
- {
- Return (0x0F)
- }
- }
- ElseIf (HPAE)
- {
- Return (0x0B)
- }
- Return (0x00)
- }
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- If (HPAE)
- {
- CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y16._BAS, HPT0) // _BAS: Base Address
- If ((HPAS == 0x01))
- {
- HPT0 = 0xFED01000
- }
- If ((HPAS == 0x02))
- {
- HPT0 = 0xFED02000
- }
- If ((HPAS == 0x03))
- {
- HPT0 = 0xFED03000
- }
- }
- Return (BUF0) /* \_SB_.PCI0.LPCB.HPET.BUF0 */
- }
- }
- Device (IPIC)
- {
- Name (_HID, EisaId ("PNP0000") /* 8259-compatible Programmable Interrupt Controller */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0020, // Range Minimum
- 0x0020, // Range Maximum
- 0x01, // Alignment
- 0x02, // 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,
- 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,
- 0x00A0, // Range Minimum
- 0x00A0, // Range Maximum
- 0x01, // Alignment
- 0x02, // 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
- 0x02, // Length
- )
- IO (Decode16,
- 0x00B4, // Range Minimum
- 0x00B4, // Range Maximum
- 0x01, // Alignment
- 0x02, // 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,
- 0x04D0, // Range Minimum
- 0x04D0, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IRQNoFlags ()
- {2}
- })
- }
- Device (MATH)
- {
- Name (_HID, EisaId ("PNP0C04") /* x87-compatible Floating Point Processing Unit */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x00F0, // Range Minimum
- 0x00F0, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IRQNoFlags ()
- {13}
- })
- }
- Device (LDRC)
- {
- Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
- Name (_UID, 0x02) // _UID: Unique ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x002E, // Range Minimum
- 0x002E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x004E, // Range Minimum
- 0x004E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0061, // Range Minimum
- 0x0061, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0063, // Range Minimum
- 0x0063, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0065, // Range Minimum
- 0x0065, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0067, // Range Minimum
- 0x0067, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0080, // Range Minimum
- 0x0080, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0092, // Range Minimum
- 0x0092, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x00B2, // Range Minimum
- 0x00B2, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x1000, // Range Minimum
- 0x1000, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0400, // Range Minimum
- 0x0400, // Range Maximum
- 0x01, // Alignment
- 0x80, // Length
- )
- IO (Decode16,
- 0x0500, // Range Minimum
- 0x0500, // Range Maximum
- 0x01, // Alignment
- 0x80, // Length
- )
- })
- }
- Device (RTC)
- {
- Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0070, // Range Minimum
- 0x0070, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- })
- }
- Device (TIMR)
- {
- Name (_HID, EisaId ("PNP0100") /* PC-class System Timer */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0040, // Range Minimum
- 0x0040, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IO (Decode16,
- 0x0050, // Range Minimum
- 0x0050, // Range Maximum
- 0x10, // Alignment
- 0x04, // Length
- )
- })
- }
- Device (SMC)
- {
- Name (_HID, EisaId ("APP0001")) // _HID: Hardware ID
- Name (_CID, "smc-huronriver") // _CID: Compatible ID
- Name (_STA, 0x0B) // _STA: Status
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0300, // Range Minimum
- 0x0300, // Range Maximum
- 0x01, // Alignment
- 0x20, // Length
- )
- Memory32Fixed (ReadWrite,
- 0xFEF00000, // Address Base
- 0x00010000, // Address Length
- )
- IRQNoFlags ()
- {6}
- })
- }
- Device (ALS0)
- {
- Name (_HID, "ACPI0008" /* Ambient Light Sensor Device */) // _HID: Hardware ID
- Name (_CID, "smc-als") // _CID: Compatible ID
- Name (BUFF, Buffer (0x02){})
- CreateByteField (BUFF, 0x00, OB0)
- CreateByteField (BUFF, 0x01, OB1)
- CreateWordField (BUFF, 0x00, ALSI)
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If ((OSYS >= 0x07D9))
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x00)
- }
- }
- Method (_ALI, 0, NotSerialized) // _ALI: Ambient Light Illuminance
- {
- OB0 = \_SB.PCI0.LPCB.EC.ALB0
- OB1 = \_SB.PCI0.LPCB.EC.ALB1
- Local0 = ALSI /* \_SB_.PCI0.LPCB.ALS0.ALSI */
- Return (Local0)
- }
- Name (_ALR, Package (0x05) // _ALR: Ambient Light Response
- {
- Package (0x02)
- {
- 0x0A,
- 0x00
- },
- Package (0x02)
- {
- 0x14,
- 0x0A
- },
- Package (0x02)
- {
- 0x32,
- 0x50
- },
- Package (0x02)
- {
- 0x5A,
- 0x012C
- },
- Package (0x02)
- {
- 0x64,
- 0x03E8
- }
- })
- }
- Device (EC)
- {
- Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
- Name (_UID, 0x00) // _UID: Unique ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0062, // Range Minimum
- 0x0062, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0066, // Range Minimum
- 0x0066, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- })
- Name (_GPE, 0x17) // _GPE: General Purpose Events
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x23,
- 0x04
- })
- Name (ECOK, 0x00)
- OperationRegion (ECOR, EmbeddedControl, 0x00, 0xFF)
- Field (ECOR, ByteAcc, Lock, Preserve)
- {
- ECVS, 8,
- Offset (0x02),
- Offset (0x03),
- G3HT, 1,
- Offset (0x04),
- WBCB, 1,
- DSLP, 1,
- Offset (0x05),
- Offset (0x06),
- WKRS, 8,
- Offset (0x10),
- ECSS, 8,
- PLIM, 8,
- ALB0, 8,
- ALB1, 8,
- WTLB, 8,
- WTMB, 8,
- Offset (0x20),
- SPTR, 8,
- SSTS, 8,
- SADR, 8,
- SCMD, 8,
- SBFR, 256,
- SCNT, 8,
- SAAD, 8,
- SAD0, 8,
- SAD1, 8,
- SMUX, 8,
- Offset (0x60),
- ELSW, 1,
- EACP, 1,
- ECDI, 1,
- ENMI, 1,
- Offset (0x61),
- EMHP, 1,
- Offset (0x62),
- Offset (0x63),
- Offset (0x64),
- SWLO, 1,
- SWLC, 1,
- SWAI, 1,
- SWAR, 1,
- SWCI, 1,
- SWCE, 1,
- SWMI, 1,
- SWMR, 1,
- SWPB, 1,
- SWGP, 1,
- SWPM, 1,
- SWWT, 1,
- SWLB, 1,
- Offset (0x66),
- Offset (0x67),
- Offset (0x68),
- EWLO, 1,
- EWLC, 1,
- EWAI, 1,
- EWAR, 1,
- EWCI, 1,
- EWCE, 1,
- EWMI, 1,
- EWMR, 1,
- EWPB, 1,
- EWGP, 1,
- EWPM, 1,
- ENWT, 1,
- EWLB, 1,
- Offset (0x6A),
- Offset (0x6B),
- Offset (0x6C),
- LWLO, 1,
- LWLC, 1,
- LWAI, 1,
- LWAR, 1,
- LWCI, 1,
- LWCE, 1,
- LWMI, 1,
- LWMR, 1,
- LWPB, 1,
- LWGP, 1,
- LWPM, 1,
- LWWT, 1,
- LWLB, 1,
- Offset (0x6E),
- Offset (0x6F),
- Offset (0x70)
- }
- Field (ECOR, ByteAcc, Lock, Preserve)
- {
- Offset (0x03),
- G3AD, 1,
- BLOD, 1,
- S4WE, 1,
- Offset (0x04),
- Offset (0x6C),
- LWE0, 8,
- LWE1, 8,
- LWE2, 8,
- LWE3, 8
- }
- Field (ECOR, ByteAcc, Lock, Preserve)
- {
- Offset (0x24),
- SBDW, 16,
- Offset (0x46),
- SADW, 16
- }
- Method (WAKE, 0, NotSerialized)
- {
- If (ECOK)
- {
- Debug = "EC Wake reason ="
- Debug = WKRS /* \_SB_.PCI0.LPCB.EC__.WKRS */
- Debug = EWAI /* \_SB_.PCI0.LPCB.EC__.EWAI */
- Debug = EWAR /* \_SB_.PCI0.LPCB.EC__.EWAR */
- Return (WKRS) /* \_SB_.PCI0.LPCB.EC__.WKRS */
- }
- Else
- {
- Return (0x00)
- }
- }
- Device (SMB0)
- {
- Name (_HID, "ACPI0001" /* SMBus 1.0 Host Controller */) // _HID: Hardware ID
- Name (_EC, 0x2010) // _EC_: Embedded Controller
- Mutex (SMTX, 0x00)
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (OSDW ())
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x00)
- }
- }
- Device (SBS0)
- {
- Name (_HID, "ACPI0002" /* Smart Battery Subsystem */) // _HID: Hardware ID
- Name (_SBS, 0x01) // _SBS: Smart Battery Subsystem
- }
- Method (SBPC, 1, NotSerialized)
- {
- Local0 = Arg0
- While (Local0)
- {
- If ((SPTR == 0x00))
- {
- Return ((SSTS & 0x1F))
- }
- Sleep (0x01)
- Local0--
- }
- Return (0x18)
- }
- Method (SBRW, 3, NotSerialized)
- {
- Local0 = One
- If (!Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF))
- {
- If ((SPTR == 0x00))
- {
- SADR = (Arg0 << 0x01)
- SCMD = Arg1
- SPTR = 0x09
- Local0 = SBPC (0x03E8)
- If (!Local0)
- {
- Arg2 = SBDW /* \_SB_.PCI0.LPCB.EC__.SBDW */
- }
- }
- Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX)
- }
- Return (Local0)
- }
- Method (SBRB, 3, NotSerialized)
- {
- Local0 = One
- Local1 = Buffer (0x01)
- {
- 0x00 // .
- }
- If (!Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF))
- {
- If ((SPTR == 0x00))
- {
- SADR = (Arg0 << 0x01)
- SCMD = Arg1
- SPTR = 0x0B
- Local0 = SBPC (0x03E8)
- If (!Local0)
- {
- Arg2 = SBFR /* \_SB_.PCI0.LPCB.EC__.SBFR */
- }
- }
- Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX)
- }
- Return (Local0)
- }
- }
- Method (_Q10, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
- {
- If (OSDW ())
- {
- Notify (\_SB.PCI0.LPCB.EC.SMB0, 0x80) // Status Change
- }
- ElseIf ((SSTS & 0x40))
- {
- If (!Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF))
- {
- Local0 = (SAAD >> 0x01)
- If ((Local0 == 0x0A))
- {
- \_SB.BAT0.BNOT (SADW)
- }
- SSTS = 0x00
- Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX)
- }
- }
- }
- Method (_Q20, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
- {
- LIDS = ELSW /* \_SB_.PCI0.LPCB.EC__.ELSW */
- \_SB.PCI0.IGPU.CLID = ELSW /* \_SB_.PCI0.LPCB.EC__.ELSW */
- Notify (\_SB.LID0, 0x80) // Status Change
- }
- Method (_Q21, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
- {
- If (EACP)
- {
- PWRS = 0x01
- }
- Else
- {
- PWRS = 0x00
- }
- Notify (\_SB.ADP1, 0x80) // Status Change
- PNOT ()
- }
- Method (_Q40, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
- {
- Notify (\_SB.PCI0.LPCB.ALS0, 0x80) // Status Change
- }
- Method (_Q5A, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
- {
- Notify (\_SB.SLPB, 0x80) // Status Change
- }
- Method (_Q80, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
- {
- Notify (\_PR.CPU0, 0x80) // Performance Capability Change
- Notify (\_PR.CPU1, 0x80) // Performance Capability Change
- Notify (\_PR.CPU2, 0x80) // Performance Capability Change
- Notify (\_PR.CPU3, 0x80) // Performance Capability Change
- Notify (\_PR.CPU4, 0x80) // Performance Capability Change
- Notify (\_PR.CPU5, 0x80) // Performance Capability Change
- Notify (\_PR.CPU6, 0x80) // Performance Capability Change
- Notify (\_PR.CPU7, 0x80) // Performance Capability Change
- Local0 = EGPS /* \EGPS */
- If ((Local0 == 0x00))
- {
- Notify (\_SB.PCI0.P0P2.GFX0, 0xD1) // Hardware-Specific
- }
- Else
- {
- If (((Local0 > 0x00) && (Local0 <= 0x01)))
- {
- Notify (\_SB.PCI0.P0P2.GFX0, 0xD2) // Hardware-Specific
- }
- If (((Local0 > 0x01) && (Local0 <= 0x07)))
- {
- Notify (\_SB.PCI0.P0P2.GFX0, 0xD3) // Hardware-Specific
- }
- If (((Local0 > 0x08) && (Local0 <= 0x0C)))
- {
- Notify (\_SB.PCI0.P0P2.GFX0, 0xD4) // Hardware-Specific
- }
- If (((Local0 > 0x0C) && (Local0 <= 0x0F)))
- {
- Notify (\_SB.PCI0.P0P2.GFX0, 0xD5) // Hardware-Specific
- }
- }
- }
- Method (_REG, 2, NotSerialized) // _REG: Region Availability
- {
- If (((Arg0 == 0x03) || (OSYS >= 0x07D6)))
- {
- ECOK = Arg1
- If ((Arg1 == 0x01))
- {
- ECSS = 0x00
- LIDS = ELSW /* \_SB_.PCI0.LPCB.EC__.ELSW */
- \_SB.PCI0.IGPU.CLID = ELSW /* \_SB_.PCI0.LPCB.EC__.ELSW */
- Notify (\_SB.LID0, 0x80) // Status Change
- PWRS = EACP /* \_SB_.PCI0.LPCB.EC__.EACP */
- Notify (\_SB.ADP1, 0x80) // Status Change
- }
- }
- }
- }
- Scope (\_SB)
- {
- Device (BAT0)
- {
- Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
- Name (_UID, 0x00) // _UID: Unique ID
- Name (_PCL, Package (0x01) // _PCL: Power Consumer List
- {
- \_SB
- })
- Name (BSSW, 0xFFFF)
- Name (PBIF, Package (0x0D)
- {
- 0x00,
- 0xFFFFFFFF,
- 0xFFFFFFFF,
- 0x01,
- 0xFFFFFFFF,
- 0xFA,
- 0x64,
- 0x0A,
- 0x0A,
- " ",
- " ",
- " ",
- " "
- })
- Name (PBST, Package (0x04)
- {
- 0x00,
- 0xFFFFFFFF,
- 0xFFFFFFFF,
- 0xFFFFFFFF
- })
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (OSDW ())
- {
- Return (0x00)
- }
- If (\_SB.PCI0.LPCB.EC.ECOK)
- {
- UBSS ()
- If ((BSSW & 0x01))
- {
- Return (0x1F)
- }
- Else
- {
- Return (0x0F)
- }
- }
- Else
- {
- Return (0x0F)
- }
- }
- Method (_BST, 0, NotSerialized) // _BST: Battery Status
- {
- If ((BSSW & 0x01))
- {
- UBST ()
- }
- Else
- {
- PBST [0x00] = 0x00
- PBST [0x01] = 0xFFFFFFFF
- PBST [0x02] = 0xFFFFFFFF
- }
- Return (PBST) /* \_SB_.BAT0.PBST */
- }
- Method (_BIF, 0, NotSerialized) // _BIF: Battery Information
- {
- If ((BSSW & 0x01))
- {
- UBIF ()
- }
- Return (PBIF) /* \_SB_.BAT0.PBIF */
- }
- Method (BNOT, 1, NotSerialized)
- {
- Local0 = BSSW /* \_SB_.BAT0.BSSW */
- BSSW = Arg0
- Notify (\_SB.BAT0, 0x80) // Status Change
- If (((Local0 ^ Arg0) & 0x01))
- {
- Notify (\_SB.BAT0, 0x81) // Information Change
- }
- }
- Method (UBSS, 0, NotSerialized)
- {
- \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0A, 0x01, RefOf (BSSW))
- }
- Method (UBIF, 0, NotSerialized)
- {
- \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x18, RefOf (Local0))
- PBIF [0x01] = (Local0 * 0x0A)
- \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x10, RefOf (Local0))
- PBIF [0x02] = (Local0 * 0x0A)
- \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x19, RefOf (Local0))
- PBIF [0x04] = Local0
- \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x21, RefOf (Local0))
- PBIF [0x09] = Local0
- PBIF [0x0A] = Buffer (0x01)
- {
- 0x00 // .
- }
- \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x22, RefOf (Local0))
- PBIF [0x0B] = Local0
- \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x20, RefOf (Local0))
- PBIF [0x0C] = Local0
- }
- Method (UBST, 0, NotSerialized)
- {
- \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x09, RefOf (Local2))
- PBST [0x03] = Local2
- \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x0A, RefOf (Local0))
- If ((Local0 & 0x8000))
- {
- Local0 = ~Local0
- Local0 = (Local0++ & 0xFFFF)
- }
- Local0 *= Local2
- PBST [0x01] = (Local0 / 0x03E8)
- \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x0F, RefOf (Local0))
- PBST [0x02] = (Local0 * 0x0A)
- Local1 = 0x00
- If (PWRS)
- {
- \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x16, RefOf (Local0))
- If (!(Local0 & 0x40))
- {
- Local1 = 0x02
- }
- }
- Else
- {
- Local1 = 0x01
- }
- PBST [0x00] = Local1
- }
- }
- }
- Device (GMUX)
- {
- Name (_HID, EisaId ("APP000B")) // _HID: Hardware ID
- Name (_CID, "gmux") // _CID: Compatible ID
- Name (_STA, 0x0B) // _STA: Status
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0700, // Range Minimum
- 0x07FF, // Range Maximum
- 0x01, // Alignment
- 0xFF, // Length
- )
- })
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x16,
- 0x03
- })
- Scope (\_GPE)
- {
- Method (_L16, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
- {
- Notify (\_SB.PCI0.LPCB.GMUX, 0x80) // Status Change
- }
- }
- Name (GMGP, 0x16)
- Method (GMSP, 1, NotSerialized)
- {
- If ((Arg0 <= 0x01))
- {
- GP06 |= Arg0
- }
- }
- Method (GMLV, 0, NotSerialized)
- {
- Return (GP06) /* \GP06 */
- }
- }
- }
- Device (HDEF)
- {
- Name (_ADR, 0x001B0000) // _ADR: Address
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x03
- })
- }
- Device (RP01)
- {
- Name (_ADR, 0x001C0000) // _ADR: Address
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x03
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (PICM)
- {
- Return (AR04 ())
- }
- Return (PR04 ())
- }
- }
- Device (RP02)
- {
- Name (_ADR, 0x001C0001) // _ADR: Address
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x03
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (PICM)
- {
- Return (AR05 ())
- }
- Return (PR05 ())
- }
- }
- Device (RP03)
- {
- Name (_ADR, 0x001C0002) // _ADR: Address
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x03
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (PICM)
- {
- Return (AR06 ())
- }
- Return (PR06 ())
- }
- }
- Scope (\_SB.PCI0.RP01)
- {
- OperationRegion (A1E0, PCI_Config, 0x00, 0x60)
- Field (A1E0, ByteAcc, NoLock, Preserve)
- {
- Offset (0x04),
- BMIE, 3,
- Offset (0x19),
- SECB, 8,
- SBBN, 8,
- Offset (0x1E),
- , 13,
- MABT, 1,
- Offset (0x4A),
- , 5,
- TPEN, 1,
- Offset (0x50),
- , 4,
- LDIS, 1,
- , 24,
- LACT, 1
- }
- Method (_BBN, 0, NotSerialized) // _BBN: BIOS Bus Number
- {
- If (((BMIE == 0x00) && (SECB == 0xFF)))
- {
- Return (SNBS) /* \_SB_.PCI0.RP01.SNBS */
- }
- Else
- {
- Return (SECB) /* \_SB_.PCI0.RP01.SECB */
- }
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- Return (0x0F)
- }
- Name (BMIS, 0x00)
- Name (SNBS, 0x00)
- Name (SOBS, 0x00)
- Name (LPFL, 0x00)
- Method (C4PU, 0, Serialized)
- {
- SBBN = SOBS /* \_SB_.PCI0.RP01.SOBS */
- SECB = SNBS /* \_SB_.PCI0.RP01.SNBS */
- BMIE = BMIS /* \_SB_.PCI0.RP01.BMIS */
- LDIS = 0x00
- Local0 = 0x00
- LPFL = (LPFL | 0x20)
- GP49 = 0x01
- While (0x01)
- {
- Sleep (0x05)
- Sleep (0x64)
- Local1 = 0x00
- Local2 = (Timer + 0x00989680)
- While ((Timer <= Local2))
- {
- If (((LACT == 0x01) && (\_SB.PCI0.RP01.SDXC.AVND != 0xFFFF)))
- {
- Local1 = 0x01
- Break
- }
- Sleep (0x0A)
- }
- If ((Local1 == 0x01))
- {
- LPFL = (LPFL & ~0x20)
- MABT = 0x01
- Break
- }
- If ((Local0 == 0x04))
- {
- LPFL = (LPFL | (0x20 | 0x80))
- Break
- }
- Local0++
- GP49 = 0x00
- Sleep (0x64)
- GP49 = 0x01
- }
- Return (Zero)
- }
- Method (C4PD, 0, Serialized)
- {
- LPFL = (LPFL | 0x10)
- BMIS = BMIE /* \_SB_.PCI0.RP01.BMIE */
- SNBS = SECB /* \_SB_.PCI0.RP01.SECB */
- SOBS = SBBN /* \_SB_.PCI0.RP01.SBBN */
- BMIE = 0x00
- SECB = 0xFF
- SBBN = 0xFE
- Local0 = TPEN /* \_SB_.PCI0.RP01.TPEN */
- LDIS = 0x01
- Local0 = (Timer + 0x00989680)
- While ((Timer <= Local0))
- {
- If ((LACT == 0x00))
- {
- LPFL = (LPFL & ~0x10)
- Break
- }
- Sleep (0x0A)
- }
- If ((LPFL & 0x10))
- {
- LPFL = (LPFL | (0x10 | 0x40))
- }
- GP49 = 0x00
- Sleep (0x32)
- }
- Method (C4LP, 0, Serialized)
- {
- If (!OSDW ())
- {
- Return (Zero)
- }
- If ((((LPFL & 0x04) == 0x00) && ((LPFL & 0x02
- ) == 0x02)))
- {
- LPFL = (LPFL & ~0x10)
- C4PD ()
- LPFL = (LPFL | 0x04)
- Return (Zero)
- }
- If ((((LPFL & 0x04) == 0x04) && ((LPFL &
- 0x02) != 0x02)))
- {
- LPFL = (LPFL & ~0x20)
- C4PU ()
- LPFL = (LPFL & ~0x04)
- Return (Zero)
- }
- Return (Zero)
- }
- Device (SDXC)
- {
- Name (_ADR, 0x01) // _ADR: Address
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x1E,
- 0x03
- })
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (0x00)
- }
- OperationRegion (ARE1, PCI_Config, 0x00, 0x04)
- Field (ARE1, ByteAcc, NoLock, Preserve)
- {
- AVND, 16
- }
- Name (SDAF, 0x04)
- Name (_GPE, 0x1E) // _GPE: General Purpose Events
- Method (SLPR, 1, Serialized)
- {
- If (Arg0)
- {
- LPFL = (LPFL | 0x02)
- }
- Else
- {
- LPFL = (LPFL & ~0x02)
- }
- C4LP ()
- Return (LPFL) /* \_SB_.PCI0.RP01.LPFL */
- }
- }
- }
- Scope (\_SB.PCI0.RP02)
- {
- OperationRegion (A1E0, PCI_Config, 0x00, 0xFF)
- Field (A1E0, ByteAcc, NoLock, Preserve)
- {
- Offset (0x04),
- BMIE, 3,
- Offset (0x19),
- SECB, 8,
- SBBN, 8,
- Offset (0x1E),
- , 13,
- MABT, 1,
- Offset (0x4A),
- , 5,
- TPEN, 1,
- Offset (0x50),
- , 4,
- LDIS, 1,
- , 24,
- LACT, 1,
- Offset (0xA4),
- PSTA, 2
- }
- Method (_BBN, 0, NotSerialized) // _BBN: BIOS Bus Number
- {
- If (((BMIE == 0x00) && (SECB == 0xFF)))
- {
- Return (SNBS) /* \_SB_.PCI0.RP02.SNBS */
- }
- Else
- {
- Return (SECB) /* \_SB_.PCI0.RP02.SECB */
- }
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- Return (0x0F)
- }
- Name (BMIS, 0x00)
- Name (SNBS, 0x00)
- Name (SOBS, 0x00)
- Method (APPD, 0, Serialized)
- {
- If ((!OSDW () || ((WOWE == 0x01) || (TAPD != 0x01))))
- {
- Return (Zero)
- }
- \_SB.PCI0.RP02.ARPT.PSTA = 0x03
- If ((((BMIE != 0x00) && (BMIE != BMIS)) && (
- ((SECB != 0x00) && (SECB != SNBS)) && ((SBBN !=
- 0x00) && (SBBN != SOBS)))))
- {
- BMIS = BMIE /* \_SB_.PCI0.RP02.BMIE */
- SNBS = SECB /* \_SB_.PCI0.RP02.SECB */
- SOBS = SBBN /* \_SB_.PCI0.RP02.SBBN */
- }
- BMIE = 0x00
- SECB = 0xFF
- SBBN = 0xFE
- Local0 = TPEN /* \_SB_.PCI0.RP02.TPEN */
- PSTA = 0x03
- Local0 = TPEN /* \_SB_.PCI0.RP02.TPEN */
- LDIS = 0x01
- Local0 = (Timer + 0x00989680)
- While ((Timer <= Local0))
- {
- If ((LACT == 0x00))
- {
- Break
- }
- Sleep (0x0A)
- }
- GP10 = 0x00
- GD10 = 0x00
- Sleep (0x0107)
- Return (Zero)
- }
- Method (APPU, 0, Serialized)
- {
- If ((!OSDW () || ((WOWE == 0x01) || (TAPD != 0x01))))
- {
- Return (Zero)
- }
- Local0 = 0x00
- PSTA = 0x00
- SBBN = SOBS /* \_SB_.PCI0.RP02.SOBS */
- SECB = SNBS /* \_SB_.PCI0.RP02.SNBS */
- LDIS = 0x00
- If (((GD10 == 0x01) && (GP10 == 0x01)))
- {
- Return (Zero)
- }
- While (0x01)
- {
- GD10 = 0x01
- Sleep (0xFA)
- Local1 = 0x00
- Local2 = (Timer + 0x00989680)
- While ((Timer <= Local2))
- {
- If (((LACT == 0x01) && (\_SB.PCI0.RP02.ARPT.AVND != 0xFFFF)))
- {
- Local1 = 0x01
- Break
- }
- Sleep (0x0A)
- }
- If ((Local1 == 0x01))
- {
- MABT = 0x01
- Break
- }
- If ((Local0 == 0x04))
- {
- Break
- }
- Local0++
- GD10 = 0x00
- GP10 = 0x00
- Sleep (0x0107)
- }
- Return (Zero)
- }
- Method (ALPR, 1, NotSerialized)
- {
- If ((Arg0 == 0x01))
- {
- APPD ()
- }
- Else
- {
- APPU ()
- }
- }
- Method (_PS0, 0, Serialized) // _PS0: Power State 0
- {
- ALPR (0x00)
- }
- Method (_PS3, 0, Serialized) // _PS3: Power State 3
- {
- ALPR (0x01)
- }
- Device (ARPT)
- {
- Name (_ADR, 0x00) // _ADR: Address
- OperationRegion (ARE2, PCI_Config, 0x00, 0xFF)
- Field (ARE2, ByteAcc, NoLock, Preserve)
- {
- AVND, 16,
- ADID, 16,
- Offset (0x44),
- PSTA, 2
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- Return (0x0F)
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x03
- })
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (0x00)
- }
- Method (WWEN, 1, NotSerialized)
- {
- WOWE = Arg0
- }
- Method (PDEN, 1, NotSerialized)
- {
- TAPD = Arg0
- }
- }
- }
- }
- Device (ADP1)
- {
- Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x23,
- 0x04
- })
- Name (WK00, 0x01)
- Method (SWAK, 1, NotSerialized)
- {
- WK00 = (Arg0 & 0x03)
- If (!WK00)
- {
- WK00 = 0x01
- }
- }
- Method (_PSR, 0, NotSerialized) // _PSR: Power Source
- {
- Return (PWRS) /* \PWRS */
- }
- Method (_PCL, 0, NotSerialized) // _PCL: Power Consumer List
- {
- Return (\_SB)
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (OSDW ())
- {
- If (\_SB.PCI0.LPCB.EC.ECOK)
- {
- If (Arg0)
- {
- If ((WK00 & 0x01))
- {
- \_SB.PCI0.LPCB.EC.EWAI = 0x01
- }
- If ((WK00 & 0x02))
- {
- \_SB.PCI0.LPCB.EC.EWAR = 0x01
- }
- }
- Else
- {
- \_SB.PCI0.LPCB.EC.EWAI = 0x00
- \_SB.PCI0.LPCB.EC.EWAR = 0x00
- }
- }
- }
- }
- }
- Device (LID0)
- {
- Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x23,
- 0x04
- })
- Method (_LID, 0, NotSerialized) // _LID: Lid Status
- {
- Return (LIDS) /* \LIDS */
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (\_SB.PCI0.LPCB.EC.ECOK)
- {
- If (Arg0)
- {
- \_SB.PCI0.LPCB.EC.EWLO = 0x01
- }
- Else
- {
- \_SB.PCI0.LPCB.EC.EWLO = 0x00
- }
- }
- }
- }
- Device (PWRB)
- {
- Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID
- }
- }
- Scope (\_PR)
- {
- Processor (CPU0, 0x01, 0x00000410, 0x06){}
- Processor (CPU1, 0x02, 0x00000410, 0x06){}
- Processor (CPU2, 0x03, 0x00000410, 0x06){}
- Processor (CPU3, 0x04, 0x00000410, 0x06){}
- Processor (CPU4, 0x05, 0x00000410, 0x06){}
- Processor (CPU5, 0x06, 0x00000410, 0x06){}
- Processor (CPU6, 0x07, 0x00000410, 0x06){}
- Processor (CPU7, 0x08, 0x00000410, 0x06){}
- }
- Mutex (MUTX, 0x00)
- OperationRegion (PRT0, SystemIO, 0x80, 0x04)
- Field (PRT0, DWordAcc, Lock, Preserve)
- {
- P80H, 32
- }
- OperationRegion (PLMT, SystemIO, 0x0310, 0x0A)
- Field (PLMT, WordAcc, Lock, Preserve)
- {
- CPLT, 8,
- IGPS, 8,
- MPLT, 8,
- CFIL, 8,
- EGPS, 8
- }
- Method (P8XH, 2, Serialized)
- {
- If ((Arg0 == 0x00))
- {
- P80D = ((P80D & 0xFFFFFF00) | Arg1)
- }
- If ((Arg0 == 0x01))
- {
- P80D = ((P80D & 0xFFFF00FF) | (Arg1 << 0x08))
- }
- If ((Arg0 == 0x02))
- {
- P80D = ((P80D & 0xFF00FFFF) | (Arg1 << 0x10))
- }
- If ((Arg0 == 0x03))
- {
- P80D = ((P80D & 0x00FFFFFF) | (Arg1 << 0x18))
- }
- P80H = P80D /* \P80D */
- }
- OperationRegion (SPRT, SystemIO, 0xB2, 0x02)
- Field (SPRT, ByteAcc, Lock, Preserve)
- {
- SSMP, 8,
- SSMY, 8
- }
- Method (\_PIC, 1, NotSerialized) // _PIC: Interrupt Model
- {
- GPIC = Arg0
- PICM = Arg0
- }
- Method (GETB, 3, Serialized)
- {
- Local0 = (Arg0 * 0x08)
- Local1 = (Arg1 * 0x08)
- CreateField (Arg2, Local0, Local1, TBF3)
- Return (TBF3) /* \GETB.TBF3 */
- }
- Method (PNOT, 0, Serialized)
- {
- If ((TCNT > 0x01))
- {
- If ((PDC0 & 0x08))
- {
- Notify (\_PR.CPU0, 0x80) // Performance Capability Change
- If ((PDC0 & 0x10))
- {
- Notify (\_PR.CPU0, 0x81) // C-State Change
- }
- }
- If ((PDC1 & 0x08))
- {
- Notify (\_PR.CPU1, 0x80) // Performance Capability Change
- If ((PDC1 & 0x10))
- {
- Notify (\_PR.CPU1, 0x81) // C-State Change
- }
- }
- If ((PDC2 & 0x08))
- {
- Notify (\_PR.CPU2, 0x80) // Performance Capability Change
- If ((PDC2 & 0x10))
- {
- Notify (\_PR.CPU2, 0x81) // C-State Change
- }
- }
- If ((PDC3 & 0x08))
- {
- Notify (\_PR.CPU3, 0x80) // Performance Capability Change
- If ((PDC3 & 0x10))
- {
- Notify (\_PR.CPU3, 0x81) // C-State Change
- }
- }
- If ((PDC4 & 0x08))
- {
- Notify (\_PR.CPU4, 0x80) // Performance Capability Change
- If ((PDC4 & 0x10))
- {
- Notify (\_PR.CPU4, 0x81) // C-State Change
- }
- }
- If ((PDC5 & 0x08))
- {
- Notify (\_PR.CPU5, 0x80) // Performance Capability Change
- If ((PDC5 & 0x10))
- {
- Notify (\_PR.CPU5, 0x81) // C-State Change
- }
- }
- If ((PDC6 & 0x08))
- {
- Notify (\_PR.CPU6, 0x80) // Performance Capability Change
- If ((PDC6 & 0x10))
- {
- Notify (\_PR.CPU6, 0x81) // C-State Change
- }
- }
- If ((PDC7 & 0x08))
- {
- Notify (\_PR.CPU7, 0x80) // Performance Capability Change
- If ((PDC7 & 0x10))
- {
- Notify (\_PR.CPU7, 0x81) // C-State Change
- }
- }
- }
- Else
- {
- Notify (\_PR.CPU0, 0x80) // Performance Capability Change
- Notify (\_PR.CPU0, 0x81) // C-State Change
- }
- }
- Method (TRAP, 2, Serialized)
- {
- SMIF = Arg1
- If ((Arg0 == \TRTP))
- {
- TRP0 = 0x00
- }
- If ((Arg0 == \TRTD))
- {
- DTSF = Arg1
- TRPD = 0x00
- Return (DTSF) /* \DTSF */
- }
- If ((Arg0 == \TRTI))
- {
- TRPH = 0x00
- }
- Return (SMIF) /* \SMIF */
- }
- Scope (\_SB)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- PINI ()
- }
- Device (PNLF)
- {
- Name (_ADR, 0x00) // _ADR: Address
- Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID
- Name (_CID, "backlight") // _CID: Compatible ID
- Name (_UID, 0x0E) // _UID: Unique ID
- Name (_STA, 0x0B) // _STA: Status
- }
- Device (SLPB)
- {
- Name (_HID, EisaId ("PNP0C0E") /* Sleep Button Device */) // _HID: Hardware ID
- Name (_STA, 0x0B) // _STA: Status
- }
- }
- Scope (\_SB.PCI0)
- {
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- \_SB.PCI0.RMCR ()
- OSYS = 0x07DC
- If (CondRefOf (\_OSI, Local0))
- {
- If (_OSI ("Darwin"))
- {
- OSYS = 0x2710
- }
- If (\_OSI ("Linux"))
- {
- OSYS = 0x03E8
- }
- If (\_OSI ("Windows 2009"))
- {
- OSYS = 0x07D9
- }
- If (\_OSI ("Windows 2012"))
- {
- OSYS = 0x07DC
- }
- }
- }
- Method (NHPG, 0, Serialized)
- {
- }
- Method (NPME, 0, Serialized)
- {
- }
- }
- Scope (\)
- {
- Name (PICM, 0x00)
- Method (OSDW, 0, NotSerialized)
- {
- If ((OSYS == 0x2710))
- {
- Return (0x01)
- }
- Else
- {
- Return (0x00)
- }
- }
- Method (PINI, 0, NotSerialized)
- {
- OSYS = 0x07DC
- If (CondRefOf (_OSI, Local0))
- {
- If (_OSI ("Darwin"))
- {
- OSYS = 0x2710
- }
- ElseIf (_OSI ("Linux"))
- {
- OSYS = 0x03E8
- }
- ElseIf (_OSI ("Windows 2009"))
- {
- OSYS = 0x07D9
- }
- ElseIf (_OSI ("Windows 2012"))
- {
- OSYS = 0x07DC
- }
- }
- Else
- {
- OSYS = 0x07DC
- }
- }
- }
- Scope (\_SB.PCI0)
- {
- Device (PDRC)
- {
- Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
- Name (_UID, 0x01) // _UID: Unique ID
- Name (BUF0, ResourceTemplate ()
- {
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00004000, // Address Length
- _Y17)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00008000, // Address Length
- _Y19)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y1A)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y1B)
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00000000, // Address Length
- _Y1C)
- Memory32Fixed (ReadWrite,
- 0xFED20000, // Address Base
- 0x00020000, // Address Length
- )
- Memory32Fixed (ReadOnly,
- 0xFED90000, // Address Base
- 0x00004000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED45000, // Address Base
- 0x0004B000, // Address Length
- )
- Memory32Fixed (ReadOnly,
- 0xFF000000, // Address Base
- 0x01000000, // Address Length
- )
- Memory32Fixed (ReadOnly,
- 0xFEE00000, // Address Base
- 0x00100000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0x00000000, // Address Base
- 0x00001000, // Address Length
- _Y18)
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y17._BAS, RBR0) // _BAS: Base Address
- RBR0 = (\_SB.PCI0.LPCB.RCBA << 0x0E)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y18._BAS, TBR0) // _BAS: Base Address
- TBR0 = TBAB /* \TBAB */
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y18._LEN, TBLN) // _LEN: Length
- If ((TBAB == 0x00))
- {
- TBLN = 0x00
- }
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y19._BAS, MBR0) // _BAS: Base Address
- MBR0 = (\_SB.PCI0.MHBR << 0x0F)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y1A._BAS, DBR0) // _BAS: Base Address
- DBR0 = (\_SB.PCI0.DIBR << 0x0C)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y1B._BAS, EBR0) // _BAS: Base Address
- EBR0 = (\_SB.PCI0.EPBR << 0x0C)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y1C._BAS, XBR0) // _BAS: Base Address
- XBR0 = (\_SB.PCI0.PXBR << 0x1A)
- CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y1C._LEN, XSZ0) // _LEN: Length
- XSZ0 = (0x10000000 >> \_SB.PCI0.PXSZ)
- Return (BUF0) /* \_SB_.PCI0.PDRC.BUF0 */
- }
- }
- }
- Scope (\)
- {
- OperationRegion (IO_T, SystemIO, 0x1000, 0x10)
- Field (IO_T, ByteAcc, NoLock, Preserve)
- {
- TRPI, 16,
- Offset (0x04),
- Offset (0x06),
- Offset (0x08),
- TRP0, 8,
- Offset (0x0A),
- Offset (0x0B),
- Offset (0x0C),
- Offset (0x0D),
- Offset (0x0E),
- Offset (0x0F),
- Offset (0x10)
- }
- OperationRegion (IO_D, SystemIO, 0x0810, 0x04)
- Field (IO_D, ByteAcc, NoLock, Preserve)
- {
- TRPD, 8
- }
- OperationRegion (IO_H, SystemIO, 0x1000, 0x04)
- Field (IO_H, ByteAcc, NoLock, Preserve)
- {
- TRPH, 8
- }
- OperationRegion (PMIO, SystemIO, \PMBS, 0x80)
- Field (PMIO, ByteAcc, NoLock, Preserve)
- {
- Offset (0x20),
- , 1,
- , 1,
- SPST, 1,
- , 3,
- , 6,
- , 1,
- , 1,
- Offset (0x22),
- , 9,
- GS09, 1,
- , 3,
- GS13, 1,
- Offset (0x24),
- , 3,
- , 1,
- Offset (0x28),
- , 1,
- , 2,
- , 3,
- , 6,
- , 1,
- , 1,
- Offset (0x2A),
- , 9,
- GE09, 1,
- , 3,
- GE13, 1,
- Offset (0x2C),
- , 3,
- , 1,
- Offset (0x30),
- Offset (0x42),
- , 1,
- GPEC, 1,
- , 1,
- Offset (0x43),
- Offset (0x64),
- , 4,
- , 3,
- , 2,
- SCIS, 1,
- , 4,
- Offset (0x66)
- }
- OperationRegion (GPIO, SystemIO, \GPBS, 0x64)
- Field (GPIO, ByteAcc, NoLock, Preserve)
- {
- , 5,
- GU05, 1,
- Offset (0x01),
- GUV1, 8,
- GUV2, 8,
- GUV3, 8,
- GD00, 4,
- GD04, 1,
- , 5,
- GD10, 1,
- , 1,
- GD12, 1,
- , 1,
- GD14, 1,
- Offset (0x07),
- GD24, 1,
- Offset (0x08),
- Offset (0x0C),
- , 3,
- GP03, 1,
- GP04, 1,
- GP05, 1,
- GP06, 1,
- GP07, 1,
- GP08, 1,
- GP09, 1,
- GP10, 1,
- GP11, 1,
- GP12, 1,
- GP13, 1,
- GP14, 1,
- GP15, 1,
- GP16, 1,
- GP17, 1,
- GP18, 1,
- GP19, 1,
- GP20, 1,
- GP21, 1,
- GP22, 1,
- GP23, 1,
- GP24, 1,
- , 2,
- GP27, 1,
- GP28, 1,
- Offset (0x10),
- Offset (0x18),
- GB00, 8,
- GB01, 8,
- GB02, 8,
- GB03, 8,
- Offset (0x2C),
- , 3,
- GI03, 1,
- GI04, 1,
- GI05, 1,
- GI06, 1,
- Offset (0x2D),
- GI08, 1,
- GI09, 1,
- GI10, 1,
- GI11, 1,
- Offset (0x2E),
- GIV2, 8,
- GIV3, 8,
- GUV4, 8,
- GUV5, 8,
- GUV6, 8,
- GUV7, 8,
- GIO4, 8,
- GI40, 1,
- GI41, 1,
- GI42, 1,
- , 3,
- GI46, 1,
- Offset (0x36),
- GIO6, 8,
- , 3,
- GI59, 1,
- GI60, 1,
- Offset (0x38),
- , 4,
- GP36, 1,
- Offset (0x39),
- GP40, 1,
- GP41, 1,
- GP42, 1,
- , 2,
- GP45, 1,
- GP46, 1,
- Offset (0x3A),
- GP48, 1,
- GP49, 1,
- GL06, 6,
- , 3,
- GP59, 1,
- GP60, 1,
- Offset (0x3C),
- Offset (0x40),
- GUV8, 8,
- GUV9, 8,
- GUVA, 8,
- GUVB, 8,
- GIO8, 4,
- GI68, 1,
- GI69, 1,
- GI70, 1,
- GI71, 1,
- GI72, 1,
- GI73, 1,
- GI74, 1,
- GIO9, 4,
- GIOA, 8,
- GIOB, 8,
- Offset (0x48),
- GP64, 1,
- , 3,
- GP68, 1,
- GP69, 1,
- GL08, 2,
- GP72, 1,
- GP73, 1,
- GP74, 1,
- GL09, 5,
- GL0A, 8,
- GL0B, 8
- }
- OperationRegion (RCRB, SystemMemory, \SRCB, 0x4000)
- Field (RCRB, DWordAcc, Lock, Preserve)
- {
- Offset (0x1000),
- Offset (0x3000),
- Offset (0x3404),
- HPAS, 2,
- , 5,
- HPAE, 1,
- Offset (0x3418),
- , 1,
- , 1,
- SATD, 1,
- SMBD, 1,
- HDAD, 1,
- , 2,
- UH6D, 1,
- UH1D, 1,
- UH2D, 1,
- UH3D, 1,
- UH4D, 1,
- UH5D, 1,
- Offset (0x341A),
- RP1D, 1,
- RP2D, 1,
- RP3D, 1,
- RP4D, 1,
- RP5D, 1,
- RP6D, 1,
- RP7D, 1,
- RP8D, 1,
- , 4,
- UH7D, 1
- }
- }
- Scope (\_GPE)
- {
- Method (_L07, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
- {
- \_SB.PCI0.SBUS.HSTS = 0x20
- }
- Method (_L09, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
- {
- Notify (\_SB.PCI0.P0P2, 0x02) // Device Wake
- Notify (\_SB.PCI0.RP01, 0x02) // Device Wake
- Notify (\_SB.PCI0.RP02, 0x02) // Device Wake
- Notify (\_SB.PCI0.RP03, 0x02) // Device Wake
- \_SB.PCI0.TGPE ()
- Notify (\_SB.PCI0.RP02.ARPT, 0x02) // Device Wake
- }
- Method (_L0D, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
- {
- Notify (\_SB.PWRB, 0x02) // Device Wake
- Notify (\_SB.PCI0.EHC1, 0x02) // Device Wake
- Notify (\_SB.PCI0.EHC2, 0x02) // Device Wake
- If (OSDW ())
- {
- Notify (\_SB.PCI0.HDEF, 0x02) // Device Wake
- }
- }
- }
- Method (DTGP, 5, NotSerialized)
- {
- If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b") /* Unknown UUID */))
- {
- If ((Arg1 == One))
- {
- If ((Arg2 == Zero))
- {
- Arg4 = Buffer (0x01)
- {
- 0x03 // .
- }
- Return (One)
- }
- If ((Arg2 == One))
- {
- Return (One)
- }
- }
- }
- Arg4 = Buffer (0x01)
- {
- 0x00 // .
- }
- Return (Zero)
- }
- Name (_S0, Package (0x03) // _S0_: S0 System State
- {
- 0x00,
- 0x00,
- 0x00
- })
- Name (_S4, Package (0x03) // _S4_: S4 System State
- {
- 0x06,
- 0x06,
- 0x00
- })
- Name (_S5, Package (0x03) // _S5_: S5 System State
- {
- 0x07,
- 0x07,
- 0x00
- })
- Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
- {
- P80D = 0x00
- P8XH (0x00, Arg0)
- \_SB.PCI0.LPCB.EC.ECSS = Arg0
- If (!OSDW ())
- {
- If (((Arg0 == 0x03) || (Arg0 == 0x04)))
- {
- GD24 = 0x01
- Sleep (0x64)
- Sleep (0x64)
- Local0 = 0x0A
- While ((Local0 > 0x00))
- {
- Local0--
- Sleep (0x64)
- If ((GP24 == 0x00))
- {
- Break
- }
- }
- }
- }
- If ((!OSDW () && (Arg0 >= 0x04)))
- {
- \_SB.PCI0.LPCB.EC.EWLO = 0x00
- }
- }
- Method (_WAK, 1, NotSerialized) // _WAK: Wake
- {
- P8XH (0x00, 0x00)
- \_SB.PCI0.LPCB.EC.ECSS = 0x00
- If (OSDW ()){}
- LIDS = \_SB.PCI0.LPCB.EC.ELSW
- \_SB.PCI0.IGPU.CLID = \_SB.PCI0.LPCB.EC.ELSW
- PWRS = \_SB.PCI0.LPCB.EC.EACP
- If (!OSDW ())
- {
- \_SB.PCI0.LPCB.EC.LWE0 = 0x00
- \_SB.PCI0.LPCB.EC.LWE1 = 0x00
- \_SB.PCI0.LPCB.EC.LWE2 = 0x00
- \_SB.PCI0.LPCB.EC.LWE3 = 0x00
- If ((Arg0 == 0x03))
- {
- \_SB.PCI0.DTLK ()
- }
- If ((Arg0 == 0x04))
- {
- \_SB.PCI0.RMCR ()
- }
- }
- \_SB.PCI0.XHC1._INI ()
- PNOT ()
- Return (Package (0x02)
- {
- 0x00,
- 0x00
- })
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment