/* RSD PTR: OEM=HP, ACPI_Rev=2.0x (2) XSDT=0xcfef6120, length=36, cksum=157 */ /* XSDT: Length=92, Revision=1, Checksum=10, OEMID=HPQOEM, OEM Table ID=SLIC-MPC, OEM Revision=0x1, Creator ID=, Creator Revision=0x1000013 Entries={ 0xcfef5000, 0xcfef4000, 0xcfef3000, 0xcfef2000, 0xcfee5000, 0xcfee4000, 0xcfee2000 } */ /* FACP: Length=244, Revision=4, Checksum=195, OEMID=HP, OEM Table ID=SLIC-MPC, OEM Revision=0x3, Creator ID=MSFT, Creator Revision=0x1000013 FACS=0xcfe9c000, DSDT=0xcfee6000 INT_MODEL=PIC Preferred_PM_Profile=Mobile (2) SCI_INT=9 SMI_CMD=0xb0, ACPI_ENABLE=0xa0, ACPI_DISABLE=0xa1, S4BIOS_REQ=0x0 PSTATE_CNT=0x0 PM1a_EVT_BLK=0x400-0x403 PM1a_CNT_BLK=0x404-0x405 PM2_CNT_BLK=0x800-0x800 PM_TMR_BLK=0x408-0x40b GPE0_BLK=0x420-0x427 P_LVL2_LAT=101 us, P_LVL3_LAT=1001 us FLUSH_SIZE=0, FLUSH_STRIDE=0 DUTY_OFFSET=1, DUTY_WIDTH=3 DAY_ALRM=0, MON_ALRM=0, CENTURY=0 IAPC_BOOT_ARCH={LEGACY_DEVICES,8042} Flags={WBINVD,C1_SUPPORTED,SLEEP_BUTTON,S4_RTC_WAKE,32BIT_TIMER,RESET_REGISTER} RESET_REG=0x00000cf9:0[0] (Memory), RESET_VALUE=0x6 X_FACS=0xcfe9c000, X_DSDT=0xcfee6000 X_PM1a_EVT_BLK=0x00000000:0[0] (Memory) X_PM1a_CNT_BLK=0x00000000:0[0] (Memory) X_PM_TMR_BLK=0x00000000:0[0] (Memory) */ /* FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000 Global_Lock= Flags= Version=1 */ /* DSDT: Length=48582, Revision=1, Checksum=195, OEMID=HP, OEM Table ID=SLIC-MPC, OEM Revision=0xf0000000, Creator ID=MSFT, Creator Revision=0x1000013 */ /* HPET: Length=56, Revision=1, Checksum=66, OEMID=HPQOEM, OEM Table ID=SLIC-MPC, OEM Revision=0x1, Creator ID=MSFT, Creator Revision=0x1000013 HPET Number=0 ADDR=0xfed00000:0[0] (Memory) HW Rev=0x1 Comparators=2 Counter Size=1 Legacy IRQ routing capable={TRUE} PCI Vendor ID=0x1002 Minimal Tick=128 */ /* APIC: Length=104, Revision=2, Checksum=10, OEMID=HPQOEM, OEM Table ID=SLIC-MPC, OEM Revision=0x1, Creator ID=MSFT, Creator Revision=0x1000013 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=IO APIC APIC ID=4 INT BASE=0 ADDR=0x00000000fec00000 Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-lo, Trigger=level} 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} */ /* MCFG: Length=60, Revision=1, Checksum=79, OEMID=HPQOEM, OEM Table ID=SLIC-MPC, OEM Revision=0x1, Creator ID=MSFT, Creator Revision=0x1000013 Base Address=0x00000000f7000000 Segment Group=0x0000 Start Bus=0 End Bus=15 */ /* BOOT: Length=40, Revision=1, Checksum=14, OEMID=HPQOEM, OEM Table ID=SLIC-MPC, OEM Revision=0x1, Creator ID=MSFT, Creator Revision=0x1000013 */ /* SLIC: Length=374, Revision=1, Checksum=103, OEMID=HPQOEM, OEM Table ID=SLIC-MPC, OEM Revision=0x1, Creator ID=MSFT, Creator Revision=0x1000013 */ /* SSDT: Length=386, Revision=1, Checksum=164, OEMID=AMD, OEM Table ID=PowerNow, OEM Revision=0x1, Creator ID=AMD, Creator Revision=0x1 */ /* * Intel ACPI Component Architecture * AML Disassembler version 20101013-64 * Copyright (c) 2000 - 2010 Intel Corporation * * Disassembly of /usr/home/jhs/tmp/acpidump.9mBTNG, Tue Jan 17 18:21:50 2012 * * Original Table Header: * Signature "DSDT" * Length 0x0000BF24 (48932) * Revision 0x01 **** ACPI 1.0, no 64-bit math support * Checksum 0x30 * OEM ID "HP " * OEM Table ID "SLIC-MPC" * OEM Revision 0xF0000000 (4026531840) * Compiler ID "MSFT" * Compiler Version 0x01000013 (16777235) */ DefinitionBlock ("/usr/home/jhs/tmp/acpidump.aml", "DSDT", 1, "HP ", "SLIC-MPC", 0xF0000000) { OperationRegion (DBG0, SystemIO, 0x80, One) Field (DBG0, ByteAcc, NoLock, Preserve) { IO80, 8 } OperationRegion (DEB2, SystemIO, 0x80, 0x02) Field (DEB2, WordAcc, NoLock, Preserve) { P80H, 16 } OperationRegion (CMS7, SystemIO, 0x70, 0x02) Field (CMS7, ByteAcc, NoLock, Preserve) { CMNX, 8, CMDA, 8 } IndexField (CMNX, CMDA, ByteAcc, NoLock, Preserve) { Offset (0x73), CMDB, 8 } OperationRegion (ACMS, SystemIO, 0x72, 0x02) Field (ACMS, ByteAcc, NoLock, Preserve) { INDX, 8, DATA, 8 } IndexField (INDX, DATA, ByteAcc, NoLock, Preserve) { Offset (0x74), BTWI, 1, WLWI, 1, WWWI, 1, BTNS, 1, CBTP, 1, CWLP, 1, CWWP, 1, WFLG, 1, UND0, 1, UND1, 1, UND2, 1, WANT, 1, GPSA, 1, CPTE, 1, S4ST, 1, SIMD, 1, CVDL, 8, CVDH, 8, CPDL, 8, CPDH, 8, Offset (0xE2), EFID, 8, Offset (0xE4), HTMS, 8, Offset (0xEA), CBRL, 8, Offset (0xF0), GDDS, 8 } OperationRegion (PSMI, SystemIO, 0xB0, 0x02) Field (PSMI, ByteAcc, NoLock, Preserve) { APMC, 8, APMD, 8 } OperationRegion (PMRG, SystemIO, 0x0CD6, 0x02) Field (PMRG, ByteAcc, NoLock, Preserve) { PMRI, 8, PMRD, 8 } IndexField (PMRI, PMRD, ByteAcc, NoLock, Preserve) { , 1, TM1E, 1, TM2E, 1, Offset (0x01), , 1, TM1S, 1, TM2S, 1, Offset (0x04), , 7, SLPS, 1, Offset (0x07), , 7, CLPS, 1, Offset (0x10), , 6, PWDE, 1, Offset (0x1C), , 3, MKME, 1, PI3E, 1, PI2E, 1, PI1E, 1, PI0E, 1, , 3, MKMS, 1, PI3S, 1, PI2S, 1, PI1S, 1, PI0S, 1, Offset (0x20), P1EB, 16, Offset (0x36), , 6, GV6P, 1, GV7P, 1, , 3, GM0P, 1, GM1P, 1, GM2P, 1, GM3P, 1, GM8P, 1, , 1, GM4P, 1, GM5P, 1, , 1, GM6P, 1, GM7P, 1, Offset (0x3B), GPX0, 1, GPX4, 1, GPX5, 1, GPX1, 1, GPX6, 1, GPX7, 1, GPX2, 1, GPX3, 1, Offset (0x55), SPRE, 1, , 1, , 1, EPNM, 1, DPPF, 1, FNGS, 1, Offset (0x61), , 7, R617, 1, Offset (0x65), , 4, RSTU, 1, Offset (0x68), , 3, TPDE, 1, , 1, Offset (0x84), WPNE, 1, WPAG, 1, Offset (0x92), , 7, GV7S, 1, Offset (0x9A), , 7, HECO, 1, Offset (0xA8), TPE0, 1, TPE1, 1, TPE2, 1, TPE3, 1 } OperationRegion (P1E0, SystemIO, P1EB, 0x04) Field (P1E0, ByteAcc, NoLock, Preserve) { , 14, PEWS, 1, WSTA, 1, , 14, PEWD, 1 } OperationRegion (IOCC, SystemIO, 0x0400, 0x80) Field (IOCC, ByteAcc, NoLock, Preserve) { Offset (0x01), , 2, RTCS, 1 } Name (PCM1, Zero) Name (IW1S, Zero) Name (IW2S, Zero) Method (OT80, 1, NotSerialized) { Store (Arg0, APMD) Store (0xE5, APMC) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) } Name (PS48, Zero) Name (PS49, Zero) Name (PS4A, Zero) Name (PS4B, Zero) Name (PRWP, Package (0x02) { Zero, Zero }) Method (GPRW, 2, NotSerialized) { Store (Arg0, Index (PRWP, Zero)) Store (Arg1, Index (PRWP, One)) If (LAnd (LEqual (DAS3, Zero), LEqual (DAS1, Zero))) { If (LLessEqual (Arg1, 0x03)) { Store (Zero, Index (PRWP, One)) } } Else { If (LAnd (LEqual (DAS3, Zero), LEqual (Arg1, 0x03))) { Store (One, Index (PRWP, One)) } If (LAnd (LEqual (DAS1, Zero), LEqual (Arg1, One))) { Store (Zero, Index (PRWP, One)) } } Return (PRWP) } Method (SPTS, 1, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Zero, RSTU) } Store (One, CLPS) Store (One, SLPS) Store (Zero, PWDE) } Method (SWAK, 1, NotSerialized) { Store (One, HECO) If (LEqual (Arg0, 0x03)) { Store (One, RSTU) } Store (PEWS, PEWS) Store (One, PWDE) Store (Zero, PEWD) \_SB.PCI0.SMBS.PLND () } Method (TRMD, 1, NotSerialized) { Store (Arg0, SPRE) Store (Arg0, TPDE) } Method (CHKH, 0, NotSerialized) { Store (\_SB.PCI0.LPC0.RGPM (), Local0) If (And (Local0, 0x20)) { Store (Zero, \_SB.PCI0.SMBS.GM5C) } Else { Store (One, \_SB.PCI0.SMBS.GM5C) } } OperationRegion (MBOX, SystemMemory, 0xCFEBE918, 0x000002BC) Field (MBOX, AnyAcc, NoLock, Preserve) { PCI1, 8, PCI2, 8, PCI3, 8, PCI4, 8, PCI5, 8, PCI6, 8, PCI7, 8, PCI8, 8, NLCK, 8, ZIPE, 8, COMA, 8, CAIO, 8, CAIP, 8, CAMD, 8, CADA, 8, COMB, 8, CBIO, 8, CBIP, 8, CBMD, 8, CBDA, 8, FHSD, 8, COMC, 8, CCIO, 8, CCIP, 8, CCMD, 8, CCDA, 8, COMD, 8, CDIO, 8, CDIP, 8, CDMD, 8, CDDA, 8, LPT1, 8, L1IO, 8, L1IP, 8, L1MD, 8, L1DA, 8, LPT2, 8, L2IO, 8, L2IP, 8, L2MD, 8, L2DA, 8, LPT3, 8, L3IO, 8, L3IP, 8, L3MD, 8, L3DA, 8, FDDC, 8, FDWP, 8, HGMP, 8, LGMP, 8, MIDI, 8, AZLA, 8, AUDO, 8, MODM, 8, IDEC, 8, SSED, 8, PACT, 8, SCFG, 8, AMOD, 8, IMOD, 8, LCFG, 8, IDLY, 8, PMTP, 8, PMIO, 8, PMBM, 8, PMTM, 8, PSTP, 8, PSIO, 8, PSBM, 8, PSTM, 8, IDE0, 8, IDE1, 8, IDE2, 8, IDE3, 8, IDE4, 8, IDE5, 8, IDE6, 8, IDE7, 8, HIUB, 8, LUBS, 8, PLYT, 8, EDCG, 8, SDFY, 8, SDTC, 8, SDRP, 8, SDCL, 8, SDRC, 8, SDRE, 8, FC2L, 8, FC3L, 8, FCS4, 8, APIM, 8, HPTS, 8, HPTA, 8, EMAS, 8, VGAO, 8, SOFF, 8, KBPO, 8, MSPO, 8, USBB, 8, EVTL, 8, SYBE, 8, ETLC, 8, AC30, 8, TPMD, 8, TPMO, 8, TPMC, 8, TPMM, 8, TPCC, 8, TPLC, 8, TPLR, 32, QBOT, 8, QTBT, 8, PBOT, 8, M256, 8, PEGF, 8, ORTS, 16, BMTP, 8, BNPT, 8, LNMT, 8, NBTO, 8, NABD, 8, NEBD, 8, NLBD, 8, DFBT, 16, NPSP, 16, LANG, 8, UACL, 8, SUPS, 8, DVET, 8, S3RS, 8, DAS1, 8, DAS3, 8, WKPM, 8, WKMD, 8, WKS5, 8, HOUR, 8, MINS, 8, SECS, 8, DOFM, 8, NBTV, 64, BTOD, 64, SPVP, 16, POPD, 16, USPW, 16, HDPW, 16, SAHP, 16, SAHF, 8, SUVF, 8, USRF, 8, UMPW, 8, SMHP, 16, SAMP, 16, SAMF, 8, SPFA, 8, SPFB, 8, SPFC, 8, SPFD, 8, SPFE, 8, SPFF, 8, SPFG, 8, SPFH, 8, SPFI, 8, SPFJ, 8, SPFK, 8, SPFL, 8, SPFM, 8, SPFN, 8, SPFO, 8, SPFP, 8, SPFQ, 8, SPFR, 8, SPFS, 8, SPFT, 8, SPFU, 8, SPFV, 8, SPFW, 8, SPFX, 8, SPFY, 8, SPFZ, 8, SPF0, 8, SPF1, 8, SPF2, 8, SPF3, 8, SPF4, 8, SPF5, 8, KRSV, 136, LIMF, 8, LIMS, 8, IGMT, 8, PWST, 8, PNOW, 8, FNON, 8, TRON, 8, PCRR, 8, C4EN, 8, C43D, 8, MPST, 8, VTSP, 8, VTFT, 8, PFMP, 8, PVAT, 8, OHC0, 8, OHC1, 8, OHC2, 8, OHC3, 8, OHC4, 8, EHC0, 8, EHC1, 8, SATE, 8, EC1E, 8, ESVM, 8, MCLC, 8, MCLV, 8, HTFR, 8, HTWD, 8, GSPL, 8, P2G2, 8, P2LA, 8, P2LW, 8, P2SP, 8, P2LI, 8, P2CM, 8, P4G2, 8, P4LA, 8, P4LI, 8, P4CM, 8, P5G2, 8, P5LA, 8, P5LI, 8, P5CM, 8, P6G2, 8, P6LA, 8, P6LI, 8, P6CM, 8, P7G2, 8, P7LA, 8, P7LI, 8, P7CM, 8, P8LA, 8, P8VT, 8, P8CM, 8, P9G2, 8, P9LA, 8, P9LI, 8, P9CM, 8, PAG2, 8, PALA, 8, PALI, 8, PACM, 8, UMAR, 8, CPST, 8, OSCS, 8, SSSW, 8, OBLS, 8, SVFS, 8, AHCM, 8, AORS, 8, XGPS, 8, CMEN, 8, CMPC, 8, CMHT, 8, CBIF, 8, TCFN, 8, GFL0, 8, GL0C, 8, GL0M, 8, GFL1, 8, GL1C, 8, GL1M, 8, GFL2, 8, GL2C, 8, GL2M, 8, GFL3, 8, GL3C, 8, GL3M, 8, HDAU, 8, CRSV, 1680, FDLY, 8, CDBT, 8, FPBT, 8, FF11, 8, CPBT, 8, CPTR, 8, DSME, 8, D3E, 8, FANO, 8, VGAF, 8, OSFG, 8, DSVM, 8, SEHD, 8, AKM, 8, IOSE, 8, IOST, 8, ORSV, 432, DRSV, 800 } OperationRegion (NVST, SystemMemory, 0xCFEBEBD4, 0x00000157) Field (NVST, AnyAcc, Lock, Preserve) { SMIF, 8, PRM0, 8, PRM1, 8, BRTL, 8, TLST, 8, IGDS, 8, LCDA, 16, CSTE, 16, NSTE, 16, CADL, 16, PADL, 16, LIDS, 8, PWRS, 8, BVAL, 32, ADDL, 16, BCMD, 8, DID, 32, INFO, 2048, TOML, 8, TOMH, 8, CEBP, 8, C0LS, 8, C1LS, 8, C0HS, 8, C1HS, 8, ROMS, 32, MUXF, 8, VMOD, 8, ADEV, 8, P80C, 8, SWOV, 8, SWVG, 8, SRV0, 32, CKEY, 32, DTRC, 4, , 1, , 1, , 1, Offset (0x137), , 1, , 1, , 1, , 1, , 1, , 1, UND3, 2, WVDL, 8, WVDH, 8, WPDL, 8, WPDH, 8, BTID, 32, CMTF, 8, CMTI, 32, CMTO, 8, SID0, 8, SID1, 8, SID2, 8, SID3, 8, SID4, 8, SID5, 8, SID6, 8, SID7, 8, IOEV, 64, IOSS, 8 } Method (SCMP, 2, NotSerialized) { Name (STG1, Buffer (0x50) {}) Name (STG2, Buffer (0x50) {}) Store (Arg0, STG1) Store (Arg1, STG2) If (LNotEqual (SizeOf (Arg0), SizeOf (Arg1))) { Return (Zero) } Store (Zero, Local0) While (LLess (Local0, SizeOf (Arg0))) { If (LNotEqual (DerefOf (Index (STG1, Local0)), DerefOf (Index ( STG2, Local0)))) { Return (Zero) } Increment (Local0) } Return (One) } Name (WNOS, Zero) Method (CKOS, 0, NotSerialized) { If (LEqual (WNOS, Zero)) { If (SCMP (_OS, "Microsoft Windows")) { Store (One, WNOS) } If (SCMP (_OS, "Microsoft Windows NT")) { Store (0x02, WNOS) } If (SCMP (_OS, "Microsoft WindowsME: Millennium Edition")) { Store (0x03, WNOS) } If (CondRefOf (_OSI, Local0)) { If (SCMP (_OS, "Windows 2006")) { Store (0x05, WNOS) } Else { Store (0x04, WNOS) } } } Return (WNOS) } Name (MYOS, Zero) Name (HTTS, Zero) 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) } Name (OSTB, Ones) Name (TPOS, Zero) Name (LINX, Zero) Method (OSTP, 0, NotSerialized) { If (LEqual (OSTB, Ones)) { If (CondRefOf (_OSI, Local0)) { Store (Zero, OSTB) Store (Zero, TPOS) If (_OSI ("Windows 2001")) { Store (0x08, OSTB) Store (0x08, TPOS) } If (_OSI ("Windows 2001.1")) { Store (0x20, OSTB) Store (0x20, TPOS) } If (_OSI ("Windows 2001 SP1")) { Store (0x10, OSTB) Store (0x10, TPOS) } If (_OSI ("Windows 2001 SP2")) { Store (0x11, OSTB) Store (0x11, TPOS) } If (_OSI ("Windows 2001 SP3")) { Store (0x12, OSTB) Store (0x12, TPOS) } If (_OSI ("Windows 2006")) { Store (0x40, OSTB) Store (0x40, TPOS) } If (_OSI ("Windows 2006 SP1")) { Store (0x41, OSTB) Store (0x40, TPOS) } If (_OSI ("Windows 2009")) { Store (0x42, OSTB) Store (0x40, TPOS) } If (_OSI ("Linux")) { Store (One, LINX) Store (0x80, OSTB) Store (0x80, TPOS) } } Else { If (CondRefOf (_OS, Local0)) { If (SEQL (_OS, "Microsoft Windows")) { Store (One, OSTB) Store (One, 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 (Zero, OSTB) Store (Zero, TPOS) } } } } Else { Store (Zero, OSTB) Store (Zero, TPOS) } } } Return (OSTB) } Scope (_PR) { Processor (C000, 0x00, 0x00000410, 0x06) {} Processor (C001, 0x01, 0x00000000, 0x00) {} Processor (C002, 0x02, 0x00000000, 0x00) {} Processor (C003, 0x03, 0x00000000, 0x00) {} } Name (_S0, Package (0x04) { Zero, Zero, Zero, Zero }) If (LEqual (DAS1, One)) { Name (_S1, Package (0x04) { One, Zero, Zero, Zero }) } If (LEqual (DAS3, One)) { Name (_S3, Package (0x04) { 0x03, Zero, Zero, Zero }) } Name (_S4, Package (0x04) { 0x04, Zero, Zero, Zero }) Name (_S5, Package (0x04) { 0x05, Zero, Zero, Zero }) Scope (_GPE) { Method (_L04, 0, NotSerialized) { Notify (\_SB.PCI0.P2P, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L0B, 0, NotSerialized) { Notify (\_SB.PCI0.USB0, 0x02) Notify (\_SB.PCI0.USB1, 0x02) Notify (\_SB.PCI0.USB2, 0x02) Notify (\_SB.PCI0.USB3, 0x02) Notify (\_SB.PCI0.USB4, 0x02) Notify (\_SB.PCI0.USB5, 0x02) Notify (\_SB.PCI0.USB6, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L12, 0, NotSerialized) { Notify (\_SB.PCI0.PB4, 0x02) Notify (\_SB.PCI0.PB5, 0x02) Notify (\_SB.PCI0.PB6, 0x02) Notify (\_SB.PCI0.PB7, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L1A, 0, NotSerialized) { Name (HPOK, Zero) If (\_SB.PCI0.SMBS.GM5C) { Sleep (0x14) Store (\_SB.PCI0.LPC0.RGPM (), Local0) If (And (Local0, 0x20)) { Store (Zero, \_SB.PCI0.SMBS.GM5C) Store ("HotPlug:04: Removal Event", Debug) Store (0x08, \_SB.PCI0.PB4.SLST) Store (\_SB.PCI0.PB4.NCRD.DVID, Local7) Sleep (0x0A) Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { Store (\_SB.PCI0.PB4.XPRD (0xA5), Local6) And (Local6, 0x3F, Local6) If (LLessEqual (Local6, 0x04)) { Store (Zero, Local4) } Else { Store (\_SB.PCI0.PB4.NCRD.DVID, Local7) Sleep (0x05) Decrement (Local5) } } \_SB.PCI0.XPTR (0x04, Zero) \_SB.PCI0.PB4.XPLP (Zero) Store (One, HPOK) } } Else { Sleep (0x14) Store (\_SB.PCI0.LPC0.RGPM (), Local0) If (LNot (And (Local0, 0x20))) { Store (One, \_SB.PCI0.SMBS.GM5C) Store ("HotPlug:04: Insertion Event", Debug) Store (Zero, HPOK) \_SB.PCI0.PB4.XPLP (One) Sleep (0xC8) \_SB.PCI0.XPTR (0x04, One) Sleep (0x14) Store (Zero, Local2) While (LLess (Local2, 0x0F)) { Store (0x08, \_SB.PCI0.PB4.SLST) Store (One, Local4) Store (0xC8, Local5) While (LAnd (Local4, Local5)) { Store (\_SB.PCI0.PB4.XPRD (0xA5), Local6) And (Local6, 0x3F, Local6) If (LEqual (Local6, 0x10)) { Store ("HotPlug:04: TrainingState=0x10", Debug) Store (Zero, Local4) } Else { Sleep (0x05) Decrement (Local5) } } If (LNot (Local4)) { Store ("HotPlug:04: Check VC Negotiation Pending", Debug) Store (\_SB.PCI0.PB4.XPDL (), Local5) If (Local5) { Store ("HotPlug:04: Retraining Link", Debug) \_SB.PCI0.PB4.XPRT () Sleep (0x05) Increment (Local2) } Else { Store ("HotPlug:04: Device OK", Debug) If (LEqual (\_SB.PCI0.PB4.XPR2 (), Ones)) { Store (One, HPOK) Store (0x10, Local2) } Else { Store ("HotPlug:04: Common Clock Retraining Failed", Debug) Store (Zero, HPOK) Store (0x10, Local2) } } } Else { Store ("HotPlug:04: TrainingState Timeout", Debug) Store (0x10, Local2) } } If (LNot (HPOK)) { Store ("HotPlug:04: Insertion Failed: Disable Training & PowerDown", Debug) Store (\_SB.PCI0.PB4.NCRD.DVID, Local7) Sleep (0x0A) Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { Store (\_SB.PCI0.PB4.XPRD (0xA5), Local6) And (Local6, 0x3F, Local6) If (LLessEqual (Local6, 0x04)) { Store (Zero, Local4) } Else { Store (\_SB.PCI0.PB4.NCRD.DVID, Local7) Sleep (0x05) Decrement (Local5) } } \_SB.PCI0.XPTR (0x04, Zero) \_SB.PCI0.PB4.XPLP (Zero) } } } If (HPOK) { Notify (\_SB.PCI0.PB4, Zero) } } Method (_L1C, 0, NotSerialized) { \_SB.S80H (0x1C) } } Name (GPIC, Zero) Method (_PIC, 1, NotSerialized) { Store (Arg0, GPIC) If (GPIC) { \_SB.DSPI () } } Method (_PTS, 1, NotSerialized) { Store (One, WPAG) SPTS (Arg0) Store (One, \_SB.PCI0.SMBS.SLPS) If (LEqual (Arg0, One)) { Store (0x51, CMDB) Store (Arg0, \_SB.PCI0.LPC0.EC.PTSS) Sleep (0x64) Store (0x51, IO80) \_SB.S80H (0x51) } If (LEqual (Arg0, 0x03)) { Store (0x53, CMDB) Store (Arg0, \_SB.PCI0.LPC0.EC.PTSS) Store (0x11, \_SB.PCI0.LPC0.EC.BLHT) Sleep (0x64) Store (0x53, IO80) \_SB.S80H (0x53) } If (LEqual (Arg0, 0x04)) { Store (0x54, CMDB) Sleep (0x64) \_SB.PCI0.SMBS.WRA7 (0xA7) Sleep (0xC8) Store (Arg0, \_SB.PCI0.LPC0.EC.PTSS) Sleep (0x64) Store (0x54, IO80) \_SB.S80H (0x54) Store (One, \_SB.PCI0.SMBS.RSTU) } If (LEqual (Arg0, 0x05)) { Store (0x55, CMDB) Sleep (0x64) \_SB.PCI0.SMBS.WRA7 (0xA7) Sleep (0xC8) Store (Arg0, \_SB.PCI0.LPC0.EC.PTSS) Sleep (0x64) Store (0x55, IO80) \_SB.S80H (0x55) \_SB.GSMI (0x03) } } Name (LIDF, Zero) Method (_WAK, 1, NotSerialized) { SWAK (Arg0) If (LEqual (Arg0, One)) { Store (0xE1, CMDB) Store (0xE1, IO80) \_SB.S80H (0xE1) Store (0xF1, \_SB.PCI0.P2P.PR4B) } If (LEqual (Arg0, 0x03)) { Store (0xE3, CMDB) Store (0xE3, IO80) \_SB.S80H (0xE3) Store (One, \_SB.PCI0.LPC0.EC.TME1) Notify (\_SB.PWRB, 0x02) Store (One, LIDF) CHKH () Notify (\_SB.PCI0.PB4, 0x02) Notify (\_SB.PCI0.PB4.NCRD, 0x02) Sleep (0x64) If (LEqual (\_SB.PCI0.LPC0.EC.ADP, Zero)) { Store (One, \_SB.PCI0.SMBS.G72F) If (LEqual (\_SB.PCI0.SMBS.G72O, Zero)) { \_SB.PCI0.AGP.VGA.AFN4 (0x02) \_SB.PCI0.SMBS.WR27 (0x27) Sleep (0xC8) Store (Zero, \_SB.PCI0.LPC0.EC.BLHT) } } Sleep (0xC8) Store (Zero, \_SB.PCI0.LPC0.EC.BLHT) } If (LEqual (Arg0, 0x04)) { Store (0xE4, CMDB) Store (0xE4, IO80) Store (One, \_SB.PCI0.LPC0.EC.TME1) Store (One, LIDF) \_SB.S80H (0xE4) \_SB.PCI0._INI () } If (BTNS) { Store (WLWI, \_SB.PCI0.LPC0.EC.WLNP) Store (BTWI, \_SB.PCI0.LPC0.EC.BTLP) If (\_SB.PCI0.LPC0.EC.BATP) { Store (WWWI, \_SB.PCI0.LPC0.EC.WWNP) } Else { Store (Zero, \_SB.PCI0.LPC0.EC.WWNP) } } Else { Store (Zero, \_SB.PCI0.LPC0.EC.WLNP) Store (Zero, \_SB.PCI0.LPC0.EC.BTLP) Store (Zero, \_SB.PCI0.LPC0.EC.WLNP) } Return (Package (0x02) { Zero, Zero }) } Scope (_SB) { Device (PWRB) { Name (_HID, EisaId ("PNP0C0C")) Method (_STA, 0, NotSerialized) { Return (0x0B) } } Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) Name (_PRW, Package (0x02) { 0x0C, 0x03 }) } Device (LID) { Name (_HID, EisaId ("PNP0C0D")) Name (_PRW, Package (0x02) { 0x03, 0x03 }) Method (_LID, 0, NotSerialized) { If (LIDF) { Store (Zero, LIDF) Return (One) } Else { If (^^PCI0.LPC0.EC.ECOK) { Acquire (^^PCI0.LPC0.EC.MTX1, 0xFFFF) Store (^^PCI0.LPC0.EC.LIDS, Local0) Release (^^PCI0.LPC0.EC.MTX1) If (Local0) { Return (One) } Else { Return (Zero) } } Else { Return (One) } } } } Device (PCI0) { Name (_HID, EisaId ("PNP0A08")) Name (_CID, EisaId ("PNP0A03")) Name (_ADR, Zero) OperationRegion (SCTH, PCI_Config, 0x7A, One) Field (SCTH, ByteAcc, NoLock, Preserve) { RSMF, 1 } Method (_INI, 0, NotSerialized) { If (LEqual (GPIC, Zero)) {} Else { DSPI () } OSTP () CHKH () If (CondRefOf (_OSI, Local0)) { Store (Zero, MYOS) } Else { If (LEqual (SizeOf (_OS), 0x14)) { Store (One, MYOS) } Else { If (LEqual (SizeOf (_OS), 0x27)) { Store (0x02, MYOS) } Else { Store (0x03, MYOS) } } } } OperationRegion (NBMS, PCI_Config, 0x60, 0x08) Field (NBMS, DWordAcc, NoLock, Preserve) { MIDX, 32, MIDR, 32 } Mutex (NBMM, 0x00) Method (NBMR, 1, NotSerialized) { Acquire (NBMM, 0xFFFF) And (Arg0, 0x7F, Local0) Store (Local0, MIDX) Store (MIDR, Local0) Store (0x7F, MIDX) Release (NBMM) Return (Local0) } Method (NBMW, 2, NotSerialized) { Acquire (NBMM, 0xFFFF) And (Arg0, 0x7F, Local0) Or (Local0, 0x80, Local0) Store (Local0, MIDX) Store (Arg1, MIDR) Store (And (Local0, 0x7F, Local0), MIDX) Release (NBMM) } OperationRegion (NBXP, PCI_Config, 0xE0, 0x08) Field (NBXP, DWordAcc, NoLock, Preserve) { NBXI, 32, NBXD, 32 } Mutex (NBXM, 0x00) Method (NBXR, 1, NotSerialized) { Acquire (NBXM, 0xFFFF) Store (Arg0, NBXI) Store (NBXD, Local0) Store (Zero, NBXI) Release (NBXM) Return (Local0) } Method (NBXW, 2, NotSerialized) { Acquire (NBXM, 0xFFFF) Store (Arg0, NBXI) Store (Arg1, NBXD) Store (Zero, NBXI) Release (NBXM) } Method (GFXM, 0, NotSerialized) { Store (NBMR (0x08), Local0) And (Local0, 0x0F, Local0) Return (Local0) } Method (GPPM, 0, NotSerialized) { Store (NBMR (0x31), Local0) And (Local0, 0x0F, Local0) Return (Local0) } Method (XPTR, 2, NotSerialized) { If (LAnd (LLess (Arg0, 0x02), LGreater (Arg0, 0x07))) { Return (Zero) } Else { Store (One, Local0) If (LLess (Arg0, 0x04)) { Add (Arg0, 0x02, Local1) } Else { Add (Arg0, 0x11, Local1) } ShiftLeft (Local0, Local1, Local0) Store (NBMR (0x08), Local2) If (Arg1) { And (Local2, Not (Local0), Local2) } Else { Or (Local2, Local0, Local2) } NBMW (0x08, Local2) Return (Ones) } } Name (_UID, One) Name (_BBN, Zero) Name (SUPP, Zero) Name (CTRL, Zero) Method (_OSC, 4, NotSerialized) { CreateDWordField (Arg3, Zero, CDW1) CreateDWordField (Arg3, 0x04, CDW2) CreateDWordField (Arg3, 0x08, CDW3) If (LNotEqual (OSTB, 0x41)) { Or (CDW1, 0x02, CDW1) Return (Arg3) } If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40, /* 0008 */ 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66 })) { Store (CDW2, SUPP) Store (CDW3, CTRL) If (LNotEqual (And (SUPP, 0x16), 0x16)) { And (CTRL, 0x1E) } And (CTRL, 0x1D, CTRL) If (Not (And (CDW1, One))) { If (And (CTRL, One)) {} If (And (CTRL, 0x04)) { Store (One, EPNM) Store (Zero, DPPF) Store (One, PWDE) Store (Zero, PEWD) } Else { Store (Zero, EPNM) Store (One, DPPF) Store (Zero, PWDE) } If (And (CTRL, 0x10)) {} } If (LNotEqual (Arg1, One)) { Or (CDW1, 0x08, CDW1) } If (LNotEqual (CDW3, CTRL)) { Or (CDW1, 0x10, CDW1) } Store (CTRL, CDW3) Return (Arg3) } Else { Or (CDW1, 0x04, CDW1) Return (Arg3) } } Method (TOM, 0, NotSerialized) { Multiply (TOML, 0x00010000, Local0) Multiply (TOMH, 0x01000000, Local1) Add (Local0, Local1, Local0) Return (Local0) } OperationRegion (NBBR, PCI_Config, 0x1C, 0x08) Field (NBBR, DWordAcc, NoLock, Preserve) { BR3L, 32, BR3H, 32 } OperationRegion (NBBI, PCI_Config, 0x84, 0x04) Field (NBBI, DWordAcc, NoLock, Preserve) { PARB, 32 } Name (PX3L, 0x80000000) Name (PX3H, 0x80000000) Name (PX3S, 0x10000000) Name (PX3K, 0xF0000000) Mutex (BR3X, 0x00) Method (BR3M, 0, NotSerialized) { Store (PARB, Local0) ShiftRight (Local0, 0x10, Local0) And (Local0, 0x07, Local0) If (Local0) { ShiftLeft (One, Local0, Local1) Subtract (0x1000, Local1, Local1) ShiftLeft (Local1, 0x14, Local1) Store (Local1, PX3K) ShiftLeft (One, Local0, Local1) Multiply (Local1, 0x00100000, Local1) Store (Local1, PX3S) } Acquire (BR3X, 0xFFFF) Store (NBMR (Zero), Local0) And (Local0, 0xFFFFFFF7, Local0) NBMW (Zero, Local0) Store (BR3L, Local0) And (Local0, PX3K, Local0) Store (Local0, PX3L) Store (BR3H, Local0) And (Local0, 0xFF, Local0) Store (Local0, PX3H) Store (NBMR (Zero), Local0) Or (Local0, 0x08, Local0) NBMW (Zero, Local0) Release (BR3X) Return (PX3L) } Name (CRES, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, SubDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0100, // Length 0x00,, ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0CF7, // Range Maximum 0x0000, // Translation Offset 0x0CF8, // Length 0x00,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0D00, // Range Minimum 0xFFFF, // Range Maximum 0x0000, // Translation Offset 0xF300, // Length ,, , TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000A0000, // Range Minimum 0x000BFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadOnly, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000C3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadOnly, 0x00000000, // Granularity 0x000C4000, // Range Minimum 0x000C7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadOnly, 0x00000000, // Granularity 0x000C8000, // Range Minimum 0x000CBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadOnly, 0x00000000, // Granularity 0x000CC000, // Range Minimum 0x000CFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000D0000, // Range Minimum 0x000D3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000D4000, // Range Minimum 0x000D7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000D8000, // Range Minimum 0x000DBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x000DC000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E0000, // Range Minimum 0x000E3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E4000, // Range Minimum 0x000E7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E8000, // Range Minimum 0x000EBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000EC000, // Range Minimum 0x000EFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length 0x00,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0xFFFDFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length 0x00,, _Y00, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity 0xF0000000, // Range Minimum 0xFFFFFFFF, // Range Maximum 0x00000000, // Translation Offset 0x10000000, // Length 0x00,, _Y01, AddressRangeMemory, TypeStatic) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum 0x01, // Alignment 0x08, // Length ) }) Method (_CRS, 0, NotSerialized) { CreateDWordField (CRES, \_SB.PCI0._Y00._MIN, BTMN) CreateDWordField (CRES, \_SB.PCI0._Y00._MAX, BTMX) CreateDWordField (CRES, \_SB.PCI0._Y00._LEN, BTLN) CreateDWordField (CRES, \_SB.PCI0._Y01._MIN, BTN1) CreateDWordField (CRES, \_SB.PCI0._Y01._MAX, BTX1) CreateDWordField (CRES, \_SB.PCI0._Y01._LEN, BTL1) Store (TOM (), BTMN) Subtract (BR3M (), BTMN, BTLN) Subtract (Add (BTMN, BTLN), One, BTMX) Store (PX3S, Local0) Add (Local0, BR3M (), Local0) Store (Local0, BTN1) Store (BTX1, Local1) Subtract (Local1, Local0, Local2) Store (Local2, BTL1) Return (CRES) } Device (MEMR) { Name (_HID, EisaId ("PNP0C02")) Name (MEM1, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length _Y02) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length _Y03) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length _Y04) }) Method (_CRS, 0, NotSerialized) { CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y02._BAS, MB01) CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y02._LEN, ML01) CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y03._BAS, MB02) CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y03._LEN, ML02) CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y04._BAS, PEBS) CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y04._LEN, PELN) If (GPIC) { Store (0xFEC00000, MB01) Store (0xFEE00000, MB02) Store (0x1000, ML01) Store (0x1000, ML02) } Store (BR3M (), PEBS) Store (PX3S, PELN) Return (MEM1) } } OperationRegion (NBRV, PCI_Config, 0x08, One) Field (NBRV, ByteAcc, NoLock, Preserve) { PREV, 8 } Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (PICM) } Else { Return (APIC) } } Name (PICM, Package (0x17) { Package (0x04) { 0x0001FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0001FFFF, One, LNKD, Zero }, Package (0x04) { 0x0002FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0003FFFF, Zero, LNKD, Zero }, Package (0x04) { 0x0004FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0005FFFF, Zero, LNKB, Zero }, Package (0x04) { 0x0006FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0007FFFF, Zero, LNKD, Zero }, Package (0x04) { 0x0009FFFF, Zero, LNKB, Zero }, Package (0x04) { 0x000AFFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0014FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0014FFFF, One, LNKB, Zero }, Package (0x04) { 0x0014FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0014FFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x0013FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0013FFFF, One, LNKD, Zero }, Package (0x04) { 0x0013FFFF, 0x02, LNKA, Zero }, Package (0x04) { 0x0013FFFF, 0x03, LNKB, Zero }, Package (0x04) { 0x0012FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0012FFFF, One, LNKB, Zero }, Package (0x04) { 0x0012FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0012FFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x0011FFFF, Zero, LNKG, Zero } }) Name (APIC, Package (0x15) { Package (0x04) { 0x0001FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0001FFFF, One, Zero, 0x13 }, Package (0x04) { 0x0002FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0003FFFF, Zero, Zero, 0x13 }, Package (0x04) { 0x0004FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0005FFFF, Zero, Zero, 0x11 }, Package (0x04) { 0x0006FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0007FFFF, Zero, Zero, 0x13 }, Package (0x04) { 0x0009FFFF, Zero, Zero, 0x11 }, Package (0x04) { 0x000AFFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0014FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0014FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0014FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0014FFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x0013FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0013FFFF, One, Zero, 0x13 }, Package (0x04) { 0x0013FFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0x0012FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0012FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0012FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0011FFFF, Zero, Zero, 0x16 } }) Device (AGP) { Name (_ADR, 0x00010000) OperationRegion (APR0, PCI_Config, Zero, 0x08) Field (APR0, ByteAcc, NoLock, Preserve) { SDID, 32 } Method (_PRT, 0, NotSerialized) { If (LEqual (SDID, 0x79321002)) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0x0005FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0005FFFF, One, Zero, 0x13 }, Package (0x04) { 0x0005FFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0x0005FFFF, 0x03, Zero, 0x11 } }) } Else { Return (Package (0x04) { Package (0x04) { 0x0005FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0005FFFF, One, LNKD, Zero }, Package (0x04) { 0x0005FFFF, 0x02, LNKA, Zero }, Package (0x04) { 0x0005FFFF, 0x03, LNKB, Zero } }) } } Else { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0x0005FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0005FFFF, One, Zero, 0x13 }, Package (0x04) { 0x0005FFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0x0005FFFF, 0x03, Zero, 0x11 } }) } Else { Return (Package (0x04) { Package (0x04) { 0x0005FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0005FFFF, One, LNKD, Zero }, Package (0x04) { 0x0005FFFF, 0x02, LNKA, Zero }, Package (0x04) { 0x0005FFFF, 0x03, LNKB, Zero } }) } } } Device (VGA) { Name (_ADR, 0x00050000) Name (SWIT, One) Name (EBRT, One) Name (CRTA, One) Name (LCDA, One) Name (TVOA, One) Name (TOGF, One) Name (ATIB, Buffer (0x0100) {}) Name (DISS, Buffer (0x06) { 0x01, 0x02, 0x08, 0x03, 0x09, 0x01 }) Name (SWII, 0x07) Method (ATIF, 2, Serialized) { If (LEqual (Arg0, Zero)) { Return (AF00 ()) } If (LEqual (Arg0, One)) { Return (AF01 ()) } If (LEqual (Arg0, 0x02)) { Return (AF02 ()) } If (LEqual (Arg0, 0x03)) { Return (AF03 (DerefOf (Index (Arg1, 0x02)), DerefOf (Index (Arg1, 0x04)))) } If (LEqual (Arg0, 0x05)) { Return (AF05 ()) } If (LEqual (Arg0, 0x06)) { AF06 (DerefOf (Index (Arg1, 0x03))) Return (ATIB) } If (LEqual (Arg0, 0x07)) { Return (AF07 ()) } If (LEqual (Arg0, 0x08)) { AF08 (DerefOf (Index (Arg1, 0x03))) Return (ATIB) } Else { CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (Zero, SSZE) Store (Zero, VERN) Store (Zero, NMSK) Store (Zero, SFUN) Return (ATIB) } } Method (AF00, 0, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (0x0C, SSZE) Store (One, VERN) If (CondRefOf (\_SB.PCI0.AGP.VGA.ATPX, Local4)) { Store (0x51, NMSK) } Else { Store (0x11, NMSK) } Store (NMSK, MSKN) Store (0xF7, SFUN) Return (ATIB) } Method (AF01, 0, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, VMSK) CreateDWordField (ATIB, 0x06, FLGS) Store (0x0A, SSZE) Store (0x03, VMSK) Store (One, FLGS) Return (ATIB) } Name (PSBR, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (MSKN, Zero) Name (SEXM, Zero) Name (STHR, Zero) Name (SFPS, Zero) Name (SSPS, Zero) Name (SSDM, 0x0A) Name (SCDY, Zero) Name (SACT, Buffer (0x05) { 0x01, 0x02, 0x08, 0x03, 0x09 }) Method (AF02, 0, NotSerialized) { CreateBitField (PSBR, Zero, PDSW) CreateBitField (PSBR, One, PEXM) CreateBitField (PSBR, 0x02, PTHR) CreateBitField (PSBR, 0x03, PFPS) CreateBitField (PSBR, 0x04, PSPS) CreateBitField (PSBR, 0x05, PDCC) CreateBitField (PSBR, 0x06, PDDS) CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, PSBI) CreateByteField (ATIB, 0x06, EXPM) CreateByteField (ATIB, 0x07, THRM) CreateByteField (ATIB, 0x08, FPWR) CreateByteField (ATIB, 0x09, SPWR) CreateWordField (ATIB, 0x0A, SMSK) CreateWordField (ATIB, 0x0C, CNDY) Store (0x0E, SSZE) Store (PSBR, PSBI) If (PDSW) { Store (Zero, PDSW) } If (PEXM) { Store (SEXM, EXPM) Store (Zero, SEXM) Store (Zero, PEXM) } If (PTHR) { Store (STHR, THRM) Store (Zero, STHR) Store (Zero, PTHR) } If (PFPS) { Store (SFPS, FPWR) Store (Zero, SFPS) Store (Zero, PFPS) } If (PSPS) { Store (SSPS, SPWR) Store (Zero, SSPS) Store (Zero, PSPS) } If (PDDS) { Store (Zero, PDDS) } Return (ATIB) } Method (AF03, 2, NotSerialized) { Name (NXTD, 0x05) CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, SSDP) CreateWordField (ATIB, 0x04, SCDP) Store (Arg0, SSDP) Store (Arg1, SCDP) Store (Zero, Local0) Store (SSDP, Local1) Add (SCDP, One, Local2) While (LLess (Local0, SWII)) { Store (DerefOf (Index (DISS, Local0)), Local3) If (LEqual (Local3, Local1)) { While (LLess (Local0, SWII)) { Store (Local0, Local4) Increment (Local4) Store (DerefOf (Index (DISS, Local4)), Local5) If (LEqual (And (Local2, Local5), Local5)) { Store (Local5, SSDP) Store (SWII, Local0) } Else { Increment (Local0) } } } Else { Increment (Local0) } } Store (0x04, SSZE) Return (ATIB) } Method (AF05, 0, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, TSEF) CreateByteField (ATIB, 0x03, TVIF) Store (0x04, SSZE) Store (Zero, TSEF) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x8D, BCMD) Store (0x05, DID) Store (ATIB, INFO) BSMI (Zero) CreateByteField (INFO, 0x03, TVII) Store (TVII, TVIF) Release (^^^LPC0.PSMX) Return (ATIB) } Method (AF06, 1, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, TSEF) CreateByteField (ATIB, 0x03, TVIF) Store (0x04, SSZE) Store (Zero, TSEF) Store (Arg0, TVIF) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x8D, BCMD) Store (0x06, DID) Store (ATIB, INFO) BSMI (Zero) Release (^^^LPC0.PSMX) } Method (AF07, 0, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, XMOD) Store (0x03, SSZE) Store (Zero, XMOD) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x8D, BCMD) Store (0x07, DID) Store (ATIB, INFO) BSMI (Zero) CreateByteField (INFO, 0x02, PMOD) Store (PMOD, XMOD) Release (^^^LPC0.PSMX) Return (ATIB) } Method (AF08, 1, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, XMOD) Store (0x03, SSZE) Store (Arg0, XMOD) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x8D, BCMD) Store (0x08, DID) Store (ATIB, INFO) BSMI (Zero) Release (^^^LPC0.PSMX) } Method (AFN0, 0, Serialized) { CreateBitField (PSBR, Zero, PDSW) Store (One, PDSW) Notify (VGA, 0x81) } Method (AFN1, 1, Serialized) { Store (Arg0, Local0) And (Local0, 0x03, Local0) Store (Local0, SEXM) CreateBitField (PSBR, One, PEXM) Store (One, PEXM) Notify (VGA, 0x81) } Method (AFN2, 1, Serialized) { Store (Arg0, Local0) Store (Local0, STHR) CreateBitField (PSBR, 0x02, PTHR) Store (One, PTHR) Notify (VGA, 0x81) } Method (AFN3, 1, Serialized) { Store (Arg0, Local0) Store (Local0, SFPS) CreateBitField (PSBR, 0x03, PFPS) Store (One, PFPS) Notify (VGA, 0x81) } Method (AFN4, 1, Serialized) { Store (Arg0, Local0) Store (Local0, SSPS) CreateBitField (PSBR, 0x04, PSPS) Store (One, PSPS) Notify (VGA, 0x81) } Method (AFN5, 0, Serialized) { CreateBitField (PSBR, 0x05, PDCC) Store (One, PDCC) Notify (VGA, 0x81) } Method (AFN6, 0, Serialized) { If (And (MSKN, 0x40)) { CreateBitField (PSBR, 0x06, PDDS) Store (One, PDDS) Notify (VGA, 0x81) } } Method (_STA, 0, NotSerialized) { Return (0x0F) } Name (_PSC, Zero) Method (_PS0, 0, NotSerialized) { Store (Zero, _PSC) } Method (_PS3, 0, NotSerialized) { Store (0x03, _PSC) } Method (_DOS, 1, NotSerialized) { Store (And (Arg0, 0x03), SWIT) Store (And (Arg0, 0x04), EBRT) } Method (_DOD, 0, NotSerialized) { Return (Package (0x03) { 0x00010100, 0x00010110, 0x00010210 }) } Device (CRT) { Name (_ADR, 0x0100) Method (_DCS, 0, NotSerialized) { If (CRTA) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (CRTA) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } } Device (LCD) { Name (_ADR, 0x0110) Method (_DCS, 0, NotSerialized) { If (LCDA) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (LCDA) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } Method (_BCL, 0, NotSerialized) { Return (Package (0x0D) { 0x64, 0x32, Zero, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) } Name (BCLP, Package (0x0B) { Zero, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) Name (AUPW, Package (0x0B) { 0x05, 0x07, 0x09, 0x0C, 0x12, 0x19, 0x20, 0x2A, 0x37, 0x47, 0x64 }) Name (LGPW, Package (0x0B) { 0x06, 0x07, 0x09, 0x0D, 0x11, 0x17, 0x1E, 0x28, 0x34, 0x43, 0x64 }) Name (CHPW, Package (0x0B) { 0x06, 0x07, 0x09, 0x0D, 0x11, 0x17, 0x1E, 0x28, 0x34, 0x43, 0x64 }) Name (SNPW, Package (0x0B) { 0x06, 0x07, 0x09, 0x0D, 0x11, 0x17, 0x1E, 0x28, 0x34, 0x43, 0x64 }) Name (CPTW, Package (0x0B) { 0x0A, 0x0B, 0x0D, 0x11, 0x15, 0x1A, 0x21, 0x2B, 0x36, 0x45, 0x64 }) Method (_BCM, 1, NotSerialized) { Store (One, Local0) Store (Zero, Local1) While (Local0) { If (LEqual (Arg0, DerefOf (Index (BCLP, Local1)))) { Store (Zero, Local0) } Else { Add (Local1, One, Local1) } } Store (^^^^LPC0.EC.ADP, Local0) If (Local0) { Store (Local1, ^^^^LPC0.EC.BNAC) } Else { Store (Local1, ^^^^LPC0.EC.BNDC) } Store (^^^^LPC0.EC.PNID, Local0) Name (_T_0, Zero) Store (Local0, _T_0) If (LEqual (_T_0, One)) { Store (DerefOf (Index (AUPW, Local1)), CBRL) } Else { If (LEqual (_T_0, 0x02)) { Store (DerefOf (Index (CHPW, Local1)), CBRL) } Else { If (LEqual (_T_0, 0x04)) { Store (DerefOf (Index (SNPW, Local1)), CBRL) } Else { If (LEqual (_T_0, 0x08)) { Store (DerefOf (Index (LGPW, Local1)), CBRL) } Else { If (LEqual (_T_0, 0x10)) { Store (DerefOf (Index (CPTW, Local1)), CBRL) } Else { Store (DerefOf (Index (LGPW, Local1)), CBRL) } } } } } } } Device (TVO) { Name (_ADR, 0x0210) Method (_DCS, 0, NotSerialized) { If (TVOA) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (TVOA) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } } } Scope (VGA) { OperationRegion (REVD, SystemMemory, 0xCFE8C018, 0x0000F804) Field (REVD, AnyAcc, NoLock, Preserve) { SROM, 32, VROM, 507904 } Name (TVGA, Buffer (0xF800) { 0x00 }) Method (ATRM, 2, Serialized) { If (_OSI ("Windows 2009")) { Add (Arg0, Arg1, Local0) If (LLessEqual (Local0, SROM)) { Multiply (Arg1, 0x08, Local1) Multiply (Arg0, 0x08, Local2) Store (VROM, TVGA) CreateField (TVGA, Local2, Local1, TEMP) Name (RETB, Buffer (Arg1) {}) Store (TEMP, RETB) Return (RETB) } Else { If (LLess (Arg0, SROM)) { Subtract (SROM, Arg0, Local3) Multiply (Local3, 0x08, Local1) Multiply (Arg0, 0x08, Local2) Store (VROM, TVGA) CreateField (TVGA, Local2, Local1, TEM) Name (RETC, Buffer (Local3) {}) Store (TEM, RETC) Return (RETC) } Else { Name (RETD, Buffer (One) {}) Return (RETD) } } } } } Scope (VGA) { Name (ATPB, Buffer (0x0100) {}) Name (DSID, Ones) Name (HSID, Ones) Method (ATPX, 2, Serialized) { If (_OSI ("Windows 2009")) { If (LEqual (Arg0, Zero)) { Return (PX00 ()) } If (LEqual (Arg0, One)) { Return (PX01 ()) } If (LEqual (Arg0, 0x02)) { PX02 (DerefOf (Index (Arg1, 0x02))) Return (ATPB) } If (LEqual (Arg0, 0x03)) { PX03 (DerefOf (Index (Arg1, 0x02))) Return (ATPB) } CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, VERN) CreateDWordField (ATPB, 0x04, SFUN) Store (Zero, SSZE) Store (Zero, VERN) Store (Zero, SFUN) Return (ATPB) } } Method (PX00, 0, NotSerialized) { Store (0xE0, P80H) CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, VERN) CreateDWordField (ATPB, 0x04, SFUN) Store (0x08, SSZE) Store (One, VERN) Store (0x07, SFUN) Store (^^^PB2.DGFX.SVID, Local0) Store (^^^PB2.HDAU.SVID, Local1) If (LNotEqual (Local0, Ones)) { Store (Local0, DSID) } If (LNotEqual (Local1, Ones)) { Store (Local1, HSID) } Return (ATPB) } Method (PX01, 0, NotSerialized) { Store (0xE1, P80H) CreateWordField (ATPB, Zero, SSZE) CreateDWordField (ATPB, 0x02, VMSK) CreateDWordField (ATPB, 0x06, FLGS) Store (0x0A, SSZE) Store (0x0F, VMSK) Store (0x0F, FLGS) Return (ATPB) } Method (PX02, 1, NotSerialized) { If (^^^LPC0.EC.ECOK) { Store (0x11, ^^^LPC0.EC.BLHT) Store (One, ^^^LPC0.EC.CPDI) Sleep (0xC8) } CreateWordField (ATPB, Zero, SSZE) CreateByteField (ATPB, 0x02, PWST) Store (0x03, SSZE) And (Arg0, One, PWST) Name (HPOK, Zero) Store (One, ^^^SMBS.G72F) Store (One, ^^^SMBS.G33F) If (LEqual (^^^SMBS.G72O, Zero)) { ^^^SMBS.WR27 (0x27) Sleep (0xC8) } If (PWST) { Store (0x11E2, P80H) ^^^SMBS.WRA7 (0xA7) Sleep (0xC8) Store (One, ^^^SMBS.G72O) Store (Zero, ^^^SMBS.G72E) Sleep (0x32) Store (One, ^^^SMBS.G33O) Store (Zero, ^^^SMBS.G33E) Store (0x12E2, P80H) Store (Zero, HPOK) Sleep (0x64) Sleep (0x64) XPTR (0x02, One) Sleep (0x14) Store (Zero, Local2) While (LLess (Local2, 0x0F)) { Store (0x08, ^^^PB2.SLST) Store (One, Local4) Store (0xC8, Local5) While (LAnd (Local4, Local5)) { Store (^^^PB2.XPRD (0xA5), Local6) And (Local6, 0x7F, Local6) If (LAnd (LGreaterEqual (Local6, 0x10), LNotEqual (Local6, 0x7F))) { Store (Zero, Local4) } Else { Sleep (0x05) Decrement (Local5) } } If (LNot (Local4)) { Store (^^^PB2.XPDL (), Local5) If (Local5) { ^^^PB2.XPRT () Sleep (0x05) Increment (Local2) } Else { If (LEqual (^^^PB2.XPR2 (), Ones)) { Store (One, HPOK) Store (0x10, Local2) } Else { Store (Zero, HPOK) Store (0x10, Local2) } } } Else { Store (0x10, Local2) } } If (LNot (HPOK)) { Store (0x13E2, P80H) Store (^^^PB2.DGFX.DVID, Local7) Sleep (0x0A) Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { Store (^^^PB2.XPRD (0xA5), Local6) And (Local6, 0x7F, Local6) If (LLessEqual (Local6, 0x04)) { Store (Zero, Local4) } Else { Store (^^^PB2.DGFX.DVID, Local7) Sleep (0x05) Decrement (Local5) } } XPTR (0x02, Zero) } Store (0x14E2, P80H) } Else { Store (0x02E2, P80H) Store (Zero, ^^^SMBS.G33O) Store (Zero, ^^^SMBS.G33E) Store (Zero, ^^^SMBS.G72O) Store (Zero, ^^^SMBS.G72E) Sleep (0x64) ^^^SMBS.WR27 (0x27) Sleep (0xC8) Store (0x03E2, P80H) Store (0x08, ^^^PB2.SLST) Store (^^^PB2.DGFX.DVID, Local7) Sleep (0x0A) Store (One, Local4) Store (0x05, Local5) While (LAnd (Local4, Local5)) { Store (^^^PB2.XPRD (0xA5), Local6) And (Local6, 0x7F, Local6) If (LLessEqual (Local6, 0x04)) { Store (Zero, Local4) } Else { Store (^^^PB2.DGFX.DVID, Local7) Sleep (0x05) Decrement (Local5) } } XPTR (0x02, Zero) Store (0x02, HPOK) Store (0x04E2, P80H) } If (HPOK) { If (LAnd (LEqual (HPOK, One), LNotEqual (DSID, Ones))) { Store (DSID, Local7) Store (Local7, ^^^PB2.DGFX.SMID) Sleep (0x0A) Store (HSID, Local7) If (LNotEqual (Local7, Ones)) { Store (Local7, ^^^PB2.HDAU.SMID) } Sleep (0x0A) } If (^^^LPC0.EC.ECOK) { Store (Zero, ^^^LPC0.EC.BLHT) } Notify (PB2, Zero) } } Method (PX03, 1, NotSerialized) { If (^^^LPC0.EC.ECOK) { Store (0x11, ^^^LPC0.EC.BLHT) } CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, DPSW) Store (0x04, SSZE) And (Arg0, One, DPSW) If (DPSW) { Store (0x02E3, P80H) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x02, MUXF) Store (0x85, BCMD) BSMI (Zero) Release (^^^LPC0.PSMX) } Else { Store (0x01E3, P80H) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (One, MUXF) Store (0x85, BCMD) BSMI (Zero) Release (^^^LPC0.PSMX) } If (^^^LPC0.EC.ECOK) { Store (Zero, ^^^LPC0.EC.BLHT) } } } } Device (PB2) { Name (_ADR, 0x00020000) OperationRegion (XPCB, PCI_Config, 0x58, 0x24) Field (XPCB, ByteAcc, NoLock, Preserve) { Offset (0x10), LKCN, 16, LKST, 16, Offset (0x1A), SLST, 16 } OperationRegion (XPRI, PCI_Config, 0xE0, 0x08) Field (XPRI, ByteAcc, NoLock, Preserve) { XPIR, 32, XPID, 32 } OperationRegion (XPEX, SystemMemory, 0xF7010100, 0x0100) Field (XPEX, DWordAcc, NoLock, Preserve) { Offset (0x28), VC02, 32 } Method (XPDL, 0, NotSerialized) { If (And (VC02, 0x00020000)) { Return (Ones) } Else { Return (Zero) } } Method (XPRD, 1, NotSerialized) { Store (Arg0, XPIR) Store (XPID, Local0) Store (Zero, XPIR) Return (Local0) } Method (XPWR, 2, NotSerialized) { Store (Arg0, XPIR) Store (Arg1, XPID) Store (Zero, XPIR) } Method (XPRT, 0, NotSerialized) { Store (XPRD (0xA2), Local0) And (Local0, 0xFFFFFFF8, Local0) ShiftRight (Local0, 0x04, Local1) And (Local1, 0x07, Local1) Or (Local0, Local1, Local0) Or (Local0, 0x0100, Local0) XPWR (0xA2, Local0) } Method (XPLP, 1, NotSerialized) { Store (0x0101, Local1) Store (NBXR (0x65), Local2) If (Arg0) { And (Local2, Not (Local1), Local2) } Else { Or (Local2, Local1, Local2) } NBXW (0x65, Local2) } Method (XPR2, 0, NotSerialized) { Store (LKCN, Local0) And (Local0, 0xFFFFFFDF, Local0) Store (Local0, LKCN) Or (Local0, 0x20, Local0) Store (Local0, LKCN) Store (0x64, Local1) Store (One, Local2) While (LAnd (Local1, Local2)) { Sleep (One) Store (LKST, Local3) If (And (Local3, 0x0800)) { Decrement (Local1) } Else { Store (Zero, Local2) } } And (Local0, 0xFFFFFFDF, Local0) Store (Local0, LKCN) If (LNot (Local2)) { Return (Ones) } Else { Return (Zero) } } Device (DGFX) { Name (_ADR, Zero) OperationRegion (PCFG, PCI_Config, Zero, 0x50) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, Offset (0x2C), SVID, 32, Offset (0x4C), SMID, 32 } Name (ATIB, Buffer (0x0100) {}) Name (DISS, Buffer (0x06) { 0x01, 0x02, 0x08, 0x03, 0x09, 0x01 }) Name (SWII, 0x07) Method (ATIF, 2, Serialized) { If (LEqual (Arg0, Zero)) { Return (AF00 ()) } If (LEqual (Arg0, One)) { Return (AF01 ()) } If (LEqual (Arg0, 0x02)) { Return (AF02 ()) } If (LEqual (Arg0, 0x03)) { Return (AF03 (DerefOf (Index (Arg1, 0x02)), DerefOf (Index (Arg1, 0x04)))) } If (LEqual (Arg0, 0x05)) { Return (AF05 ()) } If (LEqual (Arg0, 0x06)) { AF06 (DerefOf (Index (Arg1, 0x03))) Return (ATIB) } If (LEqual (Arg0, 0x07)) { Return (AF07 ()) } If (LEqual (Arg0, 0x08)) { AF08 (DerefOf (Index (Arg1, 0x03))) Return (ATIB) } Else { CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (Zero, SSZE) Store (Zero, VERN) Store (Zero, NMSK) Store (Zero, SFUN) Return (ATIB) } } Method (AF00, 0, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (0x0C, SSZE) Store (One, VERN) If (CondRefOf (\_SB.PCI0.AGP.VGA.ATPX, Local4)) { Store (0x51, NMSK) } Else { Store (0x11, NMSK) } Store (NMSK, MSKN) Store (0xF7, SFUN) Return (ATIB) } Method (AF01, 0, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, VMSK) CreateDWordField (ATIB, 0x06, FLGS) Store (0x0A, SSZE) Store (0x03, VMSK) Store (One, FLGS) Return (ATIB) } Name (PSBR, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (MSKN, Zero) Name (SEXM, Zero) Name (STHR, Zero) Name (SFPS, Zero) Name (SSPS, Zero) Name (SSDM, 0x0A) Name (SCDY, Zero) Name (SACT, Buffer (0x05) { 0x01, 0x02, 0x08, 0x03, 0x09 }) Method (AF02, 0, NotSerialized) { CreateBitField (PSBR, Zero, PDSW) CreateBitField (PSBR, One, PEXM) CreateBitField (PSBR, 0x02, PTHR) CreateBitField (PSBR, 0x03, PFPS) CreateBitField (PSBR, 0x04, PSPS) CreateBitField (PSBR, 0x05, PDCC) CreateBitField (PSBR, 0x06, PDDS) CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, PSBI) CreateByteField (ATIB, 0x06, EXPM) CreateByteField (ATIB, 0x07, THRM) CreateByteField (ATIB, 0x08, FPWR) CreateByteField (ATIB, 0x09, SPWR) CreateWordField (ATIB, 0x0A, SMSK) CreateWordField (ATIB, 0x0C, CNDY) Store (0x0E, SSZE) Store (PSBR, PSBI) If (PDSW) { Store (Zero, PDSW) } If (PEXM) { Store (SEXM, EXPM) Store (Zero, SEXM) Store (Zero, PEXM) } If (PTHR) { Store (STHR, THRM) Store (Zero, STHR) Store (Zero, PTHR) } If (PFPS) { Store (SFPS, FPWR) Store (Zero, SFPS) Store (Zero, PFPS) } If (PSPS) { Store (SSPS, SPWR) Store (Zero, SSPS) Store (Zero, PSPS) } If (PDDS) { Store (Zero, PDDS) } Return (ATIB) } Method (AF03, 2, NotSerialized) { Name (NXTD, 0x05) CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, SSDP) CreateWordField (ATIB, 0x04, SCDP) Store (Arg0, SSDP) Store (Arg1, SCDP) Store (Zero, Local0) Store (SSDP, Local1) Add (SCDP, One, Local2) While (LLess (Local0, SWII)) { Store (DerefOf (Index (DISS, Local0)), Local3) If (LEqual (Local3, Local1)) { While (LLess (Local0, SWII)) { Store (Local0, Local4) Increment (Local4) Store (DerefOf (Index (DISS, Local4)), Local5) If (LEqual (And (Local2, Local5), Local5)) { Store (Local5, SSDP) Store (SWII, Local0) } Else { Increment (Local0) } } } Else { Increment (Local0) } } Store (0x04, SSZE) Return (ATIB) } Method (AF05, 0, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, TSEF) CreateByteField (ATIB, 0x03, TVIF) Store (0x04, SSZE) Store (Zero, TSEF) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x8D, BCMD) Store (0x05, DID) Store (ATIB, INFO) BSMI (Zero) CreateByteField (INFO, 0x03, TVII) Store (TVII, TVIF) Release (^^^LPC0.PSMX) Return (ATIB) } Method (AF06, 1, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, TSEF) CreateByteField (ATIB, 0x03, TVIF) Store (0x04, SSZE) Store (Zero, TSEF) Store (Arg0, TVIF) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x8D, BCMD) Store (0x06, DID) Store (ATIB, INFO) BSMI (Zero) Release (^^^LPC0.PSMX) } Method (AF07, 0, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, XMOD) Store (0x03, SSZE) Store (Zero, XMOD) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x8D, BCMD) Store (0x07, DID) Store (ATIB, INFO) BSMI (Zero) CreateByteField (INFO, 0x02, PMOD) Store (PMOD, XMOD) Release (^^^LPC0.PSMX) Return (ATIB) } Method (AF08, 1, NotSerialized) { CreateWordField (ATIB, Zero, SSZE) CreateByteField (ATIB, 0x02, XMOD) Store (0x03, SSZE) Store (Arg0, XMOD) Acquire (^^^LPC0.PSMX, 0xFFFF) Store (0x8D, BCMD) Store (0x08, DID) Store (ATIB, INFO) BSMI (Zero) Release (^^^LPC0.PSMX) } Method (AFN0, 0, Serialized) { CreateBitField (PSBR, Zero, PDSW) Store (One, PDSW) Notify (VGA, 0x81) } Method (AFN1, 1, Serialized) { Store (Arg0, Local0) And (Local0, 0x03, Local0) Store (Local0, SEXM) CreateBitField (PSBR, One, PEXM) Store (One, PEXM) Notify (VGA, 0x81) } Method (AFN2, 1, Serialized) { Store (Arg0, Local0) Store (Local0, STHR) CreateBitField (PSBR, 0x02, PTHR) Store (One, PTHR) Notify (VGA, 0x81) } Method (AFN3, 1, Serialized) { Store (Arg0, Local0) Store (Local0, SFPS) CreateBitField (PSBR, 0x03, PFPS) Store (One, PFPS) Notify (VGA, 0x81) } Method (AFN4, 1, Serialized) { Store (Arg0, Local0) Store (Local0, SSPS) CreateBitField (PSBR, 0x04, PSPS) Store (One, PSPS) Notify (VGA, 0x81) } Method (AFN5, 0, Serialized) { CreateBitField (PSBR, 0x05, PDCC) Store (One, PDCC) Notify (VGA, 0x81) } Method (AFN6, 0, Serialized) { If (And (MSKN, 0x40)) { CreateBitField (PSBR, 0x06, PDDS) Store (One, PDDS) Notify (VGA, 0x81) } } } Device (HDAU) { Name (_ADR, One) OperationRegion (PCFG, PCI_Config, Zero, 0x50) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, Offset (0x2C), SVID, 32, Offset (0x4C), SMID, 32 } } Name (_PRW, Package (0x02) { 0x18, 0x04 }) Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x12 }, Package (0x04) { 0xFFFF, One, Zero, 0x13 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x11 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKC, Zero }, Package (0x04) { 0xFFFF, One, LNKD, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKA, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKB, Zero } }) } } Device (VGA) { Name (_ADR, Zero) Name (SWIT, One) Name (EBRT, One) Name (CRTD, One) Name (LCDD, One) Name (TVOD, One) Name (TOGF, One) Method (_STA, 0, NotSerialized) { Return (0x0F) } Name (_PSC, Zero) Method (_PS0, 0, NotSerialized) { Store (Zero, _PSC) } Method (_PS3, 0, NotSerialized) { Store (0x03, _PSC) } Method (_DOS, 1, NotSerialized) { Store (And (Arg0, 0x03), SWIT) Store (And (Arg0, 0x04), EBRT) } Method (_DOD, 0, NotSerialized) { Return (Package (0x03) { 0x00010100, 0x00010110, 0x00010210 }) } Device (CRDD) { Name (_ADR, 0x0100) Method (_DCS, 0, NotSerialized) { If (CRTD) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (CRTD) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } } Device (LCDL) { Name (_ADR, 0x0110) Method (_DCS, 0, NotSerialized) { If (LCDD) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (LCDD) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } Method (_BCL, 0, NotSerialized) { Return (Package (0x0D) { 0x64, 0x32, Zero, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) } Name (BCLP, Package (0x0B) { Zero, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) Name (AUPW, Package (0x0B) { 0x05, 0x07, 0x09, 0x0D, 0x13, 0x1B, 0x23, 0x2E, 0x3C, 0x4D, 0x64 }) Name (LGPW, Package (0x0B) { 0x06, 0x07, 0x09, 0x0D, 0x11, 0x17, 0x1E, 0x28, 0x34, 0x43, 0x64 }) Name (CHPW, Package (0x0B) { 0x06, 0x07, 0x09, 0x0D, 0x11, 0x17, 0x1E, 0x28, 0x34, 0x43, 0x64 }) Name (SNPW, Package (0x0B) { 0x06, 0x07, 0x09, 0x0D, 0x11, 0x17, 0x1E, 0x28, 0x34, 0x43, 0x64 }) Method (_BCM, 1, NotSerialized) { Store (One, Local0) Store (Zero, Local1) While (Local0) { If (LEqual (Arg0, DerefOf (Index (BCLP, Local1)))) { Store (Zero, Local0) } Else { Add (Local1, One, Local1) } } Store (^^^^LPC0.EC.ADP, Local0) If (Local0) { Store (Local1, ^^^^LPC0.EC.BNAC) } Else { Store (Local1, ^^^^LPC0.EC.BNDC) } Store (^^^^LPC0.EC.PNID, Local0) Name (_T_0, Zero) Store (Local0, _T_0) If (LEqual (_T_0, One)) { Store (DerefOf (Index (AUPW, Local1)), CBRL) } Else { If (LEqual (_T_0, 0x02)) { Store (DerefOf (Index (CHPW, Local1)), CBRL) } Else { If (LEqual (_T_0, 0x04)) { Store (DerefOf (Index (SNPW, Local1)), CBRL) } Else { If (LEqual (_T_0, 0x08)) { Store (DerefOf (Index (LGPW, Local1)), CBRL) } Else { Store (DerefOf (Index (LGPW, Local1)), CBRL) } } } } } } Device (TVDD) { Name (_ADR, 0x0210) Method (_DCS, 0, NotSerialized) { If (TVOD) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (TVOD) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { Store ("TVO --_DSS", Debug) } } } } Device (PB4) { Name (_ADR, 0x00040000) Method (_PRW, 0, NotSerialized) { If (LEqual (WKPM, One)) { Return (GPRW (0x12, 0x05)) } Else { Return (GPRW (0x12, Zero)) } } Method (_PSW, 1, NotSerialized) { And (Arg0, One, Local0) If (Local0) { Store (Zero, ^^LPC0.EC.WOLP) } Else { Store (One, ^^LPC0.EC.WOLP) } } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0xFFFF, One, Zero, 0x11 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x13 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKA, Zero }, Package (0x04) { 0xFFFF, One, LNKB, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKC, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKD, Zero } }) } } OperationRegion (XPCB, PCI_Config, 0x58, 0x24) Field (XPCB, ByteAcc, NoLock, Preserve) { Offset (0x10), LKCN, 16, LKST, 16, Offset (0x1A), SLST, 16 } OperationRegion (XPRI, PCI_Config, 0xE0, 0x08) Field (XPRI, ByteAcc, NoLock, Preserve) { XPIR, 32, XPID, 32 } OperationRegion (XPEX, SystemMemory, 0xF7020100, 0x0100) Field (XPEX, DWordAcc, NoLock, Preserve) { Offset (0x28), VC0S, 32 } Method (XPDL, 0, NotSerialized) { Store (Zero, Local0) If (And (VC0S, 0x00020000)) { Store (Ones, Local0) } Return (Local0) } Method (XPRD, 1, NotSerialized) { Store (Arg0, XPIR) Store (XPID, Local0) Store (Zero, XPIR) Return (Local0) } Method (XPWR, 2, NotSerialized) { Store (Arg0, XPIR) Store (Arg1, XPID) Store (Zero, XPIR) } Method (XPRT, 0, NotSerialized) { Store (XPRD (0xA2), Local0) And (Local0, 0xFFFFFFF8, Local0) ShiftRight (Local0, 0x04, Local1) And (Local1, 0x07, Local1) Or (Local0, Local1, Local0) Or (Local0, 0x0100, Local0) XPWR (0xA2, Local0) } Method (XPLP, 1, NotSerialized) { Store (0x0101, Local1) Store (NBXR (0x00020065), Local2) If (Arg0) { And (Local2, Not (Local1), Local2) } Else { Or (Local2, Local1, Local2) } NBXW (0x00020065, Local2) } Method (XPR2, 0, NotSerialized) { Store (LKCN, Local0) And (Local0, 0xFFFFFFDF, Local0) Store (Local0, LKCN) Or (Local0, 0x20, Local0) Store (Local0, LKCN) Store (0x64, Local1) Store (One, Local2) While (LAnd (Local1, Local2)) { Sleep (One) Store (LKST, Local3) If (And (Local3, 0x0800)) { Decrement (Local1) } Else { Store (Zero, Local2) } } And (Local0, 0xFFFFFFDF, Local0) Store (Local0, LKCN) If (LNot (Local2)) { Return (Ones) } Else { Return (Zero) } } Device (NCRD) { Name (_ADR, Zero) OperationRegion (PCFG, PCI_Config, Zero, 0x08) Field (PCFG, DWordAcc, NoLock, Preserve) { DVID, 32, PCMS, 32 } } } Device (PB5) { Name (_ADR, 0x00050000) OperationRegion (P1CS, PCI_Config, 0x40, 0x0100) Field (P1CS, AnyAcc, NoLock, Preserve) { Offset (0x10) } Device (PXS1) { Name (_ADR, Zero) OperationRegion (PS1C, PCI_Config, Zero, 0x30) Field (PS1C, AnyAcc, NoLock, Preserve) { WVIL, 8, WVIH, 8, WDIL, 8, WDIH, 8, Offset (0x2C), WSVL, 8, WSVH, 8, WSSL, 8, WSSH, 8 } Method (SWVD, 0, NotSerialized) { Store (One, ^^^LPC0.EC.WLNS) If (LEqual (WVIL, 0xFF)) { If (LEqual (WVIH, 0xFF)) { Store (Zero, ^^^LPC0.EC.WLNS) } } If (LEqual (WVIL, Zero)) { If (LEqual (WVIH, Zero)) { Store (Zero, ^^^LPC0.EC.WLNS) } } } } Name (_PRW, Package (0x02) { 0x18, 0x04 }) Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x11 }, Package (0x04) { 0xFFFF, One, Zero, 0x12 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x13 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x10 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKB, Zero }, Package (0x04) { 0xFFFF, One, LNKC, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKD, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKA, Zero } }) } } } Scope (\_GPE) { Method (_L18, 0, NotSerialized) { Notify (\_SB.PCI0.PB5, 0x02) Notify (\_SB.PCI0.PB7, 0x02) } } Device (PB6) { Name (_ADR, 0x00060000) Method (_PRW, 0, NotSerialized) { If (LEqual (WKPM, One)) { Return (GPRW (0x12, 0x05)) } Else { Return (GPRW (0x12, Zero)) } } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x12 }, Package (0x04) { 0xFFFF, One, Zero, 0x13 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x11 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKC, Zero }, Package (0x04) { 0xFFFF, One, LNKD, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKA, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKB, Zero } }) } } } Device (PB7) { Name (_ADR, 0x00070000) OperationRegion (P7CS, PCI_Config, 0x40, 0x0100) Field (P7CS, AnyAcc, NoLock, Preserve) { Offset (0x10) } Device (P7S1) { Name (_ADR, Zero) OperationRegion (PS1C, PCI_Config, Zero, 0x30) Field (PS1C, AnyAcc, NoLock, Preserve) { WVIL, 8, WVIH, 8, WDIL, 8, WDIH, 8, Offset (0x2C), WSVL, 8, WSVH, 8, WSSL, 8, WSSH, 8 } } Name (_PRW, Package (0x02) { 0x18, 0x04 }) Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x13 }, Package (0x04) { 0xFFFF, One, Zero, 0x10 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x11 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x12 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKD, Zero }, Package (0x04) { 0xFFFF, One, LNKA, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKB, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKC, Zero } }) } } } Device (PB9) { Name (_ADR, 0x00090000) Method (_PRW, 0, NotSerialized) { If (LEqual (WKPM, One)) { Return (GPRW (0x12, 0x05)) } Else { Return (GPRW (0x12, Zero)) } } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x11 }, Package (0x04) { 0xFFFF, One, Zero, 0x12 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x13 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x10 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKB, Zero }, Package (0x04) { 0xFFFF, One, LNKC, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKD, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKA, Zero } }) } } } Device (PB10) { Name (_ADR, 0x000A0000) Method (_PRW, 0, NotSerialized) { If (LEqual (WKPM, One)) { Return (GPRW (0x12, 0x05)) } Else { Return (GPRW (0x12, Zero)) } } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, Zero, 0x12 }, Package (0x04) { 0xFFFF, One, Zero, 0x13 }, Package (0x04) { 0xFFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0xFFFF, 0x03, Zero, 0x11 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKC, Zero }, Package (0x04) { 0xFFFF, One, LNKD, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKA, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKB, Zero } }) } } } Device (HPET) { Name (_HID, EisaId ("PNP0103")) Method (_STA, 0, NotSerialized) { If (LAnd (^^SMBS.HPAD, Ones)) { Return (0x0F) } Return (Zero) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length _Y05) }) CreateDWordField (BUF0, \_SB.PCI0.HPET._CRS._Y05._BAS, HPEB) Store (^^SMBS.HPAD, Local0) And (Local0, 0xFFFFFFC0, HPEB) Return (BUF0) } } Device (AZAL) { Name (_ADR, 0x00140002) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x1B, 0x03)) } } Device (USB0) { Name (_ADR, 0x00120000) OperationRegion (U0CS, PCI_Config, 0xC4, 0x04) Field (U0CS, DWordAcc, NoLock, Preserve) { U0EN, 2 } Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x03)) } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, U0EN) } Else { Store (Zero, U0EN) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } Device (HUB0) { Name (_ADR, Zero) Device (PRX1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRX2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRX3) { Name (_ADR, 0x03) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } } } Device (USB1) { Name (_ADR, 0x00120001) OperationRegion (U1CS, PCI_Config, 0xC4, 0x04) Field (U1CS, DWordAcc, NoLock, Preserve) { U1EN, 2 } Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x03)) } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, U1EN) } Else { Store (Zero, U1EN) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } Device (HUB1) { Name (_ADR, Zero) Device (PRX1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRX2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { 0x81, 0x00, 0x03 }) } Device (PRX3) { Name (_ADR, 0x03) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } } } Device (USB2) { Name (_ADR, 0x00130000) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB3) { Name (_ADR, 0x00130001) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB4) { Name (_ADR, 0x00140005) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB5) { Name (_ADR, 0x00120002) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0B, 0x03)) } Device (RHUB) { Name (_ADR, Zero) Device (PRT1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT3) { Name (_ADR, 0x03) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT4) { Name (_ADR, 0x04) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT5) { Name (_ADR, 0x05) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT6) { Name (_ADR, 0x06) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { 0x81, 0x00, 0x03 }) } } } Device (USB6) { Name (_ADR, 0x00130002) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } Device (RHUB) { Name (_ADR, Zero) Device (PRT1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { 0x81, 0x00, 0x03 }) } Device (PRT2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { Zero, 0xFF, Zero, Zero }) } Device (PRT3) { Name (_ADR, 0x03) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { 0x81, 0x00, 0x03 }) } Device (PRT4) { Name (_ADR, 0x04) Name (_UPC, Package (0x04) { Zero, 0xFF, Zero, Zero }) } Device (PRT5) { Name (_ADR, 0x05) Name (_UPC, Package (0x04) { Zero, 0xFF, Zero, Zero }) } Device (PRT6) { Name (_ADR, 0x06) Name (_UPC, Package (0x04) { Zero, 0xFF, Zero, Zero }) } } } Device (SMBS) { Name (_ADR, 0x00140000) OperationRegion (IRQF, PCI_Config, Zero, 0x0100) Field (IRQF, ByteAcc, NoLock, Preserve) { Offset (0x08), RVID, 8, Offset (0x62), IRQK, 1, IRQM, 1, Offset (0x63), Offset (0x90), BMBS, 16, Offset (0xAA), , 2, GP06, 1, Offset (0xAD), SA1E, 1, , 3, SA2E, 1, Offset (0xB4), HPAD, 32, Offset (0xF8), GCMD, 8, Offset (0xFF), , 3, GP39, 1, Offset (0x100) } OperationRegion (PIO2, SystemIO, 0x0CD0, 0x02) Field (PIO2, ByteAcc, NoLock, Preserve) { INP2, 8, DAP2, 8 } IndexField (INP2, DAP2, ByteAcc, NoLock, Preserve) { Offset (0xE9), , 3, PD39, 1, , 3, PU39, 1, Offset (0xF7), , 2, GPD6, 1, , 1, , 2, GPU6, 1 } OperationRegion (PMIO, SystemIO, 0x0CD6, 0x02) Field (PMIO, ByteAcc, NoLock, Preserve) { INPM, 8, DAPM, 8 } IndexField (INPM, DAPM, ByteAcc, NoLock, Preserve) { , 1, TM1E, 1, TM2E, 1, Offset (0x01), , 1, TM1S, 1, TM2S, 1, Offset (0x04), , 7, SLPS, 1, Offset (0x1C), , 3, MKME, 1, PI3E, 1, PI2E, 1, PI1E, 1, PI0E, 1, , 3, MKMS, 1, PI3S, 1, PI2S, 1, PI1S, 1, PI0S, 1, Offset (0x38), , 1, GM4C, 1, GM5C, 1, , 1, GM6C, 1, Offset (0x55), SPRE, 1, Offset (0x65), , 4, RS3U, 1, RSTU, 1, Offset (0x68), , 3, TPDE, 1, , 1 } OperationRegion (GPIO, PCI_Config, Zero, 0x0100) Field (GPIO, AnyAcc, NoLock, Preserve) { Offset (0x50), G49O, 1, G50O, 1, G51O, 1, G52O, 1, G49E, 1, G50E, 1, G51E, 1, G52E, 1, Offset (0x52), G53O, 1, G54O, 1, G55O, 1, G56O, 1, G53E, 1, G54E, 1, G55E, 1, G56E, 1, Offset (0x56), , 3, G64O, 1, , 3, G64E, 1, Offset (0x5A), G70O, 1, G71O, 1, G72O, 1, G73O, 1, G70E, 1, G71E, 1, G72E, 1, G73E, 1, G70S, 1, G71S, 1, G72S, 1, G73S, 1, G70F, 1, G71F, 1, G72F, 1, G73F, 1, Offset (0x7E), , 1, G66O, 1, , 3, G66E, 1, Offset (0x7F), , 1, G66S, 1, Offset (0x80), , 3, G03O, 1, , 3, G03E, 1, , 3, G03S, 1, Offset (0x82), G13O, 1, , 3, G13E, 1, Offset (0xA6), , 3, G48O, 1, , 3, G48E, 1, Offset (0xA8), , 1, G05O, 1, , 1, G07O, 1, G08O, 1, G09O, 1, Offset (0xA9), , 1, G05E, 1, , 1, G07E, 1, G08E, 1, G09E, 1, Offset (0xAA), , 3, G07S, 1, Offset (0xBC), G33O, 1, G34O, 1, G35O, 1, G36O, 1, G33E, 1, G34E, 1, G35E, 1, G36E, 1, G33S, 1, G34S, 1, G35S, 1, G36S, 1, G33F, 1, G34F, 1, G35F, 1, G36F, 1 } Method (GWVD, 0, NotSerialized) { If (PD39) { Store (Zero, PD39) } If (PU39) { Store (Zero, PU39) } If (LNotEqual (GCMD, Zero)) { Store (Zero, GCMD) } If (GP39) { Store (Zero, ^^LPC0.EC.WWNS) } Else { Store (One, ^^LPC0.EC.WWNS) } } Method (PLND, 0, NotSerialized) { If (GPD6) { Store (Zero, GPD6) } If (GPU6) { Store (Zero, GPU6) } } Method (SMAB, 3, Serialized) { OperationRegion (SMBI, SystemIO, And (BMBS, 0xFFFE), 0x10) Field (SMBI, ByteAcc, NoLock, Preserve) { HSSS, 8, Offset (0x02), HSCT, 8, HSCD, 8, XMSL, 8, HSD0, 8 } Acquire (_GL, 0xFFFF) Store (Zero, Local2) Store (0xFA, Local0) While (LAnd (And (HSSS, One), LGreater (Local0, Zero))) { Stall (0x64) Decrement (Local0) } If (Local0) { Store (Arg1, HSCD) Store (Arg0, XMSL) If (LEqual (And (Arg0, One), Zero)) { Store (Arg2, HSD0) } Store (0xFF, HSSS) Store (0x48, HSCT) Store (0xFA, Local0) While (LAnd (LEqual (And (HSSS, 0x1E), Zero), LGreater (Local0, Zero))) { Stall (0x64) Decrement (Local0) } And (HSSS, 0x1C, Local1) Store (0xFF, HSSS) If (LAnd (LEqual (Local1, Zero), And (Arg0, One))) { Store (HSD0, Local2) } } Else { Store (One, Local1) } Release (_GL) If (And (Arg0, One)) { ShiftLeft (Local1, 0x08, Local3) Or (Local3, Local2, Local1) } Return (Local1) } OperationRegion (SMBI, SystemIO, And (BMBS, 0xFFFE), 0x10) Field (SMBI, ByteAcc, NoLock, Preserve) { HSTS, 8, HSSA, 8, HCTR, 8, HCMD, 8, SLVA, 8, SDT0, 8, SDT1, 8 } Method (SWRB, 3, Serialized) { If (STRT ()) { Return (Zero) } Store (0x1F, HSTS) Store (Arg0, SLVA) Store (Arg1, HCMD) Store (Arg2, SDT0) Store (0x48, HCTR) If (COMP ()) { Or (HSTS, 0x1F, HSTS) Return (One) } Return (Zero) } Method (WR27, 1, Serialized) { If (STRT ()) { Return (Zero) } Store (0x1F, HSTS) Stall (0x64) Store (0xD2, SLVA) Stall (0x64) Store (0x81, HCMD) Stall (0x64) Store (0x27, SDT0) Stall (0x64) Store (0x27, SDT1) Stall (0x64) Store (0x4C, HCTR) Stall (0x64) And (HSTS, 0x1F, Local1) While (LEqual (Local1, Zero)) { Stall (0x64) And (HSTS, 0x1F, Local1) Stall (0x64) } Store (Local1, HSTS) Return (Zero) } Method (WRA7, 1, Serialized) { If (STRT ()) { Return (Zero) } Store (0x1F, HSTS) Stall (0x64) Store (0xD2, SLVA) Stall (0x64) Store (0x81, HCMD) Stall (0x64) Store (0xA7, SDT0) Stall (0x64) Store (0xA7, SDT1) Stall (0x64) Store (0x4C, HCTR) Stall (0x64) And (HSTS, 0x1F, Local1) While (LEqual (Local1, Zero)) { Stall (0x64) And (HSTS, 0x1F, Local1) Stall (0x64) } Store (Local1, HSTS) } Method (SRDB, 2, Serialized) { If (STRT ()) { Return (0xFFFF) } Store (0x1F, HSTS) Store (Or (Arg0, One), SLVA) Store (Arg1, HCMD) Store (0x48, HCTR) If (COMP ()) { Or (HSTS, 0x1F, HSTS) Return (SDT0) } Return (0xFFFF) } Method (STRT, 0, Serialized) { Store (0x4E20, Local0) While (Local0) { If (And (HSTS, One)) { Decrement (Local0) Stall (0x32) If (LEqual (Local0, Zero)) { KEL () } } Else { Store (0x07D0, Local1) Store (Zero, Local0) While (Local1) { If (And (HSSA, One)) { Decrement (Local1) Stall (0x32) If (LEqual (Local1, Zero)) { Or (HSSA, 0x02, HSSA) } } Else { Return (Zero) } } } } Return (One) } Method (COMP, 0, Serialized) { Store (0x4E20, Local0) While (Local0) { If (And (HSTS, One)) { Decrement (Local0) Stall (0x32) If (LEqual (Local0, Zero)) { KEL () } } Else { Return (One) } } Return (Zero) } Method (KEL, 0, Serialized) { Or (HCTR, 0x02, HCTR) Or (HSTS, 0x1F, HSTS) } } Device (LPC0) { Name (_ADR, 0x00140003) Mutex (PSMX, 0x00) 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, Transfer8_16, ) {4} }) } Device (COPR) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum 0x01, // Alignment 0x0F, // Length ) IRQNoFlags () {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 ) IRQNoFlags () {2} }) } 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 (LAnd (^^^SMBS.HPAD, Ones)) { Return (BUF0) } Return (BUF1) } } Device (TMR) { Name (_HID, EisaId ("PNP0100")) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x01, // Alignment 0x04, // Length ) }) Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x01, // Alignment 0x04, // Length ) IRQNoFlags () {0} }) Method (_CRS, 0, Serialized) { If (LAnd (^^^SMBS.HPAD, Ones)) { Return (BUF0) } Return (BUF1) } } Device (KBC0) { Name (_HID, EisaId ("PNP0303")) 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 ) IRQNoFlags () {1} }) } Device (PS2M) { Name (_HID, EisaId ("AUI2401")) Name (_CID, Package (0x01) { EisaId ("PNP0F13") }) Name (_CRS, ResourceTemplate () { IRQNoFlags () {12} }) } Device (SYSR) { Name (_HID, EisaId ("PNP0C02")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0010, // Range Minimum 0x0010, // Range Maximum 0x01, // Alignment 0x10, // Length ) IO (Decode16, 0x002E, // Range Minimum 0x002E, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0072, // Range Minimum 0x0072, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x00B0, // Range Minimum 0x00B0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0092, // Range Minimum 0x0092, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0400, // Range Minimum 0x0400, // Range Maximum 0x01, // Alignment 0xD0, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x04D6, // Range Minimum 0x04D6, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0680, // Range Minimum 0x0680, // Range Maximum 0x01, // Alignment 0x80, // Length ) IO (Decode16, 0x077A, // Range Minimum 0x077A, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0C00, // Range Minimum 0x0C00, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0C14, // Range Minimum 0x0C14, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0C50, // Range Minimum 0x0C50, // Range Maximum 0x01, // Alignment 0x03, // Length ) IO (Decode16, 0x0C6C, // Range Minimum 0x0C6C, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0C6F, // Range Minimum 0x0C6F, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0CD0, // Range Minimum 0x0CD0, // Range Maximum 0x01, // Alignment 0x0C, // Length ) }) } Device (MEM) { Name (_HID, EisaId ("PNP0C01")) Name (MSRC, ResourceTemplate () { Memory32Fixed (ReadOnly, 0x000E0000, // Address Base 0x00020000, // Address Length ) Memory32Fixed (ReadWrite, 0xFFF00000, // Address Base 0x00100000, // Address Length _Y06) }) Method (_CRS, 0, NotSerialized) { CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y06._LEN, PSIZ) CreateDWordField (MSRC, \_SB.PCI0.LPC0.MEM._Y06._BAS, PBAS) Store (ROMS, PSIZ) Subtract (ROMS, One, Local0) Subtract (Ones, Local0, PBAS) Return (MSRC) } } Device (EC) { Name (_HID, EisaId ("PNP0C09")) Name (_GPE, 0x10) Name (ECOK, Zero) Name (WWFG, One) Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, ECOK) Store (Arg1, ECOK) If (WWFG) { If (_OSI ("Windows 2009")) { Store (One, TME1) } Else { Store (Zero, TME1) } Store (Zero, WFLG) Store (Zero, WWFG) } } } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum 0x01, // Alignment 0x01, // Length ) }) OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF) Field (ERAM, ByteAcc, NoLock, Preserve) { Offset (0x04), CMCM, 8, CMD1, 8, CMD2, 8, CMD3, 8, Offset (0x0E), BLHT, 8, Offset (0x57), LHIL, 8, LHIH, 8, Offset (0x65), TEVN, 8, Offset (0x80), NMSG, 8, PTSS, 8, MODE, 1, KYIN, 1, ACPI, 1, PWBN, 1, TME0, 1, TME1, 1, FANC, 1, DETF, 1, LIDS, 1, LWKE, 1, IWKE, 1, INTM, 1, MWKE, 1, COMM, 1, PME, 1, Offset (0x84), ADP, 1, AFLT, 1, BATP, 1, , 1, BATL, 1, BATC, 1, Offset (0x85), BPU, 32, BDC0, 16, BDC1, 16, BFC0, 16, BFC1, 16, BTC0, 16, BTC1, 16, BDV0, 16, BDV1, 16, BST0, 16, BST1, 16, BPR0, 16, BPR1, 16, BRC0, 16, BRC1, 16, BPV0, 16, BPV1, 16, BTP0, 8, BTP1, 8, Offset (0xAD), BCW0, 16, BCW1, 16, BCL0, 16, BCL1, 16, BCG0, 16, BCG1, 16, BG20, 16, BG21, 16, BMO0, 16, BMO1, 16, BIF, 8, Offset (0xC9), BSN0, 32, BSN1, 32, BTY0, 16, BTY1, 16, BTY2, 16, BTY3, 16, CVT1, 16, CVT2, 16, CVT3, 16, CVT4, 16, CRT, 8, Offset (0xE3), PSV, 8, Offset (0xE5), TMP1, 8, TMP2, 8, NABT, 16, DBU0, 1, DBU1, 1, DBU2, 1, DBU3, 1, DBU4, 1, DBU5, 1, DBU6, 1, DBU7, 1, DBU8, 1, DBU9, 1, DBUA, 1, DBUB, 1, DBUC, 1, DBUD, 1, DBUE, 1, DBUF, 1, CMBR, 8, Offset (0xEF), CPDI, 1, Offset (0xF0), BNDC, 4, BNAC, 4, Offset (0xF3), , 1, FNCO, 1, PAEV, 1, , 1, HKFS, 1, Offset (0xF4), DCPU, 1, ECPR, 1, Offset (0xF5), WLNS, 1, FLAN, 1, WWNS, 1, IDPO, 1, WLNP, 1, WWNP, 1, Offset (0xF6), BTLS, 1, , 3, BTLP, 1, Offset (0xF7), FNSP, 8, Offset (0xF9), GLED, 1, Offset (0xFB), PNID, 5, Offset (0xFD), WOLP, 8, IDPA, 1, , 2 } Mutex (MTX0, 0x00) Mutex (MTX1, 0x00) Method (_Q06, 0, NotSerialized) { S80H (0x06) If (ADP) { Notify (AC, 0x80) Notify (BAT0, 0x80) } Else { Notify (AC, 0x80) Notify (BAT0, 0x80) } } Method (_Q08, 0, NotSerialized) { S80H (0x08) ^^^^BAT0.INUT () Notify (BAT0, 0x80) If (BATP) { Store (Zero, SIMD) If (BTNS) {} } Else { Store (One, SIMD) If (BTNS) {} } Store (0x05, ^^^^WMID.WMIU) Store (Zero, ^^^^WMID.WMIV) Notify (WMID, 0x80) } Method (_Q09, 0, NotSerialized) { S80H (0x09) ^^^^BAT0.UBST () Notify (BAT0, 0x80) } Method (_Q03, 0, NotSerialized) { S80H (0x33) Notify (BAT0, 0x80) } Method (_Q04, 0, NotSerialized) { S80H (0x04) Notify (BAT0, 0x80) } Method (_Q0A, 0, NotSerialized) { S80H (0x0A) Notify (LID, 0x80) } Method (_Q14, 0, NotSerialized) { S80H (0x14) ^^^AGP.VGA.AFN0 () } Method (_Q17, 0, NotSerialized) { S80H (0x17) Store (ADP, Local0) If (Local0) { Store (BNAC, Local0) If (LGreater (Local0, 0x0A)) { Store (0x0A, Local0) } If (LGreater (Local0, Zero)) { Decrement (Local0) Store (Local0, BNAC) Notify (^^^AGP.VGA.LCD, 0x87) Notify (^^^PB2.VGA.LCDL, 0x87) } } Else { Store (BNDC, Local0) If (LGreater (Local0, 0x0A)) { Store (0x0A, Local0) } If (LGreater (Local0, Zero)) { Decrement (Local0) Store (Local0, BNDC) Notify (^^^AGP.VGA.LCD, 0x87) Notify (^^^PB2.VGA.LCDL, 0x87) } } } Method (_Q18, 0, NotSerialized) { S80H (0x18) Store (ADP, Local0) If (Local0) { Store (BNAC, Local0) If (LGreater (Local0, 0x0A)) { Store (0x0A, Local0) } If (LLess (Local0, 0x0A)) { Increment (Local0) Store (Local0, BNAC) Notify (^^^AGP.VGA.LCD, 0x86) Notify (^^^PB2.VGA.LCDL, 0x86) } } Else { Store (BNDC, Local0) If (LGreater (Local0, 0x0A)) { Store (0x0A, Local0) } If (LLess (Local0, 0x0A)) { Increment (Local0) Store (Local0, BNDC) Notify (^^^AGP.VGA.LCD, 0x86) Notify (^^^PB2.VGA.LCDL, 0x86) } } } Method (_Q37, 0, NotSerialized) { S80H (0x37) Store (One, HTMS) Sleep (0x1E) } Name (WLSL, One) Name (BTSL, One) Name (WWSL, One) Name (WLAS, One) Method (_Q43, 0, NotSerialized) { S80H (0x43) If (BTNS) { Store (Zero, BTNS) If (WLNS) { Store (Zero, WLNP) } If (BTLS) { Store (Zero, BTLP) } If (WWNS) { Store (Zero, WWNP) } } Else { Store (One, BTNS) If (WLAS) { If (LAnd (WLNS, WLSL)) { If (WLWI) { Store (One, WLNP) } } If (LAnd (BTLS, BTSL)) { If (BTWI) { Store (One, BTLP) } } If (LAnd (WWNS, WWSL)) { If (WWWI) { If (BATP) { Store (One, WWNP) } Else { Store (Zero, WWNP) } } } } Else { If (LAnd (WLNS, WLSL)) { Store (Zero, WLNP) } If (LAnd (BTLS, BTSL)) { Store (Zero, BTLP) } If (LAnd (WWNS, WWSL)) { Store (Zero, WWNP) } } } Store (BTLP, CBTP) Store (WLNP, CWLP) Store (WWNP, CWWP) Sleep (0xC8) Store (0x05, ^^^^WMID.WMIU) Store (Zero, ^^^^WMID.WMIV) Notify (WMID, 0x80) } Method (_Q1A, 0, NotSerialized) { S80H (0x1A) Store (One, \_PR.C000._PPC) Notify (\_PR.C000, 0x80) Sleep (0x0A) } Method (_Q1B, 0, NotSerialized) { } Method (_Q1C, 0, NotSerialized) { S80H (0x1C) Store (One, \_PR.C000._PPC) Notify (\_PR.C000, 0x80) Sleep (0x0A) } Method (_Q1D, 0, NotSerialized) { } Method (_Q1F, 0, NotSerialized) { S80H (0x1F) Store (Zero, \_PR.C000._PPC) Notify (\_PR.C000, 0x80) Sleep (0x0A) } Method (_Q23, 0, NotSerialized) { OperationRegion (NMIC, SystemIO, 0x0CD6, 0x02) Field (NMIC, ByteAcc, NoLock, Preserve) { IDX2, 8, DAT2, 8 } IndexField (IDX2, DAT2, ByteAcc, NoLock, Preserve) { Offset (0x5E), , 5, CNB5, 1, Offset (0x5F) } Store (One, CNB5) } Method (_Q38, 0, NotSerialized) { If (PAEV) {} Else { S80H (0x38) Store (One, \_PR.C000._PPC) Notify (\_PR.C000, 0x80) Sleep (0x0A) } } Method (_Q3A, 0, NotSerialized) { S80H (0x3A) If (ADP) { Store (Zero, \_PR.C000._PPC) Notify (\_PR.C000, 0x80) Sleep (0x0A) } Else { If (PAEV) { Store (Zero, \_PR.C000._PPC) Notify (\_PR.C000, 0x80) Sleep (0x0A) } Else { Store (One, \_PR.C000._PPC) Notify (\_PR.C000, 0x80) Sleep (0x0A) } } } Method (_QCC, 0, NotSerialized) { S80H (0xCC) } Method (_Q48, 0, NotSerialized) { Sleep (0xC8) Store (0x05, ^^^^WMID.WMIU) Store (Zero, ^^^^WMID.WMIV) Notify (WMID, 0x80) } Scope (_TZ) { ThermalZone (TZ01) { Name (REGN, "Processor Thermal Zone") Name (FMAX, 0x15E0) Name (FMIN, 0x07D0) Method (FRSP, 0, NotSerialized) { If (\_SB.PCI0.LPC0.EC.ECOK) { Return (Multiply (\_SB.PCI0.LPC0.EC.FNSP, 0xFF)) } Return (FMAX) } Method (FSSP, 1, NotSerialized) { If (\_SB.PCI0.LPC0.EC.ECOK) { Store (And (LNot (Arg0), One), \_SB.PCI0.LPC0.EC.FNCO) } } Name (NWTM, 0x50) Method (_TMP, 0, NotSerialized) { If (\_SB.PCI0.LPC0.EC.ECOK) { Acquire (\_SB.PCI0.LPC0.EC.MTX0, 0xFFFF) Store (\_SB.PCI0.LPC0.EC.TMP1, Local0) Release (\_SB.PCI0.LPC0.EC.MTX0) Store (Local0, NWTM) Notify (\_PR.C000, 0x80) Notify (\_PR.C000, 0x81) If (LGreaterEqual (NWTM, 0x5F)) { Acquire (\_SB.PCI0.LPC0.EC.MTX0, 0xFFFF) \_SB.PCI0.LPC0.EC._Q37 () Release (\_SB.PCI0.LPC0.EC.MTX0) } Sleep (0xC8) Return (Add (Multiply (Local0, 0x0A), 0x0AAC)) } Else { Return (0x0C3C) } } Method (_PSV, 0, NotSerialized) { Notify (\_PR.C000, 0x80) Notify (\_PR.C000, 0x81) If (\_SB.PCI0.LPC0.EC.PAEV) { Return (0x0DCC) } Else { Return (0x0E30) } } Name (_PSL, Package (0x01) { \_PR.C000 }) Name (_TSP, 0x28) Name (_TC1, 0x02) Name (_TC2, 0x03) Method (_CRT, 0, NotSerialized) { If (\_SB.PCI0.LPC0.EC.ECOK) { Acquire (\_SB.PCI0.LPC0.EC.MTX0, 0xFFFF) Store (\_SB.PCI0.LPC0.EC.CRT, Local0) Release (\_SB.PCI0.LPC0.EC.MTX0) Return (Add (Multiply (Local0, 0x0A), 0x0AAC)) } Return (0x0E94) } Method (_HOT, 0, NotSerialized) { If (\_SB.PCI0.LPC0.EC.PAEV) { Return (0x0E62) } Else { Return (0x0E62) } } Method (_SCP, 1, Serialized) { Store (Arg0, \_SB.PCI0.LPC0.EC.PAEV) } } } } OperationRegion (LCLM, SystemIO, 0x0C50, 0x03) Field (LCLM, ByteAcc, NoLock, Preserve) { CLMI, 8, CLMD, 8, CLGP, 8 } IndexField (CLMI, CLMD, ByteAcc, NoLock, Preserve) { IDRG, 8, Offset (0x02), TSTS, 8, TINT, 8, Offset (0x12), I2CC, 8, GPIO, 8 } Method (RGPM, 0, NotSerialized) { Store (GPIO, Local0) And (Local0, 0xFFFFFF3F, Local0) Store (Local0, GPIO) Store (CLGP, Local1) Return (Local1) } } Device (P2P) { Name (_ADR, 0x00140004) Method (_PRW, 0, NotSerialized) { If (LEqual (WKPM, One)) { Return (GPRW (0x04, 0x05)) } Else { Return (GPRW (0x04, Zero)) } } OperationRegion (PCPC, PCI_Config, Zero, 0xFF) Field (PCPC, ByteAcc, NoLock, Preserve) { Offset (0x04), PCMD, 8, Offset (0x1C), IOW1, 8, IOW2, 8, Offset (0x48), PR48, 8, PR49, 8, PR4A, 8, PR4B, 8 } Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (PIC) } Else { Return (APIC) } } Name (PIC, Package (0x0E) { Package (0x04) { 0x0004FFFF, Zero, LNKE, Zero }, Package (0x04) { 0x0004FFFF, One, LNKF, Zero }, Package (0x04) { 0x0005FFFF, Zero, LNKE, Zero }, Package (0x04) { 0x0005FFFF, One, LNKF, Zero }, Package (0x04) { 0x0005FFFF, 0x02, LNKG, Zero }, Package (0x04) { 0x0005FFFF, 0x03, LNKH, Zero }, Package (0x04) { 0x0006FFFF, Zero, LNKF, Zero }, Package (0x04) { 0x0006FFFF, One, LNKG, Zero }, Package (0x04) { 0x0006FFFF, 0x02, LNKH, Zero }, Package (0x04) { 0x0006FFFF, 0x03, LNKE, Zero }, Package (0x04) { 0x0007FFFF, Zero, LNKG, Zero }, Package (0x04) { 0x0007FFFF, One, LNKH, Zero }, Package (0x04) { 0x0007FFFF, 0x02, LNKE, Zero }, Package (0x04) { 0x0007FFFF, 0x03, LNKF, Zero } }) Name (APIC, Package (0x0E) { Package (0x04) { 0x0004FFFF, Zero, Zero, 0x14 }, Package (0x04) { 0x0004FFFF, One, Zero, 0x15 }, Package (0x04) { 0x0005FFFF, Zero, Zero, 0x14 }, Package (0x04) { 0x0005FFFF, One, Zero, 0x15 }, Package (0x04) { 0x0005FFFF, 0x02, Zero, 0x16 }, Package (0x04) { 0x0005FFFF, 0x03, Zero, 0x17 }, Package (0x04) { 0x0006FFFF, Zero, Zero, 0x15 }, Package (0x04) { 0x0006FFFF, One, Zero, 0x16 }, Package (0x04) { 0x0006FFFF, 0x02, Zero, 0x17 }, Package (0x04) { 0x0006FFFF, 0x03, Zero, 0x14 }, Package (0x04) { 0x0007FFFF, Zero, Zero, 0x16 }, Package (0x04) { 0x0007FFFF, One, Zero, 0x17 }, Package (0x04) { 0x0007FFFF, 0x02, Zero, 0x14 }, Package (0x04) { 0x0007FFFF, 0x03, Zero, 0x15 } }) } Device (SATA) { Name (_ADR, 0x00110000) Name (B5EN, Zero) Name (BA_5, Zero) Name (SBAR, Ones) OperationRegion (SATX, PCI_Config, Zero, 0x28) Field (SATX, AnyAcc, NoLock, Preserve) { VIDI, 32, Offset (0x0A), STCL, 16, Offset (0x24), BA05, 32 } Method (GBAA, 0, Serialized) { Store (BA05, BA_5) If (LEqual (BA_5, Ones)) { Store (Zero, B5EN) Return (SBAR) } Else { Store (One, B5EN) Return (BA_5) } } OperationRegion (BAR5, SystemMemory, GBAA (), 0x1000) Field (BAR5, AnyAcc, NoLock, Preserve) { Offset (0x120), , 7, PMBY, 1, Offset (0x128), PMS0, 4, Offset (0x129), PMS1, 4, Offset (0x12C), DET0, 4, Offset (0x130), Offset (0x132), PRC0, 1, Offset (0x1A0), , 7, SMBY, 1, Offset (0x1A8), SMS0, 4, Offset (0x1A9), SMS1, 4, Offset (0x1AC), DET1, 4, Offset (0x1B0), Offset (0x1B2), PRC1, 1, Offset (0x220), , 7, PSBY, 1, Offset (0x228), PSS0, 4, Offset (0x229), PSS1, 4, Offset (0x22C), DET2, 4, Offset (0x230), Offset (0x232), PRC2, 1, Offset (0x2A0), , 7, SSBY, 1, Offset (0x2A8), SSS0, 4, Offset (0x2A9), SSS1, 4, Offset (0x2AC), DET3, 4, Offset (0x2B0), Offset (0x2B2), PRC3, 1 } Method (_INI, 0, NotSerialized) { GBAA () } Device (PRID) { Name (_ADR, Zero) Name (SPTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0010 */ 0x1F, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SPTM) } Name (PRIS, Zero) Method (_PS0, 0, NotSerialized) { If (LEqual (STCL, 0x0101)) { GBAA () If (LAnd (LOr (LEqual (TPOS, 0x40), LEqual (TPOS, 0x04)), B5EN)) { If (PMS1) { Store (0x32, Local0) While (LAnd (LEqual (PMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } If (PSS1) { Store (0x32, Local0) While (LAnd (LEqual (PSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } } Store (Zero, PRIS) } } Method (_PS3, 0, NotSerialized) { Store (0x03, PRIS) } Method (_PSC, 0, NotSerialized) { Return (PRIS) } Device (P_D0) { Name (_ADR, Zero) Method (_STA, 0, NotSerialized) { GBAA () If (LEqual (B5EN, Zero)) { Return (Zero) } If (Not (LEqual (PMS1, Zero))) { Return (0x0F) } Else { Return (Zero) } } Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { If (LEqual (STCL, 0x0101)) { GBAA () If (LAnd (LAnd (LNotEqual (TPOS, 0x40), LNotEqual (TPOS, 0x04)), B5EN)) { Store (0x32, Local0) While (LAnd (LEqual (PMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } Store (Zero, S12P) } } Method (_PS3, 0, NotSerialized) { Store (0x03, S12P) } Method (_PSC, 0, NotSerialized) { Return (S12P) } Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Local0) } } Device (P_D1) { Name (_ADR, One) Method (_STA, 0, NotSerialized) { GBAA () If (LEqual (B5EN, Zero)) { Return (Zero) } If (Not (LEqual (SMS1, Zero))) { Return (0x0F) } Else { Return (Zero) } } Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { If (LEqual (STCL, 0x0101)) { GBAA () If (LAnd (LAnd (LNotEqual (TPOS, 0x40), LNotEqual (TPOS, 0x04)), B5EN)) { Store (0x32, Local0) While (LAnd (LEqual (PSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } Store (Zero, S12P) } } Method (_PS3, 0, NotSerialized) { Store (0x03, S12P) } Method (_PSC, 0, NotSerialized) { Return (S12P) } Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Local0) } } } Device (SECD) { Name (_ADR, One) Name (SPTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0010 */ 0x1F, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SPTM) } Name (SECS, Zero) Method (_PS0, 0, NotSerialized) { If (LEqual (STCL, 0x0101)) { GBAA () If (LAnd (LOr (LEqual (TPOS, 0x40), LEqual (TPOS, 0x04)), B5EN)) { If (SMS1) { Store (0x32, Local0) While (LAnd (LEqual (SMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } If (SSS1) { Store (0x32, Local0) While (LAnd (LEqual (SSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } } Store (Zero, SECS) } } Method (_PS3, 0, NotSerialized) { Store (0x03, SECS) } Method (_PSC, 0, NotSerialized) { Return (SECS) } Device (S_D0) { Name (_ADR, Zero) Method (_STA, 0, NotSerialized) { GBAA () If (LEqual (B5EN, Zero)) { Return (Zero) } If (Not (LEqual (PSS1, Zero))) { Return (0x0F) } Else { Return (Zero) } } Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { If (LEqual (STCL, 0x0101)) { GBAA () If (LAnd (LAnd (LNotEqual (TPOS, 0x40), LNotEqual (TPOS, 0x04)), B5EN)) { Store (0x32, Local0) While (LAnd (LEqual (SMBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } Store (Zero, S12P) } } Method (_PS3, 0, NotSerialized) { Store (0x03, S12P) } Method (_PSC, 0, NotSerialized) { Return (S12P) } Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Local0) } } Device (S_D1) { Name (_ADR, One) Method (_STA, 0, NotSerialized) { GBAA () If (LEqual (B5EN, Zero)) { Return (Zero) } If (Not (LEqual (SSS0, Zero))) { Return (0x0F) } Else { Return (Zero) } } Name (S12P, Zero) Method (_PS0, 0, NotSerialized) { If (LEqual (STCL, 0x0101)) { GBAA () If (LAnd (LAnd (LNotEqual (TPOS, 0x40), LNotEqual (TPOS, 0x04)), B5EN)) { Store (0x32, Local0) While (LAnd (LEqual (SSBY, One), Local0)) { Sleep (0xFA) Decrement (Local0) } } Store (Zero, S12P) } } Method (_PS3, 0, NotSerialized) { Store (0x03, S12P) } Method (_PSC, 0, NotSerialized) { Return (S12P) } Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Local0) } } } } Scope (\_GPE) { Method (_L1F, 0, NotSerialized) { \_SB.PCI0.SATA.GBAA () If (\_SB.PCI0.SATA.B5EN) { If (\_SB.PCI0.SATA.PRC0) { If (Not (LEqual (\_SB.PCI0.SATA.PMS1, Zero))) { Sleep (0x1E) } Notify (\_SB.PCI0.SATA.PRID.P_D0, One) Store (One, \_SB.PCI0.SATA.PRC0) } If (\_SB.PCI0.SATA.PRC1) { If (Not (LEqual (\_SB.PCI0.SATA.SMS1, Zero))) { Sleep (0x1E) } Notify (\_SB.PCI0.SATA.SECD.S_D0, One) Store (One, \_SB.PCI0.SATA.PRC1) } If (\_SB.PCI0.SATA.PRC2) { If (Not (LEqual (\_SB.PCI0.SATA.PSS1, Zero))) { Sleep (0x1E) } Notify (\_SB.PCI0.SATA.PRID.P_D1, One) Store (One, \_SB.PCI0.SATA.PRC2) } If (\_SB.PCI0.SATA.PRC3) { If (Not (LEqual (\_SB.PCI0.SATA.SSS1, Zero))) { Sleep (0x1E) } Notify (\_SB.PCI0.SATA.SECD.S_D1, One) Store (One, \_SB.PCI0.SATA.PRC3) } } } } Device (IDE) { Name (_ADR, 0x00140001) Name (UDMT, Package (0x08) { 0x78, 0x5A, 0x3C, 0x2D, 0x1E, 0x14, Zero, Zero }) Name (PIOT, Package (0x06) { 0x0258, 0x0186, 0x010E, 0xB4, 0x78, Zero }) Name (PITR, Package (0x06) { 0x99, 0x47, 0x34, 0x22, 0x20, 0x99 }) Name (MDMT, Package (0x04) { 0x01E0, 0x96, 0x78, Zero }) Name (MDTR, Package (0x04) { 0x77, 0x21, 0x20, 0xFF }) OperationRegion (IDE, PCI_Config, 0x40, 0x20) Field (IDE, WordAcc, NoLock, Preserve) { PPIT, 16, SPIT, 16, PMDT, 16, SMDT, 16, PPIC, 8, SPIC, 8, PPIM, 8, SPIM, 8, Offset (0x14), PUDC, 2, SUDC, 2, Offset (0x16), PUDM, 8, SUDM, 8 } Method (GETT, 1, NotSerialized) { Store (And (Arg0, 0x0F), Local0) Store (ShiftRight (Arg0, 0x04), Local1) Return (Multiply (0x1E, Add (Add (Local0, One), Add (Local1, One)))) } Method (GTM, 1, NotSerialized) { CreateByteField (Arg0, Zero, PIT1) CreateByteField (Arg0, One, PIT0) CreateByteField (Arg0, 0x02, MDT1) CreateByteField (Arg0, 0x03, MDT0) CreateByteField (Arg0, 0x04, PICX) CreateByteField (Arg0, 0x05, UDCX) CreateByteField (Arg0, 0x06, UDMX) Name (BUF, Buffer (0x14) { /* 0000 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0010 */ 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (BUF, Zero, PIO0) CreateDWordField (BUF, 0x04, DMA0) CreateDWordField (BUF, 0x08, PIO1) CreateDWordField (BUF, 0x0C, DMA1) CreateDWordField (BUF, 0x10, FLAG) If (And (PICX, One)) { Return (BUF) } Store (GETT (PIT0), PIO0) Store (GETT (PIT1), PIO1) If (And (UDCX, One)) { Or (FLAG, One, FLAG) Store (DerefOf (Index (UDMT, And (UDMX, 0x0F))), DMA0) } Else { If (LNotEqual (MDT0, 0xFF)) { Store (GETT (MDT0), DMA0) } } If (And (UDCX, 0x02)) { Or (FLAG, 0x04, FLAG) Store (DerefOf (Index (UDMT, ShiftRight (UDMX, 0x04))), DMA1) } Else { If (LNotEqual (MDT1, 0xFF)) { Store (GETT (MDT1), DMA1) } } Or (FLAG, 0x1A, FLAG) Return (BUF) } Method (STM, 3, NotSerialized) { CreateDWordField (Arg0, Zero, PIO0) CreateDWordField (Arg0, 0x04, DMA0) CreateDWordField (Arg0, 0x08, PIO1) CreateDWordField (Arg0, 0x0C, DMA1) CreateDWordField (Arg0, 0x10, FLAG) Name (BUF, Buffer (0x07) { 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00 }) CreateByteField (BUF, Zero, PIT1) CreateByteField (BUF, One, PIT0) CreateByteField (BUF, 0x02, MDT1) CreateByteField (BUF, 0x03, MDT0) CreateByteField (BUF, 0x04, PIMX) CreateByteField (BUF, 0x05, UDCX) CreateByteField (BUF, 0x06, UDMX) Store (Match (PIOT, MLE, PIO0, MTR, Zero, Zero), Local0) Divide (Local0, 0x05, Local0) Store (Match (PIOT, MLE, PIO1, MTR, Zero, Zero), Local1) Divide (Local1, 0x05, Local1) Store (Or (ShiftLeft (Local1, 0x04), Local0), PIMX) Store (DerefOf (Index (PITR, Local0)), PIT0) Store (DerefOf (Index (PITR, Local1)), PIT1) If (And (FLAG, One)) { Store (Match (UDMT, MLE, DMA0, MTR, Zero, Zero), Local0) Divide (Local0, 0x06, Local0) Or (UDMX, Local0, UDMX) Or (UDCX, One, UDCX) } Else { If (LNotEqual (DMA0, Ones)) { Store (Match (MDMT, MLE, DMA0, MTR, Zero, Zero), Local0) Store (DerefOf (Index (MDTR, Local0)), MDT0) } } If (And (FLAG, 0x04)) { Store (Match (UDMT, MLE, DMA1, MTR, Zero, Zero), Local0) Divide (Local0, 0x06, Local0) Or (UDMX, ShiftLeft (Local0, 0x04), UDMX) Or (UDCX, 0x02, UDCX) } Else { If (LNotEqual (DMA1, Ones)) { Store (Match (MDMT, MLE, DMA1, MTR, Zero, Zero), Local0) Store (DerefOf (Index (MDTR, Local0)), MDT1) } } Return (BUF) } Method (GTF, 2, NotSerialized) { CreateByteField (Arg1, Zero, MDT1) CreateByteField (Arg1, One, MDT0) CreateByteField (Arg1, 0x02, PIMX) CreateByteField (Arg1, 0x03, UDCX) CreateByteField (Arg1, 0x04, UDMX) If (LEqual (Arg0, 0xA0)) { Store (And (PIMX, 0x0F), Local0) Store (MDT0, Local1) And (UDCX, One, Local2) Store (And (UDMX, 0x0F), Local3) } Else { Store (ShiftRight (PIMX, 0x04), Local0) Store (MDT1, Local1) And (UDCX, 0x02, Local2) Store (ShiftRight (UDMX, 0x04), Local3) } Name (BUF, Buffer (0x0E) { /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x03, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF }) CreateByteField (BUF, One, PMOD) CreateByteField (BUF, 0x08, DMOD) CreateByteField (BUF, 0x05, CMDA) CreateByteField (BUF, 0x0C, CMDB) Store (Arg0, CMDA) Store (Arg0, CMDB) Or (Local0, 0x08, PMOD) If (Local2) { Or (Local3, 0x40, DMOD) } Else { If (LNotEqual (Local1, 0xFF)) { Store (Match (MDMT, MLE, GETT (Local1), MTR, Zero, Zero), Local4) If (LLess (Local4, 0x03)) { Or (0x20, Local4, DMOD) } } } Return (BUF) } Device (PRID) { Name (_ADR, Zero) Method (_GTM, 0, NotSerialized) { Name (BUF, Buffer (0x07) { 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIC) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (PPIT, VPIT) Store (PMDT, VMDT) Store (PPIC, VPIC) Store (PUDC, VUDC) Store (PUDM, VUDM) Return (GTM (BUF)) } Method (_STM, 3, NotSerialized) { Name (BUF, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIM) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (STM (Arg0, Arg1, Arg2), BUF) Store (VPIT, PPIT) Store (VMDT, PMDT) Store (VPIM, PPIM) Store (VUDC, PUDC) Store (VUDM, PUDM) } Device (P_D0) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) Store (PMDT, VMDT) Store (PPIM, VPIM) Store (PUDC, VUDC) Store (PUDM, VUDM) Return (GTF (0xA0, BUF)) } } Device (P_D1) { Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) Store (PMDT, VMDT) Store (PPIM, VPIM) Store (PUDC, VUDC) Store (PUDM, VUDM) Return (GTF (0xB0, BUF)) } } } Device (SECD) { Name (_ADR, One) Method (_GTM, 0, NotSerialized) { Name (BUF, Buffer (0x07) { 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIC) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (SPIT, VPIT) Store (SMDT, VMDT) Store (SPIC, VPIC) Store (SUDC, VUDC) Store (SUDM, VUDM) Return (GTM (BUF)) } Method (_STM, 3, NotSerialized) { Name (BUF, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VPIT) CreateWordField (BUF, 0x02, VMDT) CreateByteField (BUF, 0x04, VPIM) CreateByteField (BUF, 0x05, VUDC) CreateByteField (BUF, 0x06, VUDM) Store (STM (Arg0, Arg1, Arg2), BUF) Store (VPIT, SPIT) Store (VMDT, SMDT) Store (VPIM, SPIM) Store (VUDC, SUDC) Store (VUDM, SUDM) } Device (S_D0) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) Store (SMDT, VMDT) Store (SPIM, VPIM) Store (SUDC, VUDC) Store (SUDM, VUDM) Return (GTF (0xA0, BUF)) } } Device (S_D1) { Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Name (BUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateWordField (BUF, Zero, VMDT) CreateByteField (BUF, 0x02, VPIM) CreateByteField (BUF, 0x03, VUDC) CreateByteField (BUF, 0x04, VUDM) Store (SMDT, VMDT) Store (SPIM, VPIM) Store (SUDC, VUDC) Store (SUDM, VUDM) Return (GTF (0xB0, BUF)) } } } } Device (ACEL) { Name (_HID, EisaId ("HPQ0004")) Name (DEVP, 0xFF) Name (CURS, 0xFF) Method (_INI, 0, NotSerialized) { INIT () } Name (_CRS, ResourceTemplate () { Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive, ,, ) { 0x00000017, } }) Method (_STA, 0, NotSerialized) { If (LEqual (DEVP, 0xFF)) { Store (^^SMBS.SRDB (0x3A, 0x20), Local1) If (LEqual (Local1, 0xFFFF)) { Store (Zero, DEVP) } Else { Store (0x0F, DEVP) } } Return (DEVP) } Method (INIT, 0, NotSerialized) { If (_STA ()) {} } Method (JACC, 0, Serialized) { If (^^LPC0.EC.ECOK) { If (_STA ()) { Store (^^LPC0.EC.ADP, Local0) If (LAnd (LEqual (^^LPC0.EC.LIDS, Zero), LEqual (Local0, Zero))) { If (LNotEqual (CURS, One)) { Store (One, CURS) ^^SMBS.SRDB (0x3A, 0x22) ^^SMBS.SWRB (0x3A, 0x22, 0x82) } } Else { If (LNotEqual (CURS, Zero)) { Store (Zero, CURS) ^^SMBS.SRDB (0x3A, 0x22) ^^SMBS.SWRB (0x3A, 0x22, 0x81) } } } } } Method (CLRI, 0, Serialized) { Store (Zero, Local0) Return (Local0) } Method (ALRD, 1, Serialized) { Store (^^SMBS.SRDB (0x3A, Arg0), Local0) Return (Local0) } Method (ALWR, 2, Serialized) { Store (^^SMBS.SRDB (0x3A, Arg0), Local0) Store (^^SMBS.SWRB (0x3A, Arg0, Arg1), Local0) Return (Local0) } Method (ALID, 1, Serialized) { Return (^^LPC0.EC.LIDS) } Method (ALED, 1, Serialized) { If (Arg0) { Store (One, ^^LPC0.EC.GLED) } Else { Store (Zero, ^^LPC0.EC.GLED) } } Method (ADSN, 0, Serialized) { Store (Zero, Local0) Return (Local0) } } } OperationRegion (PIRQ, SystemIO, 0x0C00, 0x02) Field (PIRQ, ByteAcc, NoLock, Preserve) { PIDX, 8, PDAT, 8 } IndexField (PIDX, PDAT, ByteAcc, NoLock, Preserve) { PIRA, 8, PIRB, 8, PIRC, 8, PIRD, 8, PIRS, 8, Offset (0x09), PIRE, 8, PIRF, 8, PIRG, 8, PIRH, 8 } Method (DSPI, 0, NotSerialized) { Store (Zero, PIRA) Store (Zero, PIRB) Store (Zero, PIRC) Store (Zero, PIRD) Store (Zero, PIRE) Store (Zero, PIRF) Store (Zero, PIRG) Store (Zero, PIRH) Store (Zero, PIRS) } Name (PRS1, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,10,11,12,14,15} }) Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {15} }) Name (IPRA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,10,11} }) Name (IPRB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,10,11} }) Name (IPRC, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,10,11} }) Name (IPRD, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,10,11} }) Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, One) Method (_STA, 0, NotSerialized) { If (PIRA) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRS1) } Method (_DIS, 0, NotSerialized) { Store (Zero, PIRA) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRA, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRA) } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { If (PIRB) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRS1) } Method (_DIS, 0, NotSerialized) { Store (Zero, PIRB) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRB, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRB) } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_STA, 0, NotSerialized) { If (PIRC) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRS1) } Method (_DIS, 0, NotSerialized) { Store (Zero, PIRC) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRC, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRC) } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_STA, 0, NotSerialized) { If (PIRD) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRS1) } Method (_DIS, 0, NotSerialized) { Store (Zero, PIRD) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRD, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRD) } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x05) Method (_STA, 0, NotSerialized) { If (PIRE) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRS1) } Method (_DIS, 0, NotSerialized) { Store (Zero, PIRE) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRE, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRE) } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x06) Method (_STA, 0, NotSerialized) { If (PIRF) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRS1) } Method (_DIS, 0, NotSerialized) { Store (Zero, PIRF) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRF, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRF) } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x07) Method (_STA, 0, NotSerialized) { If (PIRG) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRS1) } Method (_DIS, 0, NotSerialized) { Store (Zero, PIRG) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRG, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRG) } } Device (LNKH) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) Method (_STA, 0, NotSerialized) { If (PIRH) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (PRS1) } Method (_DIS, 0, NotSerialized) { Store (Zero, PIRH) } Method (_CRS, 0, NotSerialized) { CreateWordField (BUFA, One, IRQX) ShiftLeft (One, PIRH, IRQX) Return (BUFA) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Decrement (Local0) Store (Local0, PIRH) } } Method (GSMI, 1, NotSerialized) { Store (Arg0, APMD) Store (0xE4, APMC) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) } Method (S80H, 1, NotSerialized) { Store (Arg0, APMD) Store (0xE5, APMC) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) Stall (0xFF) } Method (BSMI, 1, NotSerialized) { Store (Arg0, APMD) Store (0xBE, APMC) Stall (0xFF) } Device (AC) { Name (_HID, "ACPI0003") Name (_PCL, Package (0x01) { _SB }) Name (ACP, Zero) Method (_STA, 0, NotSerialized) { Return (0x0F) } Method (_PSR, 0, NotSerialized) { Store (ACP, Local0) If (^^PCI0.LPC0.EC.ECOK) { Store (^^PCI0.LPC0.EC.ADP, Local0) If (LNotEqual (Local0, ACP)) { FLPA () } } If (_OSI ("Windows 2009")) { If (Local0) { ^^PCI0.AGP.VGA.AFN4 (One) } Else { ^^PCI0.AGP.VGA.AFN4 (0x02) } } Return (Local0) } Method (CHAC, 0, NotSerialized) { If (^^PCI0.LPC0.EC.ECOK) { Acquire (^^PCI0.LPC0.EC.MTX0, 0xFFFF) Store (^^PCI0.LPC0.EC.ADP, Local0) Release (^^PCI0.LPC0.EC.MTX0) If (LNotEqual (Local0, ACP)) { FLPA () } } } Method (FLPA, 0, NotSerialized) { If (ACP) { Store (Zero, ACP) } Else { Store (One, ACP) } Notify (AC, Zero) } } Device (BAT0) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, One) Name (_PCL, Package (0x01) { _SB }) Name (BIFB, Package (0x0D) { One, 0x0514, 0x0514, One, 0x2A30, 0x0138, 0x9C, 0x0D, 0x0D, "CA54200", "Li4402A", " ", " HP " }) Name (BSTB, Package (0x04) { Zero, Ones, Ones, 0x2710 }) Name (MDLS, Package (0x07) { "Unknown", " 3500", " 3800", " 4500", " 2600", " 3000", " 3200" }) Name (CHAR, Package (0x10) { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F" }) Method (PBFE, 3, NotSerialized) { CreateByteField (Arg0, Arg1, TIDX) Store (Arg2, TIDX) } Method (ITOS, 1, NotSerialized) { Store ("", Local0) Store (0x08, Local1) While (Local1) { Decrement (Local1) And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4) Store (DerefOf (Index (CHAR, Local4)), Local2) Concatenate (Local0, Local2, Local5) Store (Local5, Local0) } Return (Local0) } Method (TOS4, 1, NotSerialized) { Store ("", Local0) Store (0x04, Local1) While (Local1) { Decrement (Local1) And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4) Store (DerefOf (Index (CHAR, Local4)), Local2) Concatenate (Local0, Local2, Local5) Store (Local5, Local0) } Return (Local0) } Method (ITSN, 2, NotSerialized) { Store ("", Local0) Store (Arg1, Local1) While (Local1) { Decrement (Local1) And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4) Store (DerefOf (Index (CHAR, Local4)), Local2) Concatenate (Local0, Local2, Local5) Store (Local5, Local0) } Return (Local0) } Method (_STA, 0, NotSerialized) { If (LEqual (^^PCI0.LPC0.EC.ECOK, Zero)) { Return (0x0F) } Else { Acquire (^^PCI0.LPC0.EC.MTX0, 0xFFFF) Store (^^PCI0.LPC0.EC.BATP, Local0) Release (^^PCI0.LPC0.EC.MTX0) If (Or (Local0, Local0)) { Return (0x1F) } Else { Return (0x0F) } } } Method (_BIF, 0, NotSerialized) { If (LEqual (^^PCI0.LPC0.EC.ECOK, Zero)) { Store (One, Index (BIFB, Zero)) Store (0x0514, Index (BIFB, One)) Store (0x0514, Index (BIFB, 0x02)) Store (One, Index (BIFB, 0x03)) Store (0x2A30, Index (BIFB, 0x04)) Store (0x0138, Index (BIFB, 0x05)) Store (0x9C, Index (BIFB, 0x06)) Store (0x0D, Index (BIFB, 0x07)) Store (0x0D, Index (BIFB, 0x08)) Store ("CA54200", Index (BIFB, 0x09)) Store ("Li4402A", Index (BIFB, 0x0A)) Store (" ", Index (BIFB, 0x0B)) Store (" HP ", Index (BIFB, 0x0C)) } Else { Acquire (^^PCI0.LPC0.EC.MTX0, 0xFFFF) Store (Zero, Index (BIFB, Zero)) Store (^^PCI0.LPC0.EC.BDV0, Local1) Store (^^PCI0.LPC0.EC.BDC0, Local0) Multiply (Local0, Local1, Local0) Divide (Local0, 0x03E8, Local2, Local0) Store (Local0, Index (BIFB, One)) Store (^^PCI0.LPC0.EC.BFC0, Local0) Multiply (Local0, Local1, Local0) Divide (Local0, 0x03E8, Local2, Local0) Store (Local0, Index (BIFB, 0x02)) Store (^^PCI0.LPC0.EC.BTC0, Index (BIFB, 0x03)) Store (^^PCI0.LPC0.EC.BDV0, Index (BIFB, 0x04)) Store (^^PCI0.LPC0.EC.BFC0, Local0) Multiply (Local0, Local1, Local0) Divide (Local0, 0x2710, Local2, Local0) Store (Local0, Index (BIFB, 0x05)) Store (^^PCI0.LPC0.EC.BCL0, Local0) Multiply (Local0, Local1, Local0) Divide (Local0, 0x03E8, Local2, Local0) Store (Local0, Index (BIFB, 0x06)) Store (^^PCI0.LPC0.EC.BFC0, Local0) Multiply (Local0, Local1, Local0) Divide (Local0, 0x000186A0, Local2, Local0) Store (Local0, Index (BIFB, 0x07)) Store (^^PCI0.LPC0.EC.BFC0, Local0) Multiply (Local0, Local1, Local0) Divide (Local0, 0x000186A0, Local2, Local0) Store (Local0, Index (BIFB, 0x08)) Store (^^PCI0.LPC0.EC.BMO0, Local5) And (Local5, 0x0F, Local5) If (LGreater (Local5, 0x06)) { Store (DerefOf (Index (MDLS, Zero)), Index (BIFB, 0x09)) } Else { Store ("---------------- NABT < 6 ", Debug) Store (^^PCI0.LPC0.EC.BMO0, Local5) And (Local5, 0x0F, Local5) Store (Zero, Local1) If (LEqual (Local5, One)) { Store (One, Local1) } If (LEqual (Local5, 0x04)) { Store (One, Local1) } Store (^^PCI0.LPC0.EC.BDC0, Local0) If (LEqual (Local1, One)) { Store ("---------------------NiMH battery, NABT =1,4 ", Debug) If (LGreaterEqual (Local0, 0x0ED8)) { Store (TOS4 (ToBCD (Local0)), Local1) Store (Local1, Index (BIFB, 0x09)) Store ("-------------------- DC > 3800 ", Debug) } Else { Store ("3800", Index (BIFB, 0x09)) Store ("-------------------- DC <= 3800 ", Debug) } Store (^^PCI0.LPC0.EC.BDC0, Local0) If (LEqual (Local0, 0x11C6)) { Store ("3800", Index (BIFB, 0x09)) Store ("-------------------- DC =4550 ", Debug) } } Else { Store ("---------------- Li Battery ", Debug) If (LGreaterEqual (Local0, 0x0BB8)) { Store (TOS4 (ToBCD (Local0)), Local1) Store (Local1, Index (BIFB, 0x09)) Store ("--------------------- DC >= 3000 ", Debug) } Else { Store ("2600", Index (BIFB, 0x09)) Store ("--------------------- DC < 3000 ", Debug) } } } Store (^^PCI0.LPC0.EC.BSN0, Local0) Store (^^PCI0.LPC0.EC.BSN1, Local1) Store (^^PCI0.LPC0.EC.BTY0, Local0) Store (^^PCI0.LPC0.EC.BTY1, Local1) Store (^^PCI0.LPC0.EC.BTY2, Local2) Store (^^PCI0.LPC0.EC.BTY3, Local3) Store (Buffer (0x05) {}, Local4) PBFE (Local4, Zero, Local0) PBFE (Local4, One, Local1) PBFE (Local4, 0x02, Local2) PBFE (Local4, 0x03, Local3) PBFE (Local4, 0x04, Zero) Name (STRI, "xxxxxxxx") Store (Local4, STRI) Store ("Li", Index (BIFB, 0x0B)) If (^^PCI0.LPC0.EC.BATP) { Store (" Hewlett-Packard ", Index (BIFB, 0x0C)) } Else { Store (" ", Index (BIFB, 0x0C)) } } Release (^^PCI0.LPC0.EC.MTX0) Return (BIFB) } Method (_BST, 0, NotSerialized) { If (^^PCI0.LPC0.EC.ECOK) { UBST () } Return (BSTB) } Name (CRIT, Zero) Method (UBST, 0, NotSerialized) { Acquire (^^PCI0.LPC0.EC.MTX1, 0xFFFF) Store (^^PCI0.LPC0.EC.BST0, Index (BSTB, Zero)) Store (^^PCI0.LPC0.EC.BPR0, Local0) Store (^^PCI0.LPC0.EC.BDV0, Local1) If (LGreaterEqual (Local0, 0x8000)) { Subtract (0x00010000, Local0, Local0) Multiply (Local0, Local1, Local0) Divide (Local0, 0x03E8, Local2, Local0) } Else { Multiply (Local0, Local1, Local0) Divide (Local0, 0x03E8, Local2, Local0) } Store (^^PCI0.LPC0.EC.BFC0, Local0) Multiply (Local0, Local1, Local0) Divide (Local0, 0x03E8, Local2, Local0) Store (^^PCI0.LPC0.EC.CMBR, Local2) Multiply (Local0, Local2, Local0) Divide (Local0, 0x64, Local2, Local0) Add (Local0, One, Local0) Store (Local0, Index (BSTB, 0x02)) Store (^^PCI0.LPC0.EC.BPV0, Index (BSTB, 0x03)) Store (DerefOf (Index (BSTB, Zero)), Local0) If (^^PCI0.LPC0.EC.ECOK) { Store (^^PCI0.LPC0.EC.BATC, Local1) } And (Local0, 0xFFFB, Local0) ShiftLeft (Local1, 0x02, Local1) Add (Local0, Local1, Local0) Store (^^PCI0.LPC0.EC.BST0, Local4) And (Local4, 0x04, Local4) If (LEqual (Local4, 0x04)) { Or (Local0, Local4, Local0) } Store (Local0, Index (BSTB, Zero)) Release (^^PCI0.LPC0.EC.MTX1) } Method (INUT, 0, NotSerialized) { If (^^PCI0.LPC0.EC.ECOK) { Acquire (^^PCI0.LPC0.EC.MTX1, 0xFFFF) If (LEqual (_STA (), 0x1F)) { UBST () _BIF () Sleep (0x01F4) Notify (AC, Zero) Notify (BAT0, Zero) Notify (BAT0, 0x80) Notify (BAT0, 0x81) } Else { UBST () Notify (AC, Zero) Notify (BAT0, Zero) Notify (BAT0, 0x80) Notify (BAT0, 0x81) } ^^AC.FLPA () Release (^^PCI0.LPC0.EC.MTX1) } } } Device (WMID) { Method (CSMI, 2, Serialized) { Store (Arg0, CMTF) Store (Arg1, CMTI) Store (0xC2, APMC) Return (CMTO) } Method (HDWC, 2, NotSerialized) { CreateDWordField (Arg1, 0x04, WMI7) CreateDWordField (Arg1, 0x08, WMI8) CreateDWordField (Arg1, 0x0C, WMI9) If (LEqual (Arg0, One)) { Store (Zero, Local0) } If (LEqual (Arg0, 0x02)) { Store (0x04, Local0) } If (LEqual (Arg0, 0x03)) { Store (0x80, Local0) } If (LEqual (Arg0, 0x04)) { Store (0x0400, Local0) } If (LEqual (Arg0, 0x05)) { Store (0x1000, Local0) } Store (Buffer (Add (0x08, Local0)) {}, Local1) CreateDWordField (Local1, Zero, WMIA) CreateDWordField (Local1, 0x04, WMIB) Store (0x4C494146, WMIA) Store (0x02, WMIB) Store (0x03, WMIB) If (LEqual (WMI7, One)) { Store (0x04, WMIB) If (LEqual (WMI8, One)) { Store (WADD (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x05)) { Store (WWSS (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x07)) { If (WMI9) { Store (DerefOf (Index (Arg1, 0x10)), Local3) Store (GTBI (Local3), Local2) Store (Zero, WMIB) } Else { Store (0x05, WMIB) } } If (LEqual (WMI8, 0x08)) { Store (BBHT (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x09)) { Store (WKHC (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x0A)) { Store (WKHF (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x0C)) { Store (WKLB (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x0D)) { Store (WMFR (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x0E)) { Store (WWDI (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x0F)) { Store (WMSA (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x10)) { Store (GHPI (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x14)) { Store (PRTR (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x1B)) { Store (GWDI (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x1D)) { Store (GDLC (), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x1F)) { Store (WMBG (), Local2) Store (Zero, WMIB) } } If (LEqual (WMI7, 0x02)) { Store (0x04, WMIB) If (LAnd (LGreater (WMI8, Zero), LLessEqual (WMI8, 0x24))) { If (LLess (WMI9, DerefOf (Index (WMI4, Subtract (WMI8, One) )))) { Store (0x05, WMIB) } Else { CreateDWordField (Arg1, 0x10, WMIL) If (LEqual (WMI8, 0x05)) { Store (WMIM (WMIL), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, One)) { Store (SWAD (WMIL), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x09)) { Store (WMIN (WMIL), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x0A)) { Store (WMIO (WMIL), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x10)) { Store (WWAR (Arg1), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x14)) { Store (PRTW (WMIL), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x1B)) { Store (SWDS (WMIL), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x1D)) { Store (SDLC (WMIL), Local2) Store (Zero, WMIB) } If (LEqual (WMI8, 0x1F)) { Store (Package (0x03) { Zero, Zero, Zero }, Local2) Store (WMSG (WMIL), Index (Local2, Zero)) Store (Zero, WMIB) } } } } If (LEqual (WMI7, 0x00020002)) { Store (0x04, WMIB) If (LAnd (LGreater (WMI8, Zero), LLessEqual (WMI8, 0x03))) { If (LLess (WMI9, DerefOf (Index (WMI5, Subtract (WMI8, One) )))) { Store (0x05, WMIB) } Else { CreateDWordField (Arg1, 0x10, WMCT) If (LEqual (WMI8, One)) { Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local2) CSMI (One, Zero) Store (CMTO, Index (DerefOf (Index (Local2, 0x02)), Zero)) Store (Zero, WMIB) } If (LEqual (WMI8, 0x02)) { Store (Package (0x03) { Zero, Zero, Zero }, Local2) CSMI (0x02, WMCT) Store (CMTO, Index (Local2, Zero)) Store (Zero, WMIB) } If (LEqual (WMI8, 0x03)) { Store (Package (0x03) { Zero, Zero, Zero }, Local2) CSMI (0x03, WMCT) Store (CMTO, Index (Local2, Zero)) Store (Zero, WMIB) } } } } If (LEqual (WMIB, Zero)) { Store (DerefOf (Index (Local2, Zero)), WMIB) If (LEqual (WMIB, Zero)) { If (LLessEqual (DerefOf (Index (Local2, One)), Local0)) { Store (Zero, Local0) While (LLess (Local0, DerefOf (Index (Local2, One)))) { Store (DerefOf (Index (DerefOf (Index (Local2, 0x02)), Local0)), Index (Local1, Add (Local0, 0x08))) Increment (Local0) } Store (0x53534150, WMIA) } Else { Store (0x05, WMIB) } } } Return (Local1) } Name (WMI4, Package (0x24) { 0x04, 0x04, 0x04, Zero, 0x04, 0x04, Zero, Zero, 0x04, 0x04, 0x0C, Zero, Zero, Zero, Zero, 0x06, Zero, Zero, 0x04, 0x04, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, 0x04, Zero, 0x04, Zero, 0x04 }) Name (WMI5, Package (0x03) { Zero, 0x04, 0x04 }) Name (_HID, "PNP0C14") Name (_UID, Zero) Name (WMIU, Zero) Name (WMIV, Zero) Name (BUFF, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateByteField (BUFF, Zero, OB0) CreateByteField (BUFF, One, OB1) CreateByteField (BUFF, 0x02, OB2) CreateByteField (BUFF, 0x03, OB3) CreateBitField (BUFF, Zero, OB00) CreateBitField (BUFF, One, OB01) CreateBitField (BUFF, 0x02, OB02) CreateBitField (BUFF, 0x03, OB03) CreateBitField (BUFF, 0x04, OB04) CreateBitField (BUFF, 0x05, OB05) CreateBitField (BUFF, 0x06, OB06) CreateBitField (BUFF, 0x08, OB10) CreateBitField (BUFF, 0x09, OB11) CreateBitField (BUFF, 0x0A, OB12) CreateBitField (BUFF, 0x0B, OB13) CreateBitField (BUFF, 0x10, OB20) CreateBitField (BUFF, 0x11, OB21) CreateBitField (BUFF, 0x12, OB22) CreateBitField (BUFF, 0x13, OB23) CreateBitField (BUFF, 0x18, OB30) CreateBitField (BUFF, 0x19, OB31) CreateBitField (BUFF, 0x1A, OB32) CreateBitField (BUFF, 0x1B, OB33) CreateBitField (BUFF, 0x1C, OB34) CreateBitField (BUFF, 0x1D, OB35) CreateBitField (BUFF, 0x1E, OB36) CreateBitField (BUFF, 0x1F, OB37) Name (_WDG, Buffer (0x50) { /* 0000 */ 0x34, 0xF0, 0xB7, 0x5F, 0x63, 0x2C, 0xE9, 0x45, /* 0008 */ 0xBE, 0x91, 0x3D, 0x44, 0xE2, 0xC7, 0x07, 0xE4, /* 0010 */ 0x41, 0x44, 0x01, 0x02, 0x79, 0x42, 0xF2, 0x95, /* 0018 */ 0x7B, 0x4D, 0x34, 0x43, 0x93, 0x87, 0xAC, 0xCD, /* 0020 */ 0xC6, 0x7E, 0xF6, 0x1C, 0x80, 0x00, 0x01, 0x08, /* 0028 */ 0x21, 0x12, 0x90, 0x05, 0x66, 0xD5, 0xD1, 0x11, /* 0030 */ 0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10, /* 0038 */ 0x41, 0x45, 0x01, 0x00, 0xD4, 0x2B, 0x99, 0xD0, /* 0040 */ 0x7C, 0xA4, 0xFE, 0x4E, 0xB0, 0x72, 0x32, 0x4A, /* 0048 */ 0xEC, 0x92, 0x29, 0x6C, 0x42, 0x43, 0x01, 0x00 }) Method (GTBI, 1, NotSerialized) { S80H (0xC0) Store ("HP WMI Command 0x7 (BIOS Read)", Debug) Acquire (^^PCI0.LPC0.EC.MTX0, 0xFFFF) If (Arg0) { Store (Package (0x02) { 0x06, Zero }, Local0) Sleep (0x96) Release (^^PCI0.LPC0.EC.MTX0) Return (Local0) } If (^^PCI0.LPC0.EC.BATP) { Store (Package (0x03) { Zero, 0x80, Buffer (0x80) {} }, Local0) Store (^^PCI0.LPC0.EC.BDC0, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), One)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Zero)) Store (^^PCI0.LPC0.EC.BFC0, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x03)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x02)) Store (^^PCI0.LPC0.EC.BFC0, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x05)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x04)) Store (^^PCI0.LPC0.EC.NABT, Local1) Subtract (Local1, 0x0AAA, Local1) Divide (Local1, 0x0A, Local2, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x0B)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x0A)) Store (^^PCI0.LPC0.EC.BPV0, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x0D)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x0C)) Store (^^PCI0.LPC0.EC.BPR0, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x0F)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x0E)) Store (^^PCI0.LPC0.EC.BDV0, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x11)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x10)) Store (^^PCI0.LPC0.EC.BST0, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x13)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x12)) Store (^^PCI0.LPC0.EC.CVT4, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x15)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x14)) Store (^^PCI0.LPC0.EC.CVT3, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x17)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x16)) Store (^^PCI0.LPC0.EC.CVT2, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x19)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x18)) Store (^^PCI0.LPC0.EC.CVT1, Local1) Divide (Local1, 0x0100, Local2, Index (DerefOf (Index (Local0, 0x02)), 0x1B)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x1A)) Store (^^BAT0.ITSN (ToBCD (^^PCI0.LPC0.EC.BSN0), 0x05), Local1) Concatenate (Local1, " ", Local4) Store (^^PCI0.LPC0.EC.BTP0, Local2) Store (^^PCI0.LPC0.EC.BTP0, Local3) ShiftLeft (Local2, 0x08, Local1) Or (Local1, Local3, Local1) And (Local1, 0x01E0, Local2) ShiftRight (Local2, 0x05, Local2) Store (^^BAT0.ITSN (ToBCD (Local2), 0x02), Local2) Concatenate (Local4, Local2, Local3) Concatenate (Local3, "/", Local4) And (Local1, 0x1F, Local2) Store (^^BAT0.ITSN (ToBCD (Local2), 0x02), Local2) Concatenate (Local4, Local2, Local3) Concatenate (Local3, "/", Local4) And (Local1, 0xFE00, Local2) ShiftRight (Local2, 0x09, Local2) Add (Local2, 0x07BC, Local2) Store (^^BAT0.ITSN (ToBCD (Local2), 0x04), Local2) Concatenate (Local4, Local2, Local3) Name (SNUM, Buffer (0x10) {}) Store (Local3, SNUM) Store (SNUM, Local3) Store (0x1C, Local2) Store (Zero, Local4) Store (0x10, Local1) While (Local1) { Store (DerefOf (Index (Local3, Local4)), Local5) ^^BAT0.PBFE (DerefOf (Index (Local0, 0x02)), Local2, Local5) Decrement (Local1) Increment (Local2) Increment (Local4) } Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Local2)) Store (Buffer (0x10) { "Hewlett-Packard" }, Local3) Store (0x2C, Local2) Store (Zero, Local4) Store (0x0F, Local1) While (Local1) { Store (DerefOf (Index (Local3, Local4)), Local5) ^^BAT0.PBFE (DerefOf (Index (Local0, 0x02)), Local2, Local5) Decrement (Local1) Increment (Local2) Increment (Local4) } Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Local2)) } Else { Store (Package (0x02) { 0x06, Zero }, Local0) Sleep (0x96) } Release (^^PCI0.LPC0.EC.MTX0) Return (Local0) } Method (WADD, 0, NotSerialized) { S80H (0xC1) Store (Zero, Local0) If (LEqual (^^PCI0.AGP.VGA.DSID, Ones)) { Store (0x74, BCMD) BSMI (Zero) Store (SWVG, Local0) If (LEqual (Local0, 0x04)) { Store (0x10, Local0) } If (LEqual (Local0, 0x05)) { Store (0x11, Local0) } If (LEqual (Local0, 0x06)) { Store (0x12, Local0) } If (LEqual (Local0, 0x07)) { Store (0x13, Local0) } } Else { Store (One, Local0) } Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local1) Store (Local0, Index (DerefOf (Index (Local1, 0x02)), Zero)) Return (Local1) } Method (SWAD, 1, NotSerialized) { S80H (0xC2) Store (Arg0, Local0) Store (Zero, ^^PCI0.PB2.VGA.LCDD) Store (Zero, ^^PCI0.AGP.VGA.LCDA) Store (Zero, ^^PCI0.PB2.VGA.CRTD) Store (Zero, ^^PCI0.AGP.VGA.CRTA) Store (Zero, ^^PCI0.PB2.VGA.TVOD) Store (Zero, ^^PCI0.AGP.VGA.TVOA) Store (Local0, Local1) And (Local1, One, Local1) If (LNotEqual (Local1, Zero)) { Store (One, ^^PCI0.PB2.VGA.LCDD) Store (One, ^^PCI0.AGP.VGA.LCDA) } Store (Local0, Local1) And (Local1, 0x02, Local1) If (LNotEqual (Local1, Zero)) { Store (One, ^^PCI0.PB2.VGA.CRTD) Store (One, ^^PCI0.AGP.VGA.CRTA) } Store (Local0, Local1) And (Local1, 0x10, Local1) If (LNotEqual (Local1, Zero)) { Store (One, ^^PCI0.PB2.VGA.TVOD) Store (One, ^^PCI0.AGP.VGA.TVOA) } Notify (^^PCI0.AGP.VGA, 0x80) Notify (^^PCI0.PB2.VGA, 0x80) Return (Package (0x02) { Zero, Zero }) } Method (WMIO, 1, NotSerialized) { S80H (0xC3) If (^^PCI0.LPC0.EC.ECOK) { Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) Store (Arg0, Local1) Store (Local1, Index (DerefOf (Index (Local0, 0x02)), Zero)) Store (ShiftRight (Local1, 0x08), Index (DerefOf (Index (Local0, 0x02 )), One)) If (LEqual (Arg0, 0x01AE)) { Store (0x03, Local1) Store (0x74, BCMD) BSMI (Zero) Store (VMOD, Local1) If (LEqual (Local1, One)) { Store (One, Local1) } Else { If (LEqual (Local1, 0x03)) { Store (0x02, Local1) } Else { If (LEqual (Local1, 0x02)) { Store (0x03, Local1) } Else { If (LEqual (Local1, 0x05)) { Store (0x10, Local1) } Else { If (LEqual (Local1, 0x04)) { Store (0x11, Local1) } } } } } Store (SWOV, Local2) If (LEqual (Local2, One)) { Store (One, Local2) } Else { If (LEqual (Local2, 0x03)) { Store (0x02, Local2) } Else { If (LEqual (Local2, 0x02)) { Store (0x03, Local2) } Else { If (LEqual (Local2, 0x05)) { Store (0x10, Local2) } Else { If (LEqual (Local2, 0x04)) { Store (0x11, Local2) } } } } } Store (Local1, Index (DerefOf (Index (Local0, 0x02)), 0x02)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x03)) ^^PCI0.LPC0.EC._Q14 () } } Else { Store (Package (0x02) { 0x0D, Zero }, Local0) } Return (Local0) } Method (WWDI, 0, NotSerialized) { S80H (0xC4) Store (Package (0x03) { Zero, 0x80, Buffer (0x80) {} }, Local0) Store (Zero, Local1) If (^^PCI0.LPC0.EC.WLNS) { Store (One, Index (DerefOf (Index (Local0, 0x02)), Local1)) Store (One, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0xFF, Local2) Store (^^PCI0.PB5.PXS1.WVIL, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (^^PCI0.PB5.PXS1.WVIH, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (^^PCI0.PB5.PXS1.WDIL, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (^^PCI0.PB5.PXS1.WDIH, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (^^PCI0.PB5.PXS1.WSVL, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (^^PCI0.PB5.PXS1.WSVH, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (^^PCI0.PB5.PXS1.WSSL, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (^^PCI0.PB5.PXS1.WSSH, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Add (Local1, One, Local1) } If (^^PCI0.LPC0.EC.BTLS) { Store (0x02, Index (DerefOf (Index (Local0, 0x02)), Local1)) Store (0x02, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0xF0, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0x03, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0x1D, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0x23, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Add (Local1, One, Local1) } If (^^PCI0.LPC0.EC.WWNS) { Store (0x02, Index (DerefOf (Index (Local0, 0x02)), Local1)) Store (0x03, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0xF0, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0x03, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0x1D, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Store (0x25, Index (DerefOf (Index (Local0, 0x02)), Add (Local1, One, Local1))) Add (Local1, One, Local1) } Return (Local0) } Method (BBHT, 0, NotSerialized) { S80H (0xC5) Store (Package (0x03) { Zero, 0x80, Buffer (0x80) {} }, Local0) CBHB (Zero, 0x0131) CBHB (0x02, 0x019B) CBHB (0x04, 0x01FF) CBHB (0x06, 0x0263) CBHB (0x08, 0x01AE) CBHB (0x0A, 0x0264) CBHB (0x0C, 0x019D) CBHB (0x0E, 0x01B6) CBHB (0x10, 0x01B7) CBHB (0x12, 0x0265) CBHB (0x14, 0x0266) CBHB (0x16, 0x0267) CBHB (0x18, 0x0268) CBHB (0x1A, 0xFFFF) CBHB (0x1C, 0x2142) CBHB (0x1E, 0x20E6) CBHB (0x20, 0x2192) CBHB (0x22, 0x2190) CBHB (0x24, 0x2193) CBHB (0x26, 0x2191) CBHB (0x28, 0x218D) CBHB (0x2A, 0x218F) CBHB (0x2C, 0x218E) CBHB (0x2E, Zero) Store (BFHT, Index (Local0, 0x02)) Return (Local0) } Name (BFHT, Buffer (0x80) {}) Method (CBHB, 2, NotSerialized) { S80H (0xC6) CreateWordField (BFHT, Arg0, PIO0) Store (Arg1, PIO0) } Method (WKHC, 0, NotSerialized) { S80H (0xC7) Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) If (^^PCI0.LPC0.EC.ECOK) { Store (^^PCI0.LPC0.EC.HKFS, Local1) If (Local1) { Store (0x6E, Index (DerefOf (Index (Local0, 0x02)), Zero)) } Else { Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Zero)) } } Else { Store (Package (0x02) { 0x0D, Zero }, Local0) } Return (Local0) } Method (WWAR, 1, NotSerialized) { Store ("HP WMI Command 0x10 (BIOS Write)", Debug) CreateByteField (Arg0, 0x10, DA0) CreateByteField (Arg0, 0x11, DA1) CreateByteField (Arg0, 0x12, DA2) CreateByteField (Arg0, 0x13, DA3) CreateByteField (Arg0, 0x14, DA4) CreateByteField (Arg0, 0x15, DA5) Store (0x32, SID0) Store (0x30, SID1) Store (DA0, SID2) Store (DA1, SID3) Store (DA2, SID4) Store (DA3, SID5) Store (DA4, SID6) Store (DA5, SID7) Store (0xC3, APMC) BSMI (Zero) Return (Package (0x02) { Zero, Zero }) } Method (WMSA, 0, NotSerialized) { Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Zero)) Return (Local0) } Method (GHPI, 0, NotSerialized) { Store (Package (0x03) { Zero, 0x80, Buffer (0x80) {} }, Local0) Store (SID2, Index (DerefOf (Index (Local0, 0x02)), Zero)) Store (SID3, Index (DerefOf (Index (Local0, 0x02)), One)) Store (SID4, Index (DerefOf (Index (Local0, 0x02)), 0x02)) Store (SID5, Index (DerefOf (Index (Local0, 0x02)), 0x03)) Store (SID6, Index (DerefOf (Index (Local0, 0x02)), 0x04)) Store (SID7, Index (DerefOf (Index (Local0, 0x02)), 0x05)) Return (Local0) } Method (PRTR, 0, NotSerialized) { Store (Package (0x03) { Zero, 0x04, Buffer (0x04) {} }, Local0) Store (^^PCI0.LPC0.EC.ECPR, Index (DerefOf (Index (Local0, 0x02)), Zero)) Return (Local0) } Method (PRTW, 1, NotSerialized) { Store (Arg0, ^^PCI0.LPC0.EC.ECPR) Return (Package (0x02) { Zero, Zero }) } Method (WMFR, 0, NotSerialized) { Name (BUFR, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateByteField (BUFR, Zero, ODFR) CreateBitField (BUFR, Zero, MERD) CreateBitField (BUFR, One, EFIM) CreateBitField (BUFR, 0x02, EQV2) CreateBitField (BUFR, 0x03, EQV3) CreateBitField (BUFR, 0x04, B009) CreateBitField (BUFR, 0x05, EFIU) CreateBitField (BUFR, 0x06, WAWW) CreateBitField (BUFR, 0x07, WEBP) Store (One, MERD) Store (One, EFIM) Store (Zero, EQV2) Store (Zero, EQV3) Store (Zero, B009) Store (Zero, EFIU) Store (Zero, WAWW) Store (One, WEBP) Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) Store (ODFR, Index (DerefOf (Index (Local0, 0x02)), Zero)) Store (One, Index (DerefOf (Index (Local0, 0x02)), One)) Return (Local0) } OperationRegion (GWMM, SystemMemory, 0xFFE10072, 0x10) Field (GWMM, AnyAcc, Lock, Preserve) { WIAC, 1, Offset (0x01), GCAC, 1, Offset (0x02) } Method (GWDI, 0, NotSerialized) { If (LNot (^^PCI0.LPC0.EC.WLAS)) { Store (One, ^^PCI0.LPC0.EC.WLAS) } Store (Package (0x03) { Zero, 0x80, Buffer (0x80) {} }, Local0) Store (One, Index (DerefOf (Index (Local0, 0x02)), Zero)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), One)) Store (Zero, Local1) Or (Local1, WIAC, Local1) Or (Local1, ShiftLeft (GCAC, One), Local1) Store (Local1, Index (DerefOf (Index (Local0, 0x02)), 0x02)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x03)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x04)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x05)) Store (One, Index (DerefOf (Index (Local0, 0x02)), 0x06)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x07)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x08)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x09)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x0A)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x0B)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x0C)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x0D)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x0E)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x0F)) Store (Zero, Local2) If (^^PCI0.LPC0.EC.WLNS) { Add (Local2, One, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x07)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Multiply (Local2, 0x10))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), One))) Store (^^PCI0.PB5.PXS1.WVIL, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x02))) Store (^^PCI0.PB5.PXS1.WVIH, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x03))) Store (^^PCI0.PB5.PXS1.WDIL, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x04))) Store (^^PCI0.PB5.PXS1.WDIH, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x05))) Store (^^PCI0.PB5.PXS1.WSVL, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x06))) Store (^^PCI0.PB5.PXS1.WSVH, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x07))) Store (^^PCI0.PB5.PXS1.WSSL, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x08))) Store (^^PCI0.PB5.PXS1.WSSH, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x09))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0A))) Store (Zero, Local1) If (^^PCI0.LPC0.EC.WLNP) { Or (Local1, One, Local1) } If (WLWI) { Or (Local1, 0x02, Local1) } If (^^PCI0.LPC0.EC.WLSL) { Or (Local1, 0x04, Local1) } If (BTNS) { Or (Local1, 0x08, Local1) } Store (Local1, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0B))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0C))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0D))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0E))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0F))) } If (^^PCI0.LPC0.EC.BTLS) { Add (Local2, One, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x07)) Store (One, Index (DerefOf (Index (Local0, 0x02)), Multiply (Local2, 0x10))) Store (One, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), One))) Store (0xF0, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x02))) Store (0x03, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x03))) Store (0x1D, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x04))) Store (0x23, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x05))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x06))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x07))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x08))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x09))) Store (One, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0A))) Store (Zero, Local1) If (^^PCI0.LPC0.EC.BTLP) { Or (Local1, One, Local1) } If (BTWI) { Or (Local1, 0x02, Local1) } If (^^PCI0.LPC0.EC.BTSL) { Or (Local1, 0x04, Local1) } If (BTNS) { Or (Local1, 0x08, Local1) } Store (Local1, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0B))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0C))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0D))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0E))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0F))) } If (^^PCI0.LPC0.EC.WWNS) { Add (Local2, One, Local2) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x07)) Store (0x02, Index (DerefOf (Index (Local0, 0x02)), Multiply (Local2, 0x10))) Store (One, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), One))) Store (0xF0, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x02))) Store (0x03, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x03))) Store (0x1D, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x04))) Store (0x25, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x05))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x06))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x07))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x08))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x09))) Store (0x02, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0A))) Store (Zero, Local1) If (^^PCI0.LPC0.EC.WWNP) { Or (Local1, One, Local1) } If (WWWI) { Or (Local1, 0x02, Local1) } If (^^PCI0.LPC0.EC.WWSL) { Or (Local1, 0x04, Local1) } If (BTNS) { Or (Local1, 0x08, Local1) } Store (Local1, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0B))) Store (Zero, Local1) If (SIMD) { Or (Local1, One, Local1) } If (UND0) { Or (Local1, 0x02, Local1) } If (UND1) { Or (Local1, 0x04, Local1) } If (UND2) { Or (Local1, 0x08, Local1) } Store (Local1, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0C))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0D))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0E))) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Add (Multiply ( Local2, 0x10), 0x0F))) } Return (Local0) } Method (SWDS, 1, NotSerialized) { If (Or (Or (^^PCI0.LPC0.EC.WLNS, ^^PCI0.LPC0.EC.BTLS), ^^PCI0.LPC0.EC.WWNS)) { Store (Arg0, Local3) And (Local3, 0xFF, Local0) ShiftRight (Local3, 0x08, Local1) And (Local1, 0xFF, Local1) ShiftRight (Local3, 0x10, Local2) And (Local2, 0xFF, Local2) ShiftRight (Local3, 0x18, Local3) And (Local3, 0xFF, Local3) If (LEqual (Local3, One)) { If (LEqual (Local2, Zero)) { SWLS (One) } If (LEqual (Local2, One)) { SBTS (One) } If (LEqual (Local2, 0x02)) { SWWS (One) } If (LEqual (Local2, 0xFE)) { SWLS (One) SBTS (One) SWWS (One) } If (LEqual (Local2, 0xFF)) { Store (One, BTNS) SWLS (One) SBTS (One) SWWS (One) } } Else { If (LEqual (Local2, Zero)) { SWLS (Zero) } If (LEqual (Local2, One)) { SBTS (Zero) } If (LEqual (Local2, 0x02)) { SWWS (Zero) } If (LEqual (Local2, 0xFE)) { SWLS (Zero) SBTS (Zero) SWWS (Zero) } If (LEqual (Local2, 0xFF)) { Store (Zero, BTNS) SWLS (Zero) SBTS (Zero) SWWS (Zero) } } } Else { Return (Package (0x02) { 0x0D, Zero }) } Sleep (0xC8) Store (0x05, WMIU) Store (Zero, WMIV) Notify (WMID, 0x80) Return (Package (0x02) { Zero, Zero }) } Method (SBTS, 1, NotSerialized) { Store (Arg0, Local0) And (Local0, One, Local0) If (LAnd (^^PCI0.LPC0.EC.BTLS, ^^PCI0.LPC0.EC.BTSL)) { Store (Local0, BTWI) Store (Local0, ^^PCI0.LPC0.EC.BTLP) } } Method (SWLS, 1, NotSerialized) { Store (Arg0, Local0) And (Local0, One, Local0) If (LAnd (^^PCI0.LPC0.EC.WLNS, ^^PCI0.LPC0.EC.WLSL)) { Store (Local0, WLWI) Store (Local0, ^^PCI0.LPC0.EC.WLNP) } } Method (SWWS, 1, NotSerialized) { Store (Arg0, Local0) And (Local0, One, Local0) If (LAnd (^^PCI0.LPC0.EC.WWNS, ^^PCI0.LPC0.EC.WWSL)) { Store (Local0, WWWI) Store (Local0, ^^PCI0.LPC0.EC.WWNP) } } Method (GDLC, 0, NotSerialized) { Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) Store (EFID, Index (DerefOf (Index (Local0, 0x02)), Zero)) Return (Local0) } Method (WMBG, 0, NotSerialized) { Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) Store (Zero, Local1) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), Zero)) If (And (^^PCI0.LPC0.EC.BST0, One)) { Store (0x02, Index (DerefOf (Index (Local0, 0x02)), Zero)) } If (And (^^PCI0.LPC0.EC.BST0, 0x02)) { Store (One, Index (DerefOf (Index (Local0, 0x02)), Zero)) } Store (0xFF, Index (DerefOf (Index (Local0, 0x02)), One)) Return (Local0) } Method (SDLC, 1, NotSerialized) { And (Arg0, 0xFF, Local0) Store (Local0, EFID) Return (Package (0x02) { Zero, Zero }) } Method (WMSG, 1, NotSerialized) { Store (Arg0, Local1) And (Local1, 0xFF, Local0) ShiftRight (Local1, 0x08, Local1) And (Local1, 0xFF, Local1) If (LNotEqual (Local0, Zero)) { Store (0x34, Local0) Return (Local0) } If (LEqual (Local1, Zero)) { Store (Zero, Local0) Return (Local0) } If (LEqual (Local1, One)) { If (LAnd (^^PCI0.LPC0.EC.BST0, 0x02)) { Store (Zero, Local0) Return (Local0) } Else { Store (0x35, Local0) Return (Local0) } } If (LEqual (Local1, 0x02)) { If (LAnd (^^PCI0.LPC0.EC.BST0, One)) { Store (Zero, Local0) Return (Local0) } Else { Store (0x35, Local0) Return (Local0) } } Return (Local0) } Method (WMIN, 1, NotSerialized) { S80H (0xC8) If (^^PCI0.LPC0.EC.ECOK) { If (LEqual (Arg0, 0x6E)) { Store (One, ^^PCI0.LPC0.EC.HKFS) Return (Package (0x02) { Zero, Zero }) } If (LEqual (Arg0, Zero)) { Store (Zero, ^^PCI0.LPC0.EC.HKFS) Return (Package (0x02) { Zero, Zero }) } Return (Package (0x02) { 0x06, Zero }) } Else { Return (Package (0x02) { 0x0D, Zero }) } } Method (WKHF, 0, NotSerialized) { S80H (0xC9) If (^^PCI0.LPC0.EC.ECOK) { Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) Store (^^PCI0.LPC0.EC.LHIL, Index (DerefOf (Index (Local0, 0x02)), Zero)) Store (^^PCI0.LPC0.EC.LHIH, Index (DerefOf (Index (Local0, 0x02)), One)) Store (^^PCI0.LPC0.EC.LHIH, Local1) Store (^^PCI0.LPC0.EC.LHIL, Local2) If (LAnd (LEqual (Local2, 0xAE), LEqual (Local1, One))) { Store (0x03, Local1) Store (0x74, BCMD) BSMI (Zero) Store (VMOD, Local1) If (LEqual (Local1, One)) { Store (One, Local1) } Else { If (LEqual (Local1, 0x03)) { Store (0x02, Local1) } Else { If (LEqual (Local1, 0x02)) { Store (0x03, Local1) } Else { If (LEqual (Local1, 0x05)) { Store (0x10, Local1) } Else { If (LEqual (Local1, 0x04)) { Store (0x11, Local1) } } } } } Store (SWOV, Local2) If (LEqual (Local2, One)) { Store (One, Local2) } Else { If (LEqual (Local2, 0x03)) { Store (0x02, Local2) } Else { If (LEqual (Local2, 0x02)) { Store (0x03, Local2) } Else { If (LEqual (Local2, 0x05)) { Store (0x10, Local2) } Else { If (LEqual (Local2, 0x04)) { Store (0x11, Local2) } } } } } Store (Local1, Index (DerefOf (Index (Local0, 0x02)), 0x02)) Store (Local2, Index (DerefOf (Index (Local0, 0x02)), 0x03)) ^^PCI0.LPC0.EC._Q14 () } If (LAnd (LEqual (Local2, 0xB7), LEqual (Local1, One))) { ^^PCI0.LPC0.EC._Q18 () If (LEqual (^^PCI0.LPC0.EC.ADP, One)) { Store (^^PCI0.LPC0.EC.BNAC, Index (DerefOf (Index (Local0, 0x02)), 0x02)) } Else { Store (^^PCI0.LPC0.EC.BNDC, Index (DerefOf (Index (Local0, 0x02)), 0x02)) } Store (0x0A, Index (DerefOf (Index (Local0, 0x02)), 0x03)) } If (LAnd (LEqual (Local2, 0xB6), LEqual (Local1, One))) { ^^PCI0.LPC0.EC._Q17 () If (LEqual (^^PCI0.LPC0.EC.ADP, One)) { Store (^^PCI0.LPC0.EC.BNAC, Index (DerefOf (Index (Local0, 0x02)), 0x02)) } Else { Store (^^PCI0.LPC0.EC.BNDC, Index (DerefOf (Index (Local0, 0x02)), 0x02)) } Store (0x0A, Index (DerefOf (Index (Local0, 0x02)), 0x03)) } Store (Zero, ^^PCI0.LPC0.EC.LHIH) Store (Zero, ^^PCI0.LPC0.EC.LHIL) } Else { Store (Package (0x02) { 0x0D, Zero }, Local0) } Return (Local0) } Method (WKLB, 0, NotSerialized) { S80H (0xCA) Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) If (^^PCI0.LPC0.EC.ECOK) { Store (^^PCI0.LPC0.EC.LHIH, Index (DerefOf (Index (Local0, 0x02)), One)) Store (^^PCI0.LPC0.EC.LHIL, Index (DerefOf (Index (Local0, 0x02)), Zero)) Store (Zero, Index (DerefOf (Index (Local0, 0x02)), 0x03)) Store (Zero, ^^PCI0.LPC0.EC.LHIH) Store (Zero, ^^PCI0.LPC0.EC.LHIL) } Else { Store (Package (0x02) { 0x0D, Zero }, Local0) } Return (Local0) } Method (WMIR, 0, NotSerialized) { S80H (0xCB) Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) Store (CPTE, Index (DerefOf (Index (Local0, 0x02)), Zero)) Return (Local0) } Method (WMIS, 1, NotSerialized) { S80H (0xCC) CreateDWordField (Arg0, 0x10, Z011) Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) If (LOr (LEqual (Z011, Zero), LEqual (Z011, Ones))) { Store (Package (0x02) { 0x21, Zero }, Local0) } Else { If (CPTE) { Store (Package (0x02) { 0x20, Zero }, Local0) } Else { Store (One, CPTE) CreateDWordField (Arg0, 0x10, Z012) Store (Z012, SRV0) Store (Z012, CKEY) Store (Package (0x02) { Zero, Zero }, Local0) } } Return (Local0) } Method (WMIT, 1, NotSerialized) { S80H (0xCD) CreateDWordField (Arg0, 0x10, Z011) Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 } }, Local0) If (LGreaterEqual (DTRC, 0x04)) { Store (Package (0x02) { 0x22, Zero }, Local0) } Else { If (LEqual (Z011, CKEY)) { Add (DTRC, One, DTRC) Store (Zero, CPTE) Store (Zero, SRV0) Store (Zero, CKEY) Store (Package (0x02) { Zero, Zero }, Local0) } Else { Add (DTRC, One, DTRC) Store (Package (0x02) { 0x23, Zero }, Local0) } } Return (Local0) } Method (WMAD, 3, Serialized) { S80H (0xCE) Store (HDWC (Arg1, Arg2), Local0) Return (Local0) } Method (WWSS, 0, NotSerialized) { S80H (0xCF) If (LNot (^^PCI0.LPC0.EC.WLAS)) { Store (One, ^^PCI0.LPC0.EC.WLAS) } Store (Zero, OB0) Store (^^PCI0.LPC0.EC.WLNS, OB00) Store (^^PCI0.LPC0.EC.BTLS, OB01) Store (^^PCI0.LPC0.EC.WWNS, OB02) Store (One, OB05) Store (Zero, OB1) If (^^PCI0.LPC0.EC.WLNS) { Store (^^PCI0.LPC0.EC.WLNP, OB10) Store (WLWI, OB11) Store (^^PCI0.LPC0.EC.WLSL, OB12) Store (BTNS, OB13) } Store (Zero, OB2) If (^^PCI0.LPC0.EC.BTLS) { Store (^^PCI0.LPC0.EC.BTLP, OB20) Store (BTWI, OB21) Store (^^PCI0.LPC0.EC.BTSL, OB22) Store (BTNS, OB23) } Store (Zero, OB3) If (^^PCI0.LPC0.EC.WWNS) { Store (^^PCI0.LPC0.EC.WWNP, OB30) If (^^PCI0.LPC0.EC.ECPR) { If (^^PCI0.LPC0.EC.BATP) { Store (^^PCI0.LPC0.EC.WWNP, OB30) } Else { Store (Zero, OB30) } } Else { If (^^PCI0.LPC0.EC.BATP) { Store (^^PCI0.LPC0.EC.WWNP, OB30) } Else { Store (One, OB30) } } If (LEqual (WWWI, Zero)) { Store (Zero, OB30) } Store (WWWI, OB31) Store (^^PCI0.LPC0.EC.WWSL, OB32) Store (BTNS, OB33) Store (SIMD, OB34) Store (UND0, OB35) Store (UND1, OB36) Store (UND2, OB37) } Store (Package (0x03) { Zero, 0x04, Buffer (0x04) { 0x01, 0x02, 0x03, 0x04 } }, Local0) Store (OB0, Index (DerefOf (Index (Local0, 0x02)), Zero)) Store (OB1, Index (DerefOf (Index (Local0, 0x02)), One)) Store (OB2, Index (DerefOf (Index (Local0, 0x02)), 0x02)) Store (OB3, Index (DerefOf (Index (Local0, 0x02)), 0x03)) Store ("Get WMIWLAN status===", Debug) Store (Local0, Debug) Return (Local0) } Method (WMIM, 1, NotSerialized) { S80H (0xD0) Store (WFLG, Local1) Store (Zero, Local0) While (LEqual (Local1, One)) { If (LGreater (Local0, 0xF0)) { Store (Zero, WFLG) } Else { Sleep (0xC8) Decrement (Local0) } Store (WFLG, Local1) } Store (One, WFLG) If (Or (Or (^^PCI0.LPC0.EC.WLNS, ^^PCI0.LPC0.EC.BTLS), ^^PCI0.LPC0.EC.WWNS)) { Store (Arg0, Local1) ShiftRight (Local1, 0x08, Local1) If (LEqual (Local1, 0x0F)) { Store (One, BTNS) } If (LEqual (Local1, 0x07)) { Store (One, BTNS) } If (And (Local1, 0x08)) { If (BTNS) { If (And (Arg0, 0x08)) { If (LAnd (^^PCI0.LPC0.EC.BTLS, ^^PCI0.LPC0.EC.BTSL)) { Store (One, BTWI) Store (One, ^^PCI0.LPC0.EC.BTLP) } If (LAnd (^^PCI0.LPC0.EC.WLNS, ^^PCI0.LPC0.EC.WLSL)) { Store (One, WLWI) Store (One, ^^PCI0.LPC0.EC.WLNP) } If (LAnd (^^PCI0.LPC0.EC.WWNS, ^^PCI0.LPC0.EC.WWSL)) { Store (One, WWWI) Store (One, ^^PCI0.LPC0.EC.WWNP) } } Else { If (LAnd (^^PCI0.LPC0.EC.BTLS, ^^PCI0.LPC0.EC.BTSL)) { Store (Zero, BTWI) Store (Zero, ^^PCI0.LPC0.EC.BTLP) } If (LAnd (^^PCI0.LPC0.EC.WLNS, ^^PCI0.LPC0.EC.WLSL)) { Store (Zero, WLWI) Store (Zero, ^^PCI0.LPC0.EC.WLNP) } If (LAnd (^^PCI0.LPC0.EC.WWNS, ^^PCI0.LPC0.EC.WWSL)) { Store (Zero, WWWI) Store (Zero, ^^PCI0.LPC0.EC.WWNP) } } } } Else { If (And (Local1, 0x02)) { If (And (Arg0, 0x02)) { If (^^PCI0.LPC0.EC.BTLS) { If (^^PCI0.LPC0.EC.BTSL) { If (BTNS) { Store (One, BTWI) Store (One, ^^PCI0.LPC0.EC.BTLP) } Else { Store (Zero, BTWI) Store (Zero, ^^PCI0.LPC0.EC.BTLP) } } } } Else { Store (Zero, BTWI) Store (Zero, ^^PCI0.LPC0.EC.BTLP) } } If (And (Local1, One)) { If (And (Arg0, One)) { If (^^PCI0.LPC0.EC.WLNS) { If (^^PCI0.LPC0.EC.WLSL) { If (BTNS) { Store (One, WLWI) Store (One, ^^PCI0.LPC0.EC.WLNP) } Else { Store (Zero, WLWI) Store (Zero, ^^PCI0.LPC0.EC.WLNP) } } } } Else { Store (Zero, WLWI) Store (Zero, ^^PCI0.LPC0.EC.WLNP) } } } If (And (Local1, 0x04)) { If (And (Arg0, 0x04)) { If (^^PCI0.LPC0.EC.WWNS) { If (^^PCI0.LPC0.EC.WWSL) { If (BTNS) { Store (One, WWWI) Store (One, ^^PCI0.LPC0.EC.WWNP) } Else { Store (Zero, WWWI) Store (Zero, ^^PCI0.LPC0.EC.WWNP) } } } } Else { Store (Zero, WWWI) Store (Zero, ^^PCI0.LPC0.EC.WWNP) } } Store (Package (0x02) { Zero, Zero }, Local0) } Else { Store ("Neither WLAN nor BT", Debug) Store (Package (0x02) { 0x0D, Zero }, Local0) } Sleep (0x07D0) S80H (0xD1) Store (0x05, WMIU) Store (Zero, WMIV) Notify (WMID, 0x80) Sleep (0x07D0) S80H (0xD2) Store (Zero, WFLG) Return (Local0) } Method (_WED, 1, NotSerialized) { S80H (0xD1) Concatenate (WMIU, WMIV, Local0) Return (Local0) } Name (WQAE, Buffer (0x08A9) { /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, /* 0008 */ 0x99, 0x08, 0x00, 0x00, 0x8A, 0x3A, 0x00, 0x00, /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, /* 0018 */ 0x98, 0x4B, 0x9C, 0x00, 0x01, 0x06, 0x18, 0x42, /* 0020 */ 0x10, 0x13, 0x10, 0x22, 0x21, 0x04, 0x12, 0x01, /* 0028 */ 0xA1, 0xC8, 0x2C, 0x0C, 0x86, 0x10, 0x38, 0x2E, /* 0030 */ 0x84, 0x1C, 0x40, 0x88, 0x59, 0x50, 0x08, 0x21, /* 0038 */ 0x10, 0xEA, 0x4F, 0x20, 0xBF, 0x02, 0x10, 0x3A, /* 0040 */ 0x14, 0x20, 0x53, 0x80, 0x41, 0x01, 0x4E, 0x11, /* 0048 */ 0x44, 0xD0, 0xAB, 0x00, 0x9B, 0x02, 0x4C, 0x0A, /* 0050 */ 0xB0, 0x28, 0x40, 0xBB, 0x00, 0xCB, 0x02, 0x74, /* 0058 */ 0x0B, 0x90, 0x0E, 0x4B, 0x44, 0x82, 0xA3, 0xC4, /* 0060 */ 0x80, 0xA3, 0x74, 0x62, 0x0B, 0x37, 0x6C, 0xF0, /* 0068 */ 0x42, 0x51, 0x34, 0x83, 0x28, 0x09, 0x2A, 0x17, /* 0070 */ 0xE0, 0x1B, 0x41, 0xE0, 0xE5, 0x0A, 0x90, 0x3C, /* 0078 */ 0x01, 0x69, 0x16, 0x60, 0x58, 0x80, 0x75, 0x01, /* 0080 */ 0xB2, 0x87, 0x40, 0xA5, 0x0E, 0x01, 0x25, 0x67, /* 0088 */ 0x08, 0xA8, 0x01, 0xB4, 0x3A, 0x01, 0xE1, 0x57, /* 0090 */ 0x3A, 0x25, 0x24, 0x41, 0x38, 0x63, 0x15, 0x8F, /* 0098 */ 0xAF, 0x59, 0x34, 0x3D, 0x27, 0x39, 0xC7, 0x90, /* 00A0 */ 0xE3, 0x71, 0xA1, 0x07, 0xC1, 0x05, 0x78, 0x18, /* 00A8 */ 0x06, 0x1D, 0xB2, 0x22, 0x6B, 0x80, 0xC1, 0x58, /* 00B0 */ 0x18, 0x0B, 0x75, 0x31, 0x6A, 0xD4, 0x48, 0xD9, /* 00B8 */ 0x80, 0x0C, 0x51, 0x12, 0x1C, 0x6A, 0xD4, 0x96, /* 00C0 */ 0x28, 0xC0, 0xFC, 0x38, 0x34, 0xBB, 0xB6, 0xC7, /* 00C8 */ 0x42, 0x20, 0x99, 0xB4, 0xA1, 0xA0, 0xA4, 0x40, /* 00D0 */ 0x68, 0x6C, 0x67, 0xEA, 0x19, 0x45, 0x3C, 0x52, /* 00D8 */ 0xC3, 0x24, 0xF0, 0x28, 0x22, 0x1B, 0x8D, 0x43, /* 00E0 */ 0x63, 0x87, 0xE1, 0x61, 0x06, 0x3B, 0x88, 0xC3, /* 00E8 */ 0x38, 0xE6, 0xC8, 0x09, 0x3C, 0xA1, 0x23, 0x3D, /* 00F0 */ 0xF2, 0xC2, 0xE6, 0x29, 0xD4, 0x18, 0xCD, 0x41, /* 00F8 */ 0x11, 0xB8, 0xD0, 0x18, 0x19, 0x10, 0xF2, 0x3C, /* 0100 */ 0x7E, 0x8D, 0xC4, 0x04, 0x76, 0x2F, 0xC0, 0x1A, /* 0108 */ 0xA6, 0x60, 0x1B, 0x9B, 0x98, 0xFE, 0xFF, 0x10, /* 0110 */ 0x47, 0x1E, 0xA3, 0xAD, 0xB9, 0x0B, 0x29, 0x4C, /* 0118 */ 0x8C, 0x28, 0xC1, 0xE2, 0x55, 0x3C, 0x0D, 0xA1, /* 0120 */ 0x3C, 0x29, 0x84, 0x8A, 0x54, 0x19, 0x8A, 0x86, /* 0128 */ 0x1E, 0xA5, 0x42, 0x01, 0xCE, 0xE6, 0x21, 0xDC, /* 0130 */ 0x1A, 0x41, 0x85, 0x10, 0x2B, 0x52, 0xAC, 0xF6, /* 0138 */ 0x07, 0x41, 0x42, 0x2E, 0x5B, 0xC7, 0x07, 0x47, /* 0140 */ 0x1A, 0x0D, 0xEA, 0x50, 0xE0, 0xB1, 0x7B, 0xDC, /* 0148 */ 0xCF, 0x02, 0x3E, 0x08, 0x9C, 0x5B, 0x90, 0xA3, /* 0150 */ 0x3B, 0x8B, 0x47, 0x85, 0x83, 0xF6, 0xF0, 0xD8, /* 0158 */ 0x6D, 0xC0, 0x67, 0x08, 0x9F, 0x02, 0xF0, 0xAE, /* 0160 */ 0x01, 0x35, 0xFD, 0x83, 0x67, 0x82, 0xE0, 0x50, /* 0168 */ 0x43, 0xF4, 0xA8, 0xC3, 0x9D, 0xC0, 0x21, 0x32, /* 0170 */ 0x40, 0x4F, 0xEA, 0xB8, 0xB1, 0x83, 0x3B, 0x99, /* 0178 */ 0x83, 0x7E, 0x6F, 0x68, 0xF6, 0xC6, 0x40, 0x08, /* 0180 */ 0x8E, 0xC7, 0x97, 0x05, 0x36, 0xE1, 0x04, 0x96, /* 0188 */ 0x3F, 0x08, 0xD4, 0xC8, 0x0C, 0xED, 0x51, 0x9E, /* 0190 */ 0x56, 0xCC, 0x90, 0xCF, 0x0C, 0x26, 0xB0, 0x58, /* 0198 */ 0x08, 0x29, 0x80, 0xD0, 0x78, 0xC0, 0x7F, 0x03, /* 01A0 */ 0x78, 0xC0, 0xF0, 0xCD, 0xC0, 0xF3, 0x35, 0xC1, /* 01A8 */ 0xB0, 0x10, 0x32, 0xB2, 0x0A, 0x8F, 0x87, 0x8E, /* 01B0 */ 0xC2, 0xD7, 0x83, 0xC3, 0x39, 0xAD, 0x78, 0x26, /* 01B8 */ 0x18, 0x0E, 0x42, 0x27, 0x09, 0x8B, 0x1A, 0x36, /* 01C0 */ 0x3D, 0x39, 0xF0, 0x43, 0x03, 0xBB, 0x19, 0x9C, /* 01C8 */ 0xC1, 0x23, 0x80, 0x47, 0x72, 0x42, 0xFE, 0x98, /* 01D0 */ 0x78, 0x60, 0xF0, 0x01, 0xF1, 0xDE, 0xA7, 0x4C, /* 01D8 */ 0x46, 0x70, 0xA6, 0x06, 0xF4, 0x71, 0xC0, 0xFF, /* 01E0 */ 0xFF, 0xA1, 0xF0, 0x21, 0x7A, 0x7C, 0xA7, 0x7C, /* 01E8 */ 0xBC, 0x96, 0x00, 0x21, 0x59, 0xE3, 0x84, 0x7E, /* 01F0 */ 0x87, 0xF0, 0xF1, 0xC3, 0x47, 0x16, 0x47, 0x84, /* 01F8 */ 0x90, 0x93, 0x53, 0x00, 0x1A, 0xF8, 0x74, 0xCF, /* 0200 */ 0x2E, 0xC2, 0xE9, 0x7A, 0x52, 0x0E, 0x34, 0x0C, /* 0208 */ 0x3A, 0x4E, 0x70, 0x9C, 0x07, 0xC0, 0x31, 0x4E, /* 0210 */ 0xF8, 0xE7, 0x02, 0xF8, 0x03, 0xE4, 0xA7, 0x8C, /* 0218 */ 0x57, 0x8C, 0x04, 0x8E, 0x39, 0x42, 0xF4, 0xB9, /* 0220 */ 0xC6, 0x23, 0xC4, 0xC2, 0x3F, 0x55, 0x14, 0x3E, /* 0228 */ 0x10, 0x32, 0x46, 0x70, 0x01, 0x7A, 0x8C, 0xC0, /* 0230 */ 0x37, 0xE0, 0x18, 0xD1, 0x47, 0x09, 0xAE, 0xFE, /* 0238 */ 0xA0, 0x41, 0x07, 0x88, 0xFB, 0xFF, 0x0F, 0x10, /* 0240 */ 0x3E, 0xA8, 0x07, 0x08, 0x7C, 0xA3, 0x1F, 0x3D, /* 0248 */ 0xD0, 0xE3, 0xB2, 0xE8, 0xF3, 0x80, 0x8C, 0x9F, /* 0250 */ 0x68, 0x34, 0x2F, 0x7E, 0x3A, 0xE0, 0x87, 0x0F, /* 0258 */ 0xF0, 0x80, 0x7A, 0x48, 0x38, 0x50, 0xCC, 0xB4, /* 0260 */ 0x39, 0xE8, 0xB3, 0xCB, 0xA1, 0x63, 0x87, 0x0B, /* 0268 */ 0xFE, 0x13, 0x08, 0xB8, 0xE4, 0x1D, 0xC2, 0x40, /* 0270 */ 0x31, 0x62, 0xFC, 0x39, 0xC8, 0xA7, 0x30, 0xF0, /* 0278 */ 0xFF, 0xFF, 0x4F, 0x61, 0xB8, 0x11, 0xF0, 0x20, /* 0280 */ 0xAF, 0x05, 0x9F, 0xB6, 0xA8, 0x74, 0x18, 0xD4, /* 0288 */ 0x81, 0x0B, 0x30, 0x09, 0x1A, 0xE1, 0x59, 0xA2, /* 0290 */ 0x36, 0x08, 0x01, 0xBF, 0x4D, 0xBC, 0x6D, 0xF9, /* 0298 */ 0x16, 0x10, 0xE7, 0xC8, 0x7B, 0x3B, 0x70, 0x11, /* 02A0 */ 0x8C, 0x08, 0xA7, 0x1D, 0xCA, 0x63, 0x88, 0x18, /* 02A8 */ 0x23, 0xCA, 0xE3, 0x96, 0x51, 0xDE, 0xB6, 0x5E, /* 02B0 */ 0x00, 0xE2, 0x9D, 0xE5, 0xF3, 0x96, 0x31, 0x82, /* 02B8 */ 0x47, 0x7E, 0xE0, 0x62, 0x62, 0xDF, 0x13, 0xFA, /* 02C0 */ 0xB9, 0xF9, 0xC0, 0x05, 0x38, 0xFB, 0xFF, 0x1F, /* 02C8 */ 0xB8, 0x00, 0x0E, 0x05, 0x3D, 0x0C, 0xA1, 0x87, /* 02D0 */ 0xE1, 0xA9, 0x9C, 0xCB, 0x13, 0xE5, 0xA9, 0x44, /* 02D8 */ 0x8C, 0x1A, 0x26, 0xEA, 0x33, 0x94, 0x2F, 0x1A, /* 02E0 */ 0x3E, 0x10, 0x81, 0xEF, 0xCC, 0x05, 0xFC, 0xFE, /* 02E8 */ 0xFF, 0x07, 0x22, 0x38, 0x02, 0xCF, 0x34, 0xA0, /* 02F0 */ 0xF4, 0x39, 0x03, 0x81, 0x9C, 0x8A, 0x0F, 0x35, /* 02F8 */ 0xC0, 0x48, 0xF4, 0xAB, 0xC1, 0x27, 0x1A, 0x2A, /* 0300 */ 0x13, 0x06, 0x75, 0xA8, 0x01, 0x4C, 0x5E, 0x61, /* 0308 */ 0x9E, 0x46, 0xCF, 0xF9, 0x59, 0xC6, 0xA7, 0x1A, /* 0310 */ 0x1F, 0x4A, 0x8D, 0x63, 0x88, 0x97, 0x99, 0x87, /* 0318 */ 0x1A, 0x1F, 0x0B, 0x5E, 0x49, 0x7D, 0xA8, 0x31, /* 0320 */ 0x54, 0x9C, 0x87, 0x1A, 0x9F, 0x48, 0x03, 0x45, /* 0328 */ 0x7D, 0xB3, 0x79, 0xB6, 0x31, 0x7A, 0x7C, 0xDF, /* 0330 */ 0x50, 0x0D, 0xF1, 0x50, 0xC3, 0x84, 0xBD, 0x23, /* 0338 */ 0xF4, 0xC1, 0xF5, 0xA1, 0x06, 0x1C, 0xFF, 0xFF, /* 0340 */ 0x43, 0x0D, 0xC0, 0xFF, 0xFF, 0xFF, 0xA1, 0x06, /* 0348 */ 0x70, 0x74, 0x34, 0x80, 0x73, 0x64, 0xC4, 0x1D, /* 0350 */ 0x0D, 0xC0, 0x75, 0x28, 0x05, 0x0E, 0x47, 0x03, /* 0358 */ 0xE0, 0x71, 0x14, 0x02, 0xF3, 0x85, 0xC6, 0x47, /* 0360 */ 0x21, 0x60, 0xF1, 0xFF, 0x3F, 0x0A, 0xE1, 0x64, /* 0368 */ 0x9F, 0x83, 0x50, 0x42, 0x8F, 0x42, 0x80, 0x54, /* 0370 */ 0xC8, 0xA7, 0x88, 0x67, 0x1F, 0x5F, 0x7E, 0x1E, /* 0378 */ 0x08, 0x22, 0xBC, 0xE6, 0xFB, 0x14, 0xE4, 0x43, /* 0380 */ 0xBE, 0x8F, 0x42, 0x0C, 0xC6, 0x50, 0xBE, 0x06, /* 0388 */ 0xF9, 0x28, 0xC4, 0xA0, 0x5E, 0x83, 0x7C, 0xDF, /* 0390 */ 0x37, 0xC8, 0x91, 0x18, 0xFB, 0x99, 0xC0, 0x47, /* 0398 */ 0x21, 0x26, 0xED, 0x28, 0x04, 0x28, 0xFC, 0xFF, /* 03A0 */ 0x1F, 0x85, 0x00, 0xFE, 0xFF, 0xFF, 0x8F, 0x42, /* 03A8 */ 0x80, 0xB3, 0x00, 0x47, 0x03, 0xD0, 0x4D, 0xEB, /* 03B0 */ 0x51, 0x08, 0xBC, 0x77, 0x96, 0xD3, 0x3E, 0x01, /* 03B8 */ 0x9F, 0x85, 0x00, 0xB3, 0xFF, 0xFF, 0xB3, 0x10, /* 03C0 */ 0x30, 0x3B, 0x0A, 0x45, 0x3D, 0xE8, 0x57, 0xA1, /* 03C8 */ 0x27, 0x80, 0x17, 0x80, 0x18, 0x61, 0xDE, 0x81, /* 03D0 */ 0x5E, 0x32, 0xD9, 0x5D, 0xDC, 0x38, 0x4F, 0x2E, /* 03D8 */ 0xA7, 0x6D, 0x94, 0x97, 0x20, 0x1F, 0x28, 0x9E, /* 03E0 */ 0x85, 0x0C, 0xF5, 0x2E, 0x14, 0xF4, 0x8D, 0xDC, /* 03E8 */ 0xA3, 0x8C, 0x19, 0x3F, 0xC4, 0xF3, 0x90, 0x21, /* 03F0 */ 0x9E, 0x85, 0x00, 0x76, 0xFD, 0xFF, 0xCF, 0x42, /* 03F8 */ 0x00, 0xFF, 0xFF, 0xFF, 0x47, 0x03, 0xF8, 0x2F, /* 0400 */ 0x00, 0x9F, 0x85, 0x80, 0xE7, 0x09, 0xE0, 0x41, /* 0408 */ 0xDB, 0x67, 0x21, 0x80, 0x33, 0x87, 0xCB, 0xF3, /* 0410 */ 0x0F, 0x7A, 0x60, 0xEF, 0x11, 0x9E, 0xF5, 0x71, /* 0418 */ 0xBF, 0x5E, 0x7A, 0xE0, 0x0F, 0x05, 0xCF, 0x42, /* 0420 */ 0x0C, 0xEB, 0x98, 0x7C, 0x16, 0x62, 0x10, 0x2F, /* 0428 */ 0x9A, 0x86, 0x78, 0xE1, 0xF4, 0x61, 0xC0, 0xFF, /* 0430 */ 0x7F, 0xBC, 0xC0, 0xAF, 0x9C, 0x06, 0x0A, 0x12, /* 0438 */ 0xE8, 0x59, 0x08, 0x60, 0xFC, 0xFF, 0xFF, 0x2C, /* 0440 */ 0x04, 0x90, 0x71, 0x8D, 0x3A, 0x0B, 0x01, 0xCB, /* 0448 */ 0x63, 0x0C, 0x3B, 0xAD, 0x24, 0xF8, 0xFF, 0x3F, /* 0450 */ 0x0B, 0x01, 0x9F, 0x5C, 0x46, 0x0E, 0x42, 0x98, /* 0458 */ 0x88, 0x6F, 0x05, 0x1F, 0x33, 0x01, 0xA5, 0xE7, /* 0460 */ 0xA0, 0x17, 0x77, 0x63, 0x04, 0x7E, 0x91, 0x78, /* 0468 */ 0xCC, 0x64, 0x47, 0x4D, 0xC3, 0x3C, 0x0B, 0x19, /* 0470 */ 0xEF, 0x30, 0xCE, 0xE0, 0x09, 0xDE, 0x93, 0x7F, /* 0478 */ 0x16, 0x62, 0x60, 0xC7, 0x18, 0xEC, 0x51, 0xC8, /* 0480 */ 0xA0, 0x06, 0x8F, 0x1D, 0x22, 0x4C, 0xA0, 0x67, /* 0488 */ 0x21, 0x16, 0x6A, 0xDC, 0x3A, 0x7F, 0xF8, 0x2C, /* 0490 */ 0x04, 0xBC, 0xFF, 0xFF, 0x67, 0x21, 0xC0, 0xD3, /* 0498 */ 0x61, 0xC3, 0x67, 0x0D, 0xF0, 0x0C, 0xDF, 0xA3, /* 04A0 */ 0x3A, 0x87, 0xC7, 0x63, 0xE0, 0x92, 0x55, 0xC7, /* 04A8 */ 0x09, 0x83, 0xE5, 0x5E, 0xA7, 0x6C, 0x9C, 0x61, /* 04B0 */ 0xE8, 0x20, 0xAC, 0x0E, 0x48, 0xC3, 0xC1, 0xDC, /* 04B8 */ 0x43, 0x0E, 0xE2, 0x7C, 0xD8, 0x40, 0xAD, 0x08, /* 04C0 */ 0x4E, 0xC7, 0x24, 0x0F, 0xDA, 0x5A, 0x28, 0xA4, /* 04C8 */ 0x80, 0x46, 0x03, 0x32, 0xBC, 0x33, 0x9F, 0x96, /* 04D0 */ 0x28, 0x88, 0x01, 0x7D, 0x02, 0xB2, 0x8D, 0x73, /* 04D8 */ 0x00, 0x6A, 0x2F, 0x9A, 0x02, 0x39, 0xDA, 0x60, /* 04E0 */ 0xF4, 0x5F, 0x16, 0xE8, 0x6C, 0x7C, 0x0D, 0xE0, /* 04E8 */ 0x1A, 0x20, 0x74, 0x30, 0x30, 0xB4, 0xD5, 0xDC, /* 04F0 */ 0x62, 0x50, 0x60, 0xC6, 0x7F, 0x70, 0x31, 0x81, /* 04F8 */ 0x8F, 0x2E, 0xF8, 0xB3, 0x00, 0xEE, 0xFF, 0x3F, /* 0500 */ 0x5C, 0x8F, 0xF6, 0x5D, 0xA0, 0xEA, 0xC9, 0xEA, /* 0508 */ 0x8A, 0x60, 0x75, 0x97, 0x17, 0x08, 0x33, 0x32, /* 0510 */ 0x41, 0x7D, 0x07, 0x02, 0x50, 0x00, 0xF9, 0x0E, /* 0518 */ 0xE0, 0xA3, 0xD3, 0x73, 0x00, 0x9B, 0x48, 0x88, /* 0520 */ 0x30, 0xD1, 0x8C, 0x8E, 0x98, 0x30, 0x2A, 0xFA, /* 0528 */ 0x84, 0x29, 0x88, 0x27, 0xEC, 0x58, 0x13, 0x46, /* 0530 */ 0xCF, 0xC4, 0x77, 0x1B, 0x36, 0x62, 0x4C, 0x88, /* 0538 */ 0xDB, 0x06, 0xB4, 0x09, 0x06, 0xF5, 0x3D, 0x08, /* 0540 */ 0xD6, 0x90, 0xF9, 0x58, 0x7C, 0x67, 0xC0, 0x4D, /* 0548 */ 0x19, 0x8C, 0x73, 0x62, 0xD7, 0x04, 0x0B, 0x9C, /* 0550 */ 0x33, 0xC8, 0xE1, 0x31, 0xD7, 0x2F, 0x7E, 0x5B, /* 0558 */ 0xF2, 0xE8, 0xF8, 0x41, 0xC1, 0x37, 0x1C, 0x86, /* 0560 */ 0xFD, 0x30, 0xE6, 0x19, 0xBD, 0x8A, 0xF9, 0xE6, /* 0568 */ 0x86, 0x81, 0xF5, 0x78, 0x39, 0xAC, 0xD1, 0xC2, /* 0570 */ 0x1E, 0xDA, 0xAB, 0x87, 0xCF, 0x2D, 0x3E, 0x4F, /* 0578 */ 0x18, 0x23, 0xAC, 0x2F, 0x2C, 0xE0, 0x00, 0xFC, /* 0580 */ 0xFF, 0xBF, 0x5A, 0xC1, 0xBE, 0x6B, 0x80, 0xE7, /* 0588 */ 0x26, 0xE4, 0xBB, 0x06, 0xC0, 0xDA, 0xFF, 0xFF, /* 0590 */ 0x5D, 0x03, 0xFE, 0x35, 0xC1, 0x77, 0x0D, 0xE0, /* 0598 */ 0x3D, 0x74, 0xDF, 0x35, 0x80, 0x6B, 0xF6, 0xBB, /* 05A0 */ 0x06, 0xEA, 0x18, 0x60, 0x85, 0x77, 0x0D, 0x68, /* 05A8 */ 0xB7, 0xB4, 0x57, 0xB4, 0x87, 0x2A, 0x6B, 0xBA, /* 05B0 */ 0x6C, 0xA0, 0xD4, 0x5C, 0x36, 0x00, 0x6D, 0xFF, /* 05B8 */ 0xFF, 0xCB, 0x06, 0xB0, 0x91, 0x32, 0x61, 0x54, /* 05C0 */ 0xF8, 0x09, 0x53, 0x10, 0x4F, 0xD8, 0xC1, 0x2E, /* 05C8 */ 0x1B, 0xA0, 0x88, 0x71, 0xD9, 0x00, 0xFD, 0xD8, /* 05D0 */ 0x5E, 0x36, 0x80, 0xC1, 0x3D, 0x81, 0xDF, 0x36, /* 05D8 */ 0x80, 0x37, 0xA4, 0x6F, 0x1B, 0xC0, 0xF4, 0xFF, /* 05E0 */ 0x0F, 0x31, 0xFF, 0x6D, 0x03, 0xC5, 0x61, 0x95, /* 05E8 */ 0xB7, 0x0D, 0x88, 0x87, 0x77, 0x46, 0x60, 0x55, /* 05F0 */ 0xD7, 0x0D, 0x94, 0x9E, 0xEB, 0x06, 0x40, 0x02, /* 05F8 */ 0x31, 0x13, 0x46, 0xC5, 0x9F, 0x30, 0x05, 0xF1, /* 0600 */ 0x84, 0x1D, 0xED, 0xBA, 0x01, 0x8A, 0x20, 0xD7, /* 0608 */ 0x0D, 0xD0, 0xCF, 0xEB, 0x94, 0xC1, 0xFA, 0xFF, /* 0610 */ 0xBF, 0x6E, 0x60, 0x2F, 0x0A, 0x98, 0xFB, 0x06, /* 0618 */ 0xF0, 0x86, 0xE5, 0xF7, 0x0D, 0xC0, 0xC7, 0xE5, /* 0620 */ 0x1B, 0x73, 0xDF, 0x00, 0x6C, 0xFE, 0xFF, 0xEF, /* 0628 */ 0x1B, 0x00, 0x13, 0x2E, 0x0A, 0xB8, 0xFB, 0x06, /* 0630 */ 0xF0, 0xBE, 0x48, 0xFB, 0xBE, 0x01, 0x5C, 0x83, /* 0638 */ 0x49, 0xF8, 0xFF, 0xDF, 0xF5, 0xE8, 0x0B, 0x40, /* 0640 */ 0x51, 0x60, 0x50, 0x43, 0xF2, 0x99, 0x00, 0x3F, /* 0648 */ 0xBA, 0x83, 0x3B, 0xA6, 0xE0, 0x4C, 0x12, 0x1C, /* 0650 */ 0x6A, 0xE0, 0xBE, 0x02, 0x3C, 0xCD, 0x9F, 0xD6, /* 0658 */ 0x7B, 0xBD, 0xE7, 0xF1, 0x24, 0x10, 0x92, 0x1D, /* 0660 */ 0x61, 0x7C, 0x6C, 0x43, 0x9C, 0x0C, 0xC8, 0x41, /* 0668 */ 0xDC, 0x47, 0xF7, 0x88, 0xEF, 0xE1, 0x86, 0x49, /* 0670 */ 0xE0, 0x21, 0x33, 0x34, 0x0E, 0x8D, 0x1D, 0x86, /* 0678 */ 0xEF, 0x02, 0xC1, 0x0E, 0xE2, 0x30, 0xCE, 0xD7, /* 0680 */ 0x04, 0x9E, 0xD0, 0x83, 0xC0, 0x7B, 0xF9, 0xA3, /* 0688 */ 0x41, 0xF1, 0x77, 0x03, 0x4A, 0x60, 0xB8, 0xD0, /* 0690 */ 0x98, 0x91, 0xFA, 0x6C, 0xFF, 0x8E, 0x70, 0x24, /* 0698 */ 0x26, 0xB0, 0x7B, 0x48, 0x59, 0x13, 0xA0, 0xF1, /* 06A0 */ 0x96, 0x43, 0x20, 0x7A, 0xC3, 0x91, 0x2D, 0x14, /* 06A8 */ 0xCD, 0x2D, 0xCA, 0xFB, 0x42, 0x14, 0x3B, 0x43, /* 06B0 */ 0x10, 0x46, 0x94, 0x60, 0x41, 0x9E, 0xD6, 0x62, /* 06B8 */ 0x45, 0x79, 0x66, 0x37, 0x42, 0xC4, 0x10, 0xAF, /* 06C0 */ 0x0C, 0x81, 0x5E, 0x12, 0xC2, 0x07, 0x79, 0xEC, /* 06C8 */ 0x89, 0xD3, 0xFE, 0x20, 0x88, 0xF8, 0x17, 0x82, /* 06D0 */ 0x3C, 0x80, 0x28, 0xD2, 0x68, 0x50, 0xE7, 0x06, /* 06D8 */ 0x8F, 0xDD, 0x87, 0x10, 0x5F, 0xFE, 0x7D, 0xB8, /* 06E0 */ 0xF7, 0xE8, 0x0E, 0xEE, 0x45, 0xFE, 0xA0, 0x3D, /* 06E8 */ 0x3C, 0x76, 0xC2, 0xF0, 0x41, 0x03, 0x8E, 0x6B, /* 06F0 */ 0x40, 0x4D, 0xFF, 0x19, 0x01, 0x2C, 0x97, 0x7F, /* 06F8 */ 0xF8, 0xE3, 0xF1, 0x3D, 0xC1, 0xF3, 0x39, 0xE1, /* 0700 */ 0x04, 0x96, 0x3F, 0x08, 0xD4, 0x71, 0x84, 0xCF, /* 0708 */ 0xF3, 0x85, 0xC3, 0x90, 0xCF, 0x02, 0x87, 0xC5, /* 0710 */ 0xC4, 0x0A, 0xF8, 0xFF, 0x9F, 0x4C, 0xD8, 0x78, /* 0718 */ 0xC0, 0x7F, 0x0F, 0x79, 0xFD, 0xF7, 0xCD, 0xC0, /* 0720 */ 0xF3, 0x35, 0xC1, 0x88, 0x10, 0x72, 0x32, 0x1E, /* 0728 */ 0x34, 0xE8, 0xD9, 0xF8, 0x80, 0xE1, 0xEB, 0x09, /* 0730 */ 0x3B, 0x77, 0x70, 0x51, 0xE7, 0x0E, 0xD4, 0xD1, /* 0738 */ 0xC1, 0xA7, 0x06, 0x76, 0xB3, 0xC1, 0x1C, 0xB7, /* 0740 */ 0xF9, 0x59, 0x03, 0xFC, 0x23, 0x84, 0x7F, 0x7B, /* 0748 */ 0xF0, 0xBC, 0x7C, 0x65, 0x78, 0x75, 0x48, 0xE0, /* 0750 */ 0x90, 0x23, 0x44, 0x8F, 0xCB, 0x23, 0xC4, 0x9C, /* 0758 */ 0x6F, 0x30, 0x43, 0x04, 0xD7, 0x59, 0x00, 0x1C, /* 0760 */ 0x43, 0x04, 0x3E, 0x67, 0x4C, 0x9F, 0x71, 0x60, /* 0768 */ 0xFE, 0xFF, 0xCF, 0x38, 0xEC, 0xD2, 0xC3, 0x07, /* 0770 */ 0x6A, 0x78, 0x13, 0xF8, 0xFE, 0x8C, 0x3B, 0xD2, /* 0778 */ 0x18, 0x9C, 0x1F, 0x33, 0x1E, 0x76, 0x18, 0xF8, /* 0780 */ 0xFB, 0x8E, 0x67, 0x70, 0x34, 0x3E, 0xA0, 0x18, /* 0788 */ 0x21, 0xF8, 0x73, 0xC9, 0x73, 0x8A, 0x35, 0x0F, /* 0790 */ 0x52, 0x33, 0x7A, 0x67, 0x38, 0x04, 0x76, 0xB3, /* 0798 */ 0xC2, 0x1D, 0x38, 0x3C, 0x04, 0x3E, 0x80, 0x56, /* 07A0 */ 0x27, 0x47, 0x4E, 0x3F, 0xA7, 0x84, 0x1B, 0x3E, /* 07A8 */ 0xBF, 0x0A, 0x60, 0x0E, 0x41, 0x38, 0x85, 0x36, /* 07B0 */ 0x7D, 0x6A, 0x34, 0x6A, 0xD5, 0xA0, 0x4C, 0x8D, /* 07B8 */ 0x32, 0x0D, 0x6A, 0xF5, 0xA9, 0xD4, 0x98, 0xB1, /* 07C0 */ 0x0B, 0x8B, 0x03, 0xBE, 0x02, 0x74, 0x1C, 0xB0, /* 07C8 */ 0x3C, 0x0A, 0x1D, 0xC1, 0xC8, 0x9B, 0x40, 0x20, /* 07D0 */ 0x0E, 0x0B, 0x42, 0x23, 0xBD, 0x71, 0x04, 0x62, /* 07D8 */ 0xC9, 0xEF, 0x2F, 0x81, 0x58, 0xEE, 0x03, 0x45, /* 07E0 */ 0x20, 0x0E, 0x68, 0x02, 0x9C, 0xAA, 0x00, 0xA7, /* 07E8 */ 0xAF, 0x01, 0x81, 0x38, 0x32, 0x08, 0x15, 0xFA, /* 07F0 */ 0x35, 0x13, 0x88, 0x63, 0x82, 0xD0, 0x50, 0x3E, /* 07F8 */ 0x40, 0x98, 0xF4, 0x17, 0x80, 0x00, 0x89, 0x11, /* 0800 */ 0x10, 0x16, 0xEE, 0xE5, 0x20, 0x10, 0x4B, 0x7B, /* 0808 */ 0x2D, 0x08, 0xC4, 0x42, 0xAC, 0x80, 0xB0, 0xB8, /* 0810 */ 0x20, 0x34, 0x9C, 0x16, 0x10, 0x26, 0xC9, 0x0C, /* 0818 */ 0x08, 0x0B, 0x04, 0x42, 0xE5, 0x3F, 0xD3, 0x04, /* 0820 */ 0x62, 0x91, 0x6E, 0x00, 0xE9, 0xBA, 0x05, 0xE2, /* 0828 */ 0x20, 0x7A, 0x40, 0x98, 0x0C, 0x3F, 0x20, 0x2C, /* 0830 */ 0x34, 0x08, 0x8D, 0xF6, 0x6C, 0x10, 0x20, 0x31, /* 0838 */ 0x04, 0xC2, 0xE2, 0x3B, 0x02, 0x61, 0xE2, 0xDF, /* 0840 */ 0x44, 0x02, 0x71, 0x4A, 0x4B, 0x10, 0x37, 0xA5, /* 0848 */ 0x01, 0x06, 0x11, 0x90, 0x93, 0x6A, 0x02, 0x62, /* 0850 */ 0xB9, 0x41, 0x34, 0x24, 0xF2, 0xB0, 0x10, 0x90, /* 0858 */ 0x93, 0x82, 0x68, 0xC0, 0xC4, 0x14, 0x90, 0xFF, /* 0860 */ 0xFF, 0x43, 0x13, 0x88, 0x80, 0x9C, 0xCA, 0x15, /* 0868 */ 0x10, 0x8B, 0x08, 0x22, 0x20, 0x27, 0x7B, 0x52, /* 0870 */ 0x09, 0xC8, 0x39, 0x41, 0x74, 0x04, 0x20, 0xBA, /* 0878 */ 0x80, 0x58, 0x3E, 0x10, 0x01, 0x39, 0x96, 0x2F, /* 0880 */ 0x20, 0x16, 0x12, 0x44, 0x40, 0x4E, 0xF4, 0xF3, /* 0888 */ 0x09, 0x44, 0xE2, 0x81, 0x68, 0x10, 0xE4, 0x3F, /* 0890 */ 0x21, 0x20, 0x67, 0x04, 0x11, 0x10, 0x79, 0x12, /* 0898 */ 0x05, 0x21, 0x9A, 0x3E, 0x62, 0x02, 0x71, 0x6A, /* 08A0 */ 0x10, 0x9A, 0xEC, 0x27, 0x14, 0x84, 0xFC, 0xFF, /* 08A8 */ 0x01 }) } } Scope (\_PR.C000) { Name (_PCT, Package (0x02) { ResourceTemplate () { Register (FFixedHW, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, ResourceTemplate () { Register (FFixedHW, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) } }) Name (_PSS, Package (0x02) { Package (0x06) { 0x00000640, 0x000186A0, 0x00000064, 0x00000007, 0xE8301608, 0x00000608 }, Package (0x06) { 0x00000320, 0x00008A81, 0x00000064, 0x00000007, 0xE8301780, 0x00000780 } }) Name (_PPC, 0x00) Name (_PSD, Package (0x01) { Package (0x05) { 0x05, 0x00, 0x00000000, 0x000000FD, 0x00000002 } }) } Scope (\_PR.C001) { Name (_PCT, Package (0x02) { ResourceTemplate () { Register (FFixedHW, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, ResourceTemplate () { Register (FFixedHW, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) } }) Name (_PSS, Package (0x02) { Package (0x06) { 0x00000640, 0x000186A0, 0x00000064, 0x00000007, 0xE8301608, 0x00000608 }, Package (0x06) { 0x00000320, 0x00008A81, 0x00000064, 0x00000007, 0xE8301780, 0x00000780 } }) Name (_PPC, 0x00) Name (_PSD, Package (0x01) { Package (0x05) { 0x05, 0x00, 0x00000000, 0x000000FD, 0x00000002 } }) } }