/* * Intel ACPI Component Architecture * AML Disassembler version 20081204 * * Disassembly of DSDT.dat, Wed Jun 24 19:10:25 2009 * * * Original Table Header: * Signature "DSDT" * Length 0x0000A8C0 (43200) * Revision 0x01 **** ACPI 1.0, no 64-bit math support * Checksum 0xDB * OEM ID "ACER " * OEM Table ID "ACER " * OEM Revision 0x00000001 (1) * Compiler ID "1025" * Compiler Version 0x20051117 (537202967) */ DefinitionBlock ("DSDT.aml", "DSDT", 1, "ACER ", "ACER ", 0x00000001) { External (AHCI) External (^^AHCI.PRT4) External (^^AHCI.SP4E) External (^^SAT2.PRID.SLAV) Name (BCEN, One) Name (BCVE, Zero) Name (SGEN, Zero) OperationRegion (CNVS, SystemMemory, 0xBFE3E018, 0x00000800) Field (CNVS, AnyAcc, Lock, Preserve) { SFUN, 8, SPR0, 8, SPR1, 8, SPR2, 8, WNVA, 32, WNVB, 32, WNVC, 32, WNVD, 32, WFLG, 32, WNVS, 32, WNVI, 32, Offset (0x70), HKV0, 32, HKV1, 8, HERR, 16, Offset (0x400), WVAR, 8, WSTS, 8, WLNT, 16, Offset (0x600) } Method (TRPS, 2, NotSerialized) { Acquire (MSMI, 0xFFFF) Store (Arg1, SPR0) Store (Arg0, SFUN) Store (0xDE, SSMP) Store (SPR0, Local0) Release (MSMI) Return (Local0) } Mutex (MSMI, 0x07) Method (PHSR, 2, NotSerialized) { Store (TRPS (Arg0, Arg1), Local0) Return (Local0) } Method (WSMI, 1, NotSerialized) { Store (Arg0, SFUN) Store (0xDE, SSMP) } Method (HKEY, 1, NotSerialized) { TRPS (0x14, Arg0) } Method (LAMN, 1, NotSerialized) { If (\_SB.PCI0.WMID.WLMP) { Store (Arg0, \_SB.PCI0.WMID.WLID) Notify (\_SB.PCI0.WMID, 0xB0) } Else { TRPS (0x13, Arg0) } } Method (RBEC, 1, NotSerialized) { Return (TRPS (0x10, Arg0)) } Method (WBEC, 2, NotSerialized) { Acquire (MSMI, 0xFFFF) Store (Arg1, SPR1) Store (Arg0, SPR0) Store (0x11, SFUN) Store (0xDE, SSMP) Release (MSMI) } Method (MBEC, 3, NotSerialized) { Acquire (MSMI, 0xFFFF) Store (Arg2, SPR2) Store (Arg1, SPR1) Store (Arg0, SPR0) Store (0x12, SFUN) Store (0xDE, SSMP) Release (MSMI) } Name (B2ED, Buffer (0x1C) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00 }) Method (WH15, 2, NotSerialized) { Acquire (MSMI, 0xFFFF) CreateDWordField (Arg1, Zero, DEAX) CreateDWordField (Arg1, 0x04, DEBX) CreateDWordField (Arg1, 0x08, DECX) CreateDWordField (Arg1, 0x0C, DEDX) CreateDWordField (B2ED, Zero, OEAX) CreateDWordField (B2ED, 0x04, OEBX) CreateDWordField (B2ED, 0x08, OECX) CreateDWordField (B2ED, 0x0C, OEDX) CreateDWordField (B2ED, 0x10, OFLG) Store (DECX, OECX) Store (DEDX, OEDX) If (LEqual (\_SB.PCI0.WMID.WEID, One)) { CreateDWordField (Arg1, 0x10, DESI) CreateDWordField (Arg1, 0x14, DEDI) CreateDWordField (B2ED, 0x14, OESI) CreateDWordField (B2ED, 0x18, OEDI) Store (DESI, OESI) Store (DEDI, OEDI) } If (\_SB.PCI0.WMID.FIRE) { If (LEqual (DEAX, 0x9610)) { If (LOr (LEqual (DEBX, 0x34), LEqual (DEBX, 0x0134))) { Store (\_SB.PCI0.WMID.BSTS, Local5) } } If (LEqual (DEAX, 0x9610)) { If (LOr (LEqual (DEBX, 0x35), LEqual (DEBX, 0x0135))) { Store (\_SB.PCI0.WMID.WSTS, Local6) } } If (LEqual (DEAX, 0x9610)) { If (LOr (LEqual (DEBX, 0x3A), LEqual (DEBX, 0x013A))) { Store (\_SB.PCI0.WMID.GGTS, Local6) } } } Store (DEAX, WNVA) Store (DEBX, WNVB) Store (DECX, WNVC) Store (DEDX, WNVD) If (LEqual (\_SB.PCI0.WMID.WEID, One)) { Store (DESI, WNVS) Store (DEDI, WNVI) } WSMI (One) Store (WNVA, OEAX) Store (WNVB, OEBX) Store (WNVC, OECX) Store (WNVD, OEDX) Store (WFLG, OFLG) If (LEqual (\_SB.PCI0.WMID.WEID, One)) { Store (WNVS, OESI) Store (WNVI, OEDI) } If (\_SB.PCI0.WMID.FIRE) { If (LEqual (DEAX, 0x9610)) { If (LOr (LEqual (DEBX, 0x34), LEqual (DEBX, 0x0134))) { If (LNotEqual (Local5, \_SB.PCI0.WMID.BSTS)) { \_SB.PCI0.WMID.ACRN (0x02) } } } If (LEqual (DEAX, 0x9610)) { If (LOr (LEqual (DEBX, 0x35), LEqual (DEBX, 0x0135))) { If (LNotEqual (Local6, \_SB.PCI0.WMID.WSTS)) { \_SB.PCI0.WMID.ACRN (One) } } } If (LEqual (DEAX, 0x9610)) { If (LOr (LEqual (DEBX, 0x3A), LEqual (DEBX, 0x013A))) { If (LNotEqual (Local6, \_SB.PCI0.WMID.WSTS)) { \_SB.PCI0.WMID.ACRN (0x08) } } } } Release (MSMI) Return (B2ED) } Method (I15H, 5, NotSerialized) { Acquire (MSMI, 0xFFFF) Store (Arg0, Local1) Store (Arg1, WNVA) Store (Arg2, WNVB) Store (Arg3, WNVC) Store (Arg4, WNVD) WSMI (One) If (LEqual (Local1, One)) { Store (WNVA, Local0) } If (LEqual (Local1, 0x02)) { Store (WNVB, Local0) } If (LEqual (Local1, 0x03)) { Store (WNVC, Local0) } If (LEqual (Local1, 0x04)) { Store (WNVD, Local0) } If (LEqual (Local1, 0x05)) { Store (WFLG, Local0) } Release (MSMI) Return (Local0) } Name (SP2O, 0x4E) Name (SP1O, 0x164E) Name (IO1B, 0x0600) Name (IO1L, 0x70) Name (IO2B, 0x0680) Name (IO2L, 0x20) Name (IO3B, 0x0290) Name (IO3L, 0x10) Name (MCHB, 0xFED10000) Name (MCHL, 0x4000) Name (EGPB, 0xFED19000) Name (EGPL, 0x1000) Name (DMIB, 0xFED18000) Name (DMIL, 0x1000) Name (IFPB, 0xFED14000) Name (IFPL, 0x1000) Name (PEBS, 0xE0000000) Name (PELN, 0x10000000) Name (TTTB, 0xFED20000) Name (TTTL, 0x00020000) Name (SMBS, 0xEFA0) Name (PBLK, 0x0410) Name (PMBS, 0x0400) Name (PMLN, 0x80) Name (LVL2, 0x0414) Name (LVL3, 0x0415) Name (LVL4, 0x0416) Name (SMIP, 0xB2) Name (GPBS, 0x0500) Name (GPLN, 0x40) Name (APCB, 0xFEC00000) Name (APCL, 0x1000) Name (PM30, 0x0430) Name (SRCB, 0xFED1C000) Name (SRCL, 0x4000) Name (SUSW, 0xFF) Name (ACPH, 0xDE) Name (ASSB, Zero) Name (AOTB, Zero) Name (AAXB, Zero) Name (PEHP, One) Name (SHPC, One) Name (PEPM, One) Name (PEER, One) Name (PECS, One) Name (ITKE, Zero) Name (TRTP, One) Name (TRTD, 0x02) Name (TRTI, 0x03) Name (GCDD, One) Name (DSTA, 0x0A) Name (DSLO, 0x0C) Name (DSLC, 0x0E) Name (PITS, 0x10) Name (SBCS, 0x12) Name (SALS, 0x13) Name (LSSS, 0x2A) Name (PSSS, 0x2B) Name (SOOT, 0x35) Name (ESCS, 0x48) Name (PDBR, 0x4D) Name (SMBL, 0x10) Name (PEHS, 0xF4) OperationRegion (GPIO, SystemIO, 0x0538, 0x03) Field (GPIO, ByteAcc, NoLock, Preserve) { , 1, , 1, CPEN, 1 } OperationRegion (PMBA, SystemIO, 0x0400, 0x80) Field (PMBA, ByteAcc, NoLock, Preserve) { Offset (0x10), THRO, 8, Offset (0x28), , 2, SPST, 1, Offset (0x42), , 1, GPEC, 1, Offset (0x64), , 9, SCIS, 1, Offset (0x66) } OperationRegion (RCRB, SystemMemory, 0xFED1C000, 0x4000) Field (RCRB, DWordAcc, Lock, Preserve) { Offset (0x1000), Offset (0x3000), Offset (0x3404), HPAS, 2, , 5, HPAE, 1, Offset (0x3418), , 1, PATD, 1, SATD, 1, SMBD, 1, HDAD, 1, Offset (0x341A), RP1D, 1, RP2D, 1, RP3D, 1, RP4D, 1, RP5D, 1, RP6D, 1 } OperationRegion (MBOX, SystemMemory, 0xBFE2E018, 0x000002BE) 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, BOTQ, 8, PBOT, 8, M256, 8, PEGF, 8, OSYS, 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, POPW, 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, LANE, 8, AORS, 8, P0HP, 8, P1HP, 8, P4HP, 8, P5HP, 8, P0IL, 8, P1IL, 8, P2IL, 8, PEGS, 8, D2F1, 8, IGMT, 8, DTSZ, 8, CLKC, 8, CKSC, 8, BOTT, 8, PANT, 8, TVTP, 8, U201, 8, U202, 8, U111, 8, U112, 8, U113, 8, U114, 8, U115, 8, UPPC, 8, UP00, 8, UP01, 8, UP02, 8, UP03, 8, UP04, 8, UP05, 8, UP06, 8, UP07, 8, UP08, 8, UP09, 8, UP10, 8, UP11, 8, P80R, 8, WDOG, 8, WDTO, 16, WDTB, 16, MASF, 8, MAMT, 8, ABXP, 8, SPIL, 8, PWDW, 8, HETO, 8, AWTR, 16, EOPT, 8, ASFB, 8, MBTX, 8, IDER, 8, SOLE, 8, PRE0, 8, PRE1, 8, PRE2, 8, PRE3, 8, PRE4, 8, PRE5, 8, PRA0, 8, PRA1, 8, PRA2, 8, PRA3, 8, PRA4, 8, PRA5, 8, PRV0, 8, PRV1, 8, PRV2, 8, PRV3, 8, PRV4, 8, PRV5, 8, PAA0, 8, PAA1, 8, PAA2, 8, PAA3, 8, PAA4, 8, PAA5, 8, L0S0, 8, L0S1, 8, L0S2, 8, L0S3, 8, L0S4, 8, L0S5, 8, AL10, 8, AL11, 8, AL12, 8, AL13, 8, AL14, 8, AL15, 8, PES0, 8, PES1, 8, PES2, 8, PES3, 8, PES4, 8, PES5, 8, PRU0, 8, PRU1, 8, PRU2, 8, PRU3, 8, PRU4, 8, PRU5, 8, PRF0, 8, PRF1, 8, PRF2, 8, PRF3, 8, PRF4, 8, PRF5, 8, PRN0, 8, PRN1, 8, PRN2, 8, PRN3, 8, PRN4, 8, PRN5, 8, PRC0, 8, PRC1, 8, PRC2, 8, PRC3, 8, PRC4, 8, PRC5, 8, CTD0, 8, CTD1, 8, CTD2, 8, CTD3, 8, CTD4, 8, CTD5, 8, PIE0, 8, PIE1, 8, PIE2, 8, PIE3, 8, PIE4, 8, PIE5, 8, SFE0, 8, SFE1, 8, SFE2, 8, SFE3, 8, SFE4, 8, SFE5, 8, SNE0, 8, SNE1, 8, SNE2, 8, SNE3, 8, SNE4, 8, SNE5, 8, SCE0, 8, SCE1, 8, SCE2, 8, SCE3, 8, SCE4, 8, SCE5, 8, MCE0, 8, MCE1, 8, MCE2, 8, MCE3, 8, MCE4, 8, MCE5, 8, PCE0, 8, PCE1, 8, PCE2, 8, PCE3, 8, PCE4, 8, PCE5, 8, PTC0, 8, PTC1, 8, PTC2, 8, PTC3, 8, PTC4, 8, PTC5, 8, DAPM, 8, DPMA, 8, DL0S, 8, DAL1, 8, PEGA, 8, PGAA, 8, PGL0, 8, PL0A, 8, PGL1, 8, PGES, 8, PAVP, 8, ISTC, 8, TRML, 8, FNON, 8, TRON, 8, NXMD, 8, PCRR, 8, C4EN, 8, C43D, 8, EMTT, 8, PROH, 8, DFSB, 8, TUBM, 8, TSTE, 8, BPST, 8, QKS4, 8, POPU, 8, POPD, 8, C4ET, 8, NXFE, 8, VTST, 8, VTFE, 8, S5FG, 8, CSTS, 8, ENCS, 8, DEC4, 8, HC4E, 8, ENC6, 8, CSTR, 8, CMPE, 8, CSMD, 8, DTSE, 8, DTSC, 8, RAID, 8, PSHM, 8, PEXC, 8, DTST, 8, TXTS, 8, VTDE, 8, SMRR, 8, CART, 8, CATT, 8, ITPM, 8, STBE, 8, PEBE, 8, PCBE, 8, EHBE, 8, UHBE, 8, HABE, 8, MTME, 8, MTSD, 8, MTML, 8, ERS2, 8, GLPM, 8, SMFQ, 8, UPFF, 8, UPFT, 8, GRTT, 8, CRID, 8, CRSV, 480, WMDT, 16, WPWT, 16, PSW0, 8, PSW1, 8, D2DF, 8, F12F, 8, IPAG, 8, SD2D, 8, D4GM, 8, ORSV, 472, DPMD, 8, DRSV, 792, UDOP, 8 } OperationRegion (IO_T, SystemIO, 0x0800, 0x10) Field (IO_T, ByteAcc, NoLock, Preserve) { Offset (0x02), Offset (0x04), Offset (0x06), Offset (0x08), TRP0, 8, Offset (0x0A), Offset (0x0B), Offset (0x0C), Offset (0x0D), Offset (0x0E), Offset (0x0F), Offset (0x10) } OperationRegion (IO_D, SystemIO, 0x0810, 0x08) Field (IO_D, ByteAcc, NoLock, Preserve) { TRPD, 8 } OperationRegion (IO_H, SystemIO, 0x0820, 0x04) Field (IO_H, ByteAcc, NoLock, Preserve) { TRPH, 8 } OperationRegion (NVST, SystemMemory, 0xBFE2E2D6, 0x0000FCE5) Field (NVST, AnyAcc, Lock, Preserve) { SMIF, 8, PRM0, 8, PRM1, 8, SCIF, 8, PRM2, 8, PRM3, 8, LCKF, 8, PRM4, 8, PRM5, 8, P80D, 32, LIDS, 8, PWRS, 8, DBGS, 8, THOF, 8, ACT1, 8, ACTT, 8, CRTT, 8, Offset (0x15), DTS1, 8, DTS2, 8, DTSF, 8, BNUM, 8, APIC, 8, PCP0, 8, PCP1, 8, PPCM, 8, PPMF, 32, IGDS, 8, TLST, 8, CADL, 8, PADL, 8, CSTE, 16, NSTE, 16, SSTE, 16, NDID, 8, DID1, 32, DID2, 32, DID3, 32, DID4, 32, DID5, 32, BDSP, 8, PTY1, 8, PTY2, 8, PSCL, 8, TVF1, 8, TVF2, 8, GETM, 8, BLCS, 8, BRTL, 8, ALSE, 8, ALAF, 8, LLOW, 8, LHIH, 8, EMAE, 8, EMAP, 16, EMAL, 16, MEFE, 8, DSTS, 8, TPMP, 8, TPME, 8, GTF0, 56, GTF2, 56, IDEM, 8, GTF1, 56, BID, 8, ASLB, 32, IBTT, 8, IPAT, 8, ITVF, 8, ITVM, 8, IPSC, 8, IBLC, 8, IBIA, 8, ISSC, 8, I409, 8, I509, 8, I609, 8, I709, 8, IPC, 8, IDMS, 8, IF1E, 8, HVCO, 8, NXD1, 32, NXD2, 32, NXD3, 32, NXD4, 32, NXD5, 32, NXD6, 32, NXD7, 32, NXD8, 32, GSMI, 8, DSEN, 8, ECON, 8, GPIC, 8, CTYP, 8, L01C, 8, VFN0, 8, VFN1, 8, LCDA, 16, BVAL, 32, KSV0, 32, KSV1, 8, DI00, 320, ODDR, 8, ODBY, 8, CMMD, 8, PJID, 8, PROC, 8, SROM, 32, VROM, 516096 } Scope (_PR) { Processor (CPU0, 0x01, 0x00000410, 0x06) {} Processor (CPU1, 0x02, 0x00000410, 0x06) {} Processor (CPU2, 0x03, 0x00000410, 0x06) {} Processor (CPU3, 0x04, 0x00000410, 0x06) {} } Name (BCLP, Package (0x0C) { 0x64, 0x3C, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) Name (MAXL, 0x0B) Method (BIAN, 1, NotSerialized) { If (LEqual (And (DID1, 0x0F00), 0x0400)) { Notify (\_SB.PCI0.OVGA.DD01, Arg0) } If (LEqual (And (DID2, 0x0F00), 0x0400)) { Notify (\_SB.PCI0.OVGA.DD02, Arg0) } If (LEqual (And (DID3, 0x0F00), 0x0400)) { Notify (\_SB.PCI0.OVGA.DD03, Arg0) } If (LEqual (And (DID4, 0x0F00), 0x0400)) { Notify (\_SB.PCI0.OVGA.DD04, Arg0) } If (LEqual (And (DID5, 0x0F00), 0x0400)) { Notify (\_SB.PCI0.OVGA.DD05, Arg0) } } OperationRegion (PRT0, SystemIO, 0x80, 0x04) Field (PRT0, DWordAcc, Lock, Preserve) { P80H, 32 } Method (P8XH, 2, Serialized) { If (LEqual (Arg0, Zero)) { Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D) } If (LEqual (Arg0, One)) { Store (Or (And (P80D, 0xFFFF00FF), ShiftLeft (Arg1, 0x08) ), P80D) } If (LEqual (Arg0, 0x02)) { Store (Or (And (P80D, 0xFF00FFFF), ShiftLeft (Arg1, 0x10) ), P80D) } If (LEqual (Arg0, 0x03)) { Store (Or (And (P80D, 0x00FFFFFF), ShiftLeft (Arg1, 0x18) ), P80D) } Store (P80D, P80H) } OperationRegion (SPRT, SystemIO, 0xB2, 0x02) Field (SPRT, ByteAcc, Lock, Preserve) { SSMP, 8, SSMD, 8 } Method (TRAP, 2, Serialized) { Store (Arg1, SMIF) If (LEqual (Arg0, TRTP)) { Store (Zero, TRP0) } Return (SMIF) } OperationRegion (CMS1, SystemIO, 0x72, 0x02) Field (CMS1, ByteAcc, NoLock, Preserve) { CMSI, 8, CMSD, 8 } Method (CMSW, 2, NotSerialized) { Store (Arg0, CMSI) Store (Arg1, CMSD) } Mutex (PSMX, 0x00) Method (IHWM, 2, NotSerialized) { Acquire (PSMX, 0xFFFF) Store (Arg0, PRM0) Store (Arg1, DI00) Store (0xD1, APMC) Store (DI00, Local0) Release (PSMX) Return (Local0) } OperationRegion (SMIO, SystemIO, 0xB2, 0x02) Field (SMIO, ByteAcc, NoLock, Preserve) { APMC, 8, APMD, 8 } Method (_PTS, 1, NotSerialized) { \_SB.PCI0.LPC.EC0.ECPS (Arg0) If (LEqual (Arg0, 0x03)) { Store (0x53, P80H) } If (LEqual (Arg0, 0x04)) { CMSW (0x3F, 0x3F) Store (0x54, P80H) } Return (Zero) } Method (_WAK, 1, NotSerialized) { \_SB.PCI0.LPC.EC0.ECWK (Arg0) If (LEqual (RP1D, Zero)) { If (LEqual (\_SB.PCI0.EXP1.PDSX, One)) { Notify (\_SB.PCI0.EXP1, Zero) Store (One, PRM0) Store (PEHS, SSMP) } } If (LEqual (RP2D, Zero)) { If (LEqual (\_SB.PCI0.EXP2.PDSX, One)) { Notify (\_SB.PCI0.EXP2, Zero) Store (0x02, PRM0) Store (PEHS, SSMP) } } If (LEqual (RP3D, Zero)) { If (LEqual (\_SB.PCI0.EXP3.PDSX, One)) { Notify (\_SB.PCI0.EXP3, Zero) Store (0x03, PRM0) Store (PEHS, SSMP) } } If (LEqual (RP4D, Zero)) { If (LEqual (\_SB.PCI0.EXP4.PDSX, One)) { Notify (\_SB.PCI0.EXP4, Zero) Store (0x04, PRM0) Store (PEHS, SSMP) } } If (LEqual (RP5D, Zero)) { If (LEqual (\_SB.PCI0.EXP5.PDSX, One)) { Notify (\_SB.PCI0.EXP5, Zero) Store (0x05, PRM0) Store (PEHS, SSMP) } } If (LEqual (Arg0, 0x03)) { If (LAnd (DTSE, CMPE)) { Store (0x14, DTSF) Store (Zero, TRPD) } Store (0xE3, P80H) } If (LEqual (Arg0, 0x04)) { If (LAnd (DTSE, CMPE)) { Store (0x14, DTSF) Store (Zero, TRPD) } Store (0xE4, P80H) } Return (Zero) } If (LEqual (DAS3, One)) { Name (_S3, Package (0x04) { 0x05, 0x05, Zero, Zero }) } Name (_S4, Package (0x04) { 0x06, 0x06, Zero, Zero }) Name (_S5, Package (0x04) { 0x07, 0x07, Zero, Zero }) Scope (_GPE) { Method (_L01, 0, NotSerialized) { Add (L01C, One, L01C) P8XH (Zero, One) P8XH (One, L01C) If (LNotEqual (\_SB.PCI0.EXP1.VDID, 0xFFFF)) { If (LAnd (LEqual (RP1D, Zero), \_SB.PCI0.EXP1.HPSX)) { Sleep (0x64) If (\_SB.PCI0.EXP1.PDCX) { Store (One, \_SB.PCI0.EXP1.PDCX) Store (One, \_SB.PCI0.EXP1.HPSX) Notify (\_SB.PCI0.EXP1, Zero) Store (One, PRM0) Store (PEHS, SSMP) } Else { Store (One, \_SB.PCI0.EXP1.HPSX) } } } If (LNotEqual (\_SB.PCI0.EXP2.VDID, 0xFFFF)) { If (LAnd (LEqual (RP2D, Zero), \_SB.PCI0.EXP2.HPSX)) { Sleep (0x64) If (\_SB.PCI0.EXP2.PDCX) { Store (One, \_SB.PCI0.EXP2.PDCX) Store (One, \_SB.PCI0.EXP2.HPSX) Notify (\_SB.PCI0.EXP2, Zero) Store (0x02, PRM0) Store (PEHS, SSMP) } Else { Store (One, \_SB.PCI0.EXP2.HPSX) } } } If (LNotEqual (\_SB.PCI0.EXP3.VDID, 0xFFFF)) { If (LAnd (LEqual (RP3D, Zero), \_SB.PCI0.EXP3.HPSX)) { Sleep (0x64) If (\_SB.PCI0.EXP3.PDCX) { Store (One, \_SB.PCI0.EXP3.PDCX) Store (One, \_SB.PCI0.EXP3.HPSX) Notify (\_SB.PCI0.EXP3, Zero) Store (0x03, PRM0) Store (PEHS, SSMP) } Else { Store (One, \_SB.PCI0.EXP3.HPSX) } } } If (LNotEqual (\_SB.PCI0.EXP4.VDID, 0xFFFF)) { If (LAnd (LEqual (RP4D, Zero), \_SB.PCI0.EXP4.HPSX)) { Sleep (0x64) If (\_SB.PCI0.EXP4.PDCX) { Store (One, \_SB.PCI0.EXP4.PDCX) Store (One, \_SB.PCI0.EXP4.HPSX) Notify (\_SB.PCI0.EXP4, Zero) Store (0x04, PRM0) Store (PEHS, SSMP) } Else { Store (One, \_SB.PCI0.EXP4.HPSX) } } } If (LNotEqual (\_SB.PCI0.EXP5.VDID, 0xFFFF)) { If (LAnd (LEqual (RP5D, Zero), \_SB.PCI0.EXP5.HPSX)) { Sleep (0x64) If (\_SB.PCI0.EXP5.PDCX) { Store (One, \_SB.PCI0.EXP5.PDCX) Store (One, \_SB.PCI0.EXP5.HPSX) Notify (\_SB.PCI0.EXP5, Zero) Store (0x05, PRM0) Store (PEHS, SSMP) } Else { Store (One, \_SB.PCI0.EXP5.HPSX) } } } If (LNotEqual (\_SB.PCI0.EXP6.VDID, 0xFFFF)) { If (LAnd (LEqual (RP6D, Zero), \_SB.PCI0.EXP6.HPSX)) { Sleep (0x64) If (\_SB.PCI0.EXP6.PDCX) { Store (One, \_SB.PCI0.EXP6.PDCX) Store (One, \_SB.PCI0.EXP6.HPSX) Notify (\_SB.PCI0.EXP6, Zero) Store (0x06, PRM0) Store (PEHS, SSMP) } Else { Store (One, \_SB.PCI0.EXP6.HPSX) } } } } Method (_L06, 0, NotSerialized) { If (\_SB.PCI0.OVGA.GSSE) { \_SB.PCI0.OVGA.GSCI () } Else { Store (One, SCIS) } } Method (_L18, 0, NotSerialized) { Notify (\_SB.SLPB, 0x02) } Method (_L09, 0, NotSerialized) { Notify (\_SB.PCI0.EXP1, 0x02) Notify (\_SB.PCI0.EXP1.PXSX, 0x02) Notify (\_SB.PCI0.EXP2, 0x02) Notify (\_SB.PCI0.EXP3, 0x02) Notify (\_SB.PCI0.EXP4, 0x02) Notify (\_SB.PCI0.EXP5, 0x02) Notify (\_SB.PCI0.EXP6, 0x02) } Method (_L0B, 0, NotSerialized) { Notify (\_SB.PCI0.P32, 0x02) } Method (_L03, 0, NotSerialized) { Notify (\_SB.PCI0.UHC1, 0x02) } Method (_L04, 0, NotSerialized) { Notify (\_SB.PCI0.UHC2, 0x02) } Method (_L0C, 0, NotSerialized) { Notify (\_SB.PCI0.UHC3, 0x02) } Method (_L20, 0, NotSerialized) { } Method (_L0D, 0, NotSerialized) { } Method (_L0E, 0, NotSerialized) { } Method (_L05, 0, NotSerialized) { } } Method (_PIC, 1, NotSerialized) { Store (Arg0, GPIC) } Scope (_TZ) { Name (TBSE, 0x0AAC) Name (CRT0, Zero) Name (PSV0, Zero) ThermalZone (TZS0) { Method (_TMP, 0, NotSerialized) { If (ECON) { Store (\_SB.PCI0.LPC.EC0.THS0, Local0) Store (\_SB.PCI0.LPC.EC0.KCSS, Local1) Store (\_SB.PCI0.LPC.EC0.KOSD, Local2) } Else { Store (RBEC (0x92), Local0) And (Local0, One, Local1) And (Local0, 0x08, Local2) Store (RBEC (0xA8), Local0) } If (Local1) { Add (PSV0, One, Local0) } If (Local2) { If (LLessEqual (Local0, CRT0)) { Add (CRT0, 0x02, Local0) } } Return (C2K (Local0)) } Method (_CRT, 0, NotSerialized) { If (ECON) { Store (0x20, \_SB.PCI0.LPC.EC0.TIID) Store (\_SB.PCI0.LPC.EC0.TSC0, Local0) } Else { WBEC (One, 0x20) Store (RBEC (0xD1), Local0) } If (LOr (LGreaterEqual (Local0, 0x80), LLess (Local0, 0x1E))) { Store (0x78, Local0) } Store (Local0, CRT0) Return (C2K (Local0)) } Method (_PSL, 0, Serialized) { Return (Package (0x02) { \_PR.CPU0, \_PR.CPU1 }) } Method (_PSV, 0, NotSerialized) { If (ECON) { Store (0x20, \_SB.PCI0.LPC.EC0.TIID) Store (\_SB.PCI0.LPC.EC0.TSP0, Local0) } Else { WBEC (One, 0x20) Store (RBEC (0xD0), Local0) } If (LOr (LGreaterEqual (Local0, 0x80), LLess (Local0, 0x1E))) { Store (0x5A, Local0) } Store (Local0, PSV0) Return (C2K (Local0)) } Name (_TC1, Zero) Name (_TC2, 0x32) Name (_TSP, Zero) } ThermalZone (TZS1) { Method (_TMP, 0, NotSerialized) { If (ECON) { Store (\_SB.PCI0.LPC.EC0.THS1, Local0) } Else { Store (RBEC (0xA9), Local0) } Return (C2K (Local0)) } Method (_CRT, 0, NotSerialized) { If (ECON) { Store (0x20, \_SB.PCI0.LPC.EC0.TIID) Store (\_SB.PCI0.LPC.EC0.TSC1, Local0) } Else { WBEC (One, 0x20) Store (RBEC (0xD3), Local0) } If (LOr (LGreaterEqual (Local0, 0x80), LLess (Local0, 0x1E))) { Store (0x78, Local0) } Return (C2K (Local0)) } } Method (C2K, 1, NotSerialized) { Store (Arg0, Local0) If (LLessEqual (Local0, 0x10)) { Store (0x1E, Local0) } If (LGreaterEqual (Local0, 0x7F)) { Store (0x1E, Local0) } Add (Multiply (Local0, 0x0A), TBSE, Local0) Return (Local0) } } Scope (_SB) { Device (LID0) { Name (_HID, EisaId ("PNP0C0D")) Method (_LID, 0, NotSerialized) { If (ECON) { Store (^^PCI0.LPC.EC0.KLID, Local0) } Else { And (RBEC (0x70), 0x02, Local0) } If (Local0) { Return (One) } Else { Return (Zero) } } Method (_PSW, 1, NotSerialized) { If (ECON) { Store (Arg0, ^^PCI0.LPC.EC0.LIDW) } Else { If (Arg0) { MBEC (0x72, 0xEF, 0x10) } Else { MBEC (0x72, 0xEF, Zero) } } } Name (_PRW, Package (0x02) { 0x18, 0x03 }) } Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) Name (_PRW, Package (0x02) { 0x18, 0x03 }) } Device (PCI0) { Name (_HID, EisaId ("PNP0A08")) Name (_CID, EisaId ("PNP0A03")) Name (_ADR, Zero) Method (_INI, 0, NotSerialized) { If (CondRefOf (_OSI, Local0)) { Store (0x07D1, OSYS) If (_OSI ("Linux")) { Store (0x03E8, OSYS) } If (_OSI ("Windows 2001")) { Store (0x07D1, OSYS) } If (_OSI ("Windows 2001 SP1")) { Store (0x07D1, OSYS) } If (_OSI ("Windows 2001 SP2")) { Store (0x07D2, OSYS) } If (_OSI ("Windows 2006")) { Store (0x07D6, OSYS) } } Else { Store (0x07D0, OSYS) } } Name (_BBN, Zero) OperationRegion (HBUS, PCI_Config, 0x40, 0xC0) Field (HBUS, DWordAcc, NoLock, Preserve) { EPEN, 1, , 11, EPBR, 20, Offset (0x08), MHEN, 1, , 13, MHBR, 18, Offset (0x20), PXEN, 1, PXSZ, 2, , 23, PXBR, 6, Offset (0x28), DIEN, 1, , 11, DIBR, 20, Offset (0x30), IPEN, 1, , 11, IPBR, 20, Offset (0x50), , 4, PM0H, 2, Offset (0x51), PM1L, 2, , 2, PM1H, 2, Offset (0x52), PM2L, 2, , 2, PM2H, 2, Offset (0x53), PM3L, 2, , 2, PM3H, 2, Offset (0x54), PM4L, 2, , 2, PM4H, 2, Offset (0x55), PM5L, 2, , 2, PM5H, 2, Offset (0x56), PM6L, 2, , 2, PM6H, 2, Offset (0x57), , 7, HENA, 1, Offset (0x62), TUUD, 16, Offset (0x70), , 4, TLUD, 12, Offset (0x89), , 3, GTSE, 1, Offset (0x8A) } OperationRegion (MCHT, SystemMemory, 0xFED11000, 0xFF) Field (MCHT, ByteAcc, NoLock, Preserve) { Offset (0x1E), T0IS, 16, Offset (0x5E), T1IS, 16, Offset (0xEF), ESCS, 8 } Name (BUF0, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0100, // Length ,, ) DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000CF7, // Range Maximum 0x00000000, // Translation Offset 0x00000CF8, // Length ,, , TypeStatic) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum 0x01, // Alignment 0x08, // Length ) DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, // Granularity 0x00000D00, // Range Minimum 0x0000FFFF, // Range Maximum 0x00000000, // Translation Offset 0x0000F300, // Length ,, , TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000A0000, // Range Minimum 0x000BFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000C3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y00, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C4000, // Range Minimum 0x000C7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y01, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C8000, // Range Minimum 0x000CBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y02, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000CC000, // Range Minimum 0x000CFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y03, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D0000, // Range Minimum 0x000D3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y04, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D4000, // Range Minimum 0x000D7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y05, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D8000, // Range Minimum 0x000DBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y06, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000DC000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y07, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E0000, // Range Minimum 0x000E3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y08, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E4000, // Range Minimum 0x000E7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y09, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E8000, // Range Minimum 0x000EBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y0A, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000EC000, // Range Minimum 0x000EFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, _Y0B, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000F0000, // Range Minimum 0x000FFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00010000, // Length ,, _Y0C, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0xFEBFFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, _Y0D, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0xFED40000, // Range Minimum 0xFED44FFF, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, , AddressRangeMemory, TypeStatic) }) Method (_CRS, 0, Serialized) { If (PM1L) { CreateDWordField (BUF0, \_SB.PCI0._Y00._LEN, C0LN) Store (Zero, C0LN) } If (LEqual (PM1L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y00._RW, C0RW) Store (Zero, C0RW) } If (PM1H) { CreateDWordField (BUF0, \_SB.PCI0._Y01._LEN, C4LN) Store (Zero, C4LN) } If (LEqual (PM1H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y01._RW, C4RW) Store (Zero, C4RW) } If (PM2L) { CreateDWordField (BUF0, \_SB.PCI0._Y02._LEN, C8LN) Store (Zero, C8LN) } If (LEqual (PM2L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y02._RW, C8RW) Store (Zero, C8RW) } If (PM2H) { CreateDWordField (BUF0, \_SB.PCI0._Y03._LEN, CCLN) Store (Zero, CCLN) } If (LEqual (PM2H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y03._RW, CCRW) Store (Zero, CCRW) } If (PM3L) { CreateDWordField (BUF0, \_SB.PCI0._Y04._LEN, D0LN) Store (Zero, D0LN) } If (LEqual (PM3L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y04._RW, D0RW) Store (Zero, D0RW) } If (PM3H) { CreateDWordField (BUF0, \_SB.PCI0._Y05._LEN, D4LN) Store (Zero, D4LN) } If (LEqual (PM3H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y05._RW, D4RW) Store (Zero, D4RW) } If (PM4L) { CreateDWordField (BUF0, \_SB.PCI0._Y06._LEN, D8LN) Store (Zero, D8LN) } If (LEqual (PM4L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y06._RW, D8RW) Store (Zero, D8RW) } If (PM4H) { CreateDWordField (BUF0, \_SB.PCI0._Y07._LEN, DCLN) Store (Zero, DCLN) } If (LEqual (PM4H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y07._RW, DCRW) Store (Zero, DCRW) } If (PM5L) { CreateDWordField (BUF0, \_SB.PCI0._Y08._LEN, E0LN) Store (Zero, E0LN) } If (LEqual (PM5L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y08._RW, E0RW) Store (Zero, E0RW) } If (PM5H) { CreateDWordField (BUF0, \_SB.PCI0._Y09._LEN, E4LN) Store (Zero, E4LN) } If (LEqual (PM5H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y09._RW, E4RW) Store (Zero, E4RW) } If (PM6L) { CreateDWordField (BUF0, \_SB.PCI0._Y0A._LEN, E8LN) Store (Zero, E8LN) } If (LEqual (PM6L, One)) { CreateBitField (BUF0, \_SB.PCI0._Y0A._RW, E8RW) Store (Zero, E8RW) } If (PM6H) { CreateDWordField (BUF0, \_SB.PCI0._Y0B._LEN, ECLN) Store (Zero, ECLN) } If (LEqual (PM6H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y0B._RW, ECRW) Store (Zero, ECRW) } If (PM0H) { CreateDWordField (BUF0, \_SB.PCI0._Y0C._LEN, F0LN) Store (Zero, F0LN) } If (LEqual (PM0H, One)) { CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, F0RW) Store (Zero, F0RW) } CreateDWordField (BUF0, \_SB.PCI0._Y0D._MIN, M1MN) CreateDWordField (BUF0, \_SB.PCI0._Y0D._MAX, M1MX) CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, M1LN) ShiftLeft (TLUD, 0x14, M1MN) Add (Subtract (M1MX, M1MN), One, M1LN) Return (BUF0) } Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x1B) { Package (0x04) { 0x0001FFFF, Zero, ^LPC.LNKA, Zero }, Package (0x04) { 0x0001FFFF, One, ^LPC.LNKB, Zero }, Package (0x04) { 0x0001FFFF, 0x02, ^LPC.LNKC, Zero }, Package (0x04) { 0x0001FFFF, 0x03, ^LPC.LNKD, Zero }, Package (0x04) { 0x0002FFFF, Zero, ^LPC.LNKA, Zero }, Package (0x04) { 0x0003FFFF, Zero, ^LPC.LNKA, Zero }, Package (0x04) { 0x0003FFFF, One, ^LPC.LNKB, Zero }, Package (0x04) { 0x0003FFFF, 0x02, ^LPC.LNKC, Zero }, Package (0x04) { 0x0003FFFF, 0x03, ^LPC.LNKD, Zero }, Package (0x04) { 0x0019FFFF, Zero, ^LPC.LNKE, Zero }, Package (0x04) { 0x001AFFFF, Zero, ^LPC.LNKA, Zero }, Package (0x04) { 0x001AFFFF, One, ^LPC.LNKF, Zero }, Package (0x04) { 0x001AFFFF, 0x02, ^LPC.LNKC, Zero }, Package (0x04) { 0x001AFFFF, 0x03, ^LPC.LNKD, Zero }, Package (0x04) { 0x001BFFFF, Zero, ^LPC.LNKG, Zero }, Package (0x04) { 0x001CFFFF, Zero, ^LPC.LNKA, Zero }, Package (0x04) { 0x001CFFFF, One, ^LPC.LNKB, Zero }, Package (0x04) { 0x001CFFFF, 0x02, ^LPC.LNKC, Zero }, Package (0x04) { 0x001CFFFF, 0x03, ^LPC.LNKD, Zero }, Package (0x04) { 0x001DFFFF, Zero, ^LPC.LNKH, Zero }, Package (0x04) { 0x001DFFFF, One, ^LPC.LNKD, Zero }, Package (0x04) { 0x001DFFFF, 0x02, ^LPC.LNKC, Zero }, Package (0x04) { 0x001DFFFF, 0x03, ^LPC.LNKA, Zero }, Package (0x04) { 0x001FFFFF, Zero, ^LPC.LNKC, Zero }, Package (0x04) { 0x001FFFFF, One, ^LPC.LNKD, Zero }, Package (0x04) { 0x001FFFFF, 0x02, ^LPC.LNKC, Zero }, Package (0x04) { 0x001FFFFF, 0x03, ^LPC.LNKA, Zero } }) } Else { Return (Package (0x1B) { Package (0x04) { 0x0001FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0001FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0001FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0001FFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x0002FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0003FFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x0003FFFF, One, Zero, 0x11 }, Package (0x04) { 0x0003FFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x0003FFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x0019FFFF, Zero, Zero, 0x14 }, Package (0x04) { 0x001AFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x001AFFFF, One, Zero, 0x15 }, Package (0x04) { 0x001AFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x001AFFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x001BFFFF, Zero, Zero, 0x16 }, Package (0x04) { 0x001CFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0x001CFFFF, One, Zero, 0x11 }, Package (0x04) { 0x001CFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x001CFFFF, 0x03, Zero, 0x13 }, Package (0x04) { 0x001DFFFF, Zero, Zero, 0x17 }, Package (0x04) { 0x001DFFFF, One, Zero, 0x13 }, Package (0x04) { 0x001DFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x001DFFFF, 0x03, Zero, 0x10 }, Package (0x04) { 0x001FFFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x001FFFFF, One, Zero, 0x13 }, Package (0x04) { 0x001FFFFF, 0x02, Zero, 0x12 }, Package (0x04) { 0x001FFFFF, 0x03, Zero, 0x10 } }) } } Name (SGST, Zero) Device (OVGA) { Name (_ADR, 0x00020000) Method (_DOS, 1, NotSerialized) { Store (And (Arg0, 0x07), DSEN) } Method (_DOD, 0, NotSerialized) { Store (Zero, NDID) If (LNotEqual (DIDL, Zero)) { Store (SDDL (DID1), DID1) } If (LNotEqual (DDL2, Zero)) { Store (SDDL (DID2), DID2) } If (LNotEqual (DDL3, Zero)) { Store (SDDL (DID3), DID3) } If (LNotEqual (DDL4, Zero)) { Store (SDDL (DID4), DID4) } If (LNotEqual (DDL5, Zero)) { Store (SDDL (DID5), DID5) } If (LEqual (NDID, One)) { Name (TMP1, Package (0x01) { Ones }) Store (Or (0x00010000, DID1), Index (TMP1, Zero)) Return (TMP1) } If (LEqual (NDID, 0x02)) { Name (TMP2, Package (0x02) { Ones, Ones }) Store (Or (0x00010000, DID1), Index (TMP2, Zero)) Store (Or (0x00010000, DID2), Index (TMP2, One)) Return (TMP2) } If (LEqual (NDID, 0x03)) { Name (TMP3, Package (0x03) { Ones, Ones, Ones }) Store (Or (0x00010000, DID1), Index (TMP3, Zero)) Store (Or (0x00010000, DID2), Index (TMP3, One)) Store (Or (0x00010000, DID3), Index (TMP3, 0x02)) Return (TMP3) } If (LEqual (NDID, 0x04)) { Name (TMP4, Package (0x04) { Ones, Ones, Ones, Ones }) Store (Or (0x00010000, DID1), Index (TMP4, Zero)) Store (Or (0x00010000, DID2), Index (TMP4, One)) Store (Or (0x00010000, DID3), Index (TMP4, 0x02)) Store (Or (0x00010000, DID4), Index (TMP4, 0x03)) Return (TMP4) } If (LGreater (NDID, 0x04)) { Name (TMP5, Package (0x05) { Ones, Ones, Ones, Ones, Ones }) Store (Or (0x00010000, DID1), Index (TMP5, Zero)) Store (Or (0x00010000, DID2), Index (TMP5, One)) Store (Or (0x00010000, DID3), Index (TMP5, 0x02)) Store (Or (0x00010000, DID4), Index (TMP5, 0x03)) Store (Or (0x00010000, DID5), Index (TMP5, 0x04)) Return (TMP5) } Return (Package (0x01) { 0x0400 }) } Device (DD01) { Method (_ADR, 0, Serialized) { If (LEqual (DID1, Zero)) { Return (One) } Else { Return (And (0xFFFF, DID1)) } } Method (_DCS, 0, NotSerialized) { Return (CDDS (DID1)) } Method (_DGS, 0, NotSerialized) { Return (NDDS (DID1)) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DD02) { Method (_ADR, 0, Serialized) { If (LEqual (DID2, Zero)) { Return (0x02) } Else { Return (And (0xFFFF, DID2)) } } Method (_DCS, 0, NotSerialized) { Return (CDDS (DID2)) } Method (_DGS, 0, NotSerialized) { Return (NDDS (DID2)) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } Method (_BCL, 0, NotSerialized) { Return (\BCLP) } Method (_BCM, 1, NotSerialized) { Store (One, Local0) Store (0x02, Local1) While (Local0) { If (LEqual (Arg0, DerefOf (Index (\BCLP, Local1)))) { Store (Zero, Local0) } Else { Increment (Local1) If (LEqual (0x0B, Local1)) { Store (Zero, Local0) } } } Decrement (Local1) Decrement (Local1) If (^^^LPC.EC0.BNCM) { If (^^^LPC.EC0.ACST) { Store (Local1, ^^^LPC.EC0.BNAC) } Else { Store (Local1, ^^^LPC.EC0.BNDC) } } Else { Store (Local1, ^^^LPC.EC0.BNAC) } } Method (_BQC, 0, NotSerialized) { If (^^^LPC.EC0.BNCM) { If (^^^LPC.EC0.ACST) { Store (^^^LPC.EC0.BNAC, Local1) } Else { Store (^^^LPC.EC0.BNDC, Local1) } } Else { Store (^^^LPC.EC0.BNAC, Local1) } Increment (Local1) Increment (Local1) Store (DerefOf (Index (\BCLP, Local1)), Local0) Return (Local0) } } Device (DD03) { Method (_ADR, 0, Serialized) { If (LEqual (DID3, Zero)) { Return (0x03) } Else { Return (And (0xFFFF, DID3)) } } Method (_DCS, 0, NotSerialized) { If (LEqual (DID3, Zero)) { Return (0x0B) } Else { Return (CDDS (DID3)) } } Method (_DGS, 0, NotSerialized) { Return (NDDS (DID3)) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DD04) { Method (_ADR, 0, Serialized) { If (LEqual (DID4, Zero)) { Return (0x04) } Else { Return (And (0xFFFF, DID4)) } } Method (_DCS, 0, NotSerialized) { If (LEqual (DID4, Zero)) { Return (0x0B) } Else { Return (CDDS (DID4)) } } Method (_DGS, 0, NotSerialized) { Return (NDDS (DID4)) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DD05) { Method (_ADR, 0, Serialized) { If (LEqual (DID5, Zero)) { Return (0x05) } Else { Return (And (0xFFFF, DID5)) } } Method (_DCS, 0, NotSerialized) { If (LEqual (DID5, Zero)) { Return (0x0B) } Else { Return (CDDS (DID5)) } } Method (_DGS, 0, NotSerialized) { Return (NDDS (DID5)) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Method (SDDL, 1, NotSerialized) { Increment (NDID) Store (And (Arg0, 0x0F0F), Local0) Or (0x80000000, Local0, Local1) If (LEqual (DIDL, Local0)) { Return (Local1) } If (LEqual (DDL2, Local0)) { Return (Local1) } If (LEqual (DDL3, Local0)) { Return (Local1) } If (LEqual (DDL4, Local0)) { Return (Local1) } If (LEqual (DDL5, Local0)) { Return (Local1) } If (LEqual (DDL6, Local0)) { Return (Local1) } If (LEqual (DDL7, Local0)) { Return (Local1) } If (LEqual (DDL8, Local0)) { Return (Local1) } Return (Zero) } Method (CDDS, 1, NotSerialized) { If (LEqual (CADL, And (Arg0, 0x0F0F))) { Return (0x1F) } If (LEqual (CAL2, And (Arg0, 0x0F0F))) { Return (0x1F) } If (LEqual (CAL3, And (Arg0, 0x0F0F))) { Return (0x1F) } If (LEqual (CAL4, And (Arg0, 0x0F0F))) { Return (0x1F) } If (LEqual (CAL5, And (Arg0, 0x0F0F))) { Return (0x1F) } If (LEqual (CAL6, And (Arg0, 0x0F0F))) { Return (0x1F) } If (LEqual (CAL7, And (Arg0, 0x0F0F))) { Return (0x1F) } If (LEqual (CAL8, And (Arg0, 0x0F0F))) { Return (0x1F) } Return (0x1D) } Method (NDDS, 1, NotSerialized) { If (LEqual (NADL, And (Arg0, 0x0F0F))) { Return (One) } If (LEqual (NDL2, And (Arg0, 0x0F0F))) { Return (One) } If (LEqual (NDL3, And (Arg0, 0x0F0F))) { Return (One) } If (LEqual (NDL4, And (Arg0, 0x0F0F))) { Return (One) } If (LEqual (NDL5, And (Arg0, 0x0F0F))) { Return (One) } If (LEqual (NDL6, And (Arg0, 0x0F0F))) { Return (One) } If (LEqual (NDL7, And (Arg0, 0x0F0F))) { Return (One) } If (LEqual (NDL8, And (Arg0, 0x0F0F))) { Return (One) } Return (Zero) } Scope (^^PCI0) { OperationRegion (MCHP, PCI_Config, 0x40, 0xC0) Field (MCHP, AnyAcc, NoLock, Preserve) { Offset (0x60), TASM, 10, Offset (0x62) } } OperationRegion (IGDP, PCI_Config, 0x40, 0xC0) Field (IGDP, AnyAcc, NoLock, Preserve) { Offset (0x12), , 1, GIVD, 1, , 2, GUMA, 3, Offset (0x14), , 4, GMFN, 1, Offset (0x18), Offset (0xA4), ASLE, 8, Offset (0xA8), GSSE, 1, GSSB, 14, GSES, 1, Offset (0xB0), , 12, CDVL, 1, Offset (0xB2), Offset (0xB5), LBPC, 8, Offset (0xBC), ASLS, 32 } OperationRegion (IGDM, SystemMemory, ASLB, 0x2000) Field (IGDM, AnyAcc, NoLock, Preserve) { SIGN, 128, SIZE, 32, OVER, 32, SVER, 256, VVER, 128, GVER, 128, MBOX, 32, DMOD, 32, Offset (0x100), DRDY, 32, CSTS, 32, CEVT, 32, Offset (0x120), DIDL, 32, DDL2, 32, DDL3, 32, DDL4, 32, DDL5, 32, DDL6, 32, DDL7, 32, DDL8, 32, CPDL, 32, CPL2, 32, CPL3, 32, CPL4, 32, CPL5, 32, CPL6, 32, CPL7, 32, CPL8, 32, CADL, 32, CAL2, 32, CAL3, 32, CAL4, 32, CAL5, 32, CAL6, 32, CAL7, 32, CAL8, 32, NADL, 32, NDL2, 32, NDL3, 32, NDL4, 32, NDL5, 32, NDL6, 32, NDL7, 32, NDL8, 32, ASLP, 32, TIDX, 32, CHPD, 32, CLID, 32, CDCK, 32, SXSW, 32, EVTS, 32, CNOT, 32, NRDY, 32, Offset (0x200), SCIE, 1, GEFC, 4, GXFC, 3, GESF, 8, Offset (0x204), PARM, 32, DSLP, 32, Offset (0x300), ARDY, 32, ASLC, 32, TCHE, 32, ALSI, 32, BCLP, 32, PFIT, 32, CBLV, 32, BCLM, 320, CPFM, 32, EPFM, 32, PLUT, 592, PFMB, 32, CCDV, 32, PCFT, 32, Offset (0x400), GVD1, 49152, PHED, 32, BDDC, 2048 } Name (DBTB, Package (0x15) { Zero, 0x07, 0x38, 0x01C0, 0x0E00, 0x3F, 0x01C7, 0x0E07, 0x01F8, 0x0E38, 0x0FC0, Zero, Zero, Zero, Zero, Zero, 0x7000, 0x7007, 0x7038, 0x71C0, 0x7E00 }) Name (CDCT, Package (0x05) { Package (0x02) { 0xE4, 0x0140 }, Package (0x02) { 0xDE, 0x014D }, Package (0x02) { 0xDE, 0x014D }, Package (0x02) { Zero, Zero }, Package (0x02) { 0xDE, 0x014D } }) Name (SUCC, One) Name (NVLD, 0x02) Name (CRIT, 0x04) Name (NCRT, 0x06) Method (GSCI, 0, Serialized) { Method (GBDA, 0, Serialized) { If (LEqual (GESF, Zero)) { Store (0x0679, PARM) Store (Zero, GESF) Return (SUCC) } If (LEqual (GESF, One)) { Store (0x0240, PARM) Store (Zero, GESF) Return (SUCC) } If (LEqual (GESF, 0x04)) { And (PARM, 0xEFFF0000, PARM) And (PARM, ShiftLeft (DerefOf (Index (DBTB, IBTT)), 0x10), PARM) Or (IBTT, PARM, PARM) Store (Zero, GESF) Return (SUCC) } If (LEqual (GESF, 0x05)) { Store (IPSC, PARM) Or (PARM, ShiftLeft (IPAT, 0x08), PARM) Add (PARM, 0x0100, PARM) Or (PARM, ShiftLeft (LIDS, 0x10), PARM) Add (PARM, 0x00010000, PARM) Or (PARM, ShiftLeft (IBIA, 0x14), PARM) Store (Zero, GESF) Return (SUCC) } If (LEqual (GESF, 0x06)) { Store (ITVF, PARM) Or (PARM, ShiftLeft (ITVM, 0x04), PARM) Store (Zero, GESF) Return (SUCC) } If (LEqual (GESF, 0x07)) { Store (GIVD, PARM) XOr (PARM, One, PARM) Or (PARM, ShiftLeft (GMFN, One), PARM) Or (PARM, 0x1800, PARM) Or (PARM, ShiftLeft (IDMS, 0x11), PARM) Or (ShiftLeft (DerefOf (Index (DerefOf (Index (CDCT, HVCO)), CDVL )), 0x15), PARM, PARM) Store (One, GESF) Return (SUCC) } If (LEqual (GESF, 0x0A)) { Store (Zero, PARM) If (ISSC) { Or (PARM, 0x03, PARM) } Store (Zero, GESF) Return (SUCC) } If (LEqual (GESF, 0x0B)) { Store (KSV0, PARM) Store (KSV1, GESF) Return (SUCC) } Store (Zero, GESF) Return (CRIT) } Method (SBCB, 0, Serialized) { If (LEqual (GESF, Zero)) { Store (Zero, PARM) Store (Zero, GESF) Return (SUCC) } If (LEqual (GESF, One)) { Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x03)) { Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x04)) { Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x05)) { Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x06)) { Store (And (PARM, 0x0F), ITVF) Store (ShiftRight (And (PARM, 0xF0), 0x04), ITVM) Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x07)) { If (LEqual (PARM, Zero)) { Store (CLID, Local0) If (And (0x80000000, Local0)) { And (CLID, 0x0F, CLID) GLID (CLID) } } Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x08)) { Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x09)) { And (PARM, 0xFF, IBTT) Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x0A)) { And (PARM, 0xFF, IPSC) If (And (ShiftRight (PARM, 0x08), 0xFF)) { And (ShiftRight (PARM, 0x08), 0xFF, IPAT) Decrement (IPAT) } And (ShiftRight (PARM, 0x14), 0x07, IBIA) Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x0B)) { And (ShiftRight (PARM, One), One, IF1E) If (And (PARM, 0x0001E000)) { And (ShiftRight (PARM, 0x0D), 0x0F, IDMS) } Else { And (ShiftRight (PARM, 0x11), 0x0F, IDMS) } Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x10)) { Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x11)) { Store (ShiftLeft (LIDS, 0x08), PARM) Add (PARM, 0x0100, PARM) Store (Zero, GESF) Return (SUCC) } If (LEqual (GESF, 0x12)) { If (And (PARM, One)) { If (LEqual (ShiftRight (PARM, One), One)) { Store (One, ISSC) } Else { Store (Zero, GESF) Return (CRIT) } } Else { Store (Zero, ISSC) } Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x13)) { Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } If (LEqual (GESF, 0x14)) { And (PARM, 0x0F, PAVP) Store (Zero, GESF) Store (Zero, PARM) Return (SUCC) } Store (Zero, GESF) Return (SUCC) } If (LEqual (GEFC, 0x04)) { Store (GBDA (), GXFC) } If (LEqual (GEFC, 0x06)) { Store (SBCB (), GXFC) } Store (Zero, GEFC) Store (One, SCIS) Store (Zero, GSSE) Store (Zero, SCIE) Return (Zero) } Method (PDRD, 0, NotSerialized) { If (LNot (DRDY)) { Sleep (ASLP) } Return (LNot (DRDY)) } Method (PSTS, 0, NotSerialized) { If (LGreater (CSTS, 0x02)) { Sleep (ASLP) } Return (LEqual (CSTS, 0x03)) } Method (GNOT, 2, NotSerialized) { If (PDRD ()) { Return (One) } Store (Arg0, CEVT) Store (0x03, CSTS) If (LAnd (LEqual (CHPD, Zero), LEqual (Arg1, Zero))) { If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6))) { Notify (PCI0, Arg1) } Else { Notify (OVGA, Arg1) } } Notify (OVGA, 0x80) Return (Zero) } Method (GHDS, 1, NotSerialized) { Store (Arg0, TIDX) Return (GNOT (One, Zero)) } Method (GLID, 1, NotSerialized) { Store (Arg0, CLID) Return (GNOT (0x02, Zero)) } Method (GDCK, 1, NotSerialized) { Store (Arg0, CDCK) Return (GNOT (0x04, Zero)) } Method (PARD, 0, NotSerialized) { If (LNot (ARDY)) { Sleep (ASLP) } Return (LNot (ARDY)) } Method (AINT, 2, NotSerialized) { If (LNot (And (TCHE, ShiftLeft (One, Arg0)))) { Return (One) } If (PARD ()) { Return (One) } If (LEqual (Arg0, 0x02)) { If (CPFM) { And (CPFM, 0x0F, Local0) And (EPFM, 0x0F, Local1) If (LEqual (Local0, One)) { If (And (Local1, 0x06)) { Store (0x06, PFIT) } Else { If (And (Local1, 0x08)) { Store (0x08, PFIT) } Else { Store (One, PFIT) } } } If (LEqual (Local0, 0x06)) { If (And (Local1, 0x08)) { Store (0x08, PFIT) } Else { If (And (Local1, One)) { Store (One, PFIT) } Else { Store (0x06, PFIT) } } } If (LEqual (Local0, 0x08)) { If (And (Local1, One)) { Store (One, PFIT) } Else { If (And (Local1, 0x06)) { Store (0x06, PFIT) } Else { Store (0x08, PFIT) } } } } Else { XOr (PFIT, 0x07, PFIT) } Or (PFIT, 0x80000000, PFIT) Store (0x04, ASLC) } Else { If (LEqual (Arg0, One)) { Store (Divide (Multiply (Arg1, 0xFF), 0x64, ), BCLP) Or (BCLP, 0x80000000, BCLP) Store (0x02, ASLC) } Else { If (LEqual (Arg0, Zero)) { Store (Arg1, ALSI) Store (One, ASLC) } Else { Return (One) } } } Store (Zero, LBPC) Return (Zero) } Method (SCIP, 0, NotSerialized) { If (LNotEqual (OVER, Zero)) { Return (LNot (GSMI)) } Return (Zero) } Method (SGON, 0, Serialized) { Store (0xF2, P80H) Store (0xF2, ^^LPC.EC0.URTB) Store (Zero, SGST) TRPS (0xE1, One) Store (Zero, GP27) If (LEqual (^^LPC.EC0.PLID, One)) { Store (One, GP18) } Else { Store (One, GP28) } Sleep (0x64) If (LEqual (^^LPC.EC0.PLID, One)) { Store (Zero, GP18) } Else { Store (Zero, GP28) } Sleep (0x96) Store (One, GP27) Sleep (0x64) TRPS (0xE1, 0x02) Store (0xF0, P80H) Store (0xF0, ^^LPC.EC0.URTB) } Method (SGOF, 0, Serialized) { Store (0xF3, P80H) Store (0xF3, ^^LPC.EC0.URTB) Store (One, SGST) TRPS (0xE1, 0x11) Store (Zero, GP27) If (LEqual (^^LPC.EC0.PLID, One)) { Store (One, GP18) } Else { Store (One, GP28) } TRPS (0xE1, 0x12) Store (0xF1, P80H) Store (0xF1, ^^LPC.EC0.URTB) } OperationRegion (GPIO, SystemIO, 0x0500, 0x40) Field (GPIO, ByteAcc, NoLock, Preserve) { Offset (0x0C), GP00, 1, GP01, 1, GP02, 1, GP03, 1, GP04, 1, GP05, 1, GP06, 1, GP07, 1, GP08, 1, GP09, 1, GP10, 1, GP11, 1, GP12, 1, GP13, 1, GP14, 1, GP15, 1, GP16, 1, GP17, 1, GP18, 1, GP19, 1, GP20, 1, GP21, 1, GP22, 1, GP23, 1, GP24, 1, GP25, 1, GP26, 1, GP27, 1, GP28, 1, GP29, 1, GP30, 1, GP31, 1, Offset (0x38), GP32, 1, GP33, 1, GP34, 1, GP35, 1, GP36, 1, GP37, 1, GP38, 1, GP39, 1, GP40, 1, GP41, 1, GP42, 1, GP43, 1, GP44, 1, GP45, 1, GP46, 1, GP47, 1, GP48, 1, GP49, 1, GP50, 1, GP51, 1, GP52, 1, GP53, 1, GP54, 1, GP55, 1, GP56, 1, GP57, 1, GP58, 1, GP59, 1, GP60, 1, GP61, 1, GP62, 1, GP63, 1 } Name (ATPB, Buffer (0x0100) {}) Name (DSID, Ones) Name (HSID, Ones) Method (XTPX, 2, Serialized) { Store (One, SGEN) If (LEqual (Arg0, Zero)) { Return (PX00 ()) } If (LEqual (Arg0, One)) { Return (PX01 ()) } If (LEqual (Arg0, 0x02)) { Return (PX02 (DerefOf (Index (Arg1, 0x02)))) } If (LEqual (Arg0, 0x03)) { Return (PX03 (DerefOf (Index (Arg1, 0x02)))) } 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) { CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, VERN) CreateDWordField (ATPB, 0x04, SFUN) Store (0x08, SSZE) Store (One, VERN) Store (0x07, SFUN) Return (ATPB) } Method (PX01, 0, NotSerialized) { CreateWordField (ATPB, Zero, SSZE) CreateDWordField (ATPB, 0x02, VMSK) CreateDWordField (ATPB, 0x06, FLGS) Store (0x0A, SSZE) Store (0x0F, VMSK) Store (0x0B, FLGS) Return (ATPB) } Method (PX02, 1, NotSerialized) { CreateWordField (ATPB, Zero, SSZE) CreateByteField (ATPB, 0x02, PWST) Store (0x03, SSZE) And (Arg0, One, PWST) If (PWST) { SGON () } Else { SGOF () } Sleep (0x03E8) Notify (PCI0, Zero) Return (ATPB) } Method (PX03, 1, NotSerialized) { CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, DPSW) Store (0x04, SSZE) And (Arg0, One, DPSW) If (DPSW) { Store (One, GP36) } Else { Store (Zero, GP36) } Return (ATPB) } Name (TVGA, Buffer (0xFC00) { 0x00 }) Method (ATRM, 2, Serialized) { 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) } } } Name (ATIB, Buffer (0x0100) {}) 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)))) } 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) { Store (0xF0, P80H) CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (0x0C, SSZE) Store (One, VERN) Store (0x51, NMSK) Store (NMSK, MSKN) Store (0x07, SFUN) Return (ATIB) } Name (NCOD, 0x81) Method (AF01, 0, NotSerialized) { Store (0xF1, P80H) CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, VMSK) CreateDWordField (ATIB, 0x06, FLGS) Store (0x03, VMSK) Store (0x0A, SSZE) Store (One, FLGS) Store (0x81, NCOD) Return (ATIB) } Name (PSBR, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (MSKN, Zero) Name (SEXM, Zero) Name (STHG, Zero) Name (STHI, Zero) Name (SFPG, Zero) Name (SFPI, Zero) Name (SSPS, Zero) Name (SSDM, 0x0A) Name (SCDY, Zero) Name (SACT, Buffer (0x06) { 0x01, 0x02, 0x08, 0x03, 0x09, 0x0A }) Method (AF02, 0, NotSerialized) { Store (0xF2, P80H) 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, PXPS) CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, PSBI) CreateByteField (ATIB, 0x06, EXPM) CreateByteField (ATIB, 0x07, THRM) CreateByteField (ATIB, 0x08, THID) CreateByteField (ATIB, 0x09, FPWR) CreateByteField (ATIB, 0x0A, FPID) CreateByteField (ATIB, 0x0B, SPWR) Store (0x0C, SSZE) Store (PSBR, PSBI) If (PDSW) { Store (0x82, P80H) Store (Zero, PDSW) } If (PEXM) { Store (SEXM, EXPM) Store (Zero, SEXM) Store (Zero, PEXM) } If (PTHR) { Store (STHG, THRM) Store (STHI, THID) Store (Zero, STHG) Store (Zero, STHI) Store (Zero, PTHR) } If (PFPS) { Store (SFPG, FPWR) Store (SFPI, FPWR) Store (Zero, SFPG) Store (Zero, SFPI) Store (Zero, PFPS) } If (PSPS) { Store (SSPS, SPWR) Store (Zero, PSPS) } If (PXPS) { Store (0xA2, P80H) Store (Zero, PXPS) } Return (ATIB) } Method (AF03, 2, NotSerialized) { Store (0xF3, P80H) CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, SSDP) CreateWordField (ATIB, 0x04, SCDP) Store (Arg0, SSDP) Store (Arg1, SCDP) Name (NXTD, 0x06) Name (CIDX, 0x06) Store (SSDP, Local1) And (Local1, 0x0B, Local1) Store (SCDP, Local2) If (CondRefOf (^^^LID0._LID, Local4)) { And (Local2, 0xFFFFFFFE, Local2) Or (Local2, ^^^LID0._LID (), Local2) } Else { Or (Local2, One, Local2) } Store (Local2, P80H) Store (Zero, Local0) While (LLess (Local0, SizeOf (SACT))) { Store (DerefOf (Index (SACT, Local0)), Local3) If (LEqual (Local3, Local1)) { Store (Local0, CIDX) Store (SizeOf (SACT), Local0) } Else { Increment (Local0) } } Store (CIDX, Local0) While (LLess (Local0, SizeOf (SACT))) { Increment (Local0) If (LEqual (Local0, SizeOf (SACT))) { Store (Zero, Local0) } Store (DerefOf (Index (SACT, Local0)), Local3) If (LEqual (And (Local3, Local2), Local3)) { Store (Local0, NXTD) Store (SizeOf (SACT), Local0) } } If (LEqual (NXTD, SizeOf (SACT))) { Store (Zero, SSDP) } Else { Store (NXTD, Local0) Store (DerefOf (Index (SACT, Local0)), Local3) And (SSDP, 0xFFFFFFF4, SSDP) Or (SSDP, Local3, SSDP) } Store (0x04, SSZE) Store (SSDP, P80H) Return (ATIB) } Method (AFN0, 0, Serialized) { If (And (MSKN, One)) { CreateBitField (PSBR, Zero, PDSW) Store (One, PDSW) Notify (OVGA, NCOD) } } Method (AFN3, 2, Serialized) { If (And (MSKN, 0x08)) { Store (Arg0, Local0) Store (Local0, SFPI) Store (Arg1, Local0) Store (And (Local0, 0x03, Local0), SFPG) CreateBitField (PSBR, 0x03, PFPS) Store (One, PFPS) Notify (OVGA, NCOD) } } Method (AFN4, 1, Serialized) { If (And (MSKN, 0x10)) { Store (Arg0, Local0) Store (SSPS, Local1) Store (Local0, SSPS) If (LEqual (Local0, Local1)) {} Else { CreateBitField (PSBR, 0x04, PSPS) Store (One, PSPS) Notify (OVGA, NCOD) } } } Method (AFN5, 0, Serialized) { If (And (MSKN, 0x20)) { CreateBitField (PSBR, 0x05, PDCC) Store (One, PDCC) Notify (OVGA, NCOD) } } Method (AFN6, 0, Serialized) { If (And (MSKN, 0x40)) { CreateBitField (PSBR, 0x06, PXPS) Store (One, PXPS) Notify (OVGA, NCOD) } } } Device (PEGP) { Name (_ADR, 0x00010000) Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x02) { Package (0x04) { 0xFFFF, Zero, ^^LPC.LNKA, Zero }, Package (0x04) { 0xFFFF, One, ^^LPC.LNKB, Zero } }) } Else { Return (Package (0x02) { Package (0x04) { 0xFFFF, Zero, Zero, 0x10 }, Package (0x04) { 0xFFFF, One, Zero, 0x11 } }) } } Device (VGA1) { Name (_ADR, One) OperationRegion (PSID, PCI_Config, 0x40, 0xC0) Field (PSID, AnyAcc, NoLock, Preserve) { Offset (0x0C), SVID, 16, SSID, 16, Offset (0x28), ASPM, 8 } } Device (VGA) { Name (_ADR, Zero) OperationRegion (PSID, PCI_Config, 0x40, 0xC0) Field (PSID, AnyAcc, NoLock, Preserve) { SVD2, 16, SSD2, 16, Offset (0x0C), SVID, 16, SSID, 16, Offset (0x28), ASPM, 8 } Method (_DOS, 1, NotSerialized) { Store (And (Arg0, 0x03), DSEN) } Method (_DOD, 0, NotSerialized) { Name (PEGT, Package (0x04) { Ones, Ones, Ones, Ones }) Store (0x00010100, Index (PEGT, Zero)) Store (0x00017330, Index (PEGT, One)) Store (0x00010110, Index (PEGT, 0x02)) Store (0x00010210, Index (PEGT, 0x03)) Return (PEGT) } Device (CRT) { Name (_ADR, 0x0100) Method (_DCS, 0, NotSerialized) { If (And (CSTE, 0x0101)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x0101)) { Return (One) } Return (Zero) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (LCD) { Name (_ADR, 0x0110) Method (_DCS, 0, NotSerialized) { If (And (CSTE, 0x0808)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x0808)) { Return (One) } Return (Zero) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } Method (_DDC, 1, NotSerialized) { If (LEqual (Arg0, One)) { Return (DDC4) } If (LEqual (Arg0, 0x02)) { Concatenate (DDC4, DDC0, Local0) Return (Local0) } Return (Zero) } Method (_BCL, 0, NotSerialized) { Return (BCLP) } Method (_BCM, 1, NotSerialized) { Store (One, Local0) Store (0x02, Local1) While (Local0) { If (LEqual (Arg0, DerefOf (Index (BCLP, Local1)))) { Store (Zero, Local0) } Else { Increment (Local1) If (LEqual (0x0B, Local1)) { Store (Zero, Local0) } } } Decrement (Local1) Decrement (Local1) If (^^^^LPC.EC0.BNCM) { If (^^^^LPC.EC0.ACST) { Store (Local1, ^^^^LPC.EC0.BNAC) } Else { Store (Local1, ^^^^LPC.EC0.BNDC) } } Else { Store (Local1, ^^^^LPC.EC0.BNAC) } } Method (_BQC, 0, NotSerialized) { If (^^^^LPC.EC0.BNCM) { If (^^^^LPC.EC0.ACST) { Store (^^^^LPC.EC0.BNAC, Local1) } Else { Store (^^^^LPC.EC0.BNDC, Local1) } } Else { Store (^^^^LPC.EC0.BNAC, Local1) } Increment (Local1) Increment (Local1) Store (DerefOf (Index (BCLP, Local1)), Local0) Return (Local0) } } Device (TV0) { Name (_ADR, 0x7330) Method (_DCS, 0, NotSerialized) { If (And (CSTE, 0x0202)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x0202)) { Return (One) } Return (Zero) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } Method (_DDC, 1, NotSerialized) { If (LEqual (Arg0, One)) { Return (DDC3) } If (LEqual (Arg0, 0x02)) { Concatenate (DDC3, DDC0, Local0) Return (Local0) } Return (Zero) } } Device (DVI) { Name (_ADR, 0x0210) Method (_DCS, 0, NotSerialized) { If (And (CSTE, 0x0404)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x0404)) { Return (One) } Return (Zero) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Name (DDC0, Buffer (0x80) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0050 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0058 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0070 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0078 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Name (DDC3, Buffer (0x80) { /* 0000 */ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, /* 0008 */ 0x41, 0xD0, 0xFE, 0x09, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x21, 0x08, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0050 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0058 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0070 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0078 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD3 }) Name (DDC4, Buffer (0x80) { /* 0000 */ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, /* 0008 */ 0x36, 0x7F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x02, 0x00, 0x01, 0x28, 0x1E, 0x00, /* 0018 */ 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x21, 0x08, 0x00, 0x00, 0x00, /* 0028 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0030 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0038 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0048 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0050 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0058 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0060 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0068 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0070 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0078 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEC }) Name (ATIB, Buffer (0x0100) {}) 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)))) } 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) { Store (0xF0, P80H) CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, VERN) CreateDWordField (ATIB, 0x04, NMSK) CreateDWordField (ATIB, 0x08, SFUN) Store (0x0C, SSZE) Store (One, VERN) Store (0x51, NMSK) Store (NMSK, MSKN) Store (0x07, SFUN) Return (ATIB) } Name (NCOD, 0x81) Method (AF01, 0, NotSerialized) { Store (0xF1, P80H) CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, VMSK) CreateDWordField (ATIB, 0x06, FLGS) Store (0x03, VMSK) Store (0x0A, SSZE) Store (One, FLGS) Store (0x81, NCOD) Return (ATIB) } Name (PSBR, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (MSKN, Zero) Name (SEXM, Zero) Name (STHG, Zero) Name (STHI, Zero) Name (SFPG, Zero) Name (SFPI, Zero) Name (SSPS, Zero) Name (SSDM, 0x0A) Name (SCDY, Zero) Name (SACT, Buffer (0x06) { 0x01, 0x02, 0x08, 0x03, 0x09, 0x0A }) Method (AF02, 0, NotSerialized) { Store (0xF2, P80H) 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, PXPS) CreateWordField (ATIB, Zero, SSZE) CreateDWordField (ATIB, 0x02, PSBI) CreateByteField (ATIB, 0x06, EXPM) CreateByteField (ATIB, 0x07, THRM) CreateByteField (ATIB, 0x08, THID) CreateByteField (ATIB, 0x09, FPWR) CreateByteField (ATIB, 0x0A, FPID) CreateByteField (ATIB, 0x0B, SPWR) Store (0x0C, SSZE) Store (PSBR, PSBI) If (PDSW) { Store (0x82, P80H) Store (Zero, PDSW) } If (PEXM) { Store (SEXM, EXPM) Store (Zero, SEXM) Store (Zero, PEXM) } If (PTHR) { Store (STHG, THRM) Store (STHI, THID) Store (Zero, STHG) Store (Zero, STHI) Store (Zero, PTHR) } If (PFPS) { Store (SFPG, FPWR) Store (SFPI, FPWR) Store (Zero, SFPG) Store (Zero, SFPI) Store (Zero, PFPS) } If (PSPS) { Store (SSPS, SPWR) Store (Zero, PSPS) } If (PXPS) { Store (0xA2, P80H) Store (Zero, PXPS) } Return (ATIB) } Method (AF03, 2, NotSerialized) { Store (0xF3, P80H) CreateWordField (ATIB, Zero, SSZE) CreateWordField (ATIB, 0x02, SSDP) CreateWordField (ATIB, 0x04, SCDP) Store (Arg0, SSDP) Store (Arg1, SCDP) Name (NXTD, 0x06) Name (CIDX, 0x06) Store (SSDP, Local1) And (Local1, 0x0B, Local1) Store (SCDP, Local2) If (CondRefOf (^^^^LID0._LID, Local4)) { And (Local2, 0xFFFFFFFE, Local2) Or (Local2, ^^^^LID0._LID (), Local2) } Else { Or (Local2, One, Local2) } Store (Local2, P80H) Store (Zero, Local0) While (LLess (Local0, SizeOf (SACT))) { Store (DerefOf (Index (SACT, Local0)), Local3) If (LEqual (Local3, Local1)) { Store (Local0, CIDX) Store (SizeOf (SACT), Local0) } Else { Increment (Local0) } } Store (CIDX, Local0) While (LLess (Local0, SizeOf (SACT))) { Increment (Local0) If (LEqual (Local0, SizeOf (SACT))) { Store (Zero, Local0) } Store (DerefOf (Index (SACT, Local0)), Local3) If (LEqual (And (Local3, Local2), Local3)) { Store (Local0, NXTD) Store (SizeOf (SACT), Local0) } } If (LEqual (NXTD, SizeOf (SACT))) { Store (Zero, SSDP) } Else { Store (NXTD, Local0) Store (DerefOf (Index (SACT, Local0)), Local3) And (SSDP, 0xFFFFFFF4, SSDP) Or (SSDP, Local3, SSDP) } Store (0x04, SSZE) Store (SSDP, P80H) Return (ATIB) } Method (AFN0, 0, Serialized) { If (And (MSKN, One)) { CreateBitField (PSBR, Zero, PDSW) Store (One, PDSW) Notify (VGA, NCOD) } } Method (AFN3, 2, Serialized) { If (And (MSKN, 0x08)) { Store (Arg0, Local0) Store (Local0, SFPI) Store (Arg1, Local0) Store (And (Local0, 0x03, Local0), SFPG) CreateBitField (PSBR, 0x03, PFPS) Store (One, PFPS) Notify (VGA, NCOD) } } Method (AFN4, 1, Serialized) { If (And (MSKN, 0x10)) { Store (Arg0, Local0) Store (SSPS, Local1) Store (Local0, SSPS) If (LEqual (Local0, Local1)) {} Else { CreateBitField (PSBR, 0x04, PSPS) Store (One, PSPS) Notify (VGA, NCOD) } } } Method (AFN5, 0, Serialized) { If (And (MSKN, 0x20)) { CreateBitField (PSBR, 0x05, PDCC) Store (One, PDCC) Notify (VGA, NCOD) } } Method (AFN6, 0, Serialized) { If (And (MSKN, 0x40)) { CreateBitField (PSBR, 0x06, PXPS) Store (One, PXPS) Notify (VGA, NCOD) } } } } Device (GLAN) { Name (_ADR, 0x00190000) Name (_PRW, Package (0x02) { 0x0D, 0x04 }) } Device (P32) { Name (_ADR, 0x001E0000) Method (_PRW, 0, NotSerialized) { If (LEqual (WKPM, One)) { Return (Package (0x02) { 0x0B, 0x04 }) } Else { Return (Package (0x02) { 0x0B, Zero }) } } Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x00) {}) } Else { Return (Package (0x00) {}) } } } Device (LPC) { Name (_ADR, 0x001F0000) OperationRegion (PRR0, PCI_Config, 0x60, 0x04) Field (PRR0, AnyAcc, NoLock, Preserve) { PIRA, 8, PIRB, 8, PIRC, 8, PIRD, 8 } OperationRegion (PRR1, PCI_Config, 0x68, 0x04) Field (PRR1, AnyAcc, NoLock, Preserve) { PIRE, 8, PIRF, 8, PIRG, 8, PIRH, 8 } OperationRegion (PRR2, PCI_Config, 0x80, 0x02) Field (PRR2, AnyAcc, NoLock, Preserve) { IODL, 8, IODH, 8 } OperationRegion (LPC0, PCI_Config, 0xA0, One) Field (LPC0, AnyAcc, NoLock, Preserve) { , 7, C4O3, 1 } Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, One) Method (_STA, 0, NotSerialized) { If (And (PIRA, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_DIS, 0, NotSerialized) { Or (PIRA, 0x80, PIRA) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {0} }) CreateWordField (BUF0, One, IRQW) If (And (PIRA, 0x80)) { Store (Zero, Local0) } Else { Store (One, Local0) } ShiftLeft (Local0, And (PIRA, 0x0F), IRQW) Return (BUF0) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12} }) Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQW) FindSetRightBit (IRQW, Local0) If (LNotEqual (IRQW, Zero)) { And (Local0, 0x7F, Local0) Decrement (Local0) } Else { Or (Local0, 0x80, Local0) } Store (Local0, PIRA) } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { If (And (PIRB, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_DIS, 0, NotSerialized) { Or (PIRB, 0x80, PIRB) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {0} }) CreateWordField (BUF0, One, IRQW) If (And (PIRB, 0x80)) { Store (Zero, Local0) } Else { Store (One, Local0) } ShiftLeft (Local0, And (PIRB, 0x0F), IRQW) Return (BUF0) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12} }) Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQW) FindSetRightBit (IRQW, Local0) If (LNotEqual (IRQW, Zero)) { And (Local0, 0x7F, Local0) Decrement (Local0) } Else { Or (Local0, 0x80, Local0) } Store (Local0, PIRB) } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_STA, 0, NotSerialized) { If (And (PIRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_DIS, 0, NotSerialized) { Or (PIRC, 0x80, PIRC) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {0} }) CreateWordField (BUF0, One, IRQW) If (And (PIRC, 0x80)) { Store (Zero, Local0) } Else { Store (One, Local0) } ShiftLeft (Local0, And (PIRC, 0x0F), IRQW) Return (BUF0) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12} }) Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQW) FindSetRightBit (IRQW, Local0) If (LNotEqual (IRQW, Zero)) { And (Local0, 0x7F, Local0) Decrement (Local0) } Else { Or (Local0, 0x80, Local0) } Store (Local0, PIRC) } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_STA, 0, NotSerialized) { If (And (PIRD, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_DIS, 0, NotSerialized) { Or (PIRD, 0x80, PIRD) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {0} }) CreateWordField (BUF0, One, IRQW) If (And (PIRD, 0x80)) { Store (Zero, Local0) } Else { Store (One, Local0) } ShiftLeft (Local0, And (PIRD, 0x0F), IRQW) Return (BUF0) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12} }) Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQW) FindSetRightBit (IRQW, Local0) If (LNotEqual (IRQW, Zero)) { And (Local0, 0x7F, Local0) Decrement (Local0) } Else { Or (Local0, 0x80, Local0) } Store (Local0, PIRD) } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x05) Method (_STA, 0, NotSerialized) { If (And (PIRE, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_DIS, 0, NotSerialized) { Or (PIRE, 0x80, PIRE) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {0} }) CreateWordField (BUF0, One, IRQW) If (And (PIRE, 0x80)) { Store (Zero, Local0) } Else { Store (One, Local0) } ShiftLeft (Local0, And (PIRE, 0x0F), IRQW) Return (BUF0) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12} }) Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQW) FindSetRightBit (IRQW, Local0) If (LNotEqual (IRQW, Zero)) { And (Local0, 0x7F, Local0) Decrement (Local0) } Else { Or (Local0, 0x80, Local0) } Store (Local0, PIRE) } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x06) Method (_STA, 0, NotSerialized) { If (And (PIRF, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_DIS, 0, NotSerialized) { Or (PIRF, 0x80, PIRF) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {0} }) CreateWordField (BUF0, One, IRQW) If (And (PIRF, 0x80)) { Store (Zero, Local0) } Else { Store (One, Local0) } ShiftLeft (Local0, And (PIRF, 0x0F), IRQW) Return (BUF0) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12} }) Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQW) FindSetRightBit (IRQW, Local0) If (LNotEqual (IRQW, Zero)) { And (Local0, 0x7F, Local0) Decrement (Local0) } Else { Or (Local0, 0x80, Local0) } Store (Local0, PIRF) } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x07) Method (_STA, 0, NotSerialized) { If (And (PIRG, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_DIS, 0, NotSerialized) { Or (PIRG, 0x80, PIRG) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {0} }) CreateWordField (BUF0, One, IRQW) If (And (PIRG, 0x80)) { Store (Zero, Local0) } Else { Store (One, Local0) } ShiftLeft (Local0, And (PIRG, 0x0F), IRQW) Return (BUF0) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12} }) Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQW) FindSetRightBit (IRQW, Local0) If (LNotEqual (IRQW, Zero)) { And (Local0, 0x7F, Local0) Decrement (Local0) } Else { Or (Local0, 0x80, Local0) } Store (Local0, PIRG) } } Device (LNKH) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) Method (_STA, 0, NotSerialized) { If (And (PIRH, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_DIS, 0, NotSerialized) { Or (PIRH, 0x80, PIRH) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {0} }) CreateWordField (BUF0, One, IRQW) If (And (PIRH, 0x80)) { Store (Zero, Local0) } Else { Store (One, Local0) } ShiftLeft (Local0, And (PIRH, 0x0F), IRQW) Return (BUF0) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12} }) Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQW) FindSetRightBit (IRQW, Local0) If (LNotEqual (IRQW, Zero)) { And (Local0, 0x7F, Local0) Decrement (Local0) } Else { Or (Local0, 0x80, Local0) } Store (Local0, PIRH) } } Device (SYSR) { Name (_HID, EisaId ("PNP0C02")) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x002E, // Range Minimum 0x002E, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x004E, // Range Minimum 0x004E, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x164E, // Range Minimum 0x164E, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0068, // Range Minimum 0x0068, // Range Maximum 0x01, // Alignment 0x08, // Length ) IO (Decode16, 0x0061, // Range Minimum 0x0061, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0092, // Range Minimum 0x0092, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x00B2, // Range Minimum 0x00B2, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0063, // Range Minimum 0x0063, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0065, // Range Minimum 0x0065, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0067, // Range Minimum 0x0067, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0600, // Range Minimum 0x0600, // Range Maximum 0x01, // Alignment 0x10, // Length ) IO (Decode16, 0x0610, // Range Minimum 0x0610, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0800, // Range Minimum 0x0800, // Range Maximum 0x01, // Alignment 0x10, // Length ) IO (Decode16, 0x0810, // Range Minimum 0x0810, // Range Maximum 0x01, // Alignment 0x08, // Length ) IO (Decode16, 0x0820, // Range Minimum 0x0820, // Range Maximum 0x01, // Alignment 0x04, // Length ) IO (Decode16, 0x0400, // Range Minimum 0x0400, // Range Maximum 0x01, // Alignment 0x80, // Length ) IO (Decode16, 0x0500, // Range Minimum 0x0500, // Range Maximum 0x01, // Alignment 0x40, // Length ) Memory32Fixed (ReadWrite, 0xF8000000, // Address Base 0x04000000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED1C000, // Address Base 0x00004000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED10000, // Address Base 0x00004000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED18000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED19000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEC00000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED20000, // Address Base 0x00020000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED40000, // Address Base 0x00005000, // Address Length ) Memory32Fixed (ReadWrite, 0xFED45000, // Address Base 0x0004B000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEE00000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFF800000, // Address Base 0x00001000, // Address Length ) }) Method (_CRS, 0, Serialized) { Return (BUF0) } } Device (DMAC) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x20, // Length ) IO (Decode16, 0x0081, // Range Minimum 0x0081, // Range Maximum 0x01, // Alignment 0x11, // Length ) IO (Decode16, 0x0093, // Range Minimum 0x0093, // Range Maximum 0x01, // Alignment 0x0D, // Length ) IO (Decode16, 0x00C0, // Range Minimum 0x00C0, // Range Maximum 0x01, // Alignment 0x20, // Length ) DMA (Compatibility, NotBusMaster, Transfer8_16, ) {4} }) } Device (RTC) { Name (_HID, EisaId ("PNP0B00")) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x01, // Alignment 0x08, // Length ) }) Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {8} }) Method (_CRS, 0, Serialized) { If (LEqual (HPTS, One)) { Return (BUF0) } Else { Return (BUF1) } } } Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (BUF0, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length _Y0E) }) Method (_STA, 0, NotSerialized) { If (LGreaterEqual (OSYS, 0x07D1)) { If (LEqual (HPTS, One)) { Return (0x0F) } Else { Return (Zero) } } Else { If (HPTS) { Return (0x0B) } Else { Return (Zero) } } } Method (_CRS, 0, Serialized) { If (LEqual (HPTS, One)) { CreateDWordField (BUF0, \_SB.PCI0.LPC.HPET._Y0E._BAS, HPT0) If (LEqual (HPTA, One)) { Store (0xFED01000, HPT0) } If (LEqual (HPTA, 0x02)) { Store (0xFED02000, HPT0) } If (LEqual (HPTA, 0x03)) { Store (0xFED03000, HPT0) } } Return (BUF0) } } Device (PIC) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, // Range Minimum 0x0020, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0024, // Range Minimum 0x0024, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0028, // Range Minimum 0x0028, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x002C, // Range Minimum 0x002C, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0030, // Range Minimum 0x0030, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0034, // Range Minimum 0x0034, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0038, // Range Minimum 0x0038, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x003C, // Range Minimum 0x003C, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00A0, // Range Minimum 0x00A0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00A4, // Range Minimum 0x00A4, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00A8, // Range Minimum 0x00A8, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00AC, // Range Minimum 0x00AC, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00B0, // Range Minimum 0x00B0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00B4, // Range Minimum 0x00B4, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00B8, // Range Minimum 0x00B8, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00BC, // Range Minimum 0x00BC, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IRQNoFlags () {2} }) } Device (FPU) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQNoFlags () {13} }) } Device (TIMR) { Name (_HID, EisaId ("PNP0100")) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x01, // Alignment 0x04, // Length ) IO (Decode16, 0x0050, // Range Minimum 0x0050, // Range Maximum 0x10, // Alignment 0x04, // Length ) }) Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x01, // Alignment 0x04, // Length ) IO (Decode16, 0x0050, // Range Minimum 0x0050, // Range Maximum 0x10, // Alignment 0x04, // Length ) IRQNoFlags () {0} }) Method (_CRS, 0, Serialized) { If (HPTS) { Return (BUF0) } Return (BUF1) } } Device (FWHD) { Name (_HID, EisaId ("INT0800")) Name (_CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xFFE00000, // Address Base 0x00200000, // Address Length ) }) } Device (KBD0) { Method (_HID, 0, NotSerialized) { If (ECON) { Store (^^EC0.KBID, Local0) } Else { ShiftRight (RBEC (0x71), 0x04, Local0) And (Local0, 0x07, Local0) } If (LEqual (Local0, 0x02)) { Return (0x2003D041) } Else { Return (0x0303D041) } } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQ (Edge, ActiveHigh, Exclusive, ) {1} }) } Device (PS2M) { Name (_HID, EisaId ("SYN1B22")) Name (_CID, Package (0x03) { EisaId ("SYN1B00"), EisaId ("SYN0002"), EisaId ("PNP0F13") }) Name (_CRS, ResourceTemplate () { IRQ (Edge, ActiveHigh, Exclusive, ) {12} }) } Device (EC0) { Name (_HID, EisaId ("PNP0C09")) Name (_GPE, 0x17) Method (_STA, 0, NotSerialized) { Return (0x0F) } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) OperationRegion (ECO1, SystemIO, 0x62, One) Field (ECO1, ByteAcc, Lock, Preserve) { PX62, 8 } OperationRegion (ECO2, SystemIO, 0x66, One) Field (ECO2, ByteAcc, Lock, Preserve) { PX66, 8 } OperationRegion (RAM, EmbeddedControl, Zero, 0xFF) Field (RAM, ByteAcc, Lock, Preserve) { Offset (0x0A), , 1, BLNK, 1, WLLD, 2, BTLD, 2, Offset (0x12), PLID, 8, URTB, 8, Offset (0x51), , 1, PSBN, 1, , 4, PXEF, 1, Offset (0x52), WDEV, 1, BDEV, 1, GDEV, 1, , 3, WDPM, 1, WEPM, 1, Offset (0x56), JM41, 1, JM51, 1, , 1, SM51, 1, Offset (0x57), ODPW, 1, Offset (0x70), , 1, KLID, 1, , 3, KACS, 1, Offset (0x71), WLEN, 1, BTEN, 1, DCKS, 1, MUTE, 1, KBID, 3, USBP, 1, , 2, KEYW, 1, RTCW, 1, LIDW, 1, BL2W, 1, TPDW, 1, Offset (0x73), WWEN, 1, Offset (0x74), CRLW, 1, PS2K, 1, PS2M, 1, TPEN, 1, CHGE, 1, INTK, 1, Offset (0x75), SWBL, 1, KLMA, 1, , 1, , 1, , 1, , 1, BLST, 1, FIRE, 1, SYSC, 4, SYSO, 4, Offset (0x7F), BNEN, 1, BNCM, 1, BNDM, 1, BNVE, 1, Offset (0x82), BMAS, 4, BMDS, 4, BNAC, 4, BNDC, 4, Offset (0x87), BNVA, 8 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0x01), TIID, 8, Offset (0x10), , 1, KTEE, 1, Offset (0x91), TTID, 8, KCSS, 1, KCTT, 1, KDTT, 1, KOSD, 1, KVTP, 1, Offset (0xA8), THS0, 8, THS1, 8, THS2, 8, THS3, 8, THS4, 8, THS5, 8, THS6, 8, THS7, 8 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0x92), KTAF, 8 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0x92), THSL, 4 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0xD0), TSP0, 8, TSC0, 8, TSP1, 8, TSC1, 8, TSP2, 8, TSC2, 8, TSP3, 8, TSC3, 8, TSP4, 8, TSC4, 8, TSP5, 8, TSC5, 8, TSP6, 8, TSC6, 8, TSP7, 8, TSC7, 8 } Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, ECON) TINI () Store (0x05, SYSO) If (LEqual (OSYS, 0x07D6)) { Store (Zero, BNEN) } Store (BNEN, BCEN) Store (BNVE, BCVE) If (BCEN) { ^^^OVGA.SPBR (BNVA, One) } } } Method (TINI, 0, NotSerialized) { Notify (\_PR.CPU0, 0x80) Notify (\_PR.CPU1, 0x80) If (ECON) { Store (Zero, KTAF) Store (One, KTEE) } Else { WBEC (0x92, Zero) MBEC (0x10, 0xFD, 0x02) } } Name (EPMS, Zero) Name (WLLS, Zero) Name (WLES, Zero) Name (BTLS, Zero) Name (BTES, Zero) Name (WWES, Zero) Method (ECPS, 1, NotSerialized) { Store (Arg0, URTB) Store (Arg0, SYSC) Store (One, MUTE) If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { Store (WEPM, EPMS) Store (WLLD, WLLS) Store (WLEN, WLES) Store (BTLD, BTLS) Store (BTEN, BTES) Store (WWEN, WWES) Store (Zero, WLEN) } If (LEqual (Arg0, 0x04)) { Store (One, BLNK) } } Method (ECWK, 1, NotSerialized) { Store (Arg0, URTB) Store (Arg0, SYSO) Store (Zero, MUTE) TINI () Store (0xFF, B0ST) Notify (BAT0, 0x81) If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { Store (BCEN, BNEN) Store (BCVE, BNVE) Store (EPMS, WEPM) Store (WLLS, WLLD) Store (WLES, WLEN) Store (BTLS, BTLD) Store (BTES, BTEN) Store (WWES, WWEN) } If (LEqual (Arg0, 0x03)) {} If (LEqual (Arg0, 0x04)) {} If (LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x05))) {} } Method (_Q16, 0, NotSerialized) { Store (0x16, P80H) LAMN (One) } Method (_Q24, 0, NotSerialized) { Store (0x24, P80H) LAMN (0x6A) } Method (_Q25, 0, NotSerialized) { Store (0x25, P80H) LAMN (0x6D) } Method (_Q17, 0, NotSerialized) { Store (0x17, P80H) Notify (SLPB, 0x80) } Method (HKDS, 1, NotSerialized) { If (LEqual (And (DSEN, 0x03), Zero)) { Store (TRPS (0xEE, Zero), CADL) If (LNotEqual (CADL, PADL)) { Store (CADL, PADL) If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6))) { Notify (PCI0, Zero) } Else { If (IGDS) { Notify (OVGA, Zero) } Else { Notify (^^^PEGP.VGA, Zero) } } Sleep (0x02EE) } If (LEqual (Arg0, 0x10)) { If (IGDS) { If (ASLB) { ^^^OVGA.GHDS (Zero) Return (Zero) } } Store (TRPS (0xEA, Zero), Local0) If (LEqual (Local0, One)) { Store (Zero, Local1) } If (LEqual (Local0, Zero)) { Store (0x02, Local1) } If (LEqual (Local0, 0x02)) { Store (One, Local1) } Store (Local1, Local0) } Else { Store (Arg0, Local0) } If (LEqual (Local0, Zero)) { Store (0x0101, NSTE) } If (LEqual (Local0, One)) { Store (0x0808, NSTE) } If (LEqual (Local0, 0x02)) { Store (0x0909, NSTE) } If (LEqual (Local0, 0x03)) { Store (0x0404, NSTE) } If (LEqual (Local0, 0x04)) { Store (0x0202, NSTE) } If (LEqual (Local0, 0x05)) { Store (0x0C0C, NSTE) } If (LEqual (Local0, 0x06)) { Store (0x0A0A, NSTE) } If (IGDS) { If (ASLB) { ^^^OVGA.SNDL (NSTE) ^^^OVGA.GHDS (Zero) } Else { Notify (OVGA, 0x80) } } Else { Notify (^^^PEGP.VGA, 0x80) } } If (LEqual (And (DSEN, 0x03), One)) {} } Method (_Q19, 0, NotSerialized) { Store (0x19, P80H) If (LEqual (IGDS, Zero)) { ^^^OVGA.AFN0 () } Else { HKDS (0x10) } } Method (_Q80, 0, NotSerialized) { Store (0x80, P80H) HKDS (Zero) } Method (_Q81, 0, NotSerialized) { Store (0x81, P80H) HKDS (One) } Method (_Q82, 0, NotSerialized) { Store (0x82, P80H) HKDS (0x02) } Method (_Q83, 0, NotSerialized) { Store (0x83, P80H) HKDS (0x03) } Method (_Q84, 0, NotSerialized) { Store (0x84, P80H) HKDS (0x04) } Method (_Q85, 0, NotSerialized) { Store (0x85, P80H) HKDS (0x05) } Method (_Q86, 0, NotSerialized) { Store (0x86, P80H) HKDS (0x06) } Scope (^^OVGA) { Name (NDLC, Zero) Method (SNDL, 1, NotSerialized) { Store (Zero, NDLC) Store (Zero, NADL) Store (Zero, NDL2) Store (Zero, NDL3) Store (Zero, NDL4) Store (Zero, NDL5) If (And (Arg0, 0x08)) { S2ND (0x0400) } If (And (Arg0, One)) { S2ND (0x0100) } If (And (Arg0, 0x02)) { S2ND (0x0200) } If (And (Arg0, 0x04)) { S2ND (0x0300) } } Method (S2ND, 1, NotSerialized) { Increment (NDLC) If (LEqual (NDLC, One)) { Store (Arg0, NADL) } If (LEqual (NDLC, 0x02)) { Store (Arg0, NDL2) } If (LEqual (NDLC, 0x03)) { Store (Arg0, NDL3) } If (LEqual (NDLC, 0x04)) { Store (Arg0, NDL4) } If (LEqual (NDLC, 0x05)) { Store (Arg0, NDL5) } } Method (SPBR, 2, NotSerialized) { If (BCVE) { If (Arg1) { SBLX (Arg0) } Else { Store (DMOD, Local0) If (LEqual (Local0, Zero)) { HKEY (0x1C) } Else { If (LEqual (Local0, One)) { SBLX (Arg0) } } } } } Method (SBLX, 1, NotSerialized) { Store (Arg0, BCLP) Or (BCLP, 0x80000000, BCLP) Store (0x02, ASLC) Store (Zero, LBPC) } } Method (_Q1A, 0, NotSerialized) { Store (0x1A, P80H) HKEY (0x1A) } Method (_Q5C, 0, NotSerialized) { Store (0x5C, P80H) If (^^^WMID.FIRE) { ^^^WMID.ACRN (0x0D) } } Method (_Q10, 0, NotSerialized) { Store (0x10, P80H) LAMN (0x30) If (^^^WMID.FIRE) { If (WDEV) { ^^^WMID.ACRN (One) } If (GDEV) { ^^^WMID.ACRN (0x08) } } } Method (_Q11, 0, NotSerialized) { Store (0x11, P80H) LAMN (0x36) } Method (_Q12, 0, NotSerialized) { Store (0x12, P80H) LAMN (0x31) } Method (_Q13, 0, NotSerialized) { Store (0x13, P80H) LAMN (0x11) } Method (_Q14, 0, NotSerialized) { Store (0x14, P80H) LAMN (0x12) } Method (_Q15, 0, NotSerialized) { Store (0x15, P80H) LAMN (0x13) } Method (_Q1C, 0, NotSerialized) { Store (0x1C, P80H) If (BCEN) { ^^^OVGA.SPBR (BNVA, Zero) If (^^^WMID.FIRE) { ^^^WMID.ACRN (0x03) } } Else { If (SGEN) { BIAN (0x86) } Else { If (IGDS) { BIAN (0x86) } Else { Notify (^^^PEGP.VGA.LCD, 0x86) } } } } Method (_Q1D, 0, NotSerialized) { Store (0x1D, P80H) If (BCEN) { ^^^OVGA.SPBR (BNVA, Zero) If (^^^WMID.FIRE) { ^^^WMID.ACRN (0x03) } } Else { If (SGEN) { BIAN (0x87) } Else { If (IGDS) { BIAN (0x87) } Else { Notify (^^^PEGP.VGA.LCD, 0x87) } } } } Method (_Q23, 0, NotSerialized) { Store (0x23, P80H) If (^^^WMID.FIRE) { ^^^WMID.ACRN (0x02) } } Method (_Q2D, 0, NotSerialized) { Store (0x2D, P80H) If (LEqual (OSYS, 0x07D6)) { If (^^^WMID.FIRE) { If (SGST) { ^^^OVGA.AFN6 () } } Else { If (SGST) { ^^^OVGA.AFN6 () } } } } Method (_Q2E, 0, NotSerialized) { Store (0x2E, P80H) If (^^^WMID.WCDA) { ^^^WMID.ACRN (0x07) } Else { ^^^WMID.CDEJ () } } Method (_Q2F, 0, NotSerialized) { Store (0x2F, P80H) If (^^^WMID.FIRE) { ^^^WMID.ACRN (0x06) } Else { If (XOr (PSBN, SGST)) { ^^^OVGA.AFN6 () } } SBNL () } Method (_Q32, 0, NotSerialized) { Store (0x32, P80H) TRPS (0xF2, Zero) Store (Zero, KCTT) } Method (_Q33, 0, NotSerialized) { Store (0x33, P80H) Store (Zero, KCSS) NTMR () } Method (_Q34, 0, NotSerialized) { Store (0x34, P80H) Store (One, KCSS) NTMR () } Method (_Q35, 0, NotSerialized) { Store (0x35, P80H) TRPS (0xF1, Zero) Store (One, KCTT) } Method (_Q36, 0, NotSerialized) { Store (0x36, P80H) Store (One, KOSD) Sleep (0x01F4) NTMR () } Method (_Q3F, 0, NotSerialized) { Store (0x3F, P80H) HKEY (0x3F) } Method (_Q40, 0, NotSerialized) { Store (0x40, P80H) Store (0xFF, B0ST) Notify (BAT0, 0x81) If (^^^WMID.FIRE) { If (NB0N) { ^^^WMID.ACRN (0x04) } } } Method (_Q41, 0, NotSerialized) { Store (0x41, P80H) Store (0xFF, B0ST) Notify (BAT0, 0x81) } Method (_Q48, 0, NotSerialized) { Store (0x48, P80H) Notify (BAT0, 0x80) } Method (_Q4C, 0, NotSerialized) { Store (0x4C, P80H) If (B0ST) { Notify (BAT0, 0x80) } } Method (_Q4D, 0, NotSerialized) { Store (0x4D, P80H) ^^^WMID.ADSN (One) } Method (_Q50, 0, NotSerialized) { Store (0x50, P80H) Notify (ADP1, 0x80) SBNL () If (LEqual (OSYS, 0x07D6)) { If (^^^WMID.FIRE) { ^^^WMID.ACRN (0x06) } Else { If (SGST) { ^^^OVGA.AFN6 () } } } } Method (_Q51, 0, NotSerialized) { Store (0x51, P80H) Notify (ADP1, 0x80) SBNL () If (LEqual (OSYS, 0x07D6)) { If (^^^WMID.FIRE) { ^^^WMID.ACRN (0x06) } Else { If (LEqual (SGST, Zero)) { ^^^OVGA.AFN6 () } } } } Method (SBNL, 0, NotSerialized) { Store (One, Local1) If (^^^WMID.FIRE) { Store (Zero, Local1) } If (Local1) { If (BCEN) { ^^^OVGA.SPBR (BNVA, Zero) } Else { Sleep (0xC8) If (SGEN) { SBLV (BNAC) } Else { If (IGDS) { SBLV (BNAC) } Else { Notify (^^^PEGP.VGA.LCD, 0x88) Store (BNAC, Local0) While (Local0) { Notify (^^^PEGP.VGA.LCD, 0x86) Decrement (Local0) } } } } } } Method (SBLV, 1, NotSerialized) { BIAN (0x88) Store (Arg0, Local0) While (Local0) { BIAN (0x86) Decrement (Local0) } } Method (_Q52, 0, NotSerialized) { Store (0x52, P80H) Notify (LID0, 0x80) } Method (_Q53, 0, NotSerialized) { Store (0x53, P80H) Notify (LID0, 0x80) } Method (NTMR, 0, NotSerialized) { Notify (\_TZ.TZS0, 0x80) Notify (\_TZ.TZS1, 0x80) } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0x02), NBID, 8, Offset (0x17), , 5, SM0F, 1, , 1, SM1F, 1, Offset (0x88), NB0A, 1, , 2, NB0R, 1, NB0L, 1, NB0F, 1, NB0N, 1, Offset (0x89), NB1A, 1, , 2, NB1R, 1, NB1L, 1, NB1F, 1, NB1N, 1 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0x88), NB0S, 8, NB1S, 8 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0xE0), BSRC, 16, BSFC, 16, BSPE, 16, BSAC, 16, BSVO, 16, , 15, BSCM, 1, BSCU, 16, BSTV, 16 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0xE0), BSDC, 16, BSDV, 16, BSSN, 16 } Field (RAM, ByteAcc, NoLock, Preserve) { Offset (0xE0), BSMN, 128 } Field (RAM, ByteAcc, NoLock, Preserve) { Offset (0xE0), BSDN, 128 } Field (RAM, ByteAcc, NoLock, Preserve) { Offset (0xE0), BSCH, 128 } Mutex (BATM, 0x07) Method (GBIF, 3, NotSerialized) { Acquire (BATM, 0xFFFF) If (Arg2) { Store (Ones, Index (Arg1, One)) Store (Ones, Index (Arg1, 0x02)) Store (Ones, Index (Arg1, 0x04)) Store (Zero, Index (Arg1, 0x05)) Store (Zero, Index (Arg1, 0x06)) } Else { And (Arg0, 0xF0, NBID) Store (BSCM, Local0) XOr (Local0, One, Index (Arg1, Zero)) Or (Arg0, One, NBID) If (Local0) { Multiply (BSDC, 0x0A, Local1) } Else { Store (BSDC, Local1) } Store (Local1, Index (Arg1, One)) And (Arg0, 0xF0, NBID) If (Local0) { Multiply (BSFC, 0x0A, Local2) } Else { Store (BSFC, Local2) } Store (Local2, Index (Arg1, 0x02)) Or (Arg0, One, NBID) Store (BSDV, Index (Arg1, 0x04)) Divide (Local2, 0x64, Local7, Local6) Multiply (Local6, 0x05, Local3) Store (Local3, Index (Arg1, 0x05)) Multiply (0x03, 0x02, Local4) Add (Local4, One, Local4) Multiply (Local6, Local4, Local4) Divide (Local4, 0x02, Local7, Local4) Store (Local4, Index (Arg1, 0x06)) Subtract (Local3, Local4, Index (Arg1, 0x07)) Subtract (Local2, Local3, Index (Arg1, 0x08)) Store (BSSN, Local7) Name (SERN, Buffer (0x06) { " " }) Store (0x04, Local6) While (Local7) { Divide (Local7, 0x0A, Local5, Local7) Add (Local5, 0x30, Index (SERN, Local6)) Decrement (Local6) } Store (SERN, Index (Arg1, 0x0A)) Or (Arg0, 0x03, NBID) Store (BSDN, Index (Arg1, 0x09)) Or (Arg0, 0x04, NBID) Store (BSCH, Index (Arg1, 0x0B)) Or (Arg0, 0x02, NBID) Store (BSMN, Index (Arg1, 0x0C)) } Release (BATM) Return (Arg1) } Method (GBST, 4, NotSerialized) { If (Arg0) { Store (SM1F, Local0) } Else { Store (SM0F, Local0) } If (Local0) { And (Arg1, 0x08, Local0) If (LEqual (Local0, Zero)) { Return (Arg3) } } Acquire (BATM, 0xFFFF) If (And (Arg1, 0x02)) { Store (0x02, Local0) If (And (Arg1, 0x20)) { Store (Zero, Local0) } } Else { If (And (Arg1, 0x04)) { Store (One, Local0) } Else { Store (Zero, Local0) } } If (And (Arg1, 0x10)) { Or (Local0, 0x04, Local0) } If (And (Arg1, One)) { And (Arg0, 0xF0, NBID) Store (BSAC, Local1) Store (BSRC, Local2) If (ACST) { If (And (Arg1, 0x20)) { Store (BSFC, Local2) } } If (Arg2) { Multiply (Local2, 0x0A, Local2) } Store (BSVO, Local3) If (LGreaterEqual (Local1, 0x8000)) { If (And (Local0, One)) { Subtract (0x00010000, Local1, Local1) } Else { Store (Zero, Local1) } } Else { If (LEqual (And (Local0, 0x02), Zero)) { Store (Zero, Local1) } } If (Arg2) { Multiply (Local3, Local1, Local1) Divide (Local1, 0x03E8, Local7, Local1) } } Else { Store (Zero, Local0) Store (Ones, Local1) Store (Ones, Local2) Store (Ones, Local3) } Store (Local0, Index (Arg3, Zero)) Store (Local1, Index (Arg3, One)) Store (Local2, Index (Arg3, 0x02)) Store (Local3, Index (Arg3, 0x03)) Release (BATM) Return (Arg3) } Name (B0ST, 0xFF) Device (BAT0) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, One) Method (_PCL, 0, NotSerialized) { Return (_SB) } Name (B0IP, Package (0x0D) { One, Ones, Ones, One, Ones, Zero, Zero, 0x5A, 0x5A, "", "100", "Lion", Zero }) Name (B0SP, Package (0x04) { Zero, Ones, Ones, Ones }) Method (_STA, 0, NotSerialized) { If (LEqual (B0ST, 0xFF)) { If (ECON) { Store (NB0A, Local1) If (NB0N) { Store (Zero, Local1) } } Else { Store (RBEC (0x88), Local0) ShiftRight (Local0, Zero, Local1) And (Local1, One, Local1) If (And (Local0, 0x40)) { Store (Zero, Local1) } } Store (Local1, B0ST) } Else { Store (B0ST, Local1) } If (Local1) { Return (0x1F) } Else { Return (0x0F) } } Method (_BIF, 0, NotSerialized) { Store (B0ST, Local6) Store (0x14, Local7) While (LAnd (Local6, Local7)) { If (ECON) { Store (NB0S, Local1) } Else { Store (RBEC (0x88), Local1) } If (And (Local1, 0x08)) { Store (Zero, Local6) } Else { Sleep (0x01F4) Decrement (Local7) } } Return (GBIF (Zero, B0IP, Local6)) } Method (_BST, 0, NotSerialized) { XOr (DerefOf (Index (B0IP, Zero)), One, Local0) If (ECON) { Store (NB0S, Local1) } Else { Store (RBEC (0x88), Local1) } Return (GBST (Zero, Local1, Local0, B0SP)) } } Name (ACST, One) Device (ADP1) { Name (_HID, "ACPI0003") Method (_PSR, 0, NotSerialized) { If (ECON) { Store (KACS, Local1) } Else { Store (RBEC (0x70), Local0) And (Local0, 0x20, Local1) } If (Local1) { Store (One, ACST) } Else { Store (Zero, ACST) } Return (ACST) } Method (_PCL, 0, NotSerialized) { Return (_SB) } Method (_STA, 0, NotSerialized) { Return (0x0F) } } } } Device (UHC0) { Name (_ADR, 0x001D0000) Name (_PRW, Package (0x02) { 0x03, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (UHC1) { Name (_ADR, 0x001D0001) Name (_PRW, Package (0x02) { 0x04, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (UHC2) { Name (_ADR, 0x001D0002) Name (_PRW, Package (0x02) { 0x0C, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (UHCR) { Name (_ADR, 0x001D0003) Name (_PRW, Package (0x02) { 0x20, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (EHC1) { Name (_ADR, 0x001D0007) Name (_PRW, Package (0x02) { 0x0D, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (UHC3) { Name (_ADR, 0x001A0000) Name (_PRW, Package (0x02) { 0x0E, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (UHC4) { Name (_ADR, 0x001A0001) Name (_PRW, Package (0x02) { 0x05, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (UHC5) { Name (_ADR, 0x001A0002) Name (_PRW, Package (0x02) { 0x04, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (EHC2) { Name (_ADR, 0x001A0007) Name (_PRW, Package (0x02) { 0x0D, 0x03 }) OperationRegion (USBR, PCI_Config, 0xC4, One) Field (USBR, AnyAcc, NoLock, Preserve) { URES, 8 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x03, URES) } Else { Store (Zero, URES) } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (EXP1) { Name (_ADR, 0x001C0000) OperationRegion (PXCS, PCI_Config, Zero, 0xE0) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { VDID, 16, Offset (0x52), , 13, LASX, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), LSCX, 1, Offset (0x60), Offset (0x62), PSPX, 1, Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Device (PXSX) { Name (_ADR, Zero) OperationRegion (RTLD, PCI_Config, Zero, 0x02) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { RVID, 16 } Method (_STA, 0, NotSerialized) { If (LEqual (RVID, 0xFFFF)) { Return (Zero) } Else { Return (0x0F) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PSW, 1, NotSerialized) { Store (Arg0, ^^^LPC.EC0.PXEF) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, ^^LPC.LNKA, Zero }, Package (0x04) { 0xFFFF, One, ^^LPC.LNKB, Zero }, Package (0x04) { 0xFFFF, 0x02, ^^LPC.LNKC, Zero }, Package (0x04) { 0xFFFF, 0x03, ^^LPC.LNKD, Zero } }) } Else { 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 } }) } } } Device (EXP2) { Name (_ADR, 0x001C0001) OperationRegion (PXCS, PCI_Config, Zero, 0xE0) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { VDID, 16, Offset (0x52), , 13, LASX, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), LSCX, 1, Offset (0x60), Offset (0x62), PSPX, 1, Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Device (PXSX) { Name (_ADR, Zero) OperationRegion (RTLD, PCI_Config, Zero, 0x02) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { RVID, 16 } Method (_STA, 0, NotSerialized) { If (LEqual (RVID, 0xFFFF)) { Return (Zero) } Else { Return (0x0F) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PSW, 1, NotSerialized) { Store (Arg0, ^^^LPC.EC0.PXEF) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, ^^LPC.LNKB, Zero }, Package (0x04) { 0xFFFF, One, ^^LPC.LNKC, Zero }, Package (0x04) { 0xFFFF, 0x02, ^^LPC.LNKD, Zero }, Package (0x04) { 0xFFFF, 0x03, ^^LPC.LNKA, Zero } }) } Else { 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 } }) } } } Device (EXP3) { Name (_ADR, 0x001C0002) OperationRegion (PXCS, PCI_Config, Zero, 0xE0) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { VDID, 16, Offset (0x52), , 13, LASX, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), LSCX, 1, Offset (0x60), Offset (0x62), PSPX, 1, Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Device (PXSX) { Name (_ADR, Zero) OperationRegion (RTLD, PCI_Config, Zero, 0x02) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { RVID, 16 } Method (_STA, 0, NotSerialized) { If (LEqual (RVID, 0xFFFF)) { Return (Zero) } Else { Return (0x0F) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PSW, 1, NotSerialized) { Store (Arg0, ^^^LPC.EC0.PXEF) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, ^^LPC.LNKC, Zero }, Package (0x04) { 0xFFFF, One, ^^LPC.LNKD, Zero }, Package (0x04) { 0xFFFF, 0x02, ^^LPC.LNKA, Zero }, Package (0x04) { 0xFFFF, 0x03, ^^LPC.LNKB, Zero } }) } Else { 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 } }) } } } Device (EXP4) { Name (_ADR, 0x001C0003) OperationRegion (PXCS, PCI_Config, Zero, 0xE0) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { VDID, 16, Offset (0x52), , 13, LASX, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), LSCX, 1, Offset (0x60), Offset (0x62), PSPX, 1, Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Device (PXSX) { Name (_ADR, Zero) OperationRegion (RTLD, PCI_Config, Zero, 0x02) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { RVID, 16 } Method (_STA, 0, NotSerialized) { If (LEqual (RVID, 0xFFFF)) { Return (Zero) } Else { Return (0x0F) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PSW, 1, NotSerialized) { Store (Arg0, ^^^LPC.EC0.PXEF) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, ^^LPC.LNKD, Zero }, Package (0x04) { 0xFFFF, One, ^^LPC.LNKA, Zero }, Package (0x04) { 0xFFFF, 0x02, ^^LPC.LNKB, Zero }, Package (0x04) { 0xFFFF, 0x03, ^^LPC.LNKC, Zero } }) } Else { 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 } }) } } } Device (EXP5) { Name (_ADR, 0x001C0004) OperationRegion (PXCS, PCI_Config, Zero, 0xE0) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { VDID, 16, Offset (0x52), , 13, LASX, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), LSCX, 1, Offset (0x60), Offset (0x62), PSPX, 1, Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Device (PXSX) { Name (_ADR, Zero) OperationRegion (RTLD, PCI_Config, Zero, 0x02) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { RVID, 16 } Method (_STA, 0, NotSerialized) { If (LEqual (RVID, 0xFFFF)) { Return (Zero) } Else { Return (0x0F) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PSW, 1, NotSerialized) { Store (Arg0, ^^^LPC.EC0.PXEF) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, ^^LPC.LNKA, Zero }, Package (0x04) { 0xFFFF, One, ^^LPC.LNKB, Zero }, Package (0x04) { 0xFFFF, 0x02, ^^LPC.LNKC, Zero }, Package (0x04) { 0xFFFF, 0x03, ^^LPC.LNKD, Zero } }) } Else { 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 } }) } } } Device (EXP6) { Name (_ADR, 0x001C0005) OperationRegion (PXCS, PCI_Config, Zero, 0xE0) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { VDID, 16, Offset (0x52), , 13, LASX, 1, Offset (0x5A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x5B), LSCX, 1, Offset (0x60), Offset (0x62), PSPX, 1, Offset (0xDC), , 30, HPSX, 1, PMSX, 1 } Device (PXSX) { Name (_ADR, Zero) OperationRegion (RTLD, PCI_Config, Zero, 0x02) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { RVID, 16 } Method (_STA, 0, NotSerialized) { If (LEqual (RVID, 0xFFFF)) { Return (Zero) } Else { Return (0x0F) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PSW, 1, NotSerialized) { Store (Arg0, ^^^LPC.EC0.PXEF) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (LEqual (GPIC, Zero)) { Return (Package (0x04) { Package (0x04) { 0xFFFF, Zero, ^^LPC.LNKB, Zero }, Package (0x04) { 0xFFFF, One, ^^LPC.LNKC, Zero }, Package (0x04) { 0xFFFF, 0x02, ^^LPC.LNKD, Zero }, Package (0x04) { 0xFFFF, 0x03, ^^LPC.LNKA, Zero } }) } Else { 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 } }) } } } Method (GPIO, 4, NotSerialized) { If (LEqual (Or (Arg0, Arg1), Zero)) { Return (Ones) } Else { If (And (LEqual (Arg0, Zero), LEqual (Arg1, One))) { Return (0x0384) } } Return (Multiply (0x1E, Subtract (0x09, Add (Arg2, Arg3)) )) } Method (GDMA, 5, NotSerialized) { If (LEqual (Arg0, One)) { If (LAnd (Arg1, LNotEqual (Arg3, Zero))) { If (LEqual (Arg4, 0x02)) { Return (0x0F) } Return (0x14) } If (LAnd (Arg2, LNotEqual (Arg3, Zero))) { Return (Multiply (0x0F, Subtract (0x04, Arg4))) } Return (Multiply (0x1E, Subtract (0x04, Arg4))) } Return (Ones) } Method (SFLG, 5, NotSerialized) { Store (Zero, Local0) Or (Arg1, Local0, Local0) Or (ShiftLeft (Arg0, One), Local0, Local0) Or (ShiftLeft (Arg2, 0x03), Local0, Local0) Or (ShiftLeft (Arg3, 0x02), Local0, Local0) Or (ShiftLeft (Arg4, 0x04), Local0, Local0) Return (Local0) } Method (SPIO, 3, NotSerialized) { Name (PBUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateByteField (PBUF, Zero, RCT) CreateByteField (PBUF, One, ISP) CreateByteField (PBUF, 0x02, FAST) CreateByteField (PBUF, 0x03, DMAE) CreateByteField (PBUF, 0x04, PIOT) If (LOr (LEqual (Arg0, Zero), LEqual (Arg0, Ones))) { Return (PBUF) } If (LGreater (Arg0, 0xF0)) { Store (One, DMAE) Store (Zero, PIOT) } Else { Store (One, FAST) If (And (Arg1, 0x02)) { If (And (LEqual (Arg0, 0x78), And (Arg2, 0x02))) { Store (0x03, RCT) Store (0x02, ISP) Store (0x04, PIOT) Return (PBUF) } If (And (LLessEqual (Arg0, 0xB4), And (Arg2, One) )) { Store (One, RCT) Store (0x02, ISP) Store (0x03, PIOT) Return (PBUF) } Else { Store (Zero, RCT) Store (One, ISP) Store (0x02, PIOT) } } } Return (PBUF) } Method (SDMA, 3, NotSerialized) { Name (PBUF, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00 }) CreateByteField (PBUF, Zero, PCT) CreateByteField (PBUF, One, PCB) CreateByteField (PBUF, 0x02, UDMT) CreateByteField (PBUF, 0x03, UDME) CreateByteField (PBUF, 0x04, DMAT) If (LOr (LEqual (Arg0, Zero), LEqual (Arg0, Ones))) { Return (PBUF) } If (LLessEqual (Arg0, 0x78)) { If (And (Arg1, 0x04)) { Store (One, UDME) If (And (LLessEqual (Arg0, 0x0F), And (Arg2, 0x40) )) { Store (One, UDMT) Store (One, PCB) Store (One, PCT) Store (0x06, DMAT) Return (PBUF) } If (And (LLessEqual (Arg0, 0x14), And (Arg2, 0x20) )) { Store (One, UDMT) Store (One, PCB) Store (One, PCT) Store (0x05, DMAT) Return (PBUF) } If (And (LLessEqual (Arg0, 0x1E), And (Arg2, 0x10) )) { Store (One, PCB) Store (0x02, PCT) Store (0x04, DMAT) Return (PBUF) } If (And (LLessEqual (Arg0, 0x2D), And (Arg2, 0x08) )) { Store (One, PCB) Store (One, PCT) Store (0x03, DMAT) Return (PBUF) } If (And (LLessEqual (Arg0, 0x3C), And (Arg2, 0x04) )) { Store (0x02, PCT) Store (0x02, DMAT) Return (PBUF) } If (And (LLessEqual (Arg0, 0x5A), And (Arg2, 0x02) )) { Store (One, PCT) Store (One, DMAT) Return (PBUF) } If (And (LLessEqual (Arg0, 0x78), And (Arg2, One) )) { Store (Zero, DMAT) } } } Return (PBUF) } Device (WMID) { Name (_HID, "PNP0C14") Name (_UID, Zero) Name (WLMP, Zero) Name (WEID, Zero) Name (B0ED, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (B0ED, Zero, WLID) Name (B1ED, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (B2ED, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (B2ED, Zero, BUID) Method (WQCA, 1, NotSerialized) { Store (0xAA, P80H) Return (B1ED) } Method (WSCA, 2, NotSerialized) { Store (0xA1, P80H) CreateDWordField (Arg1, Zero, DDD0) If (LEqual (DDD0, One)) { Add (DDD0, 0x02, DDD0) Store (DDD0, Index (B1ED, Zero)) } } Method (WMCB, 3, NotSerialized) { Store (0xAB, P80H) Store (One, WLMP) Store (Zero, WEID) Return (WH15 (Arg1, Arg2)) } Method (WMCC, 3, NotSerialized) { Store (0xAC, P80H) Store (One, WLMP) Store (One, WEID) Return (WH15 (Arg1, Arg2)) } Name (WQDD, Buffer (0x0560) { /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, /* 0008 */ 0x50, 0x05, 0x00, 0x00, 0x70, 0x1D, 0x00, 0x00, /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, /* 0018 */ 0x18, 0xCB, 0x8D, 0x00, 0x01, 0x06, 0x18, 0x42, /* 0020 */ 0x10, 0x09, 0x10, 0x8A, 0xE7, 0x80, 0x42, 0x04, /* 0028 */ 0x0A, 0x0D, 0xA1, 0x40, 0x30, 0x28, 0x38, 0x4B, /* 0030 */ 0x82, 0x90, 0x0B, 0x26, 0x26, 0x40, 0x08, 0x84, /* 0038 */ 0x24, 0x0A, 0x30, 0x2F, 0x40, 0xB7, 0x00, 0xC3, /* 0040 */ 0x02, 0x6C, 0x0B, 0x30, 0x2D, 0xC0, 0x31, 0x90, /* 0048 */ 0xFA, 0xF7, 0x87, 0x28, 0x0D, 0x44, 0x22, 0x20, /* 0050 */ 0xA9, 0x14, 0x08, 0x09, 0x15, 0xA0, 0x5C, 0x80, /* 0058 */ 0x6F, 0x01, 0xDA, 0x11, 0x25, 0x59, 0x80, 0x65, /* 0060 */ 0x18, 0x11, 0xD8, 0x2B, 0x32, 0x41, 0xE3, 0x04, /* 0068 */ 0xE5, 0x0C, 0x03, 0x05, 0x6F, 0xC0, 0x36, 0x05, /* 0070 */ 0x98, 0x1C, 0x04, 0x95, 0x3D, 0x08, 0x94, 0x0C, /* 0078 */ 0x08, 0x79, 0x14, 0x60, 0x15, 0x4E, 0xD3, 0x49, /* 0080 */ 0x60, 0xF7, 0x73, 0x91, 0x30, 0x18, 0x19, 0x13, /* 0088 */ 0xA0, 0x50, 0x80, 0x46, 0x01, 0xDE, 0x40, 0x64, /* 0090 */ 0x4B, 0x80, 0x41, 0x01, 0xE2, 0x04, 0x28, 0x83, /* 0098 */ 0x12, 0x4A, 0xB8, 0x83, 0x69, 0x4D, 0x80, 0x39, /* 00A0 */ 0x28, 0x82, 0x56, 0x1B, 0x98, 0x50, 0x3A, 0x03, /* 00A8 */ 0x12, 0x48, 0xAC, 0x16, 0xC1, 0x05, 0x13, 0x3B, /* 00B0 */ 0x6A, 0x94, 0x40, 0xD1, 0xDB, 0x1F, 0x04, 0x09, /* 00B8 */ 0xA7, 0x00, 0xA2, 0x06, 0x10, 0x45, 0x1A, 0x0D, /* 00C0 */ 0x6A, 0x44, 0x09, 0x0E, 0xCC, 0xA3, 0x39, 0xD5, /* 00C8 */ 0xCE, 0x05, 0x48, 0x9F, 0xAB, 0x40, 0x8E, 0xF5, /* 00D0 */ 0x34, 0xEA, 0x1C, 0x2E, 0x01, 0x49, 0x60, 0xAC, /* 00D8 */ 0x04, 0xB7, 0xEE, 0x21, 0xE2, 0x5D, 0x03, 0x6A, /* 00E0 */ 0xE2, 0x87, 0xC8, 0x04, 0xC1, 0xA1, 0x86, 0xE8, /* 00E8 */ 0xF1, 0x86, 0x3B, 0x81, 0xA3, 0x3E, 0x12, 0x06, /* 00F0 */ 0x71, 0x50, 0x47, 0x83, 0x39, 0x07, 0xD8, 0xE1, /* 00F8 */ 0x64, 0x34, 0xE3, 0x52, 0x05, 0x98, 0x1D, 0xBA, /* 0100 */ 0x46, 0x96, 0xE0, 0x78, 0x0C, 0x7D, 0xF6, 0xE7, /* 0108 */ 0xD3, 0x33, 0x24, 0x91, 0x3F, 0x08, 0xD4, 0xC8, /* 0110 */ 0x0C, 0xED, 0xA1, 0x9E, 0x56, 0xCC, 0x90, 0x4F, /* 0118 */ 0x01, 0x87, 0xC5, 0xC4, 0x42, 0x68, 0x93, 0x1A, /* 0120 */ 0x0F, 0xC4, 0xFF, 0xFF, 0x78, 0xC0, 0xA3, 0xF8, /* 0128 */ 0x68, 0x20, 0x84, 0x57, 0x82, 0xD8, 0x1E, 0x50, /* 0130 */ 0x82, 0x01, 0x21, 0xE4, 0x64, 0x3C, 0xA8, 0x51, /* 0138 */ 0x18, 0x35, 0xDC, 0x61, 0x1C, 0xB5, 0x8F, 0x0F, /* 0140 */ 0x3A, 0x3C, 0x50, 0x51, 0xC3, 0xA6, 0x67, 0x06, /* 0148 */ 0x7E, 0x5C, 0x60, 0xE7, 0x82, 0x98, 0x8F, 0x00, /* 0150 */ 0x1E, 0xC9, 0x09, 0xF9, 0x38, 0xE1, 0x81, 0xC1, /* 0158 */ 0x07, 0xC4, 0x7B, 0x9F, 0x32, 0x19, 0xC1, 0x99, /* 0160 */ 0x7A, 0x80, 0xE0, 0xB0, 0x3E, 0x7C, 0x02, 0xFC, /* 0168 */ 0xB2, 0xF0, 0xB0, 0x90, 0xC0, 0xF7, 0x07, 0x03, /* 0170 */ 0xE3, 0x46, 0x68, 0xBF, 0x02, 0x10, 0x82, 0x97, /* 0178 */ 0x79, 0x02, 0x90, 0x53, 0x04, 0x8D, 0xCD, 0xD0, /* 0180 */ 0x4F, 0x03, 0x2F, 0x0E, 0xE1, 0x83, 0x47, 0x38, /* 0188 */ 0xDF, 0x03, 0x38, 0x85, 0xC7, 0x00, 0x0F, 0xC1, /* 0190 */ 0x04, 0x16, 0x39, 0x02, 0x94, 0x98, 0x11, 0xA0, /* 0198 */ 0x8E, 0x0D, 0x27, 0x70, 0x3C, 0x61, 0x8F, 0xE0, /* 01A0 */ 0x78, 0xA2, 0x9C, 0xC4, 0x01, 0xF9, 0xA8, 0x61, /* 01A8 */ 0x84, 0xE0, 0xE5, 0x9E, 0x38, 0x88, 0xE6, 0x71, /* 01B0 */ 0x6A, 0x16, 0xEF, 0x00, 0x87, 0xC0, 0xC6, 0x84, /* 01B8 */ 0x3B, 0x40, 0x78, 0x08, 0x7C, 0x00, 0x8F, 0x1A, /* 01C0 */ 0xE7, 0x67, 0xA5, 0xB3, 0x42, 0x9E, 0x3B, 0xF8, /* 01C8 */ 0x98, 0xB0, 0x03, 0xE0, 0xD2, 0x0F, 0x27, 0x28, /* 01D0 */ 0xB1, 0xE7, 0x13, 0x50, 0xFC, 0xFF, 0xCF, 0x27, /* 01D8 */ 0xC0, 0x1E, 0xE4, 0x99, 0xE4, 0xED, 0xE4, 0x68, /* 01E0 */ 0x9E, 0x4B, 0x1E, 0x48, 0x9E, 0x48, 0x9E, 0x4F, /* 01E8 */ 0x8C, 0xF3, 0x66, 0xF2, 0x64, 0x10, 0xE1, 0xF9, /* 01F0 */ 0xC4, 0xD7, 0x14, 0x23, 0x44, 0x09, 0x19, 0xE8, /* 01F8 */ 0xE1, 0x24, 0x42, 0x94, 0x70, 0x81, 0xC2, 0x1A, /* 0200 */ 0x21, 0xC8, 0x63, 0xC1, 0x09, 0x1F, 0x76, 0xAC, /* 0208 */ 0x40, 0x61, 0x9E, 0x4F, 0x98, 0xF0, 0xA7, 0x86, /* 0210 */ 0x2C, 0x9C, 0x4F, 0x00, 0xBA, 0xFC, 0xFF, 0xCF, /* 0218 */ 0x27, 0x80, 0x33, 0x81, 0xE7, 0x13, 0x90, 0x0E, /* 0220 */ 0x8F, 0x1F, 0x4F, 0x80, 0xC9, 0x08, 0xB8, 0x16, /* 0228 */ 0x13, 0x87, 0x2F, 0xD4, 0xE3, 0xC0, 0xA7, 0x11, /* 0230 */ 0x40, 0xCE, 0x09, 0xE4, 0xFD, 0xE3, 0x38, 0x9F, /* 0238 */ 0x44, 0x7C, 0xF7, 0xF2, 0xFF, 0xFF, 0xE6, 0xE5, /* 0240 */ 0x83, 0xC8, 0x1B, 0xC8, 0xC1, 0x3E, 0x8D, 0xB0, /* 0248 */ 0x51, 0x05, 0x33, 0xCA, 0xE9, 0x47, 0x88, 0xFA, /* 0250 */ 0x52, 0x62, 0xC4, 0x08, 0xC1, 0x42, 0x05, 0x8A, /* 0258 */ 0x11, 0x35, 0xB2, 0x61, 0x23, 0xC4, 0x79, 0xF8, /* 0260 */ 0xA2, 0x0F, 0x06, 0x0D, 0xD5, 0xA7, 0x11, 0x80, /* 0268 */ 0x1F, 0xA7, 0x09, 0xDC, 0xE9, 0x02, 0x4C, 0x93, /* 0270 */ 0x38, 0x80, 0x28, 0x45, 0xC3, 0x68, 0x3A, 0x8F, /* 0278 */ 0x03, 0x01, 0x9F, 0x2F, 0x80, 0x89, 0xE2, 0x97, /* 0280 */ 0x9E, 0xCE, 0x27, 0xFE, 0xFF, 0xAB, 0x05, 0x91, /* 0288 */ 0x8D, 0xB5, 0x7A, 0x58, 0x34, 0xF3, 0x03, 0x48, /* 0290 */ 0xF0, 0xC5, 0x03, 0x6B, 0xD8, 0x27, 0x79, 0x16, /* 0298 */ 0x27, 0x99, 0x60, 0x56, 0x28, 0xC1, 0x7A, 0xD8, /* 02A0 */ 0x4E, 0x09, 0xA3, 0x04, 0x24, 0x1A, 0x8E, 0xA1, /* 02A8 */ 0xAD, 0x19, 0x46, 0x70, 0x06, 0xF1, 0x79, 0xC8, /* 02B0 */ 0x21, 0xCE, 0x31, 0x50, 0x8E, 0x0C, 0x1E, 0xC5, /* 02B8 */ 0x59, 0x3D, 0x07, 0x78, 0x8C, 0x8F, 0x0B, 0x6C, /* 02C0 */ 0x7C, 0x3E, 0x08, 0xF0, 0xC3, 0xA0, 0x6F, 0x06, /* 02C8 */ 0x46, 0xB6, 0x9A, 0xD3, 0x0C, 0x0A, 0xCC, 0xC7, /* 02D0 */ 0x0B, 0x4E, 0x50, 0xD7, 0xCD, 0x05, 0x64, 0x43, /* 02D8 */ 0x82, 0x79, 0x10, 0x38, 0x24, 0x30, 0x4F, 0xD5, /* 02E0 */ 0x43, 0x02, 0x1E, 0xE0, 0x87, 0x04, 0xE6, 0x2B, /* 02E8 */ 0x81, 0x87, 0x04, 0x2C, 0xFE, 0xFF, 0xA8, 0x07, /* 02F0 */ 0x71, 0x48, 0x60, 0x46, 0xF2, 0x90, 0xC0, 0xA6, /* 02F8 */ 0xEF, 0xC8, 0x01, 0x0A, 0x20, 0xDF, 0x30, 0x7C, /* 0300 */ 0xDC, 0x7B, 0xCA, 0x60, 0x63, 0x78, 0xE2, 0x33, /* 0308 */ 0x9A, 0xD1, 0xB9, 0xC4, 0xE5, 0xE8, 0x42, 0xC1, /* 0310 */ 0x45, 0xC1, 0xE8, 0x58, 0x60, 0x10, 0x4F, 0xCB, /* 0318 */ 0x51, 0xA6, 0x8A, 0x9E, 0x89, 0x7D, 0x9E, 0x42, /* 0320 */ 0xC8, 0x89, 0x82, 0x5F, 0xDD, 0x74, 0x9F, 0x81, /* 0328 */ 0x76, 0xF7, 0x08, 0xEA, 0x8B, 0x0A, 0x83, 0xF3, /* 0330 */ 0x64, 0x39, 0x9C, 0xAF, 0x14, 0xFC, 0xAE, 0xE3, /* 0338 */ 0xCB, 0x15, 0xF8, 0x46, 0x05, 0xF7, 0x50, 0xC1, /* 0340 */ 0x46, 0x05, 0xF6, 0xEB, 0x88, 0x47, 0x05, 0xD6, /* 0348 */ 0xFF, 0xFF, 0xA8, 0x60, 0x9D, 0x2B, 0xD8, 0xA8, /* 0350 */ 0xC0, 0x7E, 0x26, 0xF0, 0xA8, 0x80, 0xCB, 0xD1, /* 0358 */ 0x82, 0x8D, 0x0A, 0xEC, 0x1E, 0x46, 0x05, 0xCA, /* 0360 */ 0x20, 0xD7, 0x0F, 0x28, 0xD0, 0x8F, 0x96, 0xAF, /* 0368 */ 0x40, 0x0F, 0x41, 0x8F, 0x51, 0x1E, 0x14, 0xB8, /* 0370 */ 0x61, 0x7C, 0xDF, 0x03, 0x4E, 0x17, 0x10, 0x98, /* 0378 */ 0xF0, 0x18, 0xC1, 0x47, 0x18, 0xF2, 0xFF, 0x27, /* 0380 */ 0x28, 0x6B, 0x5C, 0xA8, 0xFB, 0x8A, 0xAF, 0x72, /* 0388 */ 0xEC, 0x3A, 0x85, 0xBB, 0x2A, 0x62, 0x60, 0x3D, /* 0390 */ 0x52, 0x0E, 0x6B, 0xB4, 0xB0, 0x07, 0xFC, 0xA6, /* 0398 */ 0xE5, 0x63, 0x9A, 0x67, 0x66, 0x8C, 0xB0, 0x1E, /* 03A0 */ 0xAD, 0x95, 0x92, 0xD2, 0x2B, 0x9F, 0x23, 0xDD, /* 03A8 */ 0xFA, 0x00, 0x41, 0x73, 0x79, 0x10, 0x78, 0xCE, /* 03B0 */ 0x7B, 0x4B, 0x78, 0x73, 0xF7, 0x59, 0xC2, 0xC7, /* 03B8 */ 0xBD, 0xC7, 0x82, 0x97, 0x80, 0x97, 0x81, 0xF7, /* 03C0 */ 0x92, 0x57, 0x5A, 0x76, 0xED, 0xF3, 0xAD, 0xCF, /* 03C8 */ 0x48, 0x0F, 0x80, 0x46, 0x09, 0x12, 0x23, 0xE6, /* 03D0 */ 0xFB, 0x89, 0x91, 0x1F, 0x6D, 0x7D, 0x69, 0xF0, /* 03D8 */ 0xBD, 0x2F, 0xC6, 0x5B, 0x1F, 0x8B, 0x77, 0xEB, /* 03E0 */ 0x03, 0x44, 0xFD, 0xFF, 0x6F, 0x7D, 0xC0, 0xFE, /* 03E8 */ 0x72, 0xF1, 0xD6, 0x07, 0x1C, 0x30, 0x23, 0xBE, /* 03F0 */ 0xF6, 0x01, 0x93, 0x34, 0x2B, 0xD0, 0x59, 0xC3, /* 03F8 */ 0x49, 0x40, 0x74, 0xED, 0xC3, 0xE9, 0x01, 0xD2, /* 0400 */ 0xB5, 0x0F, 0xAF, 0x03, 0x96, 0x8E, 0xDB, 0x0A, /* 0408 */ 0x60, 0x94, 0xE4, 0x58, 0x85, 0xD2, 0x7E, 0xAC, /* 0410 */ 0xA2, 0x20, 0x3E, 0xCE, 0xF8, 0xDA, 0x07, 0x58, /* 0418 */ 0xF9, 0xFF, 0x5F, 0xFB, 0x00, 0x26, 0x0E, 0x09, /* 0420 */ 0xE6, 0xF5, 0xE2, 0x09, 0xC7, 0x43, 0x02, 0xEB, /* 0428 */ 0x8D, 0xC6, 0x43, 0x82, 0xFB, 0xFF, 0x1F, 0x34, /* 0430 */ 0xD8, 0x86, 0x04, 0xE6, 0x8B, 0x9D, 0xAF, 0x8E, /* 0438 */ 0xC0, 0x59, 0xF6, 0x82, 0x75, 0x29, 0xE1, 0x42, /* 0440 */ 0x61, 0x74, 0xB4, 0x30, 0x88, 0x01, 0x7D, 0x75, /* 0448 */ 0x04, 0x7E, 0x17, 0x3E, 0xE0, 0x73, 0x75, 0x04, /* 0450 */ 0x0E, 0x17, 0x3E, 0xFC, 0xFF, 0xFF, 0xEA, 0x08, /* 0458 */ 0x38, 0xB8, 0xF1, 0x81, 0xF3, 0xEA, 0x08, 0xFC, /* 0460 */ 0x4C, 0x5C, 0x1D, 0x01, 0x1D, 0x2A, 0x46, 0x0E, /* 0468 */ 0x74, 0x4E, 0x31, 0x8C, 0xE0, 0xFF, 0x7F, 0x54, /* 0470 */ 0xE0, 0x06, 0xF6, 0xF1, 0x00, 0xD8, 0x8C, 0x0A, /* 0478 */ 0x18, 0x9C, 0x06, 0x7C, 0x09, 0x05, 0xBC, 0x2A, /* 0480 */ 0xB4, 0xE9, 0x53, 0xA3, 0x51, 0xAB, 0x06, 0x65, /* 0488 */ 0x6A, 0x94, 0x69, 0x50, 0xAB, 0x4F, 0xA5, 0xC6, /* 0490 */ 0x8C, 0x5D, 0x29, 0x13, 0x8C, 0xB1, 0x02, 0x8D, /* 0498 */ 0xC5, 0x22, 0x96, 0x23, 0x10, 0x87, 0x04, 0xA1, /* 04A0 */ 0x22, 0x1F, 0x43, 0x02, 0x71, 0x44, 0x10, 0x1A, /* 04A8 */ 0xE1, 0x4D, 0x23, 0x10, 0xC7, 0x5B, 0x9B, 0x40, /* 04B0 */ 0x2C, 0xEE, 0xA1, 0x21, 0x10, 0xFF, 0xFF, 0x83, /* 04B8 */ 0x3C, 0x23, 0x64, 0x04, 0x44, 0xA9, 0x40, 0x74, /* 04C0 */ 0x4B, 0x22, 0x6B, 0x12, 0x90, 0x95, 0x81, 0x08, /* 04C8 */ 0xC8, 0x81, 0x80, 0x68, 0x3A, 0x20, 0x2A, 0xEA, /* 04D0 */ 0x21, 0x20, 0x20, 0x2B, 0x04, 0x11, 0x90, 0xD5, /* 04D8 */ 0xD8, 0x00, 0x62, 0xDA, 0x40, 0x04, 0xE4, 0x5C, /* 04E0 */ 0x40, 0x34, 0x25, 0x10, 0x55, 0xA8, 0x03, 0x88, /* 04E8 */ 0xE9, 0x05, 0x11, 0x90, 0xB3, 0x02, 0xD1, 0xE4, /* 04F0 */ 0x40, 0x54, 0xB3, 0x0F, 0x20, 0x96, 0x00, 0x44, /* 04F8 */ 0x40, 0x4E, 0x4A, 0x23, 0x10, 0xEB, 0x54, 0x02, /* 0500 */ 0xC2, 0x52, 0xBD, 0x1D, 0x04, 0xE8, 0x88, 0x20, /* 0508 */ 0x02, 0xB2, 0xB2, 0x2F, 0xAB, 0x80, 0x2C, 0x13, /* 0510 */ 0x44, 0x40, 0x4E, 0x07, 0x44, 0xA3, 0x02, 0x51, /* 0518 */ 0x85, 0x56, 0x80, 0x98, 0x5C, 0x10, 0x01, 0x39, /* 0520 */ 0x25, 0x10, 0x8D, 0x0C, 0x44, 0x95, 0x6A, 0x01, /* 0528 */ 0x62, 0xB2, 0x41, 0x04, 0x64, 0x89, 0x5E, 0x80, /* 0530 */ 0x98, 0x60, 0x10, 0x01, 0x39, 0x2C, 0x10, 0x8D, /* 0538 */ 0x0E, 0x44, 0x65, 0xBF, 0x0A, 0x04, 0xE4, 0x10, /* 0540 */ 0x20, 0x3A, 0x25, 0x10, 0x33, 0x40, 0x4C, 0x0E, /* 0548 */ 0x88, 0x0E, 0x00, 0x04, 0x88, 0xC6, 0x02, 0xA2, /* 0550 */ 0x92, 0xFE, 0x5B, 0x02, 0xB2, 0x40, 0x10, 0x01, /* 0558 */ 0x39, 0x1C, 0x10, 0x8D, 0x0A, 0x44, 0xFF, 0xFF }) Name (FIRE, Zero) Name (WCDA, Zero) Name (CBE0, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (CBE0, Zero, BER4) CreateWordField (CBE0, Zero, BUF0) CreateWordField (CBE0, 0x02, BER2) Name (CBE1, Buffer (0x14) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (CBE1, Zero, B1R0) CreateDWordField (CBE1, 0x04, B1R4) CreateDWordField (CBE1, 0x08, B1R8) CreateDWordField (CBE1, 0x0C, B1RC) CreateDWordField (CBE1, 0x10, B1ER) OperationRegion (RAM, EmbeddedControl, Zero, 0xFF) Field (RAM, ByteAcc, Lock, Preserve) { CMD0, 8, Offset (0x02), NBID, 8, Offset (0x08), DAT0, 8, DAT1, 8, , 2, KWLD, 2, KBLD, 2, Offset (0x51), BLST, 1, BBST, 1, Offset (0x52), WDEV, 1, BDEV, 1, GDEV, 1, , 3, WDPM, 1, WEPM, 1, Offset (0x57), CDPR, 1, Offset (0x70), CRTS, 1, KLID, 1, , 3, KACS, 1, Offset (0x71), WSTS, 1, BSTS, 1, Offset (0x73), GGTS, 1, Offset (0x77), , 3, LSTS, 1, Offset (0x82), MSTP, 4, Offset (0x83), CSTP, 4, Offset (0x88), NB0A, 1, Offset (0x89), NB1A, 1, Offset (0x95), FAN1, 8, Offset (0xA8), THS0, 8, THS1, 8 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0x17), SMBS, 8, SPTL, 8, Offset (0x1A), SADD, 8, SCOM, 8, SDTA, 16 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0xE0), BSRC, 16, BSFC, 16, Offset (0xE8), BSVO, 16, , 15, BSCM, 1, BSCU, 16, BSBT, 16 } Field (RAM, ByteAcc, Lock, Preserve) { Offset (0xE0), BSDC, 16, BSDV, 16, BSSN, 16, Offset (0xEE), BSCY, 16 } Field (RAM, ByteAcc, NoLock, Preserve) { Offset (0xE2), BSTF, 16, BSTE, 16, Offset (0xEA), BSMD, 16, BSCC, 16, BSME, 16 } OperationRegion (PCNT, SystemIO, 0x0410, 0x04) Field (PCNT, ByteAcc, NoLock, Preserve) { , 1, TDTY, 3, T_EN, 1, , 12, T_ST, 1 } Method (WQD8, 1, NotSerialized) { Store (0xD8, P80H) Store (Zero, Local0) If (WDEV) { Store (WTYP (), Local0) } Store (BDEV, Local1) ShiftLeft (Local1, 0x04, Local1) Or (Local0, Local1, Local0) If (LGreaterEqual (MSTP, 0x0F)) { ShiftLeft (One, 0x05, Local1) Or (Local0, Local1, Local0) } Store (GDEV, Local1) ShiftLeft (Local1, 0x06, Local1) Or (Local0, Local1, Local0) Store (One, Local1) ShiftLeft (Local1, 0x07, Local1) Or (Local0, Local1, Local0) Store (Zero, BER2) Store (Local0, BUF0) Return (CBE0) } Method (WMDA, 3, NotSerialized) { Store (0xDA, P80H) CreateDWordField (Arg2, Zero, CB04) CreateByteField (Arg2, Zero, CB01) Store (Zero, BER2) If (LEqual (Arg1, One)) { Store (WSTS, Local0) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x02)) { Store (BSTS, Local0) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x03)) { Store (CSTP, Local0) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x04)) { If (WDEV) { If (CB04) { Store (One, Local0) } Else { Store (Zero, Local0) } Store (Local0, WSTS) } Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x05)) { If (BDEV) { If (CB04) { Store (One, Local0) } Else { Store (Zero, Local0) } Store (Local0, BSTS) } Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x06)) { Store (CB01, Local0) If (LLessEqual (Local0, MSTP)) { Store (Local0, CSTP) If (BCVE) {} } Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x07)) { If (CB04) { Store (One, Local0) } Else { Store (Zero, Local0) } Store (Local0, FIRE) Store (Local0, WEPM) Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x0A)) { Store (GGTS, Local0) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x0B)) { If (GDEV) { If (CB04) { Store (One, Local0) } Else { Store (Zero, Local0) } Store (Local0, GGTS) } Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x0C)) {} If (LEqual (Arg1, 0x0D)) { Store (BLST, Local0) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x0E)) { Store (BBST, Local0) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x0F)) { If (CB04) { Store (One, Local0) } Else { Store (Zero, Local0) } Store (Local0, BBST) Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x10)) { If (CB04) { Store (One, Local0) } Else { Store (Zero, Local0) } Store (Local0, WCDA) Store (Local0, WDPM) Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x11)) { Store (GTRY (), Local0) Store (Local0, BUF0) Return (CBE0) } Store (One, BER2) Return (CBE0) } Method (WMDB, 3, NotSerialized) { Store (0xDB, P80H) CreateDWordField (Arg2, Zero, CD04) CreateByteField (Arg2, Zero, CD01) Store (Zero, BER2) If (LEqual (Arg1, One)) { Store (Zero, Local0) If (T_EN) { Store (TDTY, Local0) If (LEqual (Local0, Zero)) { Store (0x04, Local0) } } Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x02)) { If (CD04) { Store (CD01, TDTY) Store (One, T_EN) } Else { Store (Zero, T_EN) } Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x03)) {} If (LEqual (Arg1, 0x04)) {} Store (One, BER2) Return (CBE0) } Method (WMDC, 3, NotSerialized) { Store (0xDC, P80H) CreateDWordField (Arg2, Zero, CB04) CreateByteField (Arg2, Zero, CB01) If (LEqual (Arg1, 0x05)) { Store (CDPR, Local1) Store (Zero, BER2) Store (Local1, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x0E)) { If (CB04) { Store (One, Local0) } Else { Store (Zero, Local0) } Store (Local0, ^^AHCI.SP4E) Store (Local0, CDPR) Store (Zero, BER2) Store (Zero, BUF0) Sleep (0xC8) Notify (AHCI, Zero) Return (CBE0) } Store (One, BER2) Return (CBE0) } Method (WMDE, 3, NotSerialized) { Store (0xCE, P80H) CreateDWordField (Arg2, Zero, CD04) CreateByteField (Arg2, Zero, CD01) CreateByteField (Arg2, 0x04, CD02) If (LEqual (Arg1, One)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) And (Local2, 0xF0, NBID) Store (BSCM, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x02)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) And (Local2, 0xF0, NBID) Store (BSBT, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x03)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) And (Local2, 0xF0, NBID) Store (BSVO, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x04)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) And (Local2, 0xF0, NBID) Store (BSCU, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x05)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) And (Local2, 0xF0, NBID) Store (BSRC, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x06)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) And (Local2, 0xF0, NBID) Store (BSFC, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x07)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) Or (Local2, One, NBID) Store (BSCY, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x08)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) Or (Local2, One, NBID) Store (BSDC, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x09)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) Or (Local2, One, NBID) Store (BSDV, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x0A)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) Or (Local2, 0x05, NBID) Store (BSMD, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x0B)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) Or (Local2, One, NBID) Store (BSSN, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x0C)) { Or (NB0A, NB1A, Local0) If (LEqual (Local0, Zero)) { Store (0x03, BER2) Return (CBE0) } If (CD04) { Store (0x81, DAT0) } Else { Store (0x80, DAT0) } Store (0xE9, CMD0) Store (Zero, BER2) Store (One, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x0D)) {} If (LEqual (Arg1, 0x0E)) {} If (LEqual (Arg1, 0x0F)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) Or (Local2, 0x05, NBID) Store (BSTF, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x10)) { Store (GBID (CD04), Local2) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) Or (Local2, 0x05, NBID) Store (BSME, Local0) Release (^^LPC.EC0.BATM) Store (Local0, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x11)) { Store (Zero, BER2) Store (0x0258, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x12)) { Store (Zero, BER2) Store (0x21, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x13)) { GBID (CD02) If (BER2) { Return (CBE0) } Acquire (^^LPC.EC0.BATM, 0xFFFF) Decrement (CD02) Store (CD02, SMBS) Store (0x16, SADD) Store (CD01, SCOM) Store (0x09, SPTL) Store (Zero, Local0) Store (0x02, BER2) While (LLess (Local0, 0x64)) { If (LEqual (SPTL, Zero)) { Store (Zero, BER2) Store (SDTA, BUF0) Break } Else { Sleep (One) Increment (Local0) } } Release (^^LPC.EC0.BATM) Return (CBE0) } Store (One, BER2) Return (CBE0) } Method (GBID, 1, NotSerialized) { Store (Zero, Local1) If (LEqual (Arg0, One)) { If (NB0A) { Store (Zero, Local0) } Else { Store (0x02, Local1) } } Else { If (LEqual (Arg0, 0x02)) { If (NB1A) { Store (0x10, Local0) } Else { Store (0x02, Local1) } } Else { Store (0x02, Local1) } } Store (Zero, BUF0) Store (Local1, BER2) Return (Local0) } Method (ACRN, 1, NotSerialized) { Store (Zero, Local0) If (LEqual (Arg0, One)) { Store (0x0100, Local0) } If (LEqual (Arg0, 0x02)) { Store (0x0200, Local0) } If (LEqual (Arg0, 0x03)) { Store (0x0300, Local0) } If (LEqual (Arg0, 0x04)) { Store (0x0500, Local0) } If (LEqual (Arg0, 0x05)) { Store (0x0501, Local0) } If (LEqual (Arg0, 0x06)) { Store (0x0B00, Local0) } If (LEqual (Arg0, 0x07)) { If (WCDA) { Store (0x0C00, Local0) Store (0xEC, P80H) } } If (LEqual (Arg0, 0x08)) { Store (0x0800, Local0) } If (LEqual (Arg0, 0x0C)) { Store (0x0900, Local0) } If (LEqual (Arg0, 0x0D)) { Store (0x0A00, Local0) } Store (Local0, BUID) Notify (WMID, 0x80) } Method (GACR, 0, NotSerialized) { Store (Zero, Local0) And (BUID, 0xFF00, Local1) If (LEqual (Local1, 0x0100)) { Or (Local1, WSTS, Local0) } If (LEqual (Local1, 0x0200)) { Or (Local1, BSTS, Local0) } If (LEqual (Local1, 0x0300)) { Or (Local1, CSTP, Local0) } If (LEqual (Local1, 0x0B00)) { Or (Local1, BBST, Local0) } If (LEqual (Local1, 0x0900)) { Store (0x0900, Local0) If (LEqual (LSTS, Zero)) { Increment (Local0) } } If (LEqual (Local1, 0x0A00)) { Or (Local1, BLST, Local0) } If (LEqual (Local1, 0x0800)) { Or (Local1, GGTS, Local0) } If (LEqual (Local1, 0x0C00)) { If (WCDA) { Store (Local1, Local0) Store (0xEE, P80H) } } Store (Local0, BUID) Return (Local0) } Method (WTYP, 0, NotSerialized) { Store (Zero, Local1) Store (WLNT, Local0) If (And (Local0, One)) { Store (0x02, Local1) } If (And (Local0, 0x02)) { Store (0x06, Local1) } If (And (Local0, 0x04)) { Store (0x05, Local1) } If (And (Local0, 0x08)) { Store (0x04, Local1) } If (And (Local0, 0x10)) { Store (0x03, Local1) } If (And (Local0, 0x20)) { Store (0x07, Local1) } Return (Local1) } Name (FDSP, Zero) Name (FKDN, Zero) Name (B4ED, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (B4ED, Zero, DSID) Method (WMDF, 3, NotSerialized) { Store (0xCF, P80H) CreateDWordField (Arg2, Zero, CF04) Store (Zero, BER2) If (LEqual (Arg1, One)) { Store (Zero, FKDN) If (CF04) { Store (One, Local0) } Else { Store (Zero, Local0) } Store (Local0, FDSP) Store (Zero, BER4) Return (CBE0) } If (LEqual (Arg1, 0x02)) { Store (FDSP, BUF0) Return (CBE0) } If (LEqual (Arg1, 0x03)) { If (LEqual (FKDN, One)) { Store (One, Local0) } Else { Store (0x02, Local0) } Store (Local0, BUF0) Return (CBE0) } } Method (ADSN, 1, NotSerialized) { Store (Zero, Local0) If (FDSP) { If (LEqual (Arg0, One)) { If (CRTS) { Store (0x0601, Local0) } Else { Store (0x0600, Local0) } } If (LEqual (Arg0, 0x02)) { Store (One, FKDN) Store (0x00015001, Local0) } If (LEqual (Arg0, 0x03)) { If (LEqual (FKDN, One)) { Store (0x02, FKDN) Store (0x00010002, Local0) } } Store (Local0, DSID) If (Local0) { Notify (WMID, 0x82) } } Else { Store (Zero, DSID) } } Method (BLAP, 0, NotSerialized) { If (FIRE) { ACRN (0x03) } } Name (ERRD, 0x00010000) Name (BUFF, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateByteField (BUFF, Zero, BF00) CreateByteField (BUFF, One, BF01) CreateByteField (BUFF, 0x02, BF02) CreateByteField (BUFF, 0x03, BF03) Name (BUF1, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (AADS, Buffer (0x04) { 0x00 }) CreateField (AADS, Zero, 0x04, AS00) CreateField (AADS, 0x04, One, AS01) CreateField (AADS, 0x05, One, AS02) CreateField (AADS, 0x10, 0x10, AS03) Name (BAEF, Zero) Name (BADF, Zero) Name (BADG, Package (0x11) { Zero, Zero, Zero, Zero, Zero, Zero, Zero, 0x00010000, 0x00010000, 0x00010000, 0x00010000, Zero, 0x00010000, Zero, Zero, Zero, Zero }) Name (WLDS, Zero) Name (WLED, Zero) Name (BTDS, Zero) Name (BTED, Zero) Name (BLDS, Zero) Name (BLED, Zero) Name (NTDC, Zero) Name (NTDV, Zero) Name (WLSD, 0x0100) Name (WLSE, 0x0101) Name (BLTD, 0x0200) Name (BLTE, 0x0201) Name (LBL0, 0x0300) Name (LBL1, 0x0301) Name (LBL2, 0x0302) Name (LBL3, 0x0303) Name (LBL4, 0x0304) Name (LBL5, 0x0305) Name (LBL6, 0x0306) Name (LBL7, 0x0307) Name (LBL8, 0x0308) Name (LBL9, 0x0309) Name (LBLA, 0x030A) Name (LBLB, 0x030B) Name (LBLC, 0x030C) Name (LBLD, 0x030D) Name (LBLE, 0x030E) Name (LBLF, 0x030F) Name (CADI, 0x0401) Name (CADO, 0x0400) Name (GSEE, 0x0501) Name (GSED, 0x0502) Name (VAPI, 0x0601) Name (VAPO, 0x0600) Name (WBBO, 0x0701) Name (WBBI, 0x0700) Name (G3MD, 0x0800) Name (G3ME, 0x0801) Name (LANI, 0x0900) Name (LANO, 0x0901) Name (LDOF, 0x0A00) Name (LDON, 0x0A01) Name (ODDE, 0x0C00) Name (FNKE, 0x00010002) Name (FNF5, 0x00015001) Name (BBSB, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateField (BBSB, Zero, 0x10, BBD0) CreateField (BBSB, 0x10, 0x10, BBD1) Name (TLS0, Zero) Name (TLS1, One) Name (TLS2, 0x02) Name (TLS3, 0x03) Name (TLS4, 0x04) Name (TLS5, 0x05) Name (TLS6, 0x06) Name (TLS7, 0x07) Name (BCDS, Package (0x0D) { 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000 }) Name (BDDS, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateField (BDDS, Zero, 0x10, BDD0) CreateField (BDDS, 0x10, 0x10, BDD1) Name (DSY0, Buffer (0x28) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Name (DSY1, Buffer (0x18) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Name (DSY2, Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Name (DSY3, Buffer (0x18) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Name (DSY4, Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Name (DSY5, Buffer (0x28) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateField (DSY0, Zero, 0x40, DY00) CreateField (DSY0, 0x40, 0x40, DY01) CreateField (DSY0, 0x80, 0x40, DY02) CreateField (DSY0, 0xC0, 0x40, DY03) CreateField (DSY0, 0x0100, 0x40, DY04) CreateField (DSY1, Zero, 0x40, DY10) CreateField (DSY1, 0x40, 0x40, DY11) CreateField (DSY1, 0x80, 0x40, DY12) CreateField (DSY2, Zero, 0x40, DY20) CreateField (DSY2, 0x40, 0x10, DY21) CreateField (DSY2, 0x50, 0x10, DY22) CreateField (DSY0, Zero, 0xC0, DSX4) Name (BEDS, Package (0x12) { 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000 }) Name (WIT0, Zero) Name (DSY6, Buffer (0x14) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00 }) CreateField (DSY6, Zero, 0x20, DY60) CreateField (DSY6, 0x20, 0x20, DY61) CreateField (DSY6, 0x40, 0x20, DY62) CreateField (DSY6, 0x60, 0x20, DY63) CreateField (DSY6, 0x80, 0x20, DY64) Name (WPRW, Buffer (0x14) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00 }) CreateField (WPRW, Zero, 0x08, WWD0) CreateField (WPRW, 0x08, 0x08, WWD1) CreateField (WPRW, 0x10, 0x08, WWD2) CreateField (WPRW, 0x18, 0x08, WWD3) CreateField (WPRW, 0x20, 0x08, WWD4) CreateField (WPRW, 0x28, 0x20, WWD5) Name (WPCI, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateField (WPCI, Zero, 0x08, WPIR) CreateField (WPCI, 0x08, 0x03, WPIF) CreateField (WPCI, 0x0B, 0x05, WPID) CreateField (WPCI, 0x10, 0x08, WPIB) Name (BFDS, Package (0x04) { 0x02, 0x02, 0x02, 0x02 }) Name (GSTS, Zero) Name (BFEF, Zero) Name (BGEF, Zero) Name (BGDS, Package (0x01) { One }) Name (BOOT, Buffer (0x14) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0010 */ 0x00, 0x00, 0x00, 0x00 }) CreateField (BOOT, Zero, 0x80, BO01) CreateField (BOOT, 0x80, 0x10, BO02) CreateField (BOOT, 0x90, 0x08, BO03) CreateField (BOOT, 0x98, 0x08, BO04) Method (AAF1, 0, NotSerialized) { Store (Zero, AS02) Store (Zero, AS03) } Method (WGDS, 1, NotSerialized) { Name (_T_0, Zero) Store (Arg0, _T_0) If (LEqual (_T_0, One)) {} Else { If (LEqual (_T_0, 0x02)) {} Else { If (LEqual (_T_0, 0x03)) {} Else { If (LEqual (_T_0, 0x08)) { Store (One, Index (BADG, 0x07)) } Else { If (LEqual (_T_0, 0x09)) { Store (Zero, Index (BADG, 0x08)) } Else { If (LEqual (_T_0, 0x0C)) {} Else { If (LEqual (_T_0, 0x0D)) {} Else { If (LEqual (_T_0, 0x11)) { GTRY () If (ODDR) { Store (One, Index (BADG, 0x10)) } Else { Store (Zero, Index (BADG, 0x10)) } } } } } } } } } } Method (WSDS, 2, NotSerialized) { Store (Arg1, BUFF) Store (Arg0, Local0) Store (BF00, Local1) Store (Zero, Index (BADG, Subtract (Local0, One))) Name (_T_0, Zero) Store (Local1, _T_0) If (LEqual (_T_0, Zero)) { Name (_T_1, Zero) Store (Local0, _T_1) If (LEqual (_T_1, 0x04)) {} Else { If (LEqual (_T_1, 0x05)) {} Else { If (LEqual (_T_1, 0x06)) {} Else { If (LEqual (_T_1, 0x07)) { Store (Zero, BAEF) } Else { If (LEqual (_T_1, 0x10)) { Store (Zero, BAEF) } Else { Store (0x0100, Index (BADG, Subtract (Local0, One))) } } } } } } Else { Name (_T_2, Zero) Store (Local0, _T_2) If (LEqual (_T_2, 0x04)) {} Else { If (LEqual (_T_2, 0x05)) {} Else { If (LEqual (_T_2, 0x06)) {} Else { If (LEqual (_T_2, 0x07)) { Store (One, BAEF) } Else { If (LEqual (_T_2, 0x10)) { Store (One, BAEF) } Else { Store (0x0100, Index (BADG, Subtract (Local0, One))) } } } } } } } Method (OEMN, 0, NotSerialized) { If (LEqual (BGEF, One)) { Store (NTDV, Local0) If (LNotEqual (Local0, Zero)) { Store (Zero, NTDV) Return (Local0) } } If (LEqual (BAEF, One)) { Store (NTDC, Local0) If (LNotEqual (Local0, Zero)) { Store (Zero, NTDC) Return (Local0) } } If (LEqual (BFEF, One)) {} } Method (STRL, 2, NotSerialized) { Store (Arg0, Local0) Store (Arg1, BUFF) Store (Zero, BBSB) Name (_T_0, Zero) Store (Local0, _T_0) If (LEqual (_T_0, One)) { Store (THRO, BBSB) } Else { If (LEqual (_T_0, 0x02)) { Store (BF00, THRO) } Else { Store (0x00010000, BBSB) } } } Method (WODP, 2, NotSerialized) { CreateDWordField (Arg1, Zero, SODP) If (LLess (Arg0, 0x0A)) { Name (_T_0, Zero) Store (Arg0, _T_0) If (LEqual (_T_0, 0x03)) {} Else { If (LEqual (_T_0, 0x05)) { Store (^^LPC.EC0.ODPW, Index (BCDS, Subtract (Arg0, One))) } Else { Store (One, Index (BCDS, Subtract (Arg0, One))) } } } Else { Name (_T_1, Zero) Store (Arg0, _T_1) If (LEqual (_T_1, 0x0C)) {} Else { If (LEqual (_T_1, 0x0E)) { If (SODP) { Store (One, ^^LPC.EC0.ODPW) } Else { Store (Zero, ^^LPC.EC0.ODPW) } Store (Zero, Index (BCDS, Subtract (Arg0, 0x0A))) } Else { Store (One, Index (BCDS, Subtract (Arg0, 0x0A))) } } } } Method (GCPU, 1, NotSerialized) { Store (DSY5, DSY0) Store (Arg0, Local0) Store (IHWM (Zero, Arg0), Local2) Store (Local2, DSY6) Store (DY60, DY00) Store (DY61, DY01) Store (DY62, DY02) Store (DY63, DY03) } Method (MSRR, 1, NotSerialized) { Store (DSY3, DSY1) Store (Arg0, DY00) Store (IHWM (One, Arg0), Local2) Store (Local2, DSY6) Store (DY60, DY10) Store (DY61, DY11) Store (Zero, WIT0) Store (WIT0, DY12) } Method (MSRW, 1, NotSerialized) { Store (DSY3, DSY1) Store (IHWM (0x02, Arg0), Local2) Store (Local2, DSY6) Store (DY60, DY10) Store (DY61, DY11) Store (Zero, WIT0) Store (WIT0, DY12) } Method (C4C3, 2, NotSerialized) { Store (Arg1, BUFF) If (LEqual (Arg0, 0x04)) { Store (BF00, ^^LPC.C4O3) Store (BF00, Index (BCDS, 0x09)) } Else { Store (^^LPC.C4O3, Index (BCDS, 0x09)) } } Method (CPUF, 0, NotSerialized) { } Method (CPUT, 0, NotSerialized) { } Method (PCIR, 1, NotSerialized) { Store (Arg0, Local0) Store (IHWM (0x03, Arg0), Local2) Store (Local2, DY20) Store (Local2, DSY6) Store (DSY4, DSY2) Store (DY60, DY20) } Method (PCIW, 1, NotSerialized) { Store (Arg0, Local0) Store (Arg0, DY20) Store (IHWM (0x04, Arg0), Local2) Store (Local2, DSY6) Store (DY61, BUFF) } Method (CPUS, 0, NotSerialized) { Store (IHWM (0x05, Zero), Local2) Store (Local2, BUFF) Store (BUFF, Index (BCDS, 0x0C)) } Method (PCID, 1, NotSerialized) { Store (IHWM (0x06, Arg0), Local2) Store (Local2, DSY6) } Method (BTIF, 2, NotSerialized) { Store (Arg0, Local0) Store (Arg1, BUFF) If (LEqual (Local0, 0x0D)) { Store (BF02, BF00) Store (BF01, Local1) Store (BF02, BF00) Store (BF01, Local1) } If (LEqual (Local0, 0x0E)) { If (LEqual (BF00, Zero)) { Store (0xFF, BF00) } Else { Store (BF00, Local1) Store (One, BF00) } } } Method (CKGS, 0, NotSerialized) { Store (One, GSTS) Return (GSTS) } Method (WSHP, 1, NotSerialized) { } Method (WSSL, 1, NotSerialized) { } Method (WSSP, 1, NotSerialized) { } Method (WSSE, 1, NotSerialized) { } Method (WSVE, 1, NotSerialized) { Store (Arg0, Local0) If (LEqual (Local0, One)) { Store (One, BGEF) } Else { Store (Zero, BGEF) } Store (Zero, Index (BGDS, Zero)) } Name (TRYT, Zero) Method (GTRY, 0, NotSerialized) { Store (One, CMMD) Store (Zero, SSMD) Store (0xA3, SSMP) Store (Zero, TRYT) Store (0x02, CMMD) Store (One, SSMD) Store (0xA3, SSMP) While (LEqual (ODBY, One)) { Store (0x02, CMMD) Store (0x02, SSMD) Store (0xA3, SSMP) If (LEqual (ODBY, Zero)) { Break } Else { Sleep (0x03E8) Increment (TRYT) } If (LEqual (TRYT, One)) { Break } } Store (0x02, CMMD) Store (0x03, SSMD) Store (0xA3, SSMP) Store (0x03, CMMD) Store (Zero, SSMD) Store (0xA3, SSMP) Return (ODDR) } Method (CDEJ, 0, NotSerialized) { If (LEqual (SCFG, One)) { If (LEqual (PROC, Zero)) { Store (One, PROC) Store (One, CMMD) Store (Zero, SSMD) Store (0xA2, SSMP) Sleep (0x64) Store (Zero, TRYT) Store (0x04, CMMD) Store (One, SSMD) Store (0xA2, SSMP) While (LEqual (ODBY, One)) { Store (0x04, CMMD) Store (0x02, SSMD) Store (0xA2, SSMP) If (LEqual (ODBY, Zero)) { Break } Else { Sleep (0x03E8) Increment (TRYT) } If (LEqual (TRYT, One)) { Break } } Store (0x04, CMMD) Store (0x03, SSMD) Store (0xA2, SSMP) Sleep (0x07D0) Store (Zero, TRYT) Store (0x02, CMMD) Store (One, SSMD) Store (0xA2, SSMP) While (LEqual (ODBY, One)) { Store (0x02, CMMD) Store (0x02, SSMD) Store (0xA2, SSMP) If (LEqual (ODBY, Zero)) { Break } Else { Sleep (0x03E8) Increment (TRYT) } If (LEqual (TRYT, One)) { Break } } Store (0x02, CMMD) Store (0x03, SSMD) Store (0xA2, SSMP) Sleep (0x64) Store (0x03, CMMD) Store (Zero, SSMD) Store (0xA2, SSMP) Sleep (0x64) Notify (^^AHCI.PRT4, One) Store (Zero, PROC) } } Else { If (LEqual (PROC, Zero)) { Store (One, PROC) Store (Zero, SSMD) Store (0xA4, SSMP) Store (Zero, TRYT) While (LEqual (ODBY, One)) { If (LEqual (ODBY, Zero)) { Break } Else { Sleep (0x64) Store (Zero, SSMD) Store (0xA4, SSMP) Increment (TRYT) } If (LEqual (TRYT, 0x0A)) { Break } } Store (One, SSMD) Store (0xA4, SSMP) Store (Zero, SSMD) Store (0xA4, SSMP) Store (Zero, TRYT) While (LEqual (ODBY, One)) { If (LEqual (ODBY, Zero)) { Break } Else { Sleep (0x64) Store (Zero, SSMD) Store (0xA4, SSMP) Increment (TRYT) } If (LEqual (TRYT, 0x0A)) { Break } } Store (0x02, SSMD) Store (0xA4, SSMP) Store (Zero, SSMD) Store (0xA4, SSMP) Store (Zero, TRYT) While (LEqual (ODBY, One)) { If (LEqual (ODBY, Zero)) { Break } Else { Sleep (0x64) Store (Zero, SSMD) Store (0xA4, SSMP) Increment (TRYT) } If (LEqual (TRYT, 0x32)) { Break } } Store (0x03, SSMD) Store (0xA4, SSMP) Store (Zero, SSMD) Store (0xA4, SSMP) Store (Zero, TRYT) While (LEqual (ODBY, One)) { If (LEqual (ODBY, Zero)) { Break } Else { Sleep (0x64) Store (Zero, SSMD) Store (0xA4, SSMP) Increment (TRYT) } If (LEqual (TRYT, 0x32)) { Break } } Store (0x04, SSMD) Store (0xA4, SSMP) Sleep (0x64) Sleep (0x64) Notify (^^SAT2.PRID.SLAV, One) Store (Zero, PROC) } } } Method (GBDS, 0, NotSerialized) { IHWM (0x07, Zero) Store (DI00, DSY4) Store (DSY4, BO01) Store (Zero, BO02) Store (Zero, BO03) Store (Zero, BO04) } Method (SBDS, 1, NotSerialized) { IHWM (0x08, Arg0) } Name (_WDG, Buffer (0x0154) { /* 0000 */ 0x09, 0x4E, 0x76, 0x95, 0x56, 0xFB, 0x83, 0x4E, /* 0008 */ 0xB3, 0x1A, 0x37, 0x76, 0x1F, 0x60, 0x99, 0x4A, /* 0010 */ 0x44, 0x38, 0x01, 0x01, 0x58, 0xF2, 0xF4, 0x6A, /* 0018 */ 0x01, 0xB4, 0xFD, 0x42, 0xBE, 0x91, 0x3D, 0x4A, /* 0020 */ 0xC2, 0xD7, 0xC0, 0xD3, 0x44, 0x41, 0x01, 0x02, /* 0028 */ 0xAC, 0x61, 0x1A, 0xCC, 0x56, 0x42, 0xA3, 0x41, /* 0030 */ 0xB9, 0xE0, 0x05, 0xA4, 0x45, 0xAD, 0xE2, 0xF5, /* 0038 */ 0x80, 0x00, 0x01, 0x08, 0x53, 0x44, 0x8C, 0xE7, /* 0040 */ 0x27, 0x02, 0x61, 0x48, 0x9E, 0xDE, 0xF5, 0x60, /* 0048 */ 0x0B, 0x4A, 0x3D, 0x39, 0x42, 0x42, 0x01, 0x02, /* 0050 */ 0x7B, 0x4F, 0xE0, 0xAA, 0xC5, 0xB3, 0x65, 0x48, /* 0058 */ 0x95, 0xD6, 0x9F, 0xAC, 0x7F, 0xF3, 0xE9, 0x2B, /* 0060 */ 0x44, 0x43, 0x01, 0x02, 0x79, 0x4C, 0xF9, 0xCF, /* 0068 */ 0x77, 0x6C, 0xF7, 0x4A, 0xAC, 0x56, 0x7D, 0xD0, /* 0070 */ 0xCE, 0x01, 0xC9, 0x97, 0x42, 0x44, 0x01, 0x02, /* 0078 */ 0xC5, 0x2E, 0x77, 0x79, 0xB1, 0x04, 0xFD, 0x4B, /* 0080 */ 0x84, 0x3C, 0x61, 0xE7, 0xF7, 0x7B, 0x6C, 0xC9, /* 0088 */ 0x44, 0x45, 0x01, 0x02, 0xB7, 0xA0, 0xC9, 0xA7, /* 0090 */ 0x9D, 0x4C, 0x72, 0x4C, 0x83, 0xBB, 0x53, 0xA3, /* 0098 */ 0x45, 0x91, 0x71, 0xDF, 0x42, 0x46, 0x01, 0x02, /* 00A0 */ 0x4F, 0x06, 0x3A, 0x65, 0x3A, 0xA2, 0x5F, 0x48, /* 00A8 */ 0xB3, 0xD9, 0x13, 0xF6, 0x53, 0x2A, 0x01, 0x82, /* 00B0 */ 0x44, 0x46, 0x01, 0x02, 0x45, 0xDD, 0x23, 0x59, /* 00B8 */ 0x80, 0x04, 0xD5, 0x4E, 0xB6, 0x1A, 0xC9, 0xEC, /* 00C0 */ 0x6C, 0x90, 0xE2, 0x6A, 0x42, 0x48, 0x01, 0x02, /* 00C8 */ 0xA7, 0xB1, 0x85, 0xDB, 0x9A, 0x06, 0xBB, 0x4A, /* 00D0 */ 0xA2, 0xB5, 0xD1, 0x86, 0xA2, 0x1B, 0x80, 0xF1, /* 00D8 */ 0x81, 0x00, 0x01, 0x08, 0x91, 0x6B, 0x91, 0x36, /* 00E0 */ 0x64, 0x1A, 0x83, 0x45, 0x84, 0xD0, 0x53, 0x83, /* 00E8 */ 0x0F, 0xB9, 0x10, 0x8D, 0x82, 0x00, 0x01, 0x08, /* 00F0 */ 0x81, 0x17, 0xF4, 0xD9, 0x33, 0xF6, 0x00, 0x44, /* 00F8 */ 0x93, 0x55, 0x60, 0x17, 0x70, 0xBE, 0xC5, 0x10, /* 0100 */ 0x43, 0x41, 0x01, 0x00, 0x1D, 0x37, 0xC3, 0x67, /* 0108 */ 0xA3, 0x95, 0x37, 0x4C, 0xBB, 0x61, 0xDD, 0x47, /* 0110 */ 0xB4, 0x91, 0xDA, 0xAB, 0x43, 0x42, 0x01, 0x02, /* 0118 */ 0xED, 0x16, 0x1F, 0x43, 0x2B, 0x0C, 0x4C, 0x44, /* 0120 */ 0xB2, 0x67, 0x27, 0xDE, 0xB1, 0x40, 0xCF, 0x9C, /* 0128 */ 0x43, 0x43, 0x01, 0x02, 0x71, 0xBF, 0xD1, 0x40, /* 0130 */ 0x2D, 0xA8, 0x59, 0x4E, 0xA1, 0x68, 0x39, 0x85, /* 0138 */ 0xE0, 0x3B, 0x2E, 0x87, 0xB0, 0x00, 0x01, 0x08, /* 0140 */ 0x21, 0x12, 0x90, 0x05, 0x66, 0xD5, 0xD1, 0x11, /* 0148 */ 0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10, /* 0150 */ 0x44, 0x44, 0x01, 0x00 }) Method (WQAA, 1, NotSerialized) { AAF1 () Store (AADS, BUFF) Return (BUFF) } Method (WMBA, 3, NotSerialized) { Name (_T_0, Zero) Store (Arg1, _T_0) If (LNotEqual (Match (Package (0x09) { One, 0x02, 0x03, 0x08, 0x09, 0x0A, 0x0C, 0x0D, 0x11 }, MEQ, _T_0, MTR, Zero, Zero), Ones)) { Store (Zero, Local0) } Else { If (LNotEqual (Match (Package (0x06) { 0x04, 0x05, 0x06, 0x07, 0x0B, 0x10 }, MEQ, _T_0, MTR, Zero, Zero), Ones)) { If (LEqual (Arg1, 0x07)) { Store (Arg2, BUFF) If (BF00) { Store (One, BAEF) } } If (LEqual (Arg1, 0x10)) { Store (Arg2, BUFF) If (BF00) { Store (One, BAEF) } } Store (One, Local0) } } If (Local0) { WSDS (Arg1, Arg2) } Else { WGDS (Arg1) } Store (DerefOf (Index (BADG, Subtract (Arg1, One))), BUFF) Return (BUFF) } Method (_WED, 1, NotSerialized) { If (LEqual (Arg0, 0xB0)) { Return (B0ED) } If (LEqual (Arg0, 0x80)) { If (GACR ()) { Return (B2ED) } } If (LEqual (Arg0, 0x82)) { If (DSID) { Return (B4ED) } } If (LGreaterEqual (Arg0, 0x80)) { If (LLess (Arg0, 0x83)) { Return (OEMN ()) } } } Method (WMBB, 3, NotSerialized) { STRL (Arg1, Arg2) If (LEqual (Arg1, One)) { Store (BBSB, BUFF) } If (LEqual (Arg1, 0x02)) { Store (BBD1, BUFF) } Return (BUFF) } Method (WMBC, 3, NotSerialized) { WODP (Arg1, Arg2) If (LLess (Arg1, 0x0A)) { Subtract (Arg1, One, Local0) Store (DerefOf (Index (BCDS, Subtract (Arg1, One))), BUFF) } Else { ShiftRight (DerefOf (Index (BCDS, Subtract (Arg1, 0x0A))), 0x10, BUFF) } Return (BUFF) } Method (WMBD, 3, NotSerialized) { If (LEqual (Arg1, One)) { Store (Arg2, BUFF) Store (BUFF, Local0) Store (Arg2, WIT0) GCPU (WIT0) Return (DSY0) } If (LEqual (Arg1, 0x02)) { Store (Arg2, Local0) MSRR (Arg2) Return (DSY1) } If (LEqual (Arg1, 0x03)) { Store (Arg2, Local0) MSRW (Arg2) Return (DSY1) } If (LEqual (Arg1, 0x04)) { C4C3 (Arg1, Arg2) ShiftRight (DerefOf (Index (BCDS, Add (Arg1, 0x05))), 0x10, BUFF) Return (BUFF) } If (LEqual (Arg1, 0x05)) { C4C3 (Arg1, Arg2) Store (DerefOf (Index (BCDS, Add (Arg1, 0x04))), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x06)) { CPUF () Store (DerefOf (Index (BCDS, Add (Arg1, 0x04))), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x07)) { CPUT () Store (DerefOf (Index (BCDS, Add (Arg1, 0x04))), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x08)) { Store (Arg2, WPRW) Store (WWD1, WPIR) Store (WWD2, WPIF) Store (WWD3, WPID) Store (WWD4, WPIB) Concatenate (WPCI, WWD0, Local0) PCIR (Local0) Return (DSY2) } If (LEqual (Arg1, 0x09)) { Store (Arg2, DSY6) Store (DY60, Local0) Store (Arg2, DSY0) Store (DY01, WPRW) Store (WWD1, WPIR) Store (WWD2, WPIF) Store (WWD3, WPID) Store (WWD4, WPIB) Store (WPCI, Local1) Concatenate (DY60, WPCI, Local0) Concatenate (Local0, WWD0, Local1) PCIW (Local1) Return (BUFF) } If (LEqual (Arg1, 0x0A)) { CPUS () Store (DerefOf (Index (BCDS, Add (Arg1, 0x02))), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x0B)) { PCID (Arg2) Return (DSY6) } } Method (WMBE, 3, NotSerialized) { BTIF (Arg1, Arg2) Store (BUFF, Debug) Store (BEDS, Debug) Store (DerefOf (Index (BEDS, Subtract (Arg1, One))), BUFF) Store (BUFF, Debug) Return (BUFF) } Method (WMBF, 3, NotSerialized) { } Method (WMBG, 3, NotSerialized) { Store (Arg2, BUFF) WSVE (BF00) Store (DerefOf (Index (BGDS, Subtract (Arg1, One))), BUFF) Store (BUFF, Debug) Return (BUFF) } Method (WMBH, 3, NotSerialized) { Store (0x44, P80H) If (LEqual (Arg1, 0x04)) { GBDS () Return (BOOT) } If (LEqual (Arg1, 0x05)) { SBDS (Arg2) Store (Zero, Index (BUF1, Zero)) Store (Zero, Index (BUF1, One)) Store (Zero, Index (BUF1, 0x02)) Store (Zero, Index (BUF1, 0x03)) Return (BUF1) } If (LEqual (Arg1, 0x0A)) { If (LEqual (D2DF, Zero)) { Store (One, Index (BUF1, Zero)) } Else { Store (Zero, Index (BUF1, Zero)) } Store (Zero, Index (BUF1, 0x02)) Store (Zero, Index (BUF1, 0x03)) Return (BUF1) } } } } } }