/* RSD PTR: OEM=ACPIAM, ACPI_Rev=2.0x (3) XSDT=0x000000007bfd0100, length=36, cksum=99 */ /* XSDT: Length=76, Revision=1, Checksum=185, OEMID=R D C, OEM Table ID=QA09, OEM Revision=0x20151227, Creator ID=MSFT, Creator Revision=0x97 Entries={ 0x000000007bfd0290, 0x000000007bfd0390, 0x000000007bfd03f0, 0x000000007bfd0450, 0x000000007bfde040 } */ /* FACP: Length=244, Revision=4, Checksum=27, OEMID=R D C, OEM Table ID=OEMFACP, OEM Revision=0x20151227, Creator ID=MSFT, Creator Revision=0x97 FACS=0x7bfde000, DSDT=0x7bfd05d0 INT_MODEL=APIC Preferred_PM_Profile=Mobile (2) SCI_INT=9 SMI_CMD=0xb2, ACPI_ENABLE=0xe1, ACPI_DISABLE=0x1e, S4BIOS_REQ=0x0 PSTATE_CNT=0xe2 PM1a_EVT_BLK=0x800-0x803 PM1a_CNT_BLK=0x804-0x805 PM_TMR_BLK=0x808-0x80b GPE0_BLK=0x820-0x827 CST_CNT=0xe3 P_LVL2_LAT=101 us, P_LVL3_LAT=1001 us FLUSH_SIZE=1024, FLUSH_STRIDE=16 DUTY_OFFSET=1, DUTY_WIDTH=3 DAY_ALRM=13, MON_ALRM=0, CENTURY=50 IAPC_BOOT_ARCH={LEGACY_DEVICES,8042} Flags={WBINVD,SLEEP_BUTTON,S4_RTC_WAKE} ArmBootFlags={} MinorRevision=0 X_FACS=0x000000007bfde000, X_DSDT=0x000000007bfd05d0 X_PM1a_EVT_BLK=0x00:0[32] (IO) X_PM1a_CNT_BLK=0x00:0[16] (IO) */ /* FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000 Global_Lock={} Flags={} Version=1 OspmFlags={} */ /* DSDT: Length=21289, Revision=2, Checksum=15, OEMID=EMKORE, OEM Table ID=EMKORE00, OEM Revision=0x0, Creator ID=INTL, Creator Revision=0x20060707 */ /* APIC: Length=92, Revision=2, Checksum=39, OEMID=R D C, OEM Table ID=APIC1706, OEM Revision=0x20151227, Creator ID=MSFT, Creator Revision=0x97 Local APIC ADDR=0xfee00000 Flags={PC-AT} Type=Local APIC ACPI CPU=1 Flags={ENABLED} APIC ID=0 Type=Local APIC ACPI CPU=2 Flags={ENABLED} APIC ID=1 Type=IO APIC APIC ID=2 INT BASE=0 ADDR=0x00000000fec00000 Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} */ /* MSDM: Length=85, Revision=3, Checksum=66, OEMID=R D C, OEM Table ID=QA09, OEM Revision=0x20151227, Creator ID=MSFT, Creator Revision=0x97 Data={ 4d 53 44 4d 55 00 00 00 03 42 52 20 44 20 43 20 51 41 30 39 20 20 20 00 27 12 15 20 4d 53 46 54 97 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 1d 00 00 00 33 59 56 34 5a 2d 35 55 4b 36 50 2d 36 53 48 35 50 2d 32 44 49 34 42 2d 32 45 4a 36 42 } */ /* SLIC: Length=374, Revision=1, Checksum=108, OEMID=R D C, OEM Table ID=QA09, OEM Revision=0x20151227, Creator ID=MSFT, Creator Revision=0x97 Data={ 53 4c 49 43 76 01 00 00 01 6c 52 20 44 20 43 20 51 41 30 39 20 20 20 00 27 12 15 20 4d 53 46 54 97 00 00 00 00 00 00 00 9c 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 7f f6 c1 05 be 5c 57 63 a5 8a 68 f3 6e 8f 06 fa af b4 9f 68 82 23 ec 50 40 5a 73 7f ec e4 07 cb dc 25 1a 9c e3 e3 66 11 e0 a5 98 06 c5 80 0a fa 42 93 86 98 e7 d5 1b d4 d7 3a a4 0b ee e2 7d be 5f 5b 15 0c ab d0 21 de bf e9 b5 6e a4 57 b9 8c 0c d2 ba 3a 69 30 76 94 71 a2 64 d7 4c d8 85 bf df a5 6a c8 dc 45 d5 4d 8c b8 8c 05 2f fc 2e 23 c4 29 c5 6f 3f 29 6c 6d 57 79 0e b6 75 ed 21 95 01 00 00 00 b6 00 00 00 00 00 02 00 52 20 44 20 43 20 51 41 30 39 20 20 20 00 57 49 4e 44 4f 57 53 20 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 b8 a7 56 40 af 02 b9 42 a8 07 7a d1 57 85 0f 88 e7 04 11 fb 35 34 14 60 b7 78 82 53 7b 67 3b 40 3f 40 c1 01 84 cb 05 c5 30 7d 36 82 60 f1 24 2e 46 15 9f ce 5a 24 44 5f 7f cf 5d b8 63 10 82 74 80 f7 7a f0 93 e2 21 2a af 6a 00 e3 1e 1a 36 dc 1e bd 2b 11 08 35 cf 24 52 22 d9 03 53 f2 6b 4b 13 ef 79 63 d9 5f a1 37 da 61 87 6f dd c5 07 b4 3e 48 7d 61 48 49 fb 25 d3 fc 2e e4 44 ef 38 } */ /* OEMB: Length=130, Revision=1, Checksum=138, OEMID=R D C, OEM Table ID=AMI_OEM, OEM Revision=0x20151227, Creator ID=MSFT, Creator Revision=0x97 Data={ 4f 45 4d 42 82 00 00 00 01 8a 52 20 44 20 43 20 41 4d 49 5f 4f 45 4d 20 27 12 15 20 4d 53 46 54 97 00 00 00 0c 10 00 00 00 00 7c 00 00 f8 ff 00 00 0d 00 00 00 01 00 00 00 00 7c 00 00 00 74 00 83 c0 31 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 00 00 00 0f 00 00 00 ff 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 10 00 00 00 } */ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20210930 (32-bit version) * Copyright (c) 2000 - 2021 Intel Corporation * * Disassembling to symbolic ASL+ operators * * Disassembly of /tmp/acpidump.7IjfSH/acpdump.din, Sun Nov 14 00:10:11 2021 * * Original Table Header: * Signature "DSDT" * Length 0x00005329 (21289) * Revision 0x02 * Checksum 0x0F * OEM ID "EMKORE" * OEM Table ID "EMKORE00" * OEM Revision 0x00000000 (0) * Compiler ID "INTL" * Compiler Version 0x20060707 (537265927) */ DefinitionBlock ("", "DSDT", 2, "EMKORE", "EMKORE00", 0x00000000) { Name (DP80, 0x80) Name (ECBA, 0xFED1C000) Name (PMBS, 0x0800) Name (PMLN, 0x80) Name (GPBS, Zero) Name (GPLN, Zero) Name (SMBS, Zero) Name (SMBL, Zero) Name (APIC, One) Name (MR64, Zero) Name (ECFG, Zero) Name (RDBG, Zero) Name (DP90, 0xE0) OperationRegion (BIOS, SystemMemory, 0x7BFDE064, 0xFF) Field (BIOS, ByteAcc, NoLock, Preserve) { SS1, 1, SS2, 1, SS3, 1, SS4, 1, Offset (0x01), IOST, 16, TOPM, 32, ROMS, 32, MG1B, 32, MG1L, 32, MG2B, 32, MG2L, 32, Offset (0x1C), DMAX, 8, HPTA, 32, CPB0, 32, CPB1, 32, CPB2, 32, CPB3, 32, ASSB, 8, AOTB, 8, AAXB, 32, SMIF, 8, DTSE, 8, DTS1, 8, DTS2, 8, MPEN, 8, TPMF, 8, MG3B, 32, MG3L, 32, MH1B, 32, MH1L, 32, OSTP, 8, M4BL, 32, M4BH, 32, M4LL, 32, M4LH, 32 } Method (RRIO, 4, NotSerialized) { Debug = "RRIO" } Method (RDMA, 3, NotSerialized) { Debug = "rDMA" } Name (PICM, Zero) Method (_PIC, 1, NotSerialized) // _PIC: Interrupt Model { If (Arg0) { DBG8 = 0xAA If (RDBG) { DBG9 = 0xAA } } Else { DBG8 = 0xAC If (RDBG) { DBG9 = 0xAC } } PICM = Arg0 } Name (OSVR, Ones) Method (OSFL, 0, NotSerialized) { If ((OSVR != Ones)) { Return (OSVR) /* \OSVR */ } Name (TTT0, Zero) TTT0 = OSYS () If ((TTT0 == One)) { OSVR = 0x03 } ElseIf ((TTT0 == 0x10)) { OSVR = One } ElseIf ((TTT0 == 0x11)) { OSVR = 0x02 } ElseIf ((TTT0 == 0x12)) { OSVR = 0x04 } ElseIf ((TTT0 == 0x13)) { OSVR = Zero } ElseIf ((TTT0 == 0x14)) { OSVR = Zero } ElseIf ((TTT0 == 0x15)) { OSVR = Zero } ElseIf ((TTT0 == 0x16)) { OSVR = Zero } Return (OSVR) /* \OSVR */ } Method (MCTH, 2, NotSerialized) { If ((SizeOf (Arg0) < SizeOf (Arg1))) { Return (Zero) } Local0 = (SizeOf (Arg0) + One) Name (BUF0, Buffer (Local0){}) Name (BUF1, Buffer (Local0){}) BUF0 = Arg0 BUF1 = Arg1 While (Local0) { Local0-- If ((DerefOf (BUF0 [Local0]) != DerefOf (BUF1 [Local0] ))) { Return (Zero) } } Return (One) } Name (PRWP, Package (0x02) { Zero, Zero }) Method (GPRW, 2, NotSerialized) { PRWP [Zero] = Arg0 Local0 = (SS1 << One) Local0 |= (SS2 << 0x02) Local0 |= (SS3 << 0x03) Local0 |= (SS4 << 0x04) If (((One << Arg1) & Local0)) { PRWP [One] = Arg1 } Else { Local0 >>= One If (((OSFL () == One) || (OSFL () == 0x02))) { FindSetLeftBit (Local0, PRWP [One]) } Else { FindSetRightBit (Local0, PRWP [One]) } } Return (PRWP) /* \PRWP */ } Name (WAKP, Package (0x02) { Zero, Zero }) OperationRegion (DEB0, SystemIO, DP80, 0x0F) Field (DEB0, ByteAcc, NoLock, Preserve) { DBG8, 8, Offset (0x04), SP40, 24, Offset (0x08), SP80, 1, Offset (0x09), Offset (0x0C), SPC0, 24 } OperationRegion (DEB1, SystemIO, DP90, 0x02) Field (DEB1, WordAcc, NoLock, Preserve) { DBG9, 16 } Method (OSYS, 0, NotSerialized) { Local0 = 0x10 If (CondRefOf (_OSI, Local1)) { If (_OSI ("Windows 2000")) { Local0 = 0x12 } If (_OSI ("Windows 2001")) { Local0 = 0x13 } If (_OSI ("Windows 2001 SP1")) { Local0 = 0x13 } If (_OSI ("Windows 2001 SP2")) { Local0 = 0x13 } If (_OSI ("Windows 2001.1")) { Local0 = 0x14 } If (_OSI ("Windows 2001.1 SP1")) { Local0 = 0x14 } If (_OSI ("Windows 2006")) { Local0 = 0x15 } If (_OSI ("Windows 2009")) { Local0 = 0x16 } } ElseIf (MCTH (_OS, "Microsoft Windows NT")) { Local0 = 0x12 } ElseIf (MCTH (_OS, "Microsoft WindowsME: Millennium Edition")) { Local0 = 0x11 } Return (Local0) } Scope (_PR) { Processor (P001, 0x01, 0x00000810, 0x06){} Processor (P002, 0x02, 0x00000000, 0x00){} Alias (P001, CPU1) Alias (P002, CPU2) } Scope (_SB) { Name (PR00, Package (0x13) { Package (0x04) { 0x000DFFFF, Zero, LNKG, Zero }, Package (0x04) { 0x0001FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0001FFFF, One, LNKB, Zero }, Package (0x04) { 0x0001FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0001FFFF, 0x03, LNKD, Zero }, Package (0x04) { 0x0002FFFF, Zero, LNKB, Zero }, Package (0x04) { 0x0002FFFF, One, LNKC, Zero }, Package (0x04) { 0x0002FFFF, 0x02, LNKD, Zero }, Package (0x04) { 0x0002FFFF, 0x03, LNKA, Zero }, Package (0x04) { 0x0003FFFF, Zero, LNKC, Zero }, Package (0x04) { 0x0003FFFF, One, LNKD, Zero }, Package (0x04) { 0x0003FFFF, 0x02, LNKA, Zero }, Package (0x04) { 0x0003FFFF, 0x03, LNKB, Zero }, Package (0x04) { 0x0008FFFF, Zero, LNKD, Zero }, Package (0x04) { 0x000AFFFF, Zero, LNKC, Zero }, Package (0x04) { 0x000AFFFF, One, LNKF, Zero }, Package (0x04) { 0x000CFFFF, Zero, LNKH, Zero }, Package (0x04) { 0x000EFFFF, Zero, LNKC, Zero }, Package (0x04) { 0x000FFFFF, Zero, LNKF, Zero } }) Name (AR00, Package (0x13) { Package (0x04) { 0x000DFFFF, Zero, Zero, 0x16 }, 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, 0x11 }, Package (0x04) { 0x0002FFFF, One, Zero, 0x12 }, Package (0x04) { 0x0002FFFF, 0x02, Zero, 0x13 }, Package (0x04) { 0x0002FFFF, 0x03, Zero, 0x10 }, Package (0x04) { 0x0003FFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x0003FFFF, One, Zero, 0x13 }, Package (0x04) { 0x0003FFFF, 0x02, Zero, 0x10 }, Package (0x04) { 0x0003FFFF, 0x03, Zero, 0x11 }, Package (0x04) { 0x0008FFFF, Zero, Zero, 0x13 }, Package (0x04) { 0x000AFFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x000AFFFF, One, Zero, 0x15 }, Package (0x04) { 0x000CFFFF, Zero, Zero, 0x17 }, Package (0x04) { 0x000EFFFF, Zero, Zero, 0x12 }, Package (0x04) { 0x000FFFFF, Zero, Zero, 0x15 } }) Name (PR01, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKA, Zero }, Package (0x04) { 0xFFFF, One, LNKB, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKC, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKD, Zero } }) Name (AR01, 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 } }) Name (PR02, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKB, Zero }, Package (0x04) { 0xFFFF, One, LNKC, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKD, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKA, Zero } }) Name (AR02, 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 } }) Name (PR03, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNKC, Zero }, Package (0x04) { 0xFFFF, One, LNKD, Zero }, Package (0x04) { 0xFFFF, 0x02, LNKA, Zero }, Package (0x04) { 0xFFFF, 0x03, LNKB, Zero } }) Name (AR03, 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 } }) Name (PRSA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,6,7,9,10,11,12,14,15} }) Alias (PRSA, PRSB) Alias (PRSA, PRSC) Name (PRSD, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,6,9,10,11,12,14,15} }) Alias (PRSA, PRSE) Alias (PRSA, PRSF) Alias (PRSA, PRSG) Name (PRSH, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,6,7,9,10,11,12,14,15} }) Device (PCI0) { Name (_HID, EisaId ("PNP0A03") /* PCI Bus */) // _HID: Hardware ID Name (_ADR, Zero) // _ADR: Address Method (^BN00, 0, NotSerialized) { Return (Zero) } Method (_BBN, 0, NotSerialized) // _BBN: BIOS Bus Number { Return (BN00 ()) } Name (_UID, Zero) // _UID: Unique ID Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR00) /* \_SB_.AR00 */ } Return (PR00) /* \_SB_.PR00 */ } Method (NPTS, 1, NotSerialized) { } Method (NWAK, 1, NotSerialized) { } Device (VGA) { Name (_ADR, 0x000D0000) // _ADR: Address OperationRegion (VSID, PCI_Config, Zero, 0x04) Field (VSID, ByteAcc, NoLock, Preserve) { REG0, 32 } Method (PRST, 0, NotSerialized) { If ((REG0 == Ones)) { Return (Zero) } Else { Return (One) } } Device (CRTD) { Name (_ADR, 0x0100) // _ADR: Address Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status { Return (0x1F) } } } Device (P0P1) { Name (_ADR, 0x00010000) // _ADR: Address Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR01) /* \_SB_.AR01 */ } Return (PR01) /* \_SB_.PR01 */ } Device (PCI1) { Name (_ADR, Zero) // _ADR: Address } } Device (P0P2) { Name (_ADR, 0x00020000) // _ADR: Address Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR02) /* \_SB_.AR02 */ } Return (PR02) /* \_SB_.PR02 */ } Device (PCI2) { Name (_ADR, Zero) // _ADR: Address } } Device (P0P3) { Name (_ADR, 0x00030000) // _ADR: Address Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table { If (PICM) { Return (AR03) /* \_SB_.AR03 */ } Return (PR03) /* \_SB_.PR03 */ } Device (PCI3) { Name (_ADR, Zero) // _ADR: Address } } Device (SBRG) { Name (_ADR, 0x00070000) // _ADR: Address OperationRegion (URTA, PCI_Config, 0x53, 0x05) Field (URTA, ByteAcc, NoLock, Preserve) { UIRA, 4, FFSA, 1, F80A, 1, UCSA, 1, UEDA, 1, UIAL, 8, UIAH, 8, Offset (0x05) } OperationRegion (URTB, PCI_Config, 0xA0, 0x04) Field (URTB, ByteAcc, NoLock, Preserve) { UIBL, 8, UIBH, 8, UIRB, 4, HCSB, 1, FFSB, 1, UCSB, 1, UEDB, 1, Offset (0x04) } OperationRegion (URTC, PCI_Config, 0xA4, 0x04) Field (URTC, ByteAcc, NoLock, Preserve) { UICL, 8, UICH, 8, UIRC, 4, HCSC, 1, FFSC, 1, UCSC, 1, UEDC, 1, Offset (0x04) } OperationRegion (URTD, PCI_Config, 0xA8, 0x04) Field (URTD, ByteAcc, NoLock, Preserve) { UIDL, 8, UIDH, 8, UIRD, 4, HCSD, 1, FFSD, 1, UCSD, 1, UEDD, 1, Offset (0x04) } OperationRegion (URTI, PCI_Config, 0xAC, 0x04) Field (URTI, ByteAcc, NoLock, Preserve) { UIIL, 8, UIIH, 8, UIRI, 4, HCSI, 1, FFSI, 1, UCSI, 1, UEDI, 1, Offset (0x04) } OperationRegion (URTJ, PCI_Config, 0xE4, 0x04) Field (URTJ, ByteAcc, NoLock, Preserve) { UIJL, 8, UIJH, 8, UIRJ, 4, HCSJ, 1, FFSJ, 1, UCSJ, 1, UEDJ, 1, Offset (0x04) } OperationRegion (PRPA, PCI_Config, 0xB0, 0x04) Field (PRPA, ByteAcc, NoLock, Preserve) { PIAL, 8, PIAH, 8, PIRA, 4, PDDA, 2, PDSA, 1, PEDA, 1, PMSA, 3, SBPA, 1, PICA, 1, Offset (0x04) } OperationRegion (ODCR, PCI_Config, 0xBC, 0x04) Field (ODCR, ByteAcc, NoLock, Preserve) { IDEP, 1, UB1P, 1, UB2P, 1, MACP, 1, , 1, CM1P, 1, CM2P, 1, CM3P, 1, CM4P, 1, CM9P, 1, CMAP, 1, , 1, PPP0, 1, , 1, , 1, Offset (0x02), IC0P, 1, IC1P, 1, G0IP, 1, G1IP, 1, SVP0, 1, GSP0, 1, UDP0, 1, HDAP, 1, CM5P, 1, CM6P, 1, CM7P, 1, CM8P, 1, , 1, , 1, , 1, Offset (0x04) } Method (SPTS, 1, NotSerialized) { } Method (SWAK, 1, NotSerialized) { If (SP80) { Notify (PWRB, 0x02) // Device Wake } } Method (CMPD, 1, NotSerialized) { Name (TTT0, Zero) TTT0 = Arg0 If ((TTT0 == Zero)) { Local0 = CM1P /* \_SB_.PCI0.SBRG.CM1P */ } ElseIf ((TTT0 == One)) { Local0 = CM2P /* \_SB_.PCI0.SBRG.CM2P */ } ElseIf ((TTT0 == 0x02)) { Local0 = CM3P /* \_SB_.PCI0.SBRG.CM3P */ } ElseIf ((TTT0 == 0x03)) { Local0 = CM4P /* \_SB_.PCI0.SBRG.CM4P */ } ElseIf ((TTT0 == 0x04)) { Local0 = CM5P /* \_SB_.PCI0.SBRG.CM5P */ } ElseIf ((TTT0 == 0x05)) { Local0 = CM6P /* \_SB_.PCI0.SBRG.CM6P */ } ElseIf ((TTT0 == 0x06)) { Local0 = CM7P /* \_SB_.PCI0.SBRG.CM7P */ } ElseIf ((TTT0 == 0x07)) { Local0 = CM8P /* \_SB_.PCI0.SBRG.CM8P */ } ElseIf ((TTT0 == 0x08)) { Local0 = CM9P /* \_SB_.PCI0.SBRG.CM9P */ } ElseIf ((TTT0 == 0x09)) { Local0 = CMAP /* \_SB_.PCI0.SBRG.CMAP */ } ElseIf ((TTT0 == 0x20)) { Local0 = PPP0 /* \_SB_.PCI0.SBRG.PPP0 */ } Return (Local0) } Method (GUIH, 1, NotSerialized) { Name (TTT0, Zero) TTT0 = Arg0 If ((TTT0 == Zero)) { Local0 = UIAH /* \_SB_.PCI0.SBRG.UIAH */ } ElseIf ((TTT0 == One)) { Local0 = UIBH /* \_SB_.PCI0.SBRG.UIBH */ } ElseIf ((TTT0 == 0x02)) { Local0 = UICH /* \_SB_.PCI0.SBRG.UICH */ } ElseIf ((TTT0 == 0x03)) { Local0 = UIDH /* \_SB_.PCI0.SBRG.UIDH */ } ElseIf ((TTT0 == 0x04)) { Local0 = ^^SBF1.UIEH /* \_SB_.PCI0.SBF1.UIEH */ } ElseIf ((TTT0 == 0x05)) { Local0 = ^^SBF1.UIFH /* \_SB_.PCI0.SBF1.UIFH */ } ElseIf ((TTT0 == 0x06)) { Local0 = ^^SBF1.UIGH /* \_SB_.PCI0.SBF1.UIGH */ } ElseIf ((TTT0 == 0x07)) { Local0 = ^^SBF1.UIHH /* \_SB_.PCI0.SBF1.UIHH */ } ElseIf ((TTT0 == 0x08)) { Local0 = UIIH /* \_SB_.PCI0.SBRG.UIIH */ } ElseIf ((TTT0 == 0x09)) { Local0 = UIJH /* \_SB_.PCI0.SBRG.UIJH */ } ElseIf ((TTT0 == 0x20)) { Local0 = PIAH /* \_SB_.PCI0.SBRG.PIAH */ } Return (Local0) } Method (GUIL, 1, NotSerialized) { Name (TTT0, Zero) TTT0 = Arg0 If ((TTT0 == Zero)) { Local0 = UIAL /* \_SB_.PCI0.SBRG.UIAL */ } ElseIf ((TTT0 == One)) { Local0 = UIBL /* \_SB_.PCI0.SBRG.UIBL */ } ElseIf ((TTT0 == 0x02)) { Local0 = UICL /* \_SB_.PCI0.SBRG.UICL */ } ElseIf ((TTT0 == 0x03)) { Local0 = UIDL /* \_SB_.PCI0.SBRG.UIDL */ } ElseIf ((TTT0 == 0x04)) { Local0 = ^^SBF1.UIEL /* \_SB_.PCI0.SBF1.UIEL */ } ElseIf ((TTT0 == 0x05)) { Local0 = ^^SBF1.UIFL /* \_SB_.PCI0.SBF1.UIFL */ } ElseIf ((TTT0 == 0x06)) { Local0 = ^^SBF1.UIGL /* \_SB_.PCI0.SBF1.UIGL */ } ElseIf ((TTT0 == 0x07)) { Local0 = ^^SBF1.UIHL /* \_SB_.PCI0.SBF1.UIHL */ } ElseIf ((TTT0 == 0x08)) { Local0 = UIIL /* \_SB_.PCI0.SBRG.UIIL */ } ElseIf ((TTT0 == 0x09)) { Local0 = UIJL /* \_SB_.PCI0.SBRG.UIJL */ } ElseIf ((TTT0 == 0x20)) { Local0 = PIAL /* \_SB_.PCI0.SBRG.PIAL */ } Return (Local0) } Method (SUIH, 2, NotSerialized) { Name (TTT0, Zero) TTT0 = Arg1 If ((TTT0 == Zero)) { UIAH = Arg0 } ElseIf ((TTT0 == One)) { UIBH = Arg0 } ElseIf ((TTT0 == 0x02)) { UICH = Arg0 } ElseIf ((TTT0 == 0x03)) { UIDH = Arg0 } ElseIf ((TTT0 == 0x04)) { ^^SBF1.UIEH = Arg0 } ElseIf ((TTT0 == 0x05)) { ^^SBF1.UIFH = Arg0 } ElseIf ((TTT0 == 0x06)) { ^^SBF1.UIGH = Arg0 } ElseIf ((TTT0 == 0x07)) { ^^SBF1.UIHH = Arg0 } ElseIf ((TTT0 == 0x08)) { UIIH = Arg0 } ElseIf ((TTT0 == 0x09)) { UIJH = Arg0 } ElseIf ((TTT0 == 0x20)) { PIAH = Arg0 } } Method (SUIL, 2, NotSerialized) { Name (TTT0, Zero) TTT0 = Arg1 If ((TTT0 == Zero)) { UIAL = Arg0 } ElseIf ((TTT0 == One)) { UIBL = Arg0 } ElseIf ((TTT0 == 0x02)) { UICL = Arg0 } ElseIf ((TTT0 == 0x03)) { UIDL = Arg0 } ElseIf ((TTT0 == 0x04)) { ^^SBF1.UIEL = Arg0 } ElseIf ((TTT0 == 0x05)) { ^^SBF1.UIFL = Arg0 } ElseIf ((TTT0 == 0x06)) { ^^SBF1.UIGL = Arg0 } ElseIf ((TTT0 == 0x07)) { ^^SBF1.UIHL = Arg0 } ElseIf ((TTT0 == 0x08)) { UIIL = Arg0 } ElseIf ((TTT0 == 0x09)) { UIJL = Arg0 } ElseIf ((TTT0 == 0x20)) { PIAL = Arg0 } } Method (GUIR, 1, NotSerialized) { Name (TTT0, Zero) TTT0 = Arg0 If ((TTT0 == Zero)) { Local0 = UIRA /* \_SB_.PCI0.SBRG.UIRA */ } ElseIf ((TTT0 == One)) { Local0 = UIRB /* \_SB_.PCI0.SBRG.UIRB */ } ElseIf ((TTT0 == 0x02)) { Local0 = UIRC /* \_SB_.PCI0.SBRG.UIRC */ } ElseIf ((TTT0 == 0x03)) { Local0 = UIRD /* \_SB_.PCI0.SBRG.UIRD */ } ElseIf ((TTT0 == 0x04)) { Local0 = ^^SBF1.UIRE /* \_SB_.PCI0.SBF1.UIRE */ } ElseIf ((TTT0 == 0x05)) { Local0 = ^^SBF1.UIRF /* \_SB_.PCI0.SBF1.UIRF */ } ElseIf ((TTT0 == 0x06)) { Local0 = ^^SBF1.UIRG /* \_SB_.PCI0.SBF1.UIRG */ } ElseIf ((TTT0 == 0x07)) { Local0 = ^^SBF1.UIRH /* \_SB_.PCI0.SBF1.UIRH */ } ElseIf ((TTT0 == 0x08)) { Local0 = UIRI /* \_SB_.PCI0.SBRG.UIRI */ } ElseIf ((TTT0 == 0x09)) { Local0 = UIRJ /* \_SB_.PCI0.SBRG.UIRJ */ } ElseIf ((TTT0 == 0x20)) { Local0 = PIRA /* \_SB_.PCI0.SBRG.PIRA */ } Return (Local0) } Method (SUIR, 2, NotSerialized) { Name (TTT0, Zero) TTT0 = Arg1 If ((TTT0 == Zero)) { UIRA = Arg0 } ElseIf ((TTT0 == One)) { UIRB = Arg0 } ElseIf ((TTT0 == 0x02)) { UIRC = Arg0 } ElseIf ((TTT0 == 0x03)) { UIRD = Arg0 } ElseIf ((TTT0 == 0x04)) { ^^SBF1.UIRE = Arg0 } ElseIf ((TTT0 == 0x05)) { ^^SBF1.UIRF = Arg0 } ElseIf ((TTT0 == 0x06)) { ^^SBF1.UIRG = Arg0 } ElseIf ((TTT0 == 0x07)) { ^^SBF1.UIRH = Arg0 } ElseIf ((TTT0 == 0x08)) { UIRI = Arg0 } ElseIf ((TTT0 == 0x09)) { UIRJ = Arg0 } ElseIf ((TTT0 == 0x20)) { PIRA = Arg0 } } Method (LPTN, 1, NotSerialized) { Name (TTT0, Zero) TTT0 = Arg0 If ((TTT0 == 0x20)) { Local0 = (PMSA & 0x02) } Return (Local0) } Method (GSTA, 1, NotSerialized) { Local0 = (GUIH (Arg0) << 0x08) Local0 |= GUIL (Arg0) If ((Local0 == 0xFF)) { Return (Zero) } If (Local0) { If (CMPD (Arg0)) { Return (Zero) } Else { Return (0x0F) } } Else { Return (Zero) } } Method (EDRD, 2, NotSerialized) { Local1 = (GUIH (Arg0) << 0x08) Local1 |= GUIL (Arg0) Name (TTT0, Zero) TTT0 = Arg0 If ((TTT0 == Zero)) { UEDA = Arg1 } ElseIf ((TTT0 == One)) { UEDB = Arg1 } ElseIf ((TTT0 == 0x02)) { UEDC = Arg1 } ElseIf ((TTT0 == 0x03)) { UEDD = Arg1 } ElseIf ((TTT0 == 0x04)) { ^^SBF1.UEDE = Arg1 } ElseIf ((TTT0 == 0x05)) { ^^SBF1.UEDF = Arg1 } ElseIf ((TTT0 == 0x06)) { ^^SBF1.UEDG = Arg1 } ElseIf ((TTT0 == 0x07)) { ^^SBF1.UEDH = Arg1 } ElseIf ((TTT0 == 0x08)) { UEDI = Arg1 } ElseIf ((TTT0 == 0x09)) { UEDJ = Arg1 } ElseIf ((TTT0 == 0x20)) { PEDA = Arg1 } RRIO (Arg0, Arg1, Local1, 0x08) } Name (CRSA, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x00, // Length _Y02) IRQNoFlags (_Y00) {} DMA (Compatibility, NotBusMaster, Transfer8, _Y01) {} }) CreateWordField (CRSA, \_SB.PCI0.SBRG._Y00._INT, IQMK) // _INT: Interrupts CreateByteField (CRSA, \_SB.PCI0.SBRG._Y01._DMA, DAMS) // _DMA: Direct Memory Access CreateWordField (CRSA, \_SB.PCI0.SBRG._Y02._MIN, IOA1) // _MIN: Minimum Base Address CreateWordField (CRSA, \_SB.PCI0.SBRG._Y02._MAX, IOA2) // _MAX: Maximum Base Address CreateByteField (CRSA, \_SB.PCI0.SBRG._Y02._LEN, LENA) // _LEN: Length Name (CRSB, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x00, // Length _Y05) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x00, // Length _Y06) IRQNoFlags (_Y03) {6} DMA (Compatibility, NotBusMaster, Transfer8, _Y04) {2} }) CreateWordField (CRSB, \_SB.PCI0.SBRG._Y03._INT, IRQK) // _INT: Interrupts CreateByteField (CRSB, \_SB.PCI0.SBRG._Y04._DMA, DMAK) // _DMA: Direct Memory Access CreateWordField (CRSB, \_SB.PCI0.SBRG._Y05._MIN, IOB1) // _MIN: Minimum Base Address CreateWordField (CRSB, \_SB.PCI0.SBRG._Y05._MAX, IOB2) // _MAX: Maximum Base Address CreateByteField (CRSB, \_SB.PCI0.SBRG._Y05._LEN, LENB) // _LEN: Length CreateWordField (CRSB, \_SB.PCI0.SBRG._Y06._MIN, IOC1) // _MIN: Minimum Base Address CreateWordField (CRSB, \_SB.PCI0.SBRG._Y06._MAX, IOC2) // _MAX: Maximum Base Address CreateByteField (CRSB, \_SB.PCI0.SBRG._Y06._LEN, LENC) // _LEN: Length Method (GCRS, 2, NotSerialized) { IOA1 = (GUIH (Arg0) << 0x08) IOA1 |= GUIL (Arg0) /* \_SB_.PCI0.SBRG.IOA1 */ IOA2 = IOA1 /* \_SB_.PCI0.SBRG.IOA1 */ Local0 = (FindSetRightBit (IOA1) - One) LENA = (One << Local0) If (GUIR (Arg0)) { Local0 = (GUIR (Arg0) & 0x0F) Local0 = I2IN (Local0) IQMK = (One << Local0) } Else { IQMK = Zero } Return (CRSA) /* \_SB_.PCI0.SBRG.CRSA */ } Method (SSRS, 2, NotSerialized) { CreateWordField (Arg0, 0x09, IQMK) CreateByteField (Arg0, 0x0C, DAMS) CreateWordField (Arg0, 0x02, IOA1) Name (TTT0, Zero) TTT0 = Arg1 If ((TTT0 == Zero)) { UEDA = One } ElseIf ((TTT0 == One)) { UEDB = One } ElseIf ((TTT0 == 0x02)) { UEDC = One } ElseIf ((TTT0 == 0x03)) { UEDD = One } ElseIf ((TTT0 == 0x04)) { ^^SBF1.UEDE = One } ElseIf ((TTT0 == 0x05)) { ^^SBF1.UEDF = One } ElseIf ((TTT0 == 0x06)) { ^^SBF1.UEDG = One } ElseIf ((TTT0 == 0x07)) { ^^SBF1.UEDH = One } ElseIf ((TTT0 == 0x08)) { UEDI = One } ElseIf ((TTT0 == 0x09)) { UEDJ = One } ElseIf ((TTT0 == 0x20)) { PEDA = One } Local1 = (GUIH (Arg1) << 0x08) Local1 |= GUIL (Arg1) RRIO (Arg1, Zero, Local1, 0x08) RRIO (Arg1, One, IOA1, 0x08) SUIL (Local0 = (IOA1 & 0xFF), Arg1) SUIH (Local0 = (IOA1 >> 0x08), Arg1) If (IQMK) { FindSetRightBit (IQMK, Local0) Local0-- Local0 = IN2I (Local0) SUIR (Local0, Arg1) } Else { SUIR (Zero, Arg1) } } Device (PIC) { Name (_HID, EisaId ("PNP0000") /* 8259-compatible Programmable Interrupt Controller */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0020, // Range Minimum 0x0020, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x00A0, // Range Minimum 0x00A0, // Range Maximum 0x00, // Alignment 0x02, // Length ) IRQNoFlags () {2} }) } Device (DMAD) { Name (_HID, EisaId ("PNP0200") /* PC-class DMA Controller */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { DMA (Compatibility, BusMaster, Transfer8, ) {4} IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0081, // Range Minimum 0x0081, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0087, // Range Minimum 0x0087, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0089, // Range Minimum 0x0089, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x008F, // Range Minimum 0x008F, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x00C0, // Range Minimum 0x00C0, // Range Maximum 0x00, // Alignment 0x20, // Length ) }) } Device (TMR) { Name (_HID, EisaId ("PNP0100") /* PC-class System Timer */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x00, // Alignment 0x04, // Length ) IRQNoFlags () {0} }) } Device (RTC0) { Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x02, // Length ) IRQNoFlags () {8} }) } Device (PS2K) { Name (_HID, EisaId ("PNP0303") /* IBM Enhanced Keyboard (101/102-key, PS/2 Mouse) */) // _HID: Hardware ID Name (_CID, EisaId ("PNP030B")) // _CID: Compatible ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (One << 0x0A) If ((IOST & Local0)) { Return (0x0F) } Return (Zero) } Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x01, // Length ) IRQNoFlags () {1} }) } Device (PS2M) { Name (_HID, EisaId ("PNP0F03") /* Microsoft PS/2-style Mouse */) // _HID: Hardware ID Name (_CID, EisaId ("PNP0F13") /* PS/2 Mouse */) // _CID: Compatible ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (One << 0x0C) If ((IOST & Local0)) { Return (0x0F) } Return (Zero) } Name (M2R0, ResourceTemplate () { IRQNoFlags () {12} }) Name (M2R1, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x01, // Length ) IRQNoFlags () {12} }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (One << 0x0A) If ((IOST & Local0)) { Return (M2R0) /* \_SB_.PCI0.SBRG.PS2M.M2R0 */ } Else { Return (M2R1) /* \_SB_.PCI0.SBRG.PS2M.M2R1 */ } } } Device (SPKR) { Name (_HID, EisaId ("PNP0800") /* Microsoft Sound System Compatible Device */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0061, // Range Minimum 0x0061, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) } Device (COPR) { Name (_HID, EisaId ("PNP0C04") /* x87-compatible Floating Point Processing Unit */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum 0x00, // Alignment 0x10, // Length ) IRQNoFlags () {13} }) } Device (RMSC) { Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID Name (_UID, 0x10) // _UID: Unique ID Name (CRS, ResourceTemplate () { IO (Decode16, 0x0010, // Range Minimum 0x0010, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0022, // Range Minimum 0x0022, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x0044, // Range Minimum 0x0044, // Range Maximum 0x00, // Alignment 0x1C, // Length ) IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0065, // Range Minimum 0x0065, // Range Maximum 0x00, // Alignment 0x0B, // Length ) IO (Decode16, 0x0072, // Range Minimum 0x0072, // Range Maximum 0x00, // Alignment 0x0E, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0084, // Range Minimum 0x0084, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0088, // Range Minimum 0x0088, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x008C, // Range Minimum 0x008C, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0090, // Range Minimum 0x0090, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x00A2, // Range Minimum 0x00A2, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x00E0, // Range Minimum 0x00E0, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y07) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y08) }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y07._MIN, GP00) // _MIN: Minimum Base Address CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y07._MAX, GP01) // _MAX: Maximum Base Address CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y07._LEN, GP0L) // _LEN: Length GP00 = PMBS /* \PMBS */ GP01 = PMBS /* \PMBS */ GP0L = PMLN /* \PMLN */ If (GPBS) { CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y08._MIN, GP20) // _MIN: Minimum Base Address CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y08._MAX, GP21) // _MAX: Maximum Base Address CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y08._LEN, GP2L) // _LEN: Length GP20 = GPBS /* \GPBS */ GP21 = GPBS /* \GPBS */ GP2L = GPLN /* \GPLN */ } Return (CRS) /* \_SB_.PCI0.SBRG.RMSC.CRS_ */ } } Device (UARA) { Name (_UID, "COM1") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (Zero)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (Zero, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (Zero, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, Zero) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARA.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {4} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UARB) { Name (_UID, "COM2") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (One)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (One, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (One, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, One) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARB.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UARC) { Name (_UID, "COM3") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (0x02)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (0x02, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (0x02, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, 0x02) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARC.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {11} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UARD) { Name (_UID, "COM4") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (0x03)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (0x03, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (0x03, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, 0x03) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARD.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {10} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UARE) { Name (_UID, "COM5") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (0x04)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (0x04, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (0x04, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, 0x04) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARE.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {4} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UARF) { Name (_UID, "COM6") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (0x05)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (0x05, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (0x05, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, 0x05) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARF.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UARG) { Name (_UID, "COM7") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (0x06)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (0x06, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (0x06, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, 0x06) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARG.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {11} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UARH) { Name (_UID, "COM8") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (0x07)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (0x07, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (0x07, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, 0x07) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARH.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {10} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UARI) { Name (_UID, "COM9") // _UID: Unique ID Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (0x08)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (0x08, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (GCRS (0x08, Zero)) } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, 0x08) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (RUPR) /* \_SB_.PCI0.SBRG.UARI.RUPR */ } Name (RUPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {6} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0360, // Range Minimum 0x0360, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0260, // Range Minimum 0x0260, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0368, // Range Minimum 0x0368, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0268, // Range Minimum 0x0268, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E0, // Range Minimum 0x03E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E0, // Range Minimum 0x02E0, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12,14,15} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (LPTA) { Method (_HID, 0, NotSerialized) // _HID: Hardware ID { If (LPTN (0x20)) { Return (0x0104D041) } Else { Return (0x0004D041) } } Method (_STA, 0, NotSerialized) // _STA: Status { Return (GSTA (0x20)) } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { EDRD (0x20, Zero) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { GCRS (0x20, One) If (LPTN (0x20)) { IRQK = IQMK /* \_SB_.PCI0.SBRG.IQMK */ DMAK = DAMS /* \_SB_.PCI0.SBRG.DAMS */ IOB1 = IOA1 /* \_SB_.PCI0.SBRG.IOA1 */ IOB2 = IOA2 /* \_SB_.PCI0.SBRG.IOA2 */ LENB = LENA /* \_SB_.PCI0.SBRG.LENA */ IOC1 = (IOB1 + 0x0400) IOC2 = IOC1 /* \_SB_.PCI0.SBRG.IOC1 */ LENC = LENB /* \_SB_.PCI0.SBRG.LENB */ Return (CRSB) /* \_SB_.PCI0.SBRG.CRSB */ } Else { Return (CRSA) /* \_SB_.PCI0.SBRG.CRSA */ } } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { SSRS (Arg0, 0x20) } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { If (LPTN (0x20)) { Return (EPPR) /* \_SB_.PCI0.SBRG.LPTA.EPPR */ } Else { Return (LPPR) /* \_SB_.PCI0.SBRG.LPTA.LPPR */ } } Name (LPPR, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x0378, // Range Minimum 0x0378, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0278, // Range Minimum 0x0278, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) Name (EPPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0378, // Range Minimum 0x0378, // Range Maximum 0x01, // Alignment 0x08, // Length ) IO (Decode16, 0x0778, // Range Minimum 0x0778, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {7} DMA (Compatibility, NotBusMaster, Transfer8, ) {3} } StartDependentFnNoPri () { IO (Decode16, 0x0378, // Range Minimum 0x0378, // Range Maximum 0x01, // Alignment 0x08, // Length ) IO (Decode16, 0x0778, // Range Minimum 0x0778, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } StartDependentFnNoPri () { IO (Decode16, 0x0278, // Range Minimum 0x0278, // Range Maximum 0x01, // Alignment 0x08, // Length ) IO (Decode16, 0x0678, // Range Minimum 0x0678, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } EndDependentFn () }) } Device (OMSC) { Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Name (CRS, ResourceTemplate () { Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y09) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y0A) }) Name (CRS1, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x01, // Length ) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y0B) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y0C) }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { If (APIC) { CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y09._LEN, ML01) // _LEN: Length CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y09._BAS, MB01) // _BAS: Base Address CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y0A._LEN, ML02) // _LEN: Length CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y0A._BAS, MB02) // _BAS: Base Address MB01 = 0xFEC00000 ML01 = 0x1000 MB02 = 0xFEE00000 ML02 = 0x1000 CreateDWordField (CRS1, \_SB.PCI0.SBRG.OMSC._Y0B._LEN, ML03) // _LEN: Length CreateDWordField (CRS1, \_SB.PCI0.SBRG.OMSC._Y0B._BAS, MB03) // _BAS: Base Address CreateDWordField (CRS1, \_SB.PCI0.SBRG.OMSC._Y0C._LEN, ML04) // _LEN: Length CreateDWordField (CRS1, \_SB.PCI0.SBRG.OMSC._Y0C._BAS, MB04) // _BAS: Base Address MB03 = 0xFEC00000 ML03 = 0x1000 MB04 = 0xFEE00000 ML04 = 0x1000 } Local0 = (0x05 << 0x0A) If ((IOST & Local0)) { Return (CRS) /* \_SB_.PCI0.SBRG.OMSC.CRS_ */ } Else { Return (CRS1) /* \_SB_.PCI0.SBRG.OMSC.CRS1 */ } } } Device (^^RMEM) { Name (_HID, EisaId ("PNP0C01") /* System Board */) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Name (CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x000A0000, // Address Length ) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y0D) Memory32Fixed (ReadOnly, 0x000E0000, // Address Base 0x00020000, // Address Length _Y0E) Memory32Fixed (ReadWrite, 0x00100000, // Address Base 0x00000000, // Address Length _Y0F) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y10) }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { CreateDWordField (CRS, \_SB.RMEM._Y0D._BAS, BAS1) // _BAS: Base Address CreateDWordField (CRS, \_SB.RMEM._Y0D._LEN, LEN1) // _LEN: Length CreateDWordField (CRS, \_SB.RMEM._Y0E._BAS, BAS2) // _BAS: Base Address CreateDWordField (CRS, \_SB.RMEM._Y0E._LEN, LEN2) // _LEN: Length CreateDWordField (CRS, \_SB.RMEM._Y0F._LEN, LEN3) // _LEN: Length CreateDWordField (CRS, \_SB.RMEM._Y10._BAS, BAS4) // _BAS: Base Address CreateDWordField (CRS, \_SB.RMEM._Y10._LEN, LEN4) // _LEN: Length If (OSFL ()){} Else { If (MG1B) { If ((MG1B > 0x000C0000)) { BAS1 = 0x000C0000 LEN1 = (MG1B - BAS1) /* \_SB_.RMEM._CRS.BAS1 */ } } Else { BAS1 = 0x000C0000 LEN1 = 0x00020000 } If (Local0 = (MG1B + MG1L) /* \MG1L */) { BAS2 = Local0 LEN2 = (0x00100000 - BAS2) /* \_SB_.RMEM._CRS.BAS2 */ } } LEN3 = (MG2B - 0x00100000) BAS4 = MH1B /* \MH1B */ LEN4 = (Zero - BAS4) /* \_SB_.RMEM._CRS.BAS4 */ Return (CRS) /* \_SB_.RMEM.CRS_ */ } } } Device (SBF1) { Name (_ADR, 0x00070001) // _ADR: Address OperationRegion (URTE, PCI_Config, 0xA0, 0x04) Field (URTE, ByteAcc, NoLock, Preserve) { UIEL, 8, UIEH, 8, UIRE, 4, HCSE, 1, FFSE, 1, UCSE, 1, UEDE, 1, Offset (0x04) } OperationRegion (URTF, PCI_Config, 0xA4, 0x04) Field (URTF, ByteAcc, NoLock, Preserve) { UIFL, 8, UIFH, 8, UIRF, 4, HCSF, 1, FFSF, 1, UCSF, 1, UEDF, 1, Offset (0x04) } OperationRegion (URTG, PCI_Config, 0xA8, 0x04) Field (URTG, ByteAcc, NoLock, Preserve) { UIGL, 8, UIGH, 8, UIRG, 4, HCSG, 1, FFSG, 1, UCSG, 1, UEDG, 1, Offset (0x04) } OperationRegion (URTH, PCI_Config, 0xAC, 0x04) Field (URTH, ByteAcc, NoLock, Preserve) { UIHL, 8, UIHH, 8, UIRH, 4, HCSH, 1, FFSH, 1, UCSH, 1, UEDH, 1, Offset (0x04) } } Device (LAN0) { Name (_ADR, 0x00080000) // _ADR: Address } Device (USB1) { Name (_ADR, 0x000A0000) // _ADR: Address Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x1F, 0x03)) } } Device (EUSB) { Name (_ADR, 0x000A0001) // _ADR: Address } Device (IDE0) { Name (_ADR, 0x000C0000) // _ADR: Address Name (^NATA, Package (0x01) { 0x001F0001 }) Name (REGF, One) Method (_REG, 2, NotSerialized) // _REG: Region Availability { If ((Arg0 == 0x02)) { REGF = Arg1 } } Name (TIM0, Package (0x08) { Package (0x04) { 0x78, 0xB4, 0xF0, 0x0384 }, Package (0x04) { 0x23, 0x21, 0x10, Zero }, Package (0x04) { 0x0B, 0x09, 0x04, Zero }, Package (0x06) { 0x70, 0x49, 0x36, 0x27, 0x19, 0x0F }, Package (0x06) { Zero, One, 0x02, One, 0x02, One }, Package (0x06) { Zero, Zero, Zero, One, One, One }, Package (0x04) { 0x04, 0x03, 0x02, Zero }, Package (0x04) { 0x02, One, Zero, Zero } }) Name (TMD0, Buffer (0x14){}) CreateDWordField (TMD0, Zero, PIO0) CreateDWordField (TMD0, 0x04, DMA0) CreateDWordField (TMD0, 0x08, PIO1) CreateDWordField (TMD0, 0x0C, DMA1) CreateDWordField (TMD0, 0x10, CHNF) OperationRegion (CFG2, PCI_Config, 0x40, 0x20) Field (CFG2, DWordAcc, NoLock, Preserve) { PMPT, 4, PSPT, 4, PMRI, 6, Offset (0x02), SMPT, 4, SSPT, 4, SMRI, 6, Offset (0x04), PSRI, 4, SSRI, 4, Offset (0x08), PM3E, 1, PS3E, 1, SM3E, 1, SS3E, 1, Offset (0x0A), PMUT, 2, , 2, PSUT, 2, Offset (0x0B), SMUT, 2, , 2, SSUT, 2, Offset (0x0C), Offset (0x14), PM6E, 1, PS6E, 1, SM6E, 1, SS6E, 1, PMCR, 1, PSCR, 1, SMCR, 1, SSCR, 1, , 4, PMAE, 1, PSAE, 1, SMAE, 1, SSAE, 1 } Name (GMPT, Zero) Name (GMUE, Zero) Name (GMUT, Zero) Name (GMCR, Zero) Name (GSPT, Zero) Name (GSUE, Zero) Name (GSUT, Zero) Name (GSCR, Zero) Device (CHN0) { Name (_ADR, Zero) // _ADR: Address Method (_GTM, 0, NotSerialized) // _GTM: Get Timing Mode { Local1 = (PSCR << One) Local0 = (PMCR | Local1) Local3 = (PMAE << 0x02) Local4 = (PM6E << One) Local3 |= Local4 Local1 = (PM3E | Local3) Local3 = (PMPT << 0x04) Local1 |= Local3 Local3 = (PSAE << 0x02) Local4 = (PS6E << One) Local3 |= Local4 Local2 = (PS3E | Local3) Local3 = (PSPT << 0x04) Local2 |= Local3 Return (GTM (PMRI, Local1, PMUT, PSRI, Local2, PSUT, Local0)) } Method (_STM, 3, NotSerialized) // _STM: Set Timing Mode { Debug = Arg0 TMD0 = Arg0 Local3 = (PMAE << 0x02) Local4 = (PM6E << One) Local3 |= Local4 Local0 = (PM3E | Local3) Local3 = (PMPT << 0x04) Local0 |= Local3 Local3 = (PSAE << 0x02) Local4 = (PS6E << One) Local3 |= Local4 Local1 = (PS3E | Local3) Local3 = (PSPT << 0x04) Local1 |= Local3 GMPT = PMRI /* \_SB_.PCI0.IDE0.PMRI */ GMUE = Local0 GMUT = PMUT /* \_SB_.PCI0.IDE0.PMUT */ GMCR = PMCR /* \_SB_.PCI0.IDE0.PMCR */ GSPT = PSRI /* \_SB_.PCI0.IDE0.PSRI */ GSUE = Local1 GSUT = PSUT /* \_SB_.PCI0.IDE0.PSUT */ GSCR = PSCR /* \_SB_.PCI0.IDE0.PSCR */ STM () PMRI = GMPT /* \_SB_.PCI0.IDE0.GMPT */ Local0 = GMUE /* \_SB_.PCI0.IDE0.GMUE */ PMUT = GMUT /* \_SB_.PCI0.IDE0.GMUT */ PMCR = GMCR /* \_SB_.PCI0.IDE0.GMCR */ Local1 = GSUE /* \_SB_.PCI0.IDE0.GSUE */ PSUT = GSUT /* \_SB_.PCI0.IDE0.GSUT */ PSCR = GSCR /* \_SB_.PCI0.IDE0.GSCR */ If ((Local0 & One)) { PM3E = One } Else { PM3E = Zero } If ((Local0 & 0x02)) { PM6E = One } Else { PM6E = Zero } If ((Local0 & 0x04)) { PMAE = One } Else { PMAE = Zero } If ((Local1 & One)) { PS3E = One } Else { PS3E = Zero } If ((Local1 & 0x02)) { PS6E = One } Else { PS6E = Zero } If ((Local1 & 0x04)) { PSAE = One } Else { PSAE = Zero } ATA0 = GTF (Zero, Arg1) ATA1 = GTF (One, Arg2) } Device (DRV0) { Name (_ADR, Zero) // _ADR: Address Method (_GTF, 0, NotSerialized) // _GTF: Get Task File { Return (RATA (ATA0)) } } Device (DRV1) { Name (_ADR, One) // _ADR: Address Method (_GTF, 0, NotSerialized) // _GTF: Get Task File { Return (RATA (ATA1)) } } } Device (CHN1) { Name (_ADR, One) // _ADR: Address Method (_GTM, 0, NotSerialized) // _GTM: Get Timing Mode { Local1 = (SSCR << One) Local0 = (SMCR | Local1) Local3 = (SMAE << 0x02) Local4 = (SM6E << One) Local3 |= Local4 Local1 = (SM3E | Local3) Local3 = (SMPT << 0x04) Local1 |= Local3 Local3 = (SSAE << 0x02) Local4 = (SS6E << One) Local3 |= Local4 Local2 = (SS3E | Local3) Local3 = (SSPT << 0x04) Local2 |= Local3 Return (GTM (SMRI, Local1, SMUT, SSRI, Local2, SSUT, Local0)) } Method (_STM, 3, NotSerialized) // _STM: Set Timing Mode { Debug = Arg0 TMD0 = Arg0 Local3 = (SMAE << 0x02) Local4 = (SM6E << One) Local3 |= Local4 Local0 = (SM3E | Local3) Local3 = (SMPT << 0x04) Local0 |= Local3 Local3 = (SSAE << 0x02) Local4 = (SS6E << One) Local3 |= Local4 Local1 = (SS3E | Local3) Local3 = (SSPT << 0x04) Local1 |= Local3 GMPT = SMRI /* \_SB_.PCI0.IDE0.SMRI */ GMUE = Local0 GMUT = SMUT /* \_SB_.PCI0.IDE0.SMUT */ GMCR = SMCR /* \_SB_.PCI0.IDE0.SMCR */ GSPT = SSRI /* \_SB_.PCI0.IDE0.SSRI */ GSUE = Local1 GSUT = SSUT /* \_SB_.PCI0.IDE0.SSUT */ GSCR = SSCR /* \_SB_.PCI0.IDE0.SSCR */ STM () SMRI = GMPT /* \_SB_.PCI0.IDE0.GMPT */ Local0 = GMUE /* \_SB_.PCI0.IDE0.GMUE */ SMUT = GMUT /* \_SB_.PCI0.IDE0.GMUT */ SMCR = GMCR /* \_SB_.PCI0.IDE0.GMCR */ Local1 = GSUE /* \_SB_.PCI0.IDE0.GSUE */ SSUT = GSUT /* \_SB_.PCI0.IDE0.GSUT */ SSCR = GSCR /* \_SB_.PCI0.IDE0.GSCR */ If ((Local0 & One)) { SM3E = One } Else { SM3E = Zero } If ((Local0 & 0x02)) { SM6E = One } Else { SM6E = Zero } If ((Local0 & 0x04)) { SMAE = One } Else { SMAE = Zero } If ((Local1 & One)) { SS3E = One } Else { SS3E = Zero } If ((Local1 & 0x02)) { SS6E = One } Else { SS6E = Zero } If ((Local1 & 0x04)) { SSAE = One } Else { SSAE = Zero } ATA2 = GTF (Zero, Arg1) ATA3 = GTF (One, Arg2) } Device (DRV0) { Name (_ADR, Zero) // _ADR: Address Method (_GTF, 0, NotSerialized) // _GTF: Get Task File { Return (RATA (ATA2)) } } Device (DRV1) { Name (_ADR, One) // _ADR: Address Method (_GTF, 0, NotSerialized) // _GTF: Get Task File { Return (RATA (ATA3)) } } } Method (GTM, 7, Serialized) { PIO0 = Ones PIO1 = Ones DMA0 = Ones DMA1 = Ones CHNF = 0x10 If (REGF){} Else { Return (TMD0) /* \_SB_.PCI0.IDE0.TMD0 */ } If ((Arg1 & 0x20)) { CHNF |= 0x02 } Local6 = Match (DerefOf (TIM0 [One]), MEQ, Arg0, MTR, Zero, Zero) Local7 = DerefOf (DerefOf (TIM0 [Zero]) [Local6]) DMA0 = Local7 PIO0 = Local7 If ((Arg4 & 0x20)) { CHNF |= 0x08 } Local6 = Match (DerefOf (TIM0 [0x02]), MEQ, Arg3, MTR, Zero, Zero) Local7 = DerefOf (DerefOf (TIM0 [Zero]) [Local6]) DMA1 = Local7 PIO1 = Local7 If ((Arg1 & 0x07)) { Local5 = Arg2 If ((Arg1 & 0x02)) { Local5 += 0x02 } If ((Arg1 & 0x04)) { Local5 += 0x04 } DMA0 = DerefOf (DerefOf (TIM0 [0x03]) [Local5]) CHNF |= One } If ((Arg4 & 0x07)) { Local5 = Arg5 If ((Arg4 & 0x02)) { Local5 += 0x02 } If ((Arg4 & 0x04)) { Local5 += 0x04 } DMA1 = DerefOf (DerefOf (TIM0 [0x03]) [Local5]) CHNF |= 0x04 } Debug = TMD0 /* \_SB_.PCI0.IDE0.TMD0 */ Return (TMD0) /* \_SB_.PCI0.IDE0.TMD0 */ } Method (STM, 0, Serialized) { If (REGF){} Else { GMUE = Zero GMUT = Zero GSUE = Zero GSUT = Zero If ((CHNF & One)) { Local0 = Match (DerefOf (TIM0 [0x03]), MLE, DMA0, MTR, Zero, Zero) If ((Local0 > 0x05)) { Local0 = 0x05 } GMUT = DerefOf (DerefOf (TIM0 [0x04]) [Local0]) GMUE |= One If ((Local0 > 0x02)) { GMUE |= 0x02 } If ((Local0 > 0x04)) { GMUE &= 0xFD GMUE |= 0x04 } } ElseIf (((PIO0 == Ones) | (PIO0 == Zero))) { If (((DMA0 < Ones) & (DMA0 > Zero))) { PIO0 = DMA0 /* \_SB_.PCI0.IDE0.DMA0 */ GMUE |= 0x80 } } If ((CHNF & 0x04)) { Local0 = Match (DerefOf (TIM0 [0x03]), MLE, DMA1, MTR, Zero, Zero) If ((Local0 > 0x05)) { Local0 = 0x05 } GSUT = DerefOf (DerefOf (TIM0 [0x04]) [Local0]) GSUE |= One If ((Local0 > 0x02)) { GSUE |= 0x02 } If ((Local0 > 0x04)) { GSUE &= 0xFD GSUE |= 0x04 } } ElseIf (((PIO1 == Ones) | (PIO1 == Zero))) { If (((DMA1 < Ones) & (DMA1 > Zero))) { PIO1 = DMA1 /* \_SB_.PCI0.IDE0.DMA1 */ GSUE |= 0x80 } } If ((CHNF & 0x02)) { GMUE |= 0x20 } If ((CHNF & 0x08)) { GSUE |= 0x20 } Local0 = (Match (DerefOf (TIM0 [Zero]), MGE, PIO0, MTR, Zero, Zero) & 0x07) Local1 = DerefOf (DerefOf (TIM0 [One]) [Local0]) GMPT = Local1 If ((Local0 < 0x03)) { GMUE |= 0x50 } Local0 = (Match (DerefOf (TIM0 [Zero]), MGE, PIO1, MTR, Zero, Zero) & 0x07) Local1 = DerefOf (DerefOf (TIM0 [0x02]) [Local0]) GSPT = Local1 If ((Local0 < 0x03)) { GSUE |= 0x50 } } } Name (AT01, Buffer (0x07) { 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEF // ....... }) Name (AT02, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90 // ....... }) Name (AT03, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC6 // ....... }) Name (AT04, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91 // ....... }) Name (ATA0, Buffer (0x1D){}) Name (ATA1, Buffer (0x1D){}) Name (ATA2, Buffer (0x1D){}) Name (ATA3, Buffer (0x1D){}) Name (ATAB, Buffer (0x1D){}) CreateByteField (ATAB, Zero, CMDC) Method (GTFB, 3, Serialized) { Local0 = (CMDC * 0x38) Local1 = (Local0 + 0x08) CreateField (ATAB, Local1, 0x38, CMDX) Local0 = (CMDC * 0x07) CreateByteField (ATAB, (Local0 + 0x02), A001) CreateByteField (ATAB, (Local0 + 0x06), A005) CMDX = Arg0 A001 = Arg1 A005 = Arg2 CMDC++ } Method (GTF, 2, Serialized) { Debug = Arg1 CMDC = Zero Name (ID49, 0x0C00) Name (ID59, Zero) Name (ID53, 0x04) Name (ID63, 0x0F00) Name (ID88, 0x0F00) Name (IRDY, One) Name (PIOT, Zero) Name (DMAT, Zero) If ((SizeOf (Arg1) == 0x0200)) { CreateWordField (Arg1, 0x62, IW49) ID49 = IW49 /* \_SB_.PCI0.IDE0.GTF_.IW49 */ CreateWordField (Arg1, 0x6A, IW53) ID53 = IW53 /* \_SB_.PCI0.IDE0.GTF_.IW53 */ CreateWordField (Arg1, 0x7E, IW63) ID63 = IW63 /* \_SB_.PCI0.IDE0.GTF_.IW63 */ CreateWordField (Arg1, 0x76, IW59) ID59 = IW59 /* \_SB_.PCI0.IDE0.GTF_.IW59 */ CreateWordField (Arg1, 0xB0, IW88) ID88 = IW88 /* \_SB_.PCI0.IDE0.GTF_.IW88 */ } Local7 = 0xA0 If (Arg0) { Local7 = 0xB0 IRDY = (CHNF & 0x08) If ((CHNF & 0x10)) { PIOT = PIO1 /* \_SB_.PCI0.IDE0.PIO1 */ } Else { PIOT = PIO0 /* \_SB_.PCI0.IDE0.PIO0 */ } If ((CHNF & 0x04)) { If ((CHNF & 0x10)) { DMAT = DMA1 /* \_SB_.PCI0.IDE0.DMA1 */ } Else { DMAT = DMA0 /* \_SB_.PCI0.IDE0.DMA0 */ } } } Else { IRDY = (CHNF & 0x02) PIOT = PIO0 /* \_SB_.PCI0.IDE0.PIO0 */ If ((CHNF & One)) { DMAT = DMA0 /* \_SB_.PCI0.IDE0.DMA0 */ } } If ((((ID53 & 0x04) && (ID88 & 0xFF00)) && DMAT)) { Local1 = Match (DerefOf (TIM0 [0x03]), MLE, DMAT, MTR, Zero, Zero) If ((Local1 > 0x05)) { Local1 = 0x05 } GTFB (AT01, (0x40 | Local1), Local7) } ElseIf (((ID63 & 0xFF00) && PIOT)) { Local0 = (Match (DerefOf (TIM0 [Zero]), MGE, PIOT, MTR, Zero, Zero) & 0x03) Local1 = (0x20 | DerefOf (DerefOf (TIM0 [0x07]) [Local0])) GTFB (AT01, Local1, Local7) } If (IRDY) { Local0 = (Match (DerefOf (TIM0 [Zero]), MGE, PIOT, MTR, Zero, Zero) & 0x07) Local1 = (0x08 | DerefOf (DerefOf (TIM0 [0x06]) [Local0])) GTFB (AT01, Local1, Local7) } ElseIf ((ID49 & 0x0400)) { GTFB (AT01, One, Local7) } If (((ID59 & 0x0100) && (ID59 & 0xFF))) { GTFB (AT03, (ID59 & 0xFF), Local7) } Debug = ATAB /* \_SB_.PCI0.IDE0.ATAB */ Return (ATAB) /* \_SB_.PCI0.IDE0.ATAB */ } Method (RATA, 1, NotSerialized) { CreateByteField (Arg0, Zero, CMDN) Local0 = (CMDN * 0x38) CreateField (Arg0, 0x08, Local0, RETB) Debug = RETB /* \_SB_.PCI0.IDE0.RATA.RETB */ Return (RETB) /* \_SB_.PCI0.IDE0.RATA.RETB */ } } Device (HDAC) { Name (_ADR, 0x000E0000) // _ADR: Address } } Scope (\_GPE) { Method (_L1F, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF { Notify (\_SB.PCI0.USB1, 0x02) // Device Wake } } } OperationRegion (EXTC, SystemMemory, ECBA, 0x0200) Field (EXTC, ByteAcc, NoLock, Preserve) { Offset (0x100), AEN, 1, Offset (0x110), PIRA, 8, PIRB, 8, PIRC, 8, PIRD, 8, PIRE, 8, PIRF, 8, PIRG, 8, PIRH, 8 } Scope (_SB) { Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {15} }) CreateWordField (BUFA, One, IRA0) Device (LNKA) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (PIRA & 0x80) If (Local0) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (PRSA) /* \_SB_.PRSA */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { PIRA |= 0x80 } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (PIRA & 0x0F) IRA0 = (One << Local0) Return (BUFA) /* \_SB_.BUFA */ } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Local0-- PIRA = Local0 } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x02) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (PIRB & 0x80) If (Local0) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (PRSB) /* \_SB_.PRSB */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { PIRB |= 0x80 } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (PIRB & 0x0F) IRA0 = (One << Local0) Return (BUFA) /* \_SB_.BUFA */ } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Local0-- PIRB = Local0 } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x03) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (PIRC & 0x80) If (Local0) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (PRSC) /* \_SB_.PRSC */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { PIRC |= 0x80 } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (PIRC & 0x0F) IRA0 = (One << Local0) Return (BUFA) /* \_SB_.BUFA */ } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Local0-- PIRC = Local0 } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x04) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (PIRD & 0x80) If (Local0) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (PRSD) /* \_SB_.PRSD */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { PIRD |= 0x80 } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (PIRD & 0x0F) IRA0 = (One << Local0) Return (BUFA) /* \_SB_.BUFA */ } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Local0-- PIRD = Local0 } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x05) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (PIRE & 0x80) If (Local0) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (PRSE) /* \_SB_.PRSE */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { PIRE |= 0x80 } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (PIRE & 0x0F) IRA0 = (One << Local0) Return (BUFA) /* \_SB_.BUFA */ } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Local0-- PIRE = Local0 } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x06) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (PIRF & 0x80) If (Local0) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (PRSF) /* \_SB_.PRSF */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { PIRF |= 0x80 } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (PIRF & 0x0F) IRA0 = (One << Local0) Return (BUFA) /* \_SB_.BUFA */ } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Local0-- PIRF = Local0 } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x07) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (PIRG & 0x80) If (Local0) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (PRSG) /* \_SB_.PRSG */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { PIRG |= 0x80 } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (PIRG & 0x0F) IRA0 = (One << Local0) Return (BUFA) /* \_SB_.BUFA */ } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Local0-- PIRG = Local0 } } Device (LNKH) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x08) // _UID: Unique ID Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = (PIRH & 0x80) If (Local0) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) // _PRS: Possible Resource Settings { Return (PRSH) /* \_SB_.PRSH */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { PIRH |= 0x80 } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = (PIRH & 0x0F) IRA0 = (One << Local0) Return (BUFA) /* \_SB_.BUFA */ } Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings { CreateWordField (Arg0, One, IRA) FindSetRightBit (IRA, Local0) Local0-- PIRH = Local0 } } Method (IN2I, 1, NotSerialized) { Local0 = Arg0 Local1 = DerefOf (N2IV [Local0]) Return (Local1) } Name (N2IV, Package (0x10) { Zero, 0x08, Zero, 0x02, 0x04, 0x05, 0x07, 0x06, Zero, One, 0x03, 0x09, 0x0B, Zero, 0x0D, 0x0F }) Method (I2IN, 1, NotSerialized) { Local0 = Arg0 Local1 = DerefOf (IV2N [Local0]) Return (Local1) } Name (IV2N, Package (0x10) { Zero, 0x09, 0x03, 0x0A, 0x04, 0x05, 0x07, 0x06, One, 0x0B, Zero, 0x0C, Zero, 0x0E, Zero, 0x0F }) } Scope (\) { Name (THBF, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 // .... }) CreateWordField (THBF, Zero, DW00) CreateWordField (THBF, 0x02, DW01) CreateByteField (THBF, Zero, DB00) CreateByteField (THBF, One, DB01) CreateByteField (THBF, 0x02, DB10) CreateByteField (THBF, 0x03, DB11) } Scope (_SB.PCI0.SBRG) { Device (EC0) { Name (ECFL, Zero) Mutex (\ECMX, 0x00) Method (ECAV, 0, NotSerialized) { Return (ECFL) /* \_SB_.PCI0.SBRG.EC0_.ECFL */ } Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x01, // Length _Y11) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum 0x00, // Alignment 0x01, // Length _Y12) }) CreateWordField (_CRS, \_SB.PCI0.SBRG.EC0._Y11._MIN, DPRT) // _MIN: Minimum Base Address CreateWordField (_CRS, \_SB.PCI0.SBRG.EC0._Y12._MIN, CPRT) // _MIN: Minimum Base Address Name (_GPE, Zero) // _GPE: General Purpose Events OperationRegion (ECOR, EmbeddedControl, Zero, 0x7F) Field (ECOR, ByteAcc, Lock, Preserve) { EPWS, 8, EB0S, 8, EB1S, 8, EB0R, 8, EB1R, 8, EPWF, 8, Offset (0x07), EB0T, 8, EB1T, 8, Offset (0x11), ECMI, 16, TAH0, 16, TAH1, 16, TSTP, 8, Offset (0x20), ECPU, 8, ECRT, 8, EPSV, 8, EACT, 8, TH0R, 8, TH0L, 8, TH1R, 8, TH1L, 8, Offset (0x30), B0PN, 16, B0VL, 16, B0RC, 16, B0FC, 16, B0MD, 16, B0ST, 16, B0CC, 16, B0TM, 16, B0DC, 16, B0DV, 16, B0CW, 16, B0CL, 16, B0SN, 16, Offset (0x50), B1PN, 16, B1VL, 16, B1RC, 16, B1FC, 16, B1MD, 16, B1ST, 16, B1CC, 16, B1TM, 16, B1DC, 16, B1DV, 16, B1CW, 16, B1CL, 16, B1SN, 16, Offset (0x70), OGPS, 16, Offset (0x73) } Method (_INI, 0, NotSerialized) // _INI: Initialize { } Method (_REG, 2, NotSerialized) // _REG: Region Availability { If (ECFG) { If ((Arg0 == 0x03)) { ECFL = Arg1 } } } Method (_Q70, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { ACEV () } Method (_Q71, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { B1EV () } Method (_Q72, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { B2EV () } Method (_Q73, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { B1SC () } Method (_Q74, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { B2SC () } Method (_Q75, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { BLEV () } } } Scope (_SB) { Method (SBPS, 1, NotSerialized) { SLPS = One } Method (SBWK, 1, NotSerialized) { SLPS = Zero } Name (SLPS, Zero) Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Name (_UID, 0xAA) // _UID: Unique ID Name (_STA, 0x0B) // _STA: Status } Device (SLPB) { Name (_HID, EisaId ("PNP0C0E") /* Sleep Button Device */) // _HID: Hardware ID Name (_STA, 0x0F) // _STA: Status Method (SBEV, 0, NotSerialized) { If (SLPS) { Notify (SLPB, 0x02) // Device Wake } Else { Notify (SLPB, 0x80) // Status Change } } Method (\_GPE._L1B, 0, NotSerialized) // _Lxx: Level-Triggered GPE, xx=0x00-0xFF { \_SB.SLPB.SBEV () } Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (Package (0x02) { 0x1B, 0x04 }) } } } Scope (_SB.PCI0.SBRG.EC0) { Method (_Q50, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Notify (PWRB, 0x80) // Status Change } Method (_Q51, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Notify (SLPB, 0x80) // Status Change } } Scope (_SB.PCI0.SBRG.EC0) { Method (RECB, 2, NotSerialized) { Acquire (ECMX, 0xFFFF) Local0 = 0x07 While (Local0) { Local0-- } Release (ECMX) Return (Local0) } Method (RBYT, 2, NotSerialized) { Acquire (ECMX, 0xFFFF) Local0 = 0x07 While (Local0) { Local0-- } Release (ECMX) Return (Local0) } Method (WBYT, 3, NotSerialized) { Acquire (ECMX, 0xFFFF) Local0 = 0x07 While (Local0) { Local0-- } Release (ECMX) } Method (RWRD, 2, NotSerialized) { Acquire (ECMX, 0xFFFF) Local0 = 0x0F While (Local0) { Local0-- } DB00 = Local0 DB01 = Local0 Release (ECMX) Return (DW00) /* \DW00 */ } Method (WWRD, 4, NotSerialized) { Acquire (ECMX, 0xFFFF) Local0 = 0x07 While (Local0) { Local0-- } Release (ECMX) } } Device (_SB.PCI0.AC0) { Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID Name (_PCL, Package (0x01) // _PCL: Power Consumer List { PCI0 }) Method (_PSR, 0, NotSerialized) // _PSR: Power Source { If (^^SBRG.EC0.ECFL) { Return (ACPS ()) } Else { Return (One) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { } } Scope (_SB.PCI0.SBRG.EC0) { } Device (_SB.PCI0.BAT0) { Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Name (_PCL, Package (0x01) // _PCL: Power Consumer List { PCI0 }) Name (BADR, 0x16) Mutex (BATX, 0x00) Name (PAK1, Package (0x0D) { One, 0x10CC, 0x10CC, One, 0x39D0, 0xB6, 0x82, 0x34, 0x0972, "OEM Define", " ", "LIon", "OEM Define" }) Method (_BIF, 0, NotSerialized) // _BIF: Battery Information { Acquire (BATX, 0xFFFF) BIFX () PAK1 [One] = BADC /* \_SB_.PCI0.BAT0.BADC */ PAK1 [0x02] = LFCC /* \_SB_.PCI0.BAT0.LFCC */ PAK1 [0x05] = DCWN /* \_SB_.PCI0.BAT0.DCWN */ PAK1 [0x06] = DCLW /* \_SB_.PCI0.BAT0.DCLW */ PAK1 [0x04] = DVOT /* \_SB_.PCI0.BAT0.DVOT */ PAK1 [0x07] = BCG1 /* \_SB_.PCI0.BAT0.BCG1 */ PAK1 [0x08] = BCG2 /* \_SB_.PCI0.BAT0.BCG2 */ Release (BATX) Return (PAK1) /* \_SB_.PCI0.BAT0.PAK1 */ } Name (BFB0, Package (0x04) { One, 0x05DC, 0x0FA0, 0x2A30 }) Method (_BST, 0, NotSerialized) // _BST: Battery Status { If (^^SBRG.EC0.ECFL) { If (DCPS (Zero)) { Sleep (0x32) Acquire (BATX, 0xFFFF) BFB0 [Zero] = BST0 () BFB0 [One] = BST1 () BFB0 [0x02] = BST2 () BFB0 [0x03] = BST3 () Release (BATX) } Else { BFB0 [Zero] = Zero BFB0 [One] = Ones BFB0 [0x02] = Ones BFB0 [0x03] = Ones } } Else { BFB0 [Zero] = Zero BFB0 [One] = Ones BFB0 [0x02] = Ones BFB0 [0x03] = Ones } Return (BFB0) /* \_SB_.PCI0.BAT0.BFB0 */ } Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = Zero If ((GSBN () >= One)) { Local0 = 0x0F } If (^^SBRG.EC0.ECFL) { If (DCPS (Zero)) { Local0 |= 0x10 Return (Local0) } Else { Return (Local0) } } Else { Return (Local0) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { } Name (BADC, 0x00014820) Name (LFCC, 0x00014820) Name (DCWN, 0x01A4) Name (DCLW, 0x01A4) Name (DVOT, 0x0E) Name (BCG1, 0x34) Name (BCG2, 0x0972) Name (BISN, Buffer (0x21) { "Battery 0000 " }) Name (BISX, Buffer (0x21) { "Battery 0000 " }) Name (NUMS, Buffer (0x11) { "0123456789ABCDEF" }) Method (BIFX, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { If (DCPS (Zero)) { BADC = (^^SBRG.EC0.B0DC & 0xFFFF) DVOT = (^^SBRG.EC0.B0DV & 0xFFFF) LFCC = (^^SBRG.EC0.B0FC & 0xFFFF) DCWN = (^^SBRG.EC0.B0CW & 0xFFFF) DCLW = (^^SBRG.EC0.B0CL & 0xFFFF) Local0 = (DCWN - DCLW) /* \_SB_.PCI0.BAT0.DCLW */ Divide (Local0, 0x64, Local0, BCG1) /* \_SB_.PCI0.BAT0.BCG1 */ Local0 = (LFCC - DCWN) /* \_SB_.PCI0.BAT0.DCWN */ Divide (Local0, 0x05, Local0, BCG2) /* \_SB_.PCI0.BAT0.BCG2 */ Local0 = ^^SBRG.EC0.B0SN /* \_SB_.PCI0.SBRG.EC0_.B0SN */ Local1 = (Local0 & 0xF000) Local2 = (Local1 >> 0x0C) BISN [0x08] = DerefOf (NUMS [Local2]) Local1 = (Local0 & 0x0F00) Local2 = (Local1 >> 0x08) BISN [0x09] = DerefOf (NUMS [Local2]) Local1 = (Local0 & 0xF0) Local2 = (Local1 >> 0x04) BISN [0x0A] = DerefOf (NUMS [Local2]) Local1 = (Local0 & 0x0F) BISN [0x0B] = DerefOf (NUMS [Local1]) PAK1 [0x0A] = BISN /* \_SB_.PCI0.BAT0.BISN */ } Else { BADC = Ones LFCC = Ones DVOT = Ones PAK1 [0x0A] = BISX /* \_SB_.PCI0.BAT0.BISX */ } } Else { BADC = Ones LFCC = Ones DVOT = Ones PAK1 [0x0A] = BISX /* \_SB_.PCI0.BAT0.BISX */ } Return (LFCC) /* \_SB_.PCI0.BAT0.LFCC */ } Method (BIF1, 0, Serialized) { Return (LFCC) /* \_SB_.PCI0.BAT0.LFCC */ } Method (BST0, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { Local0 = (^^SBRG.EC0.EB0S & 0x07) } Else { Local0 = Ones } Return (Local0) } Method (BST1, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { Local0 = ^^SBRG.EC0.B0CC /* \_SB_.PCI0.SBRG.EC0_.B0CC */ } Else { Local0 = Ones } If ((Local0 && 0x8000)) { Local1 = ~Local0 Local1++ Local0 = (Local1 & 0xFFFF) } Return (Local0) } Method (BST2, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { Local0 = ^^SBRG.EC0.B0RC /* \_SB_.PCI0.SBRG.EC0_.B0RC */ } Else { Local0 = Ones } Return (Local0) } Method (BST3, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { Local0 = ^^SBRG.EC0.B0VL /* \_SB_.PCI0.SBRG.EC0_.B0VL */ } Else { Local0 = Ones } Return (Local0) } } Scope (_SB.PCI0.SBRG.EC0) { } Device (_SB.PCI0.BAT1) { Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Name (_PCL, Package (0x01) // _PCL: Power Consumer List { PCI0 }) Name (BADR, 0x16) Mutex (BATX, 0x00) Name (PAK1, Package (0x0D) { One, 0x10CC, 0x10CC, One, 0x39D0, 0xB6, 0x82, 0x34, 0x0972, "OEM Define", " ", "LIon", "OEM Define" }) Method (_BIF, 0, NotSerialized) // _BIF: Battery Information { Acquire (BATX, 0xFFFF) BIFX () PAK1 [One] = BADC /* \_SB_.PCI0.BAT1.BADC */ PAK1 [0x02] = LFCC /* \_SB_.PCI0.BAT1.LFCC */ PAK1 [0x05] = DCWN /* \_SB_.PCI0.BAT1.DCWN */ PAK1 [0x06] = DCLW /* \_SB_.PCI0.BAT1.DCLW */ PAK1 [0x04] = DVOT /* \_SB_.PCI0.BAT1.DVOT */ PAK1 [0x07] = BCG1 /* \_SB_.PCI0.BAT1.BCG1 */ PAK1 [0x08] = BCG2 /* \_SB_.PCI0.BAT1.BCG2 */ Release (BATX) Return (PAK1) /* \_SB_.PCI0.BAT1.PAK1 */ } Name (BFB0, Package (0x04) { One, 0x05DC, 0x0FA0, 0x2A30 }) Method (_BST, 0, NotSerialized) // _BST: Battery Status { If (^^SBRG.EC0.ECFL) { If (DCPS (One)) { Sleep (0x32) Acquire (BATX, 0xFFFF) BFB0 [Zero] = BST0 () BFB0 [One] = BST1 () BFB0 [0x02] = BST2 () BFB0 [0x03] = BST3 () Release (BATX) } Else { BFB0 [Zero] = Zero BFB0 [One] = Ones BFB0 [0x02] = Ones BFB0 [0x03] = Ones } } Else { BFB0 [Zero] = Zero BFB0 [One] = Ones BFB0 [0x02] = Ones BFB0 [0x03] = Ones } Return (BFB0) /* \_SB_.PCI0.BAT1.BFB0 */ } Method (_STA, 0, NotSerialized) // _STA: Status { Local0 = Zero If ((GSBN () >= 0x02)) { Local0 = 0x0F } If (^^SBRG.EC0.ECFL) { If (DCPS (One)) { Local0 |= 0x10 Return (Local0) } Else { Return (Local0) } } Else { Return (Local0) } } Method (_INI, 0, NotSerialized) // _INI: Initialize { } Name (BADC, 0x00014820) Name (LFCC, 0x00014820) Name (DCWN, 0x01A4) Name (DCLW, 0x01A4) Name (DVOT, 0x0E) Name (BCG1, 0x34) Name (BCG2, 0x0972) Name (BISN, Buffer (0x21) { "Battery 0000 " }) Name (BISX, Buffer (0x21) { "Battery 0000 " }) Name (NUMS, Buffer (0x11) { "0123456789ABCDEF" }) Method (BIFX, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { If (DCPS (One)) { BADC = (^^SBRG.EC0.B1DC & 0xFFFF) DVOT = (^^SBRG.EC0.B1DV & 0xFFFF) LFCC = (^^SBRG.EC0.B1FC & 0xFFFF) DCWN = (^^SBRG.EC0.B1CW & 0xFFFF) DCLW = (^^SBRG.EC0.B1CL & 0xFFFF) Local0 = (DCWN - DCLW) /* \_SB_.PCI0.BAT1.DCLW */ Divide (Local0, 0x64, Local0, BCG1) /* \_SB_.PCI0.BAT1.BCG1 */ Local0 = (LFCC - DCWN) /* \_SB_.PCI0.BAT1.DCWN */ Divide (Local0, 0x05, Local0, BCG2) /* \_SB_.PCI0.BAT1.BCG2 */ Local0 = ^^SBRG.EC0.B1SN /* \_SB_.PCI0.SBRG.EC0_.B1SN */ Local1 = (Local0 & 0xF000) Local2 = (Local1 >> 0x0C) BISN [0x08] = DerefOf (NUMS [Local2]) Local1 = (Local0 & 0x0F00) Local2 = (Local1 >> 0x08) BISN [0x09] = DerefOf (NUMS [Local2]) Local1 = (Local0 & 0xF0) Local2 = (Local1 >> 0x04) BISN [0x0A] = DerefOf (NUMS [Local2]) Local1 = (Local0 & 0x0F) BISN [0x0B] = DerefOf (NUMS [Local1]) PAK1 [0x0A] = BISN /* \_SB_.PCI0.BAT1.BISN */ } Else { BADC = Ones LFCC = Ones DVOT = Ones PAK1 [0x0A] = BISX /* \_SB_.PCI0.BAT1.BISX */ } } Else { BADC = Ones LFCC = Ones DVOT = Ones PAK1 [0x0A] = BISX /* \_SB_.PCI0.BAT1.BISX */ } Return (LFCC) /* \_SB_.PCI0.BAT1.LFCC */ } Method (BIF1, 0, Serialized) { Return (LFCC) /* \_SB_.PCI0.BAT1.LFCC */ } Method (BST0, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { Local0 = (^^SBRG.EC0.EB1S & 0x07) } Else { Local0 = Ones } Return (Local0) } Method (BST1, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { Local0 = ^^SBRG.EC0.B1CC /* \_SB_.PCI0.SBRG.EC0_.B1CC */ } Else { Local0 = Ones } If ((Local0 && 0x8000)) { Local1 = ~Local0 Local1++ Local0 = (Local1 & 0xFFFF) } Return (Local0) } Method (BST2, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { Local0 = ^^SBRG.EC0.B1RC /* \_SB_.PCI0.SBRG.EC0_.B1RC */ } Else { Local0 = Ones } Return (Local0) } Method (BST3, 0, Serialized) { If (^^SBRG.EC0.ECAV ()) { Local0 = ^^SBRG.EC0.B1VL /* \_SB_.PCI0.SBRG.EC0_.B1VL */ } Else { Local0 = Ones } Return (Local0) } } Scope (_SB.PCI0.SBRG.EC0) { } Scope (_TZ) { Name (\ACRT, 0x5C) Name (\APSV, 0x4E) Name (\ATSP, 0x3C) Name (\ATMP, 0x42) Method (RTMP, 0, NotSerialized) { If (\_SB.PCI0.SBRG.EC0.ECFL){} } Method (UDTT, 0, NotSerialized) { } Method (STRP, 3, NotSerialized) { If (\_SB.PCI0.SBRG.EC0.ECFL) { If ((Acquire (ECMX, 0xA000) == Zero)) { Release (ECMX) } } } ThermalZone (THRM) { Method (KELV, 1, NotSerialized) { Local1 = Arg0 Local1 *= 0x0A Local1 += 0x0AAC Return (Local1) } Method (_TMP, 0, NotSerialized) // _TMP: Temperature { RTMP () Return (KELV (ATMP)) } Method (_CRT, 0, NotSerialized) // _CRT: Critical Temperature { Return (KELV (ACRT)) } Method (_TSP, 0, NotSerialized) // _TSP: Thermal Sampling Period { Local0 = (ATSP * 0x0A) Return (Local0) } Method (_PSV, 0, NotSerialized) // _PSV: Passive Temperature { Return (KELV (APSV)) } Name (_TC1, 0x04) // _TC1: Thermal Constant 1 Name (_TC2, 0x03) // _TC2: Thermal Constant 2 Name (_PSL, Package (0x01) // _PSL: Passive List { \_PR.CPU1 }) } } Scope (_SB.PCI0.SBRG.EC0) { } Scope (_SB) { Device (LID) { Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = GLID () If ((Local0 == Ones)) { Local0 = One } Return (Local0) } } } Scope (_GPE) { } Scope (_SB.PCI0.SBRG.EC0) { Method (_Q52, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Notify (LID, 0x80) // Status Change } } Scope (\) { Method (PRJS, 1, Serialized) { } Method (PRJW, 1, Serialized) { } Method (ACPS, 0, Serialized) { If (ECFG) { Return ((\_SB.PCI0.SBRG.EC0.EPWS & One)) } Else { } } Method (CHGS, 1, Serialized) { If (ECFG) { If (Arg0) { Local0 = (\_SB.PCI0.SBRG.EC0.EB1S & 0x02) Local0 >>= One } Else { Local0 = (\_SB.PCI0.SBRG.EC0.EB0S & 0x02) Local0 >>= One } } Else { } Return (Local0) } Method (DCPS, 1, Serialized) { If (ECFG) { If (Arg0) { Local0 = (\_SB.PCI0.SBRG.EC0.EPWS & 0x04) Local0 >>= 0x02 } Else { Local0 = (\_SB.PCI0.SBRG.EC0.EPWS & 0x02) Local0 >>= One } } Else { } Return (Local0) } Method (GSBN, 0, Serialized) { If (ECFG) { If (\_SB.PCI0.SBRG.EC0.ECFL) { Local0 = (\_SB.PCI0.SBRG.EC0.ECMI & 0x03) } Else { Local0 = 0x02 } } Else { Local0 = Zero } Return (Local0) } Method (GLID, 0, Serialized) { If (ECFG) { Return ((\_SB.PCI0.SBRG.EC0.OGPS & One)) } Else { } } Method (TLID, 0, Serialized) { } Method (FCTR, 3, Serialized) { } Method (OWLD, 1, Serialized) { } Method (OBTD, 1, Serialized) { } } Scope (_GPE) { } Scope (_SB.PCI0.SBRG.EC0) { Method (ACEV, 0, NotSerialized) { If (ECFG) { Notify (AC0, 0x80) // Status Change } Else { } } Method (B1EV, 0, NotSerialized) { If (ECFG) { Notify (BAT0, One) // Device Check Notify (BAT0, 0x81) // Information Change Notify (BAT0, 0x80) // Status Change } Else { } } Method (B2EV, 0, NotSerialized) { If (ECFG) { Notify (BAT1, One) // Device Check Notify (BAT1, 0x81) // Information Change Notify (BAT1, 0x80) // Status Change } Else { } } Method (B1SC, 0, NotSerialized) { If (ECFG) { Notify (BAT0, 0x80) // Status Change } Else { } } Method (B2SC, 0, NotSerialized) { If (ECFG) { Notify (BAT1, 0x80) // Status Change } Else { } } Method (BLEV, 0, NotSerialized) { If (ECFG) { If (DCPS (Zero)) { Notify (BAT0, 0x80) // Status Change } If (DCPS (One)) { Notify (BAT1, 0x80) // Status Change } Notify (SLPB, 0x80) // Status Change } Else { } } } Scope (_SB) { Scope (PCI0) { Name (CRS, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0100, // Length ,, ) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum 0x01, // Alignment 0x08, // Length ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0CF7, // Range Maximum 0x0000, // Translation Offset 0x0CF8, // Length ,, , TypeStatic, DenseTranslation) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0D00, // Range Minimum 0xFFFF, // Range Maximum 0x0000, // Translation Offset 0xF300, // Length ,, , TypeStatic, DenseTranslation) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000A0000, // Range Minimum 0x000BFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, _Y13, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000000, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, _Y14, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000000, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, _Y15, AddressRangeMemory, TypeStatic) }) CreateDWordField (CRS, \_SB.PCI0._Y13._MIN, MIN5) // _MIN: Minimum Base Address CreateDWordField (CRS, \_SB.PCI0._Y13._MAX, MAX5) // _MAX: Maximum Base Address CreateDWordField (CRS, \_SB.PCI0._Y13._LEN, LEN5) // _LEN: Length CreateDWordField (CRS, \_SB.PCI0._Y14._MIN, MIN6) // _MIN: Minimum Base Address CreateDWordField (CRS, \_SB.PCI0._Y14._MAX, MAX6) // _MAX: Maximum Base Address CreateDWordField (CRS, \_SB.PCI0._Y14._LEN, LEN6) // _LEN: Length CreateDWordField (CRS, \_SB.PCI0._Y15._MIN, MIN7) // _MIN: Minimum Base Address CreateDWordField (CRS, \_SB.PCI0._Y15._MAX, MAX7) // _MAX: Maximum Base Address CreateDWordField (CRS, \_SB.PCI0._Y15._LEN, LEN7) // _LEN: Length Name (CR64, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0100, // Length ,, ) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum 0x01, // Alignment 0x08, // Length ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0CF7, // Range Maximum 0x0000, // Translation Offset 0x0CF8, // Length ,, , TypeStatic, DenseTranslation) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0D00, // Range Minimum 0xFFFF, // Range Maximum 0x0000, // Translation Offset 0xF300, // Length ,, , TypeStatic, DenseTranslation) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000A0000, // Range Minimum 0x000BFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, _Y16, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000000, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, _Y17, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000000, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, _Y18, AddressRangeMemory, TypeStatic) QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000000000000, // Range Minimum 0x0000000000000000, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000000000, // Length ,, _Y19, AddressRangeMemory, TypeStatic) }) CreateDWordField (CR64, \_SB.PCI0._Y16._MIN, _MN5) // _MIN: Minimum Base Address CreateDWordField (CR64, \_SB.PCI0._Y16._MAX, _MX5) // _MAX: Maximum Base Address CreateDWordField (CR64, \_SB.PCI0._Y16._LEN, _LN5) // _LEN: Length CreateDWordField (CR64, \_SB.PCI0._Y17._MIN, _MN6) // _MIN: Minimum Base Address CreateDWordField (CR64, \_SB.PCI0._Y17._MAX, _MX6) // _MAX: Maximum Base Address CreateDWordField (CR64, \_SB.PCI0._Y17._LEN, _LN6) // _LEN: Length CreateDWordField (CR64, \_SB.PCI0._Y18._MIN, _MN7) // _MIN: Minimum Base Address CreateDWordField (CR64, \_SB.PCI0._Y18._MAX, _MX7) // _MAX: Maximum Base Address CreateDWordField (CR64, \_SB.PCI0._Y18._LEN, _LN7) // _LEN: Length CreateDWordField (CR64, \_SB.PCI0._Y19._MIN, MN8L) // _MIN: Minimum Base Address CreateDWordField (CR64, (0xAE + 0x04), MN8H) CreateDWordField (CR64, \_SB.PCI0._Y19._MAX, MX8L) // _MAX: Maximum Base Address CreateDWordField (CR64, (0xB6 + 0x04), MX8H) CreateDWordField (CR64, \_SB.PCI0._Y19._LEN, LN8L) // _LEN: Length CreateDWordField (CR64, (0xC6 + 0x04), LN8H) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Local0 = MG1L /* \MG1L */ If (Local0) { MIN5 = MG1B /* \MG1B */ LEN5 = MG1L /* \MG1L */ MAX5 = (MIN5 + Local0--) } MIN6 = MG2B /* \MG2B */ LEN6 = MG2L /* \MG2L */ Local0 = MG2L /* \MG2L */ MAX6 = (MIN6 + Local0--) MIN7 = MG3B /* \MG3B */ LEN7 = MG3L /* \MG3L */ Local0 = MG3L /* \MG3L */ MAX7 = (MIN7 + Local0--) _MN5 = MIN5 /* \_SB_.PCI0.MIN5 */ _LN5 = LEN5 /* \_SB_.PCI0.LEN5 */ _MX5 = MAX5 /* \_SB_.PCI0.MAX5 */ _MN6 = MIN6 /* \_SB_.PCI0.MIN6 */ _LN6 = LEN6 /* \_SB_.PCI0.LEN6 */ _MX6 = MAX6 /* \_SB_.PCI0.MAX6 */ _MN7 = MIN7 /* \_SB_.PCI0.MIN7 */ _LN7 = LEN7 /* \_SB_.PCI0.LEN7 */ _MX7 = MAX7 /* \_SB_.PCI0.MAX7 */ MN8L = M4BL /* \M4BL */ MN8H = M4BH /* \M4BH */ Local0 = M4LL /* \M4LL */ MX8L = Local0-- If ((M4LL == Zero)) { Local0 = M4LH /* \M4LH */ MX8H = Local0-- } Else { MX8H = M4LH /* \M4LH */ } If ((M4LL < M4BL)) { Local0 = M4LH /* \M4LH */ LN8H = (Local0-- - M4BH) /* \M4BH */ Local0 = M4LL /* \M4LL */ LN8L = (Local0++ + (Ones - M4BL)) } Else { LN8L = (M4LL - M4BL) /* \M4BL */ LN8H = (M4LH - M4BH) /* \M4BH */ } If (MR64) { If ((OSYS () >= 0x15)) { Return (CR64) /* \_SB_.PCI0.CR64 */ } Else { Return (CRS) /* \_SB_.PCI0.CRS_ */ } } Else { Return (CRS) /* \_SB_.PCI0.CRS_ */ } } } } Name (WOTB, Zero) Name (WSSB, Zero) Name (WAXB, Zero) Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep { DBG8 = Arg0 If (RDBG) { DBG9 = Arg0 } PTS (Arg0) WAKP [Zero] = Zero WAKP [One] = Zero If (((Arg0 == 0x04) && (OSFL () == 0x02))) { Sleep (0x0BB8) } WSSB = ASSB /* \ASSB */ WOTB = AOTB /* \AOTB */ WAXB = AAXB /* \AAXB */ ASSB = Arg0 AOTB = OSFL () OSTP = OSYS () AAXB = Zero } Method (_WAK, 1, NotSerialized) // _WAK: Wake { DBG8 = (Arg0 << 0x04) If (RDBG) { DBG9 = (Arg0 << 0x04) } WAK (Arg0) If (ASSB) { ASSB = WSSB /* \WSSB */ AOTB = WOTB /* \WOTB */ AAXB = WAXB /* \WAXB */ } If (DerefOf (WAKP [Zero])) { WAKP [One] = Zero } Else { WAKP [One] = Arg0 } Return (WAKP) /* \WAKP */ } Name (_S0, Package (0x04) // _S0_: S0 System State { Zero, Zero, Zero, Zero }) If (SS1) { Name (_S1, Package (0x04) // _S1_: S1 System State { One, Zero, Zero, Zero }) } If (SS3) { Name (_S3, Package (0x04) // _S3_: S3 System State { 0x05, Zero, Zero, Zero }) } If (SS4) { Name (_S4, Package (0x04) // _S4_: S4 System State { 0x06, Zero, Zero, Zero }) } Name (_S5, Package (0x04) // _S5_: S5 System State { 0x07, Zero, Zero, Zero }) Method (PTS, 1, NotSerialized) { If (Arg0) { \_SB.PCI0.NPTS (Arg0) \_SB.PCI0.SBRG.SPTS (Arg0) \_SB.SBPS (Arg0) PRJS (Arg0) } } Method (WAK, 1, NotSerialized) { \_SB.PCI0.NWAK (Arg0) \_SB.PCI0.SBRG.SWAK (Arg0) \_SB.SBWK (Arg0) PRJW (Arg0) } }