/* * Intel ACPI Component Architecture * AML Disassembler version 20090521 * * Disassembly of dsdt.dat, Thu Feb 25 00:07:59 2010 * * * Original Table Header: * Signature "DSDT" * Length 0x00009BD4 (39892) * Revision 0x01 **** ACPI 1.0, no 64-bit math support * Checksum 0x1E * OEM ID "ACRSYS" * OEM Table ID "ACRPRDCT" * OEM Revision 0x00000001 (1) * Compiler ID "1025" * Compiler Version 0x01000013 (16777235) */ DefinitionBlock ("dsdt.asl", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000001) { External (BNSE) External (BNSS) External (BNS1) External (CFGD) External (^^PCI0.AHCI.PRT5) 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) Name (DISF, Zero) Name (S3FG, Zero) Name (PXFG, Zero) Name (AUOP, Package (0x0A) { 0x14, 0x29, 0x3D, 0x54, 0x6B, 0x85, 0xA1, 0xBD, 0xDB, 0xFF }) Name (LGDP, Package (0x0A) { 0x3A, 0x45, 0x51, 0x5D, 0x77, 0x82, 0x9E, 0xBA, 0xD9, 0xFF }) Name (AUOL, Package (0x0A) { 0x17, 0x2F, 0x47, 0x60, 0x7C, 0x91, 0xAA, 0xC3, 0xDB, 0xFF }) Name (LG52, Package (0x0A) { 0x17, 0x2F, 0x39, 0x60, 0x7C, 0x91, 0xAA, 0xC3, 0xDB, 0xFF }) OperationRegion (GPIO, SystemIO, 0x0500, 0x3F) Field (GPIO, ByteAcc, NoLock, Preserve) { Offset (0x2C), , 6, GP6I, 1, Offset (0x38), , 1, , 1, CPEN, 1 } OperationRegion (PMBA, SystemIO, 0x0400, 0x80) Field (PMBA, ByteAcc, NoLock, Preserve) { , 10, RTCS, 1, Offset (0x10), THTL, 5, Offset (0x22), , 6, HDST, 1, 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, 0x7B9AF018, 0x000002BC) Field (MBOX, AnyAcc, NoLock, Preserve) { PCI1, 8, PCI2, 8, PCI3, 8, PCI4, 8, PCI5, 8, PCI6, 8, PCI7, 8, PCI8, 8, NLCK, 8, ZIPE, 8, COMA, 8, CAIO, 8, CAIP, 8, CAMD, 8, CADA, 8, COMB, 8, CBIO, 8, CBIP, 8, CBMD, 8, CBDA, 8, FHSD, 8, COMC, 8, CCIO, 8, CCIP, 8, CCMD, 8, CCDA, 8, COMD, 8, CDIO, 8, CDIP, 8, CDMD, 8, CDDA, 8, LPT1, 8, L1IO, 8, L1IP, 8, L1MD, 8, L1DA, 8, LPT2, 8, L2IO, 8, L2IP, 8, L2MD, 8, L2DA, 8, LPT3, 8, L3IO, 8, L3IP, 8, L3MD, 8, L3DA, 8, FDDC, 8, FDWP, 8, HGMP, 8, LGMP, 8, MIDI, 8, AZLA, 8, AUDO, 8, MODM, 8, IDEC, 8, SSED, 8, PACT, 8, SCFG, 8, AMOD, 8, IMOD, 8, LCFG, 8, IDLY, 8, PMTP, 8, PMIO, 8, PMBM, 8, PMTM, 8, PSTP, 8, PSIO, 8, PSBM, 8, PSTM, 8, IDE0, 8, IDE1, 8, IDE2, 8, IDE3, 8, IDE4, 8, IDE5, 8, IDE6, 8, IDE7, 8, HIUB, 8, LUBS, 8, PLYT, 8, EDCG, 8, SDFY, 8, SDTC, 8, SDRP, 8, SDCL, 8, SDRC, 8, SDRE, 8, FC2L, 8, FC3L, 8, FCS4, 8, APIM, 8, HPTS, 8, HPTA, 8, EMAS, 8, VGAO, 8, SOFF, 8, KBPO, 8, MSPO, 8, USBB, 8, EVTL, 8, SYBE, 8, ETLC, 8, AC30, 8, TPMD, 8, TPMO, 8, TPMC, 8, TPMM, 8, TPCC, 8, TPLC, 8, TPLR, 32, QBOT, 8, 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, ORSV, 496, IOHN, 8, SPSG, 8, DPMD, 8, RTAS, 8, RTAF, 8, CSMI, 8, SMNO, 8, DRSV, 744 } 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, 0x7B9AF2D4, 0x0000FCE6) 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, BMID, 8, TP00, 8, SROM, 32, VROM, 516096, EVBC, 8 } Scope (_PR) { Processor (CPU0, 0x01, 0x00000410, 0x06) {} Processor (CPU1, 0x02, 0x00000410, 0x06) {} Processor (CPU2, 0x03, 0x00000410, 0x06) {} Processor (CPU3, 0x04, 0x00000410, 0x06) {} } OperationRegion (PRT0, SystemIO, 0x80, 0x04) Field (PRT0, DWordAcc, Lock, Preserve) { P80H, 32 } 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) } If (LEqual (Arg0, TRTD)) { Store (Arg1, DTSF) Store (Zero, TRPD) Return (DTSF) } If (LEqual (Arg0, TRTI)) { Store (Zero, TRPH) } 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) } Method (CMSR, 1, NotSerialized) { Store (Arg0, CMSI) Return (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) { If (LEqual (Arg0, 0x03)) { Store (0x03, \_SB.PCI0.LPC.EC0.DAT0) Sleep (0x0A) \_SB.PCI0.LPC.EC0.ECW1 (0x87) Store (One, S3FG) Store (0x53, P80H) } If (LEqual (Arg0, 0x04)) { Store (0x04, \_SB.PCI0.LPC.EC0.DAT0) Sleep (0x0A) \_SB.PCI0.LPC.EC0.ECW1 (0x87) CMSW (0x3F, 0x3F) Store (0x54, P80H) Store (Zero, Local0) If (\_SB.PCI0.LPC.EC0.HH1E) { Or (Local0, One, Local0) } If (\_SB.PCI0.LPC.EC0.HH2E) { Or (Local0, 0x02, Local0) } CMSW (0x79, Local0) } Return (Zero) } Method (_WAK, 1, NotSerialized) { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { If (LLess (OSYS, 0x07D6)) { \_SB.PCI0.PEGP.VGA.SETB (EVBC) } } While (\_SB.PCI0.LPC.EC0.COMD) {} Store (0x99, \_SB.PCI0.LPC.EC0.DAT0) Sleep (0x0A) Store (0xA4, \_SB.PCI0.LPC.EC0.COMD) Sleep (0x0A) Store (One, \_SB.PCI0.LPC.EC0.HH3E) CMSW (0x3F, Zero) If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { Notify (\_SB.PCI0.LPC.EC0.ADP1, Zero) Notify (\_SB.PCI0.LPC.EC0.BAT0, 0x81) Notify (\_SB.PCI0.LPC.EC0.BAT0, 0x80) If (LOr (LEqual (BMID, 0x20), LEqual (BMID, 0x30))) { Notify (\_SB.PCI0.LPC.EC0.BAT1, 0x80) Notify (\_SB.PCI0.LPC.EC0.BAT1, 0x81) } } 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 (LEqual (RTCS, Zero)) { Notify (\_SB.PWRB, 0x02) } If (LAnd (DTSE, CMPE)) { Store (0x14, DTSF) Store (Zero, TRPD) } Store (0xE3, P80H) } If (LEqual (Arg0, 0x04)) { Notify (\_SB.PWRB, 0x02) If (LAnd (DTSE, CMPE)) { Store (0x14, DTSF) Store (Zero, TRPD) } CMSW (0x3F, Zero) Store (CMSR (0x79), Local0) And (Local0, One, Local1) And (Local0, 0x02, Local2) If (Local1) { Store (One, \_SB.PCI0.LPC.EC0.HH1E) } If (Local2) { Store (One, \_SB.PCI0.LPC.EC0.HH2E) } 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) 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 (_L02, 0, NotSerialized) { Store (Zero, GPEC) } Method (_L06, 0, NotSerialized) { If (\_SB.PCI0.OVGA.GSSE) { \_SB.PCI0.OVGA.GSCI () } Else { Store (One, SCIS) } } Method (_L07, 0, NotSerialized) { } Method (_L08, 0, NotSerialized) { } Method (_L18, 0, NotSerialized) { } 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) { } Method (_L03, 0, NotSerialized) { } Method (_L04, 0, NotSerialized) { } Method (_L0C, 0, NotSerialized) { } Method (_L20, 0, NotSerialized) { } Method (_L0D, 0, NotSerialized) { } Method (_L0E, 0, NotSerialized) { } Method (_L05, 0, NotSerialized) { } Method (_L16, 0, NotSerialized) { If (S3FG) { Store (Zero, S3FG) } Else { Store (0xAB, P80H) Store (Not (GP6I), GP6I) Store (One, HDST) If (LNot (DISF)) { \_SB.PCI0.OVGA.AFN6 () } } } } Method (_PIC, 1, NotSerialized) { Store (Arg0, GPIC) Store (Not (\_SB.PCI0.OVGA.GP52), DISF) } Scope (_TZ) { Name (THPP, Zero) ThermalZone (TZ00) { Method (_CRT, 0, Serialized) { Return (0x0FA2) } Method (_TMP, 0, Serialized) { If (LEqual (THPP, 0x69)) { Return (0x1388) } Else { Return (0x0BB8) } } } } Scope (_SB) { Device (PWRB) { Name (_HID, EisaId ("PNP0C0C")) } Name (LIDS, Zero) Device (LID0) { Name (_HID, EisaId ("PNP0C0D")) Method (_LID, 0, NotSerialized) { If (^^PCI0.LPC.EC0.ECON) { Store (^^PCI0.LPC.EC0.LDST, LIDS) Sleep (0x64) If (LEqual (^^PCI0.LPC.EC0.LDST, LIDS)) { Return (^^PCI0.LPC.EC0.LDST) } Else { Return (One) } } Else { Return (One) } } } Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) Method (_STA, 0, NotSerialized) { Return (0x0B) } } Device (WMID) { Name (_HID, "PNP0C14") Name (_UID, Zero) 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 (ECBF, Buffer (One) { 0x00 }) CreateField (ECBF, Zero, One, ECB0) CreateField (ECBF, One, One, ECB1) CreateField (ECBF, 0x02, One, ECB2) CreateField (ECBF, 0x03, One, ECB3) CreateField (ECBF, 0x04, One, ECB4) CreateField (ECBF, 0x05, One, ECB5) CreateField (ECBF, 0x06, One, ECB6) CreateField (ECBF, 0x07, One, ECB7) Name (AADS, Buffer (0x04) { 0x00 }) CreateField (AADS, Zero, 0x04, AS00) CreateField (AADS, 0x04, One, AS01) CreateField (AADS, 0x05, One, AS02) CreateField (AADS, 0x06, One, AS03) CreateField (AADS, 0x07, One, AS04) CreateField (AADS, 0x10, 0x10, AS05) Name (BAEF, Zero) Name (BAOF, Zero) Name (BADF, Zero) Name (BADG, Package (0x04) { One, One, Zero, One }) Name (BADS, Package (0x06) { Zero, Zero, 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 (BTBF, 0x0B00) Name (BTBN, 0x0B01) Name (ODDE, 0x0C00) Name (FNKE, 0x00010002) Name (FNF5, 0x00015001) Name (BF20, Buffer (0x14) { 0x00 }) CreateField (BF20, Zero, 0x80, BF2L) CreateField (BF20, 0x80, 0x20, BF2H) 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 (TLSL, Package (0x07) { One, 0x02, 0x03, 0x04, 0x05, 0x06, 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 (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 (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 (DSY0, Zero, 0xC0, DSX4) Name (BPCH, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateField (BPCH, Zero, 0x10, BHDA) CreateField (BPCH, 0x10, 0x10, BHER) Name (BPCS, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateField (BPCS, Zero, 0x10, BSDA) CreateField (BPCS, 0x10, 0x10, BSER) Name (BIN2, Buffer (0x08) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateField (BIN2, Zero, 0x20, BI2L) CreateField (BIN2, 0x20, 0x20, BI2H) Name (BINR, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateField (BINR, Zero, 0x10, BIDA) CreateField (BINR, 0x10, 0x10, BIER) Name (BAMD, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateField (BAMD, Zero, 0x08, BAML) CreateField (BAMD, 0x08, 0x08, BAMH) CreateField (BAMD, 0x10, 0x10, BAER) 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 (BFDS, Package (0x04) { 0x02, 0x02, 0x02, 0x02 }) Name (GSTS, Zero) Name (BFEF, Zero) Name (BGEF, Zero) Name (BGDS, Package (0x01) { One }) Name (NONE, Zero) Method (AAF1, 0, NotSerialized) { If (^^PCI0.LPC.EC0.ECON) { If (^^PCI0.LPC.EC0.WEXT) { Store (0x07, AS00) } Else { Store (Zero, AS00) } Store (^^PCI0.LPC.EC0.BEXT, AS01) Store (Zero, AS02) Store (^^PCI0.LPC.EC0.G3XT, AS03) Store (One, AS04) Store (Zero, AS05) } Else { Store (Zero, AS00) Store (Zero, AS01) Store (Zero, AS02) Store (Zero, AS03) Store (Zero, AS04) Store (Zero, AS05) } Store (Zero, AS02) } Method (GETD, 1, NotSerialized) { If (^^PCI0.LPC.EC0.ECON) { If (LEqual (Arg0, One)) { Store (^^PCI0.LPC.EC0.WFST, Local0) } If (LEqual (Arg0, 0x02)) { Store (^^PCI0.LPC.EC0.BTST, Local0) } If (LEqual (Arg0, 0x03)) { Store (0x09, Local0) } If (LEqual (Arg0, 0x0A)) { Store (^^PCI0.LPC.EC0.G3ST, Local0) } } Else { Store (Zero, Local0) } If (LEqual (Arg0, 0x0A)) { Store (Local0, Index (BADG, 0x03)) } Else { Store (Local0, Index (BADG, Subtract (Arg0, One))) } } Method (SETD, 2, NotSerialized) { If (^^PCI0.LPC.EC0.ECON) { If (LEqual (Arg0, 0x04)) { Store (Arg1, BUFF) If (BF00) { Store (^^PCI0.LPC.EC0.BTST, ECB0) Store (One, ECB1) Store (^^PCI0.LPC.EC0.G3ST, ECB2) Store (^^PCI0.LPC.EC0.WCST, ECB3) Store (ECBF, ^^PCI0.LPC.EC0.DAT0) ^^PCI0.LPC.EC0.ECW1 (0x82) } Else { Store (^^PCI0.LPC.EC0.BTST, ECB0) Store (Zero, ECB1) Store (^^PCI0.LPC.EC0.G3ST, ECB2) Store (^^PCI0.LPC.EC0.WCST, ECB3) Store (ECBF, ^^PCI0.LPC.EC0.DAT0) ^^PCI0.LPC.EC0.ECW1 (0x82) } } If (LEqual (Arg0, 0x05)) { Store (Arg1, BUFF) If (BF00) { Store (One, ECB0) Store (^^PCI0.LPC.EC0.WFST, ECB1) Store (^^PCI0.LPC.EC0.G3ST, ECB2) Store (^^PCI0.LPC.EC0.WCST, ECB3) Store (ECBF, ^^PCI0.LPC.EC0.DAT0) ^^PCI0.LPC.EC0.ECW1 (0x82) } Else { Store (Zero, ECB0) Store (^^PCI0.LPC.EC0.WFST, ECB1) Store (^^PCI0.LPC.EC0.G3ST, ECB2) Store (^^PCI0.LPC.EC0.WCST, ECB3) Store (ECBF, ^^PCI0.LPC.EC0.DAT0) ^^PCI0.LPC.EC0.ECW1 (0x82) } } If (LEqual (Arg0, 0x06)) {} If (LEqual (Arg0, 0x0B)) { Store (Arg1, BUFF) If (BF00) { Store (^^PCI0.LPC.EC0.BTST, ECB0) Store (^^PCI0.LPC.EC0.WFST, ECB1) Store (One, ECB2) Store (^^PCI0.LPC.EC0.WCST, ECB3) Store (ECBF, ^^PCI0.LPC.EC0.DAT0) ^^PCI0.LPC.EC0.ECW1 (0x82) } Else { Store (^^PCI0.LPC.EC0.BTST, ECB0) Store (^^PCI0.LPC.EC0.WFST, ECB1) Store (Zero, ECB2) Store (^^PCI0.LPC.EC0.WCST, ECB3) Store (ECBF, ^^PCI0.LPC.EC0.DAT0) ^^PCI0.LPC.EC0.ECW1 (0x82) } Store (Zero, ECB4) Store (Zero, ECB5) Store (Zero, ECB6) Store (Zero, ECB7) CMSW (0x3E, ECBF) } If (LEqual (Arg0, 0x0F)) { Store (Arg1, BUFF) If (BF00) { Store (One, ^^PCI0.LPC.EC0.DAT0) ^^PCI0.LPC.EC0.ECW1 (0x8E) } Else { Store (Zero, ^^PCI0.LPC.EC0.DAT0) ^^PCI0.LPC.EC0.ECW1 (0x8E) } } } } Method (OEMN, 0, NotSerialized) { Return (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)) {} Else { If (LEqual (_T_0, 0x02)) {} Else { Store (0x00010000, BBSB) } } } Method (WODP, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) {} Else { Store (One, Index (BCDS, Subtract (Arg0, One))) } If (LEqual (Arg0, 0x0C)) { If (Arg1) {} Else { } } Else { } } 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, 1, NotSerialized) { If (And (CFGD, 0x80)) { Store (Arg0, ^^PCI0.LPC.C4C3) } Else { Store (Arg0, NONE) } } Method (CPUF, 0, NotSerialized) { } Method (CPUT, 0, NotSerialized) { } Method (CPUS, 0, NotSerialized) { Store (IHWM (0x05, Zero), Local2) Store (Local2, BUFF) Store (BUFF, Index (BCDS, 0x0C)) } 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) { Store (One, CMMD) Store (Zero, SSMD) Store (0xA2, SSMP) 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) Store (0x03, CMMD) Store (Zero, SSMD) Store (0xA2, SSMP) } Name (_WDG, Buffer (0xF0) { /* 0000 */ 0x09, 0x4E, 0x76, 0x95, 0x56, 0xFB, 0x83, 0x4E, /* 0008 */ 0xB3, 0x1A, 0x37, 0x76, 0x1F, 0x60, 0x99, 0x4A, /* 0010 */ 0x41, 0x41, 0x01, 0x01, 0x58, 0xF2, 0xF4, 0x6A, /* 0018 */ 0x01, 0xB4, 0xFD, 0x42, 0xBE, 0x91, 0x3D, 0x4A, /* 0020 */ 0xC2, 0xD7, 0xC0, 0xD3, 0x42, 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 */ 0x42, 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 */ 0x42, 0x45, 0x01, 0x02, 0x45, 0xDD, 0x23, 0x59, /* 0090 */ 0x80, 0x04, 0xD5, 0x4E, 0xB6, 0x1A, 0xC9, 0xEC, /* 0098 */ 0x6C, 0x90, 0xE2, 0x6A, 0x42, 0x48, 0x01, 0x02, /* 00A0 */ 0xB7, 0xA0, 0xC9, 0xA7, 0x9D, 0x4C, 0x72, 0x4C, /* 00A8 */ 0x83, 0xBB, 0x53, 0xA3, 0x45, 0x91, 0x71, 0xDF, /* 00B0 */ 0x42, 0x46, 0x01, 0x02, 0x4F, 0x06, 0x3A, 0x65, /* 00B8 */ 0x3A, 0xA2, 0x5F, 0x48, 0xB3, 0xD9, 0x13, 0xF6, /* 00C0 */ 0x53, 0x2A, 0x01, 0x82, 0x42, 0x47, 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 }) Method (WQAA, 1, NotSerialized) { AAF1 () Store (AADS, BUFF) Return (BUFF) } Method (WMBA, 3, NotSerialized) { If (LEqual (Arg1, One)) { Store (Arg1, Local0) GETD (Local0) Store (DerefOf (Index (BADG, Subtract (Arg1, One))), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x02)) { Store (Arg1, Local0) GETD (Local0) Store (DerefOf (Index (BADG, Subtract (Arg1, One))), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x03)) { Store (Arg1, Local0) GETD (Local0) Store (DerefOf (Index (BADG, Subtract (Arg1, One))), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x04)) { SETD (Arg1, Arg2) Store (DerefOf (Index (BADS, Zero)), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x05)) { SETD (Arg1, Arg2) Store (DerefOf (Index (BADS, One)), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x06)) { SETD (Arg1, Arg2) Store (DerefOf (Index (BADS, 0x02)), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x07)) { Store (Arg2, BUFF) Store (BF00, ^^PCI0.LPC.EC0.HH1E) Store (BF00, BAEF) Store (DerefOf (Index (BADS, 0x03)), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x08)) { Store (One, BUFF) Return (BUFF) } If (LEqual (Arg1, 0x0A)) { Store (Arg1, Local0) GETD (Local0) Store (DerefOf (Index (BADG, 0x03)), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x0B)) { SETD (Arg1, Arg2) Store (DerefOf (Index (BADS, 0x04)), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x0D)) { Return (^^PCI0.LPC.EC0.BLIG) } If (LEqual (Arg1, 0x0E)) { Return (^^PCI0.LPC.EC0.BAST) } If (LEqual (Arg1, 0x0F)) { SETD (Arg1, Arg2) Store (DerefOf (Index (BADS, 0x05)), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x10)) { Store (Arg2, BUFF) Store (BF00, ^^PCI0.LPC.EC0.HH2E) Store (BF00, BAOF) Store (DerefOf (Index (BADS, 0x03)), BUFF) Return (BUFF) } If (LEqual (Arg1, 0x11)) { Store (GTRY (), BUFF) Store (BF00, ^^PCI0.LPC.EC0.HH1F) Return (BUFF) } } Method (_WED, 1, NotSerialized) { Store (0xEE, P80H) Store (^^PCI0.LPC.EC0.HHWM, Local1) Name (_T_0, Zero) Store (Local1, _T_0) If (LEqual (_T_0, 0xA1)) { Store (LDOF, Local0) } Else { If (LEqual (_T_0, 0xA2)) { Store (LDON, Local0) } Else { If (LEqual (_T_0, 0xA3)) { Store (BLTE, Local0) } Else { If (LEqual (_T_0, 0xA4)) { Store (BLTD, Local0) } Else { If (LEqual (_T_0, 0xA5)) { Store (WLSE, Local0) } Else { If (LEqual (_T_0, 0xA6)) { Store (WLSD, Local0) } Else { If (LEqual (_T_0, 0xA7)) { Store (BTBN, Local0) } Else { If (LEqual (_T_0, 0xA8)) { Store (BTBF, Local0) } Else { If (LEqual (_T_0, 0xA9)) { Store (ODDE, Local0) } Else { Store (One, Local0) } } } } } } } } } Return (Local0) } Method (WMBB, 3, NotSerialized) { STRL (Arg1, Arg2) If (LEqual (Arg1, One)) { Store (And (THTL, 0x0F), BBD0) Store (Zero, BBD1) } If (LEqual (Arg1, 0x02)) { Name (_T_0, Zero) Store (Arg2, _T_0) If (LEqual (_T_0, Zero)) { Store (Zero, THTL) } Else { If (LEqual (_T_0, One)) { Store (0x11, THTL) } Else { If (LEqual (_T_0, 0x02)) { Store (0x12, THTL) } Else { If (LEqual (_T_0, 0x03)) { Store (0x13, THTL) } Else { If (LEqual (_T_0, 0x04)) { Store (0x14, THTL) } Else { If (LEqual (_T_0, 0x05)) { Store (0x15, THTL) } Else { If (LEqual (_T_0, 0x06)) { Store (0x16, THTL) } Else { If (LEqual (_T_0, 0x07)) { Store (0x15, THTL) } Else { Store (Zero, THTL) } } } } } } } } Store (Zero, BBSB) } Return (BBSB) } Method (WMBC, 3, NotSerialized) { Store (0x14, P80H) If (LEqual (Arg1, 0x05)) { Store (^^PCI0.LPC.EC0.HH3E, BBD0) Store (Zero, BBD1) } If (LEqual (Arg1, 0x0E)) { Name (_T_0, Zero) Store (Arg2, _T_0) If (LEqual (_T_0, Zero)) { While (^^PCI0.LPC.EC0.COMD) {} Store (0x90, ^^PCI0.LPC.EC0.DAT0) Sleep (0x0A) Store (0xA4, ^^PCI0.LPC.EC0.COMD) Sleep (0x0A) Store (Zero, ^^PCI0.LPC.EC0.HH3E) Store (Zero, BBSB) Sleep (0x07D0) Notify (^^PCI0.AHCI.PRT5, Zero) Sleep (0x0A) Notify (^^PCI0.AHCI.PRT5, One) } Else { If (LEqual (_T_0, One)) { While (^^PCI0.LPC.EC0.COMD) {} Store (0x99, ^^PCI0.LPC.EC0.DAT0) Sleep (0x0A) Store (0xA4, ^^PCI0.LPC.EC0.COMD) Sleep (0x0A) Store (One, ^^PCI0.LPC.EC0.HH3E) Store (Zero, BBSB) Sleep (0x07D0) Notify (^^PCI0.AHCI.PRT5, Zero) Sleep (0x0A) Notify (^^PCI0.AHCI.PRT5, One) } Else { Store (One, BBSB) } } } Return (BBSB) } Method (WMBD, 3, NotSerialized) { If (LEqual (Arg1, 0x04)) { Store (Arg2, BUFF) Store (BF00, Local0) C4C3 (Local0) Store (Zero, BUFF) Return (BUFF) } If (LEqual (Arg1, 0x05)) { If (And (CFGD, 0x80)) { Store (^^PCI0.LPC.C4C3, BF00) } Else { Store (NONE, BF00) } Return (BUFF) } } Name (BATI, Zero) Name (BATN, Zero) Method (WMBE, 3, NotSerialized) { If (LEqual (Arg1, 0x11)) { Store (Zero, BSER) Store (0x66, BSDA) Return (BPCS) } If (LEqual (Arg1, 0x12)) { Store (Zero, BSER) Store (0x33, BSDA) Return (BPCS) } If (LEqual (Arg1, 0x13)) { Store (Arg2, BIN2) Store (BI2H, BATI) Store (BI2L, BATN) If (LEqual (BATI, One)) { If (LEqual (BATN, 0x03)) { Store (^^PCI0.LPC.EC0.B1ST, BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x08)) { Store (^^PCI0.LPC.EC0.BTT1, Local0) Store (Add (Local0, 0x0111), Local0) Store (Add (ShiftLeft (Local0, 0x03), ShiftLeft (Local0, One) ), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x09)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.B1FV, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.B1FV, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x0A)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.BPR1, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.BPR1, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Local3) If (LEqual (And (Local3, 0x8000), 0x8000)) { Store (Subtract (0x00010000, Local3), BIDA) } Else { Store (Local3, BIDA) } Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x0F)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.B1RC, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.B1RC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x17)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.BCC1, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.BCC1, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x18)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.B1DC, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.B1DC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x19)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.DVT1, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.DVT1, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x1B)) { Store (0xAAAA, BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x1C)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.BSN1, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.BSN1, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Local0) Store (^^PCI0.LPC.EC0.BAT0.ITOA (Local0), BIDA) Store (Zero, BIER) Return (BINR) } } If (LEqual (BATI, 0x02)) { If (LEqual (BATN, 0x03)) { Store (^^PCI0.LPC.EC0.B2ST, BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x08)) { Store (^^PCI0.LPC.EC0.BTT2, Local0) Store (Add (Local0, 0x0111), Local0) Store (Add (ShiftLeft (Local0, 0x03), ShiftLeft (Local0, One) ), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x09)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.B2FV, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.B2FV, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x0A)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.BPR2, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.BPR2, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Local3) If (LEqual (And (Local3, 0x8000), 0x8000)) { Store (Subtract (0x00010000, Local3), BIDA) } Else { Store (Local3, BIDA) } Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x0F)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.B2RC, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.B2RC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x17)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.BCC2, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.BCC2, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x18)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.B2DC, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.B2DC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x19)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.DVT2, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.DVT2, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x1B)) { Store (0xAAAA, BIDA) Store (Zero, BIER) Return (BINR) } If (LEqual (BATN, 0x1C)) { Store (ShiftRight (And (^^PCI0.LPC.EC0.BSN2, 0xFF00), 0x08), Local1) Store (And (^^PCI0.LPC.EC0.BSN2, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Local0) Store (^^PCI0.LPC.EC0.BAT0.ITOA (Local0), BIDA) Store (Zero, BIER) Return (BINR) } } } } 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) { If (LEqual (Arg1, One)) { IHWM (0x10, Arg2) Store (DI00, BUF1) Return (BUF1) } If (LEqual (Arg1, 0x02)) { IHWM (0x11, Arg2) Store (DI00, BUF1) Return (BUF1) } If (LEqual (Arg1, 0x03)) { IHWM (0x12, Arg2) Store (DI00, BUF1) Return (BUF1) } If (LEqual (Arg1, 0x04)) { Store (0xAA, P80H) Store (0xFF01, BF2L) Store (Zero, BF2H) Return (BF20) } If (LEqual (Arg1, 0x05)) { Store (Zero, BBSB) Return (BBSB) } If (LEqual (Arg1, 0x0A)) { If (LEqual (^^PCI0.LPC.EC0.VD2D, One)) { Store (One, BBSB) } Else { Store (Zero, BBSB) } Return (BBSB) } } } Device (PCI0) { Name (_HID, EisaId ("PNP0A08")) Name (_CID, EisaId ("PNP0A03")) Name (_ADR, Zero) Method (_INI, 0, NotSerialized) { Store (0x07D0, OSYS) If (CondRefOf (_OSI, Local0)) { 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) } } } 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 ,, _Y0E, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0xFED40000, // Range Minimum 0xFED44FFF, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, _Y0D, 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) } If (LNotEqual (^LPC.TPM.ACC0, 0xFF)) { CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, TPML) Store (0x5000, TPML) } CreateDWordField (BUF0, \_SB.PCI0._Y0E._MIN, M1MN) CreateDWordField (BUF0, \_SB.PCI0._Y0E._MAX, M1MX) CreateDWordField (BUF0, \_SB.PCI0._Y0E._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.LNKB, Zero }, Package (0x04) { 0x001CFFFF, One, ^LPC.LNKA, 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, 0x11 }, Package (0x04) { 0x001CFFFF, One, Zero, 0x10 }, 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 } }) } } Device (OVGA) { Name (_ADR, 0x00020000) OperationRegion (ISID, PCI_Config, 0x20, 0xC0) Field (ISID, AnyAcc, NoLock, Preserve) { Offset (0x0C), SVID, 16, SSID, 16 } 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) } } } 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) } } Method (_BCL, 0, NotSerialized) { If (IGDS) { Return (Package (0x0C) { 0x64, 0x1E, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) } Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Return (Package (0x0C) { 0x64, 0x1E, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) } Else { } } } Method (_BCM, 1, NotSerialized) { If (IGDS) { If (LAnd (LGreaterEqual (Arg0, 0x0A), LLessEqual (Arg0, 0x64))) { Store (Arg0, BRTL) AINT (One, Arg0) } } Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Store (Arg0, EVBC) ^^^PEGP.VGA.SETB (EVBC) } Else { } } } Method (_BQC, 0, NotSerialized) { If (IGDS) { Return (BRTL) } Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Return (EVBC) } Else { } } } } 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 (LEqual (Arg0, 0x99)) {} Else { If (LNot (And (TCHE, ShiftLeft (One, Arg0)))) { Return (One) } } If (PARD ()) { Return (One) } Name (_T_0, Zero) Store (Arg0, _T_0) If (LEqual (_T_0, 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 (_T_0, One)) { Store (Divide (Multiply (Arg1, 0xFF), 0x64, ), BCLP) Or (BCLP, 0x80000000, BCLP) Store (0x02, ASLC) } Else { If (LEqual (_T_0, Zero)) { Store (Arg1, ALSI) Store (One, ASLC) } Else { If (LEqual (_T_0, 0x99)) { Store (BCLP, ^^LPC.EC0.HH1C) If (LEqual (^^LPC.EC0.HH1D, One)) { Store (Match (LGDP, MEQ, ^^LPC.EC0.HH1C, MTR, Zero, Zero), Local0) Name (_T_1, Zero) Store (Arg1, _T_1) If (LEqual (_T_1, 0xA0)) { Increment (Local0) } Else { If (LEqual (_T_1, 0xA1)) { Decrement (Local0) } Else { If (LEqual (_T_1, 0xA2)) { Store (0x02, Local0) } Else { If (LEqual (_T_1, 0xA3)) { Store (0x09, Local0) } Else { If (LEqual (_T_1, 0xA4)) { Store (0x04, Local0) } Else { } } } } } Store (DerefOf (Index (LGDP, Local0)), BCLP) } If (LEqual (^^LPC.EC0.HH1D, 0xFF)) { Store (Match (AUOP, MEQ, ^^LPC.EC0.HH1C, MTR, Zero, Zero), Local0) Name (_T_2, Zero) Store (Arg1, _T_2) If (LEqual (_T_2, 0xA0)) { Increment (Local0) } Else { If (LEqual (_T_2, 0xA1)) { Decrement (Local0) } Else { If (LEqual (_T_2, 0xA2)) { Store (0x02, Local0) } Else { If (LEqual (_T_2, 0xA3)) { Store (0x09, Local0) } Else { If (LEqual (_T_2, 0xA4)) { Store (0x04, Local0) } Else { } } } } } Store (DerefOf (Index (AUOP, Local0)), BCLP) } If (LEqual (^^LPC.EC0.HH1D, 0x02)) { Store (Match (AUOL, MEQ, ^^LPC.EC0.HH1C, MTR, Zero, Zero), Local0) Name (_T_3, Zero) Store (Arg1, _T_3) If (LEqual (_T_3, 0xA0)) { Increment (Local0) } Else { If (LEqual (_T_3, 0xA1)) { Decrement (Local0) } Else { If (LEqual (_T_3, 0xA2)) { Store (0x02, Local0) } Else { If (LEqual (_T_3, 0xA3)) { Store (0x09, Local0) } Else { If (LEqual (_T_3, 0xA4)) { Store (0x04, Local0) } Else { } } } } } Store (DerefOf (Index (AUOL, Local0)), BCLP) } If (LEqual (^^LPC.EC0.HH1D, 0x03)) { Store (Match (LG52, MEQ, ^^LPC.EC0.HH1C, MTR, Zero, Zero), Local0) Name (_T_4, Zero) Store (Arg1, _T_4) If (LEqual (_T_4, 0xA0)) { Increment (Local0) } Else { If (LEqual (_T_4, 0xA1)) { Decrement (Local0) } Else { If (LEqual (_T_4, 0xA2)) { Store (0x02, Local0) } Else { If (LEqual (_T_4, 0xA3)) { Store (0x09, Local0) } Else { If (LEqual (_T_4, 0xA4)) { Store (0x04, Local0) } Else { } } } } } Store (DerefOf (Index (LG52, Local0)), BCLP) } Or (BCLP, 0x80000000, BCLP) Store (0x02, ASLC) } Else { Return (One) } } } } Store (Zero, LBPC) Return (Zero) } Method (SCIP, 0, NotSerialized) { If (LNotEqual (OVER, Zero)) { Return (LNot (GSMI)) } Return (Zero) } 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) { 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)))) } If (LEqual (Arg0, 0x05)) { Store (0x05, P80H) Store (One, PXFG) } If (LEqual (Arg0, 0x06)) { Store (0x06, P80H) Store (Zero, PXFG) } 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) { Store (Zero, GP20) Sleep (0x64) Store (Zero, GP18) While (LEqual (GP37, Zero)) { Store (0x59, P80H) } Sleep (0x64) Store (One, GP20) Sleep (0x64) Store (0x1025, ^^PEGP.VGA.SVID) Store (SSID, ^^PEGP.VGA.SSID) Store (0x1025, ^^PEGP.VGA1.SVID) Store (SSID, ^^PEGP.VGA1.SSID) Store (Zero, ^^PEGP.VGA.RS2E) Store (0x42, ^^PEGP.VGA.ASPM) Store (0x42, ^^PEGP.VGA1.ASPM) Store (One, DISF) } Else { Store (Zero, GP20) Sleep (0x64) Store (One, GP18) Store (Zero, DISF) Sleep (0x64) Store (One, ^^PEGP.VGA.RS2E) } Sleep (0x03E8) Notify (PEGP, Zero) Return (ATPB) } Method (BTS, 0, NotSerialized) { Store (0x85, ^^LPC.EC0.COMD) Sleep (0x0A) } Method (PX03, 1, NotSerialized) { CreateWordField (ATPB, Zero, SSZE) CreateWordField (ATPB, 0x02, DPSW) BTS () Store (0x04, SSZE) And (Arg0, One, DPSW) If (DPSW) { Store (Zero, GP36) Store (Zero, GP52) } Else { Store (One, GP19) Store (One, GP36) Store (One, GP52) } 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 (VGA) { Name (_ADR, Zero) OperationRegion (PSID, PCI_Config, Zero, 0xC0) Field (PSID, AnyAcc, NoLock, Preserve) { Offset (0x18), VMBR, 32, Offset (0x40), SVD2, 16, SSD2, 16, Offset (0x4C), SVID, 16, SSID, 16, Offset (0x68), ASPM, 8 } OperationRegion (RSSC, SystemMemory, 0xFED11100, 0xFF) Field (RSSC, ByteAcc, NoLock, Preserve) { Offset (0xB8), , 30, RS2E, 1 } Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Name (SWIT, One) Name (CRTA, One) Name (LCDA, One) Name (TVAA, One) Name (VLDF, One) Name (_PSC, Zero) Method (SETB, 1, NotSerialized) { Store (0xFF, BNS1) Store (Arg0, Local0) Divide (Local0, 0x0A, Local1, Local0) Decrement (Local0) If (LEqual (^^^LPC.EC0.HH1D, One)) { Store (DerefOf (Index (LGDP, Local0)), Local0) } If (LEqual (^^^LPC.EC0.HH1D, 0xFF)) { Store (DerefOf (Index (AUOP, Local0)), Local0) } If (LEqual (^^^LPC.EC0.HH1D, 0x02)) { Store (DerefOf (Index (AUOL, Local0)), Local0) } If (LEqual (^^^LPC.EC0.HH1D, 0x03)) { Store (DerefOf (Index (LG52, Local0)), Local0) } Store (Local0, BNSS) Store (One, BNSE) } Method (_PS0, 0, NotSerialized) { Store (Zero, _PSC) } Method (_PS1, 0, NotSerialized) { Store (One, _PSC) } Method (_PS3, 0, NotSerialized) { Store (0x03, _PSC) } Method (_DOS, 1, NotSerialized) { Store (And (Arg0, 0x03), SWIT) } Method (_DOD, 0, NotSerialized) { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Return (Package (0x03) { 0x0110, 0x0100, Zero }) } Else { Return (Package (0x03) { 0x0400, 0x80000240, Zero }) } } Device (CRT) { Method (_ADR, 0, NotSerialized) { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Return (0x0100) } Else { Return (0x80000240) } } Method (_DCS, 0, NotSerialized) { Store (CADL, Local0) Store (CSTE, Local1) And (Local0, 0x02, Local0) And (Local1, 0x02, Local1) If (Local0) { Store (One, CRTA) } Else { Store (Zero, CRTA) } If (CRTA) { If (LEqual (Local1, 0x02)) { Return (0x1F) } Else { Return (0x1D) } } Else { If (LEqual (Local1, 0x02)) { Return (0x0F) } Else { Return (0x0D) } } } Method (_DGS, 0, NotSerialized) { If (CRTA) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } } Device (LCD) { Method (_ADR, 0, NotSerialized) { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Return (0x0110) } Else { Return (0x0400) } } Method (_DCS, 0, NotSerialized) { Store (CADL, Local0) Store (CSTE, Local1) And (Local0, One, Local0) And (Local1, One, Local1) If (Local0) { Store (One, LCDA) } Else { Store (Zero, LCDA) } If (LCDA) { If (LEqual (Local1, One)) { Return (0x1F) } Else { Return (0x1D) } } Else { If (LEqual (Local1, One)) { Return (0x0F) } Else { Return (0x0D) } } } Method (_DGS, 0, NotSerialized) { If (LCDA) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } Method (_BCL, 0, NotSerialized) { If (IGDS) { Return (Package (0x0C) { 0x64, 0x1E, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) } Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Return (Package (0x0C) { 0x64, 0x1E, 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x46, 0x50, 0x5A, 0x64 }) } Else { } } } Method (_BCM, 1, NotSerialized) { If (IGDS) { If (LAnd (LGreaterEqual (Arg0, 0x0A), LLessEqual (Arg0, 0x64))) { Store (Arg0, BRTL) ^^^^OVGA.AINT (One, Arg0) } } Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Store (Arg0, EVBC) SETB (EVBC) } Else { } } } Method (_BQC, 0, NotSerialized) { If (IGDS) { Return (BRTL) } Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Return (EVBC) } Else { } } } } Device (HDV0) { Name (_ADR, Zero) } Device (TV) { Method (_ADR, 0, NotSerialized) { Return (0x0200) } Method (_DCS, 0, NotSerialized) { Store (CADL, Local0) Store (CSTE, Local1) And (Local0, 0x04, Local0) And (Local1, 0x04, Local1) If (Local0) { Store (One, TVAA) } Else { Store (Zero, TVAA) } If (TVAA) { If (LEqual (Local1, 0x04)) { Return (0x1F) } Else { Return (0x1D) } } Else { If (LEqual (Local1, 0x04)) { Return (0x0F) } Else { Return (0x0D) } } } Method (_DGS, 0, NotSerialized) { If (TVAA) { Return (One) } Else { Return (Zero) } } Method (_DSS, 1, NotSerialized) { } } } 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 (LPC) { Name (_ADR, 0x001F0000) OperationRegion (LPC, PCI_Config, Zero, 0xC0) Field (LPC, AnyAcc, NoLock, Preserve) { Offset (0xA0), , 7, C4C3, 1 } 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 } 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, 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, 0xFEB00000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEB01000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEB02000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEB03000, // Address Base 0x00001000, // 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 _Y0F) Memory32Fixed (ReadWrite, 0xFED45000, // Address Base 0x0004B000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEE00000, // Address Base 0x00001000, // Address Length ) }) Method (_CRS, 0, Serialized) { If (LNotEqual (^^TPM.ACC0, 0xFF)) { CreateDWordField (BUF0, \_SB.PCI0.LPC.SYSR._Y0F._LEN, HTPM) Store (Zero, HTPM) } 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 _Y10) }) 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._Y10._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 (ReadOnly, 0xFF800000, // Address Base 0x00800000, // Address Length ) }) } Device (PS2K) { Name (_HID, EisaId ("PNP0303")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQ (Edge, ActiveHigh, Exclusive, ) {1} }) Name (_PRS, ResourceTemplate () { StartDependentFn (0x00, 0x00) { FixedIO ( 0x0060, // Address 0x01, // Length ) FixedIO ( 0x0064, // Address 0x01, // Length ) IRQNoFlags () {1} } EndDependentFn () }) } Device (PS2M) { Name (_HID, EisaId ("SYN1B23")) Method (_INI, 0, NotSerialized) { If (LEqual (BMID, 0xE0)) { Store (0x241B2E4F, _HID) } Else { If (LEqual (BMID, 0xD0)) { Store (0x271B2E4F, _HID) } Else { If (LEqual (BMID, 0xC0)) { Store (0x281B2E4F, _HID) } Else { If (LEqual (BMID, 0xB0)) { Store (0x2C1B2E4F, _HID) } Else { If (LEqual (BMID, 0xA0)) { Store (0x231B2E4F, _HID) } Else { If (LEqual (BMID, 0x90)) { Store (0x241B2E4F, _HID) } Else { If (LEqual (BMID, 0x80)) { Store (0x271B2E4F, _HID) } Else { If (LEqual (BMID, 0x70)) { Store (0x281B2E4F, _HID) } Else { If (LEqual (BMID, 0x60)) { Store (0x2C1B2E4F, _HID) } Else { If (LEqual (BMID, 0x50)) { Store (0x2D1B2E4F, _HID) } Else { If (LEqual (BMID, 0x40)) { Store (0x2D1B2E4F, _HID) } Else { If (LEqual (BMID, 0x30)) { Store (0x2C1B2E4F, _HID) } Else { If (LEqual (BMID, 0x20)) { Store (0x2C1B2E4F, _HID) } Else { If (LEqual (BMID, 0x10)) { Store (0x281B2E4F, _HID) } Else { If (LEqual (BMID, Zero)) { Store (0x281B2E4F, _HID) } Else { Store (0x231B2E4F, _HID) } } } } } } } } } } } } } } } } Name (_CID, Package (0x03) { EisaId ("SYN1B00"), EisaId ("SYN0002"), EisaId ("PNP0F13") }) Name (_CRS, ResourceTemplate () { IRQ (Edge, ActiveHigh, Exclusive, ) {12} }) Name (_PRS, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IRQNoFlags () {12} } EndDependentFn () }) } Name (TRYT, Zero) Scope (\_SB.PCI0.LPC) { Device (EC0) { Name (_HID, EisaId ("PNP0C09")) Name (_UID, One) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) Name (ECON, Zero) Name (_GPE, 0x18) OperationRegion (ECRM, EmbeddedControl, Zero, 0xFF) Field (ECRM, ByteAcc, NoLock, Preserve) { ACPL, 1, Offset (0x01), Offset (0x20), MAN1, 112, DND1, 80, BTY1, 80, B1DC, 16, DVT1, 16, BSN1, 16, BTT1, 8, BPR1, 16, B1FV, 16, Offset (0x53), B1ST, 16, BRS1, 8, B1RC, 16, B1FC, 16, BCC1, 16, Offset (0x5D), DIS1, 1, CHR1, 1, PRE1, 1, REF1, 1, AVL1, 1, , 1, FUC1, 1, STC1, 1, Offset (0x70), MAN2, 112, DND2, 80, BTY2, 80, B2DC, 16, DVT2, 16, BSN2, 16, BTT2, 8, BPR2, 16, B2FV, 16, Offset (0xA3), B2ST, 16, BRS2, 8, B2RC, 16, B2FC, 16, BCC2, 16, Offset (0xAD), DIS2, 1, CHR2, 1, PRE2, 1, REF2, 1, AVL2, 1, , 1, FUC2, 1, STC2, 1 } OperationRegion (\ECMB, SystemIO, 0x0600, 0x02) Field (ECMB, ByteAcc, NoLock, Preserve) { MIDX, 8, MDAT, 8 } IndexField (MIDX, MDAT, ByteAcc, NoLock, Preserve) { COMD, 8, DAT0, 8, DAT1, 8, ADD0, 8, ADD1, 8, Offset (0x08), , 4, EJBT, 1, Offset (0x09), BEXT, 1, WEXT, 1, G3XT, 1, WCXT, 1, BTST, 1, WFST, 1, G3ST, 1, WCST, 1, TPST, 1, RBST, 1, BAST, 1, , 4, VD2D, 1, Offset (0x0D), LDST, 1, ACIN, 1, CRT1, 1, BLIG, 1, Offset (0x0F), MBID, 8, Offset (0x1B), HHWM, 8, HH1C, 8, HH1D, 8, HH1E, 1, HH2E, 1, HH3E, 1, HH4E, 1, Offset (0x1F), HH1F, 8 } Method (ECW1, 1, NotSerialized) { While (COMD) { Sleep (0x0A) } Store (Arg0, COMD) Sleep (0x0A) If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } } Method (ECW2, 2, NotSerialized) { While (COMD) { Sleep (0x0A) } Store (Arg0, DAT0) Store (Arg1, COMD) Sleep (0x0A) If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } If (COMD) { Sleep (0x0A) } } Name (Q1CS, Zero) Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, ECON) Notify (ADP1, 0x80) Notify (BAT0, 0x80) Notify (BAT0, 0x81) If (LOr (LEqual (BMID, 0x20), LEqual (BMID, 0x30))) { Notify (BAT1, 0x80) Notify (BAT1, 0x81) } } } Method (_Q0A, 0, NotSerialized) { Notify (ADP1, 0x80) Notify (BAT0, 0x81) Notify (BAT0, 0x80) If (LOr (LEqual (BMID, 0x20), LEqual (BMID, 0x30))) { Notify (BAT1, 0x80) Notify (BAT1, 0x81) } If (LNot (ACIN)) { If (HH1E) {} Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Store (0x1E, EVBC) ^^^PEGP.VGA.SETB (EVBC) } Else { Sleep (0x07D0) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) ^^^OVGA.AINT (0x99, 0xA2) } } } Else { If (HH1E) {} Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Store (0x64, EVBC) ^^^PEGP.VGA.SETB (EVBC) } Else { Sleep (0x07D0) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) ^^^OVGA.AINT (0x99, 0xA3) } } } If (BAST) { If (DISF) { If (LNot (HH1E)) { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) {} Else { ^^^OVGA.AFN6 () } } } } Else { If (LNot (DISF)) { If (LNot (HH1E)) { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) {} Else { ^^^OVGA.AFN6 () } } } } } Method (_Q0B, 0, NotSerialized) { Notify (ADP1, 0x80) Notify (BAT0, 0x81) Notify (BAT0, 0x80) If (LOr (LEqual (BMID, 0x20), LEqual (BMID, 0x30))) { Notify (BAT1, 0x80) Notify (BAT1, 0x81) } } Method (_Q0D, 0, NotSerialized) { Store (Zero, THTL) } Method (_Q0E, 0, NotSerialized) { Store (0x18, THTL) } Method (_Q0F, 0, NotSerialized) { If (ECON) { Store (0x69, \_TZ.THPP) Notify (\_TZ.TZ00, 0x80) } } Method (_Q70, 0, NotSerialized) { } Method (_Q71, 0, NotSerialized) { If (IGDS) { Notify (^^^OVGA.DD03, 0x86) Notify (^^^PEGP.VGA.LCD, 0x86) If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6))) { ^^^OVGA.AINT (0x99, 0xA0) } } Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { If (LGreater (OSYS, 0x07D5)) { Notify (^^^PEGP.VGA.LCD, 0x86) } Else { If (LLess (EVBC, 0x64)) { Add (EVBC, 0x0A, EVBC) ^^^PEGP.VGA.SETB (EVBC) } } } } } Method (_Q72, 0, NotSerialized) { If (IGDS) { Notify (^^^OVGA.DD03, 0x87) Notify (^^^PEGP.VGA.LCD, 0x87) If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6))) { ^^^OVGA.AINT (0x99, 0xA1) } } Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { If (LGreater (OSYS, 0x07D5)) { Notify (^^^PEGP.VGA.LCD, 0x87) } Else { If (LGreater (EVBC, 0x0A)) { Subtract (EVBC, 0x0A, EVBC) ^^^PEGP.VGA.SETB (EVBC) } } } } } Method (_Q75, 0, NotSerialized) { } Method (_Q76, 0, NotSerialized) { Store (0x76, P80H) If (BLIG) { Store (0xA1, HHWM) Notify (WMID, 0x80) } Else { Store (0xA2, HHWM) Notify (WMID, 0x80) } } Method (_Q77, 0, NotSerialized) { Store (0x77, P80H) If (BTST) { Store (0xA3, HHWM) Notify (WMID, 0x80) } Else { Store (0xA4, HHWM) Notify (WMID, 0x80) } } Method (_Q78, 0, NotSerialized) { Store (0x78, P80H) If (WFST) { Store (0xA5, HHWM) Notify (WMID, 0x80) } Else { Store (0xA6, HHWM) Notify (WMID, 0x80) } } Method (_Q79, 0, NotSerialized) { Store (0x79, P80H) If (ACIN) { Store (0xA8, HHWM) Notify (WMID, 0x80) } Else { If (BAST) { Store (0xA7, HHWM) Notify (WMID, 0x80) If (HH1E) {} Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Store (0x1E, EVBC) ^^^PEGP.VGA.SETB (EVBC) } Else { Sleep (0x07D0) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) ^^^OVGA.AINT (0x99, 0xA2) } } } Else { Store (0xA8, HHWM) Notify (WMID, 0x80) If (HH1E) {} Else { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) { Store (0x32, EVBC) ^^^PEGP.VGA.SETB (EVBC) } Else { Sleep (0x07D0) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x87) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) Notify (^^^OVGA.DD03, 0x86) Sleep (One) ^^^OVGA.AINT (0x99, 0xA4) } } } If (LNot (ACPL)) { If (BAST) { If (DISF) { If (LNot (HH1E)) { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) {} Else { ^^^OVGA.AFN6 () } } } } Else { If (LNot (DISF)) { If (LNot (HH1E)) { If (LAnd (LEqual (SPSG, One), LEqual (DPMD, One))) {} Else { ^^^OVGA.AFN6 () } } } } } } } Method (_Q80, 0, NotSerialized) { Store (0x80, P80H) If (EJBT) { Store (Zero, EJBT) If (HH2E) { Store (0xA9, HHWM) Notify (WMID, 0x80) } Else { Store (0x81, P80H) Store (0x2E, SSMP) } } Store (Zero, EJBT) } Method (_Q90, 0, NotSerialized) { } Method (_Q91, 0, NotSerialized) { Name (COUN, Zero) If (PXFG) { Store (0x64, COUN) While (LAnd (PXFG, COUN)) { Sleep (0x64) Decrement (COUN) } } Notify (LID0, 0x80) } Method (_Q92, 0, NotSerialized) { } Method (_Q93, 0, NotSerialized) { Store (0xB1, HHWM) Notify (WMID, 0x80) } Method (_Q94, 0, NotSerialized) { } Device (BAT0) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, Zero) Name (_PCL, Package (0x01) { _SB }) Method (_STA, 0, NotSerialized) { If (ECON) { If (PRE1) { Return (0x1F) } Else { Return (0x0B) } } Else { Return (0x0B) } } Name (BPKG, Package (0x0D) { One, 0x1450, 0x1450, One, 0x2B5C, Zero, Zero, 0x64, Zero, "XXXX", "XXXX", "XXXX", "XXXX" }) Method (_BIF, 0, NotSerialized) { Store (ShiftRight (And (B1DC, 0xFF00), 0x08), Local1) Store (And (B1DC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Local3) Store (Local3, Index (BPKG, One)) Store (ShiftRight (And (B1FC, 0xFF00), 0x08), Local1) Store (And (B1FC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Index (BPKG, 0x02)) Store (ShiftRight (And (DVT1, 0xFF00), 0x08), Local1) Store (And (DVT1, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Index (BPKG, 0x04)) Store (DND1, Index (BPKG, 0x09)) Store (And (BSN1, 0xFF00), Local0) ShiftRight (Local0, 0x10) Store (And (BSN1, 0xFF), Local1) ShiftLeft (Local1, 0x10) Add (Local0, Local1, Local0) Store (ITOA (Local0), Index (BPKG, 0x0A)) Store (BTY1, Index (BPKG, 0x0B)) Store (MAN1, Index (BPKG, 0x0C)) Return (BPKG) } Name (PKG1, Package (0x04) { Ones, Ones, Ones, Ones }) Method (_BST, 0, NotSerialized) { If (ECON) { Store (DIS1, Local1) Store (Or (ShiftLeft (CHR1, One), Local1), Local1) Store (Local1, Index (PKG1, Zero)) Store (ShiftRight (And (BPR1, 0xFF00), 0x08), Local1) Store (And (BPR1, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Local3) If (LEqual (And (Local3, 0x8000), 0x8000)) { Store (Subtract (0x00010000, Local3), Index (PKG1, One)) } Else { Store (Local3, Index (PKG1, One)) } If (ACPL) { If (FUC1) { Store (Zero, Index (PKG1, One)) } } Store (ShiftRight (And (B1RC, 0xFF00), 0x08), Local1) Store (And (B1RC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Index (PKG1, 0x02)) If (ACPL) { If (FUC1) { Store (0x7FFFFFFF, Index (PKG1, 0x02)) } } Store (ShiftRight (And (B1FV, 0xFF00), 0x08), Local1) Store (And (B1FV, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Index (PKG1, 0x03)) } Return (PKG1) } Method (ITOA, 1, NotSerialized) { Store ("", Local0) Store (0x04, Local1) While (Local1) { Decrement (Local1) And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4) Store (DerefOf (Index (CHAR, Local4)), Local2) Concatenate (Local0, Local2, Local5) Store (Local5, Local0) } Return (Local0) } Name (CHAR, Package (0x10) { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F" }) } Device (BAT1) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, One) Name (_PCL, Package (0x01) { _SB }) Method (_STA, 0, NotSerialized) { If (LOr (LEqual (BMID, 0x20), LEqual (BMID, 0x30))) { If (ECON) { If (PRE2) { Return (0x1F) } Else { Return (0x0B) } } Else { Return (0x0B) } } Else { Return (Zero) } } Name (BPKG, Package (0x0D) { One, 0x1450, 0x1450, One, 0x2B5C, Zero, Zero, 0x64, Zero, "XXXX", "XXXX", "XXXX", "XXXX" }) Method (_BIF, 0, NotSerialized) { Store (ShiftRight (And (B2DC, 0xFF00), 0x08), Local1) Store (And (B2DC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Local3) Store (Local3, Index (BPKG, One)) Store (ShiftRight (And (B2FC, 0xFF00), 0x08), Local1) Store (And (B2FC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Index (BPKG, 0x02)) Store (ShiftRight (And (DVT2, 0xFF00), 0x08), Local1) Store (And (DVT2, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Index (BPKG, 0x04)) Store (DND2, Index (BPKG, 0x09)) Store (And (BSN2, 0xFF00), Local0) ShiftRight (Local0, 0x10) Store (And (BSN2, 0xFF), Local1) ShiftLeft (Local1, 0x10) Add (Local0, Local1, Local0) Store (ITOA (Local0), Index (BPKG, 0x0A)) Store (BTY2, Index (BPKG, 0x0B)) Store (MAN2, Index (BPKG, 0x0C)) Return (BPKG) } Name (PKG1, Package (0x04) { Ones, Ones, Ones, Ones }) Method (_BST, 0, NotSerialized) { If (ECON) { Store (DIS2, Local1) Store (Or (ShiftLeft (CHR2, One), Local1), Local1) Store (Local1, Index (PKG1, Zero)) Store (ShiftRight (And (BPR2, 0xFF00), 0x08), Local1) Store (And (BPR2, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Local3) If (LEqual (And (Local3, 0x8000), 0x8000)) { Store (Subtract (0x00010000, Local3), Index (PKG1, One)) } Else { Store (Local3, Index (PKG1, One)) } If (ACPL) { If (FUC2) { Store (Zero, Index (PKG1, One)) } } Store (ShiftRight (And (B2RC, 0xFF00), 0x08), Local1) Store (And (B2RC, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Index (PKG1, 0x02)) If (ACPL) { If (FUC2) { Store (0x7FFFFFFF, Index (PKG1, 0x02)) } } Store (ShiftRight (And (B2FV, 0xFF00), 0x08), Local1) Store (And (B2FV, 0xFF), Local2) Store (Or (ShiftLeft (Local2, 0x08), Local1), Index (PKG1, 0x03)) } Return (PKG1) } Method (ITOA, 1, NotSerialized) { Store ("", Local0) Store (0x04, Local1) While (Local1) { Decrement (Local1) And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4) Store (DerefOf (Index (CHAR, Local4)), Local2) Concatenate (Local0, Local2, Local5) Store (Local5, Local0) } Return (Local0) } Name (CHAR, Package (0x10) { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F" }) } Device (ADP1) { Name (BFLG, One) Name (ACFL, One) Name (INIT, One) Name (_HID, "ACPI0003") Method (_PSR, 0, NotSerialized) { If (ECON) { And (ACPL, One, Local1) Return (Local1) } Else { Return (Zero) } } Method (_PCL, 0, NotSerialized) { Return (_SB) } Method (_STA, 0, NotSerialized) { Return (0x0F) } } } } Device (TPM) { Method (_HID, 0, NotSerialized) { If (LEqual (TPMV, 0x000B15D1)) { Return (0x0201D824) } If (LEqual (TPMV, 0x687119FA)) { Return (0x0435CF4D) } If (LEqual (TPMV, 0x100114E4)) { Return (0x02016D08) } If (LEqual (TPMV, 0x100214E4)) { Return (0x01016D08) } If (LOr (LEqual (TPMV, 0x00FE1050), LEqual (TPMV, 0x00FE100B))) { Return (0x0010A35C) } If (LEqual (TPMV, 0x32021114)) { Return (0x00128D06) } If (LEqual (TPMV, 0x10208086)) { Return ("INTC0102") } Return (0x310CD041) } Name (_CID, EisaId ("PNP0C31")) Name (_STR, Unicode ("TPM 1.2 Device")) Name (_CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xFED40000, // Address Base 0x00005000, // Address Length ) }) OperationRegion (CMOS, SystemIO, 0x70, 0x04) Field (CMOS, ByteAcc, NoLock, Preserve) { IDX0, 7, Offset (0x01), DAT0, 8, IDX1, 7, Offset (0x03), DAT1, 8 } IndexField (IDX1, DAT1, ByteAcc, NoLock, Preserve) { Offset (0x40), CCMD, 8, LCMD, 8, LRET, 32, EXST, 8 } OperationRegion (SSMI, SystemIO, 0xB2, One) Field (SSMI, ByteAcc, NoLock, Preserve) { SMID, 8 } OperationRegion (TPMR, SystemMemory, 0xFED40000, 0x5000) Field (TPMR, AnyAcc, NoLock, Preserve) { ACC0, 8, Offset (0xF00), TPMV, 32 } Method (_INI, 0, NotSerialized) { Store (_STA (), EXST) } Method (_STA, 0, NotSerialized) { If (LEqual (ACC0, 0xFF)) { Return (Zero) } Return (0x0F) } Method (HINF, 3, NotSerialized) { Name (_T_0, Zero) Store (Arg1, _T_0) If (LEqual (_T_0, Zero)) { Return (Buffer (One) { 0x01 }) } Else { If (LEqual (_T_0, One)) { If (LEqual (_STA (), Zero)) { Return (Package (0x01) { Zero }) } Return (Package (0x02) { One, Package (0x02) { One, 0x20 } }) } Else { BreakPoint } } Return (Buffer (Zero) {}) } Method (TPPI, 3, NotSerialized) { Name (_T_0, Zero) Store (Arg1, _T_0) If (LEqual (_T_0, Zero)) { Return (Buffer (One) { 0x3F }) } Else { If (LEqual (_T_0, One)) { Return ("1.0") } Else { If (LEqual (_T_0, 0x02)) { CreateByteField (Arg2, Zero, TPC1) Or (TPC1, 0x80, TPCC) Store (0x50, SMID) Return (Zero) } Else { If (LEqual (_T_0, 0x03)) { Name (TCCP, Package (0x02) { Zero, 0xFF }) Store (TPCC, Index (TCCP, One)) Return (TCCP) } Else { If (LEqual (_T_0, 0x04)) { Return (0x02) } Else { If (LEqual (_T_0, 0x05)) { Name (TLCR, Package (0x03) { Zero, 0xFF, 0xFFFF }) Store (TPLC, Index (TLCR, One)) Store (TPLR, Index (TLCR, 0x02)) Return (TLCR) } Else { If (LEqual (_T_0, 0x06)) { Store (DerefOf (Index (Arg2, 0x04)), Local0) Store (DerefOf (Index (Arg2, 0x05)), Local1) If (LOr (LEqual (Local0, 0x65), LEqual (Local0, 0x45))) { If (LOr (LEqual (Local1, 0x6E), LEqual (Local1, 0x4E))) { Return (Zero) } } Return (One) } Else { BreakPoint } } } } } } } Return (One) } Method (SMOR, 3, NotSerialized) { Store (Index (Arg2, Zero), TPMM) Store (0x48, SMID) Return (Zero) } Method (_DSM, 4, NotSerialized) { If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0xA5, 0x16, 0x8E, 0xCF, 0xE8, 0xC1, 0x25, 0x4E, /* 0008 */ 0xB7, 0x12, 0x4F, 0x54, 0xA9, 0x67, 0x02, 0xC8 })) { Return (HINF (Arg1, Arg2, Arg3)) } If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0xA6, 0xFA, 0xDD, 0x3D, 0x1B, 0x36, 0xB4, 0x4E, /* 0008 */ 0xA4, 0x24, 0x8D, 0x10, 0x08, 0x9D, 0x16, 0x53 })) { Return (TPPI (Arg1, Arg2, Arg3)) } If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0xED, 0x54, 0x60, 0x37, 0x13, 0xCC, 0x75, 0x46, /* 0008 */ 0x90, 0x1C, 0x47, 0x56, 0xD7, 0xF2, 0xD4, 0x5D })) { Return (SMOR (Arg1, Arg2, Arg3)) } Return (Buffer (Zero) {}) } } } Device (UHC0) { Name (_ADR, 0x001D0000) 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 (HUB1) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA1, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA1, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } } Device (UHC1) { Name (_ADR, 0x001D0001) 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 (HUB1) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA1, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } } Device (UHC2) { Name (_ADR, 0x001D0002) 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 (HUB1) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } } Device (UHCR) { Name (_ADR, 0x001D0003) Device (HUB1) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } 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) 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 (HUB7) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA1, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA1, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR3) { Name (_ADR, 0x03) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA1, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR4) { Name (_ADR, 0x04) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR5) { Name (_ADR, 0x05) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR6) { Name (_ADR, 0x06) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR7) { Name (_ADR, 0x07) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR8) { Name (_ADR, 0x08) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } } Device (UHC3) { Name (_ADR, 0x001A0000) 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 (HUB1) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } } Device (UHC4) { Name (_ADR, 0x001A0001) 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 (HUB1) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) Method (_RMV, 0, NotSerialized) { Return (One) } } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA1, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } } Device (UHC5) { Name (_ADR, 0x001A0002) 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 (HUB1) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } } Device (EHC2) { Name (_ADR, 0x001A0007) 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 (HUB7) { Name (_ADR, Zero) Device (POR1) { Name (_ADR, One) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR2) { Name (_ADR, 0x02) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR3) { Name (_ADR, 0x03) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) Method (_RMV, 0, NotSerialized) { Return (One) } } Device (POR4) { Name (_ADR, 0x04) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA1, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR5) { Name (_ADR, 0x05) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } Device (POR6) { Name (_ADR, 0x06) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) Name (_PLD, Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }) } } } 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) Name (_PRW, Package (0x02) { 0x09, 0x04 }) } 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) Name (_PRW, Package (0x02) { 0x09, 0x04 }) } 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) Name (_PRW, Package (0x02) { 0x09, 0x04 }) } 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) Name (_PRW, Package (0x02) { 0x09, 0x04 }) } 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) Name (_PRW, Package (0x02) { 0x09, 0x04 }) } 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) Name (_PRW, Package (0x02) { 0x09, 0x04 }) } 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) } } } }