Created
August 14, 2018 14:30
-
-
Save sameo/48fa5e9b1db7621509d264ae08d8269a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Intel ACPI Component Architecture | |
| * AML/ASL+ Disassembler version 20180629 (64-bit version) | |
| * Copyright (c) 2000 - 2018 Intel Corporation | |
| * | |
| * Disassembling to symbolic ASL+ operators | |
| * | |
| * Disassembly of /home/samuel/dsdt.dat, Tue Aug 14 16:27:42 2018 | |
| * | |
| * Original Table Header: | |
| * Signature "DSDT" | |
| * Length 0x00000E87 (3719) | |
| * Revision 0x02 | |
| * Checksum 0x0A | |
| * OEM ID "BOCHS " | |
| * OEM Table ID "BXPCDSDT" | |
| * OEM Revision 0x00000001 (1) | |
| * Compiler ID "BXPC" | |
| * Compiler Version 0x00000001 (1) | |
| */ | |
| DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPCDSDT", 0x00000001) | |
| { | |
| External (_SB_.NVDR, UnknownObj) | |
| Device (\_SB.PCI1.MHPD) | |
| { | |
| Name (_HID, "PNP0A06" /* Generic Container Device */) // _HID: Hardware ID | |
| Name (_UID, "Memory hotplug resources") // _UID: Unique ID | |
| Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings | |
| { | |
| IO (Decode16, | |
| 0x0A00, // Range Minimum | |
| 0x0A00, // Range Maximum | |
| 0x00, // Alignment | |
| 0x18, // Length | |
| ) | |
| }) | |
| OperationRegion (HPMR, SystemIO, 0x0A00, 0x18) | |
| } | |
| Device (\_SB.MHPC) | |
| { | |
| Name (_HID, "PNP0A06" /* Generic Container Device */) // _HID: Hardware ID | |
| Name (_UID, "DIMM devices") // _UID: Unique ID | |
| Name (MDNR, 0x04) | |
| Field (\_SB.PCI1.MHPD.HPMR, DWordAcc, NoLock, Preserve) | |
| { | |
| MRBL, 32, | |
| MRBH, 32, | |
| MRLL, 32, | |
| MRLH, 32, | |
| MPX, 32 | |
| } | |
| Field (\_SB.PCI1.MHPD.HPMR, ByteAcc, NoLock, WriteAsZeros) | |
| { | |
| Offset (0x14), | |
| MES, 1, | |
| MINS, 1, | |
| MRMV, 1, | |
| MEJ, 1 | |
| } | |
| Field (\_SB.PCI1.MHPD.HPMR, DWordAcc, NoLock, Preserve) | |
| { | |
| MSEL, 32, | |
| MOEV, 32, | |
| MOSC, 32 | |
| } | |
| Method (_STA, 0, NotSerialized) // _STA: Status | |
| { | |
| If ((MDNR == Zero)) | |
| { | |
| Return (Zero) | |
| } | |
| Return (0x0B) | |
| } | |
| Mutex (MLCK, 0x00) | |
| Method (MSCN, 0, NotSerialized) | |
| { | |
| If ((MDNR == Zero)) | |
| { | |
| Return (Zero) | |
| } | |
| Local0 = Zero | |
| Acquire (MLCK, 0xFFFF) | |
| While ((Local0 < MDNR)) | |
| { | |
| MSEL = Local0 | |
| If ((MINS == One)) | |
| { | |
| MTFY (Local0, One) | |
| MINS = One | |
| } | |
| ElseIf ((MRMV == One)) | |
| { | |
| MTFY (Local0, 0x03) | |
| MRMV = One | |
| } | |
| Local0 += One | |
| } | |
| Release (MLCK) | |
| Return (One) | |
| } | |
| Method (MRST, 1, NotSerialized) | |
| { | |
| Local0 = Zero | |
| Acquire (MLCK, 0xFFFF) | |
| MSEL = ToInteger (Arg0) | |
| If ((MES == One)) | |
| { | |
| Local0 = 0x0F | |
| } | |
| Release (MLCK) | |
| Return (Local0) | |
| } | |
| Method (MCRS, 1, Serialized) | |
| { | |
| Acquire (MLCK, 0xFFFF) | |
| MSEL = ToInteger (Arg0) | |
| Name (MR64, ResourceTemplate () | |
| { | |
| QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, | |
| 0x0000000000000000, // Granularity | |
| 0x0000000000000000, // Range Minimum | |
| 0xFFFFFFFFFFFFFFFE, // Range Maximum | |
| 0x0000000000000000, // Translation Offset | |
| 0xFFFFFFFFFFFFFFFF, // Length | |
| ,, _Y00, AddressRangeMemory, TypeStatic) | |
| }) | |
| CreateDWordField (MR64, \_SB.MHPC.MCRS._Y00._MIN, MINL) // _MIN: Minimum Base Address | |
| CreateDWordField (MR64, 0x12, MINH) | |
| CreateDWordField (MR64, \_SB.MHPC.MCRS._Y00._LEN, LENL) // _LEN: Length | |
| CreateDWordField (MR64, 0x2A, LENH) | |
| CreateDWordField (MR64, \_SB.MHPC.MCRS._Y00._MAX, MAXL) // _MAX: Maximum Base Address | |
| CreateDWordField (MR64, 0x1A, MAXH) | |
| MINH = MRBH /* \_SB_.MHPC.MRBH */ | |
| MINL = MRBL /* \_SB_.MHPC.MRBL */ | |
| LENH = MRLH /* \_SB_.MHPC.MRLH */ | |
| LENL = MRLL /* \_SB_.MHPC.MRLL */ | |
| MAXL = (MINL + LENL) /* \_SB_.MHPC.MCRS.LENL */ | |
| MAXH = (MINH + LENH) /* \_SB_.MHPC.MCRS.LENH */ | |
| If ((MAXL < MINL)) | |
| { | |
| MAXH += One | |
| } | |
| If ((MAXL < One)) | |
| { | |
| MAXH -= One | |
| } | |
| MAXL -= One | |
| If ((MAXH == Zero)) | |
| { | |
| Name (MR32, ResourceTemplate () | |
| { | |
| DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, | |
| 0x00000000, // Granularity | |
| 0x00000000, // Range Minimum | |
| 0xFFFFFFFE, // Range Maximum | |
| 0x00000000, // Translation Offset | |
| 0xFFFFFFFF, // Length | |
| ,, _Y01, AddressRangeMemory, TypeStatic) | |
| }) | |
| CreateDWordField (MR32, \_SB.MHPC.MCRS._Y01._MIN, MIN) // _MIN: Minimum Base Address | |
| CreateDWordField (MR32, \_SB.MHPC.MCRS._Y01._MAX, MAX) // _MAX: Maximum Base Address | |
| CreateDWordField (MR32, \_SB.MHPC.MCRS._Y01._LEN, LEN) // _LEN: Length | |
| MIN = MINL /* \_SB_.MHPC.MCRS.MINL */ | |
| MAX = MAXL /* \_SB_.MHPC.MCRS.MAXL */ | |
| LEN = LENL /* \_SB_.MHPC.MCRS.LENL */ | |
| Release (MLCK) | |
| Return (MR32) /* \_SB_.MHPC.MCRS.MR32 */ | |
| } | |
| Release (MLCK) | |
| Return (MR64) /* \_SB_.MHPC.MCRS.MR64 */ | |
| } | |
| Method (MPXM, 1, NotSerialized) | |
| { | |
| Acquire (MLCK, 0xFFFF) | |
| MSEL = ToInteger (Arg0) | |
| Local0 = MPX /* \_SB_.MHPC.MPX_ */ | |
| Release (MLCK) | |
| Return (Local0) | |
| } | |
| Method (MOST, 4, NotSerialized) | |
| { | |
| Acquire (MLCK, 0xFFFF) | |
| MSEL = ToInteger (Arg0) | |
| MOEV = Arg1 | |
| MOSC = Arg2 | |
| Release (MLCK) | |
| } | |
| Method (MEJ0, 2, NotSerialized) | |
| { | |
| Acquire (MLCK, 0xFFFF) | |
| MSEL = ToInteger (Arg0) | |
| MEJ = One | |
| Release (MLCK) | |
| } | |
| Device (MP00) | |
| { | |
| Name (_UID, "0x00") // _UID: Unique ID | |
| Name (_HID, EisaId ("PNP0C80") /* Memory Device */) // _HID: Hardware ID | |
| Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings | |
| { | |
| Return (MCRS (_UID)) | |
| } | |
| Method (_STA, 0, NotSerialized) // _STA: Status | |
| { | |
| Return (MRST (_UID)) | |
| } | |
| Method (_PXM, 0, NotSerialized) // _PXM: Device Proximity | |
| { | |
| Return (MPXM (_UID)) | |
| } | |
| Method (_OST, 3, NotSerialized) // _OST: OSPM Status Indication | |
| { | |
| Return (MOST (_UID, Arg0, Arg1, Arg2)) | |
| } | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| Return (MEJ0 (_UID, Arg0)) | |
| } | |
| } | |
| Device (MP01) | |
| { | |
| Name (_UID, "0x01") // _UID: Unique ID | |
| Name (_HID, EisaId ("PNP0C80") /* Memory Device */) // _HID: Hardware ID | |
| Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings | |
| { | |
| Return (MCRS (_UID)) | |
| } | |
| Method (_STA, 0, NotSerialized) // _STA: Status | |
| { | |
| Return (MRST (_UID)) | |
| } | |
| Method (_PXM, 0, NotSerialized) // _PXM: Device Proximity | |
| { | |
| Return (MPXM (_UID)) | |
| } | |
| Method (_OST, 3, NotSerialized) // _OST: OSPM Status Indication | |
| { | |
| Return (MOST (_UID, Arg0, Arg1, Arg2)) | |
| } | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| Return (MEJ0 (_UID, Arg0)) | |
| } | |
| } | |
| Device (MP02) | |
| { | |
| Name (_UID, "0x02") // _UID: Unique ID | |
| Name (_HID, EisaId ("PNP0C80") /* Memory Device */) // _HID: Hardware ID | |
| Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings | |
| { | |
| Return (MCRS (_UID)) | |
| } | |
| Method (_STA, 0, NotSerialized) // _STA: Status | |
| { | |
| Return (MRST (_UID)) | |
| } | |
| Method (_PXM, 0, NotSerialized) // _PXM: Device Proximity | |
| { | |
| Return (MPXM (_UID)) | |
| } | |
| Method (_OST, 3, NotSerialized) // _OST: OSPM Status Indication | |
| { | |
| Return (MOST (_UID, Arg0, Arg1, Arg2)) | |
| } | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| Return (MEJ0 (_UID, Arg0)) | |
| } | |
| } | |
| Device (MP03) | |
| { | |
| Name (_UID, "0x03") // _UID: Unique ID | |
| Name (_HID, EisaId ("PNP0C80") /* Memory Device */) // _HID: Hardware ID | |
| Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings | |
| { | |
| Return (MCRS (_UID)) | |
| } | |
| Method (_STA, 0, NotSerialized) // _STA: Status | |
| { | |
| Return (MRST (_UID)) | |
| } | |
| Method (_PXM, 0, NotSerialized) // _PXM: Device Proximity | |
| { | |
| Return (MPXM (_UID)) | |
| } | |
| Method (_OST, 3, NotSerialized) // _OST: OSPM Status Indication | |
| { | |
| Return (MOST (_UID, Arg0, Arg1, Arg2)) | |
| } | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| Return (MEJ0 (_UID, Arg0)) | |
| } | |
| } | |
| Method (MTFY, 2, NotSerialized) | |
| { | |
| If ((Arg0 == Zero)) | |
| { | |
| Notify (MP00, Arg1) | |
| } | |
| If ((Arg0 == One)) | |
| { | |
| Notify (MP01, Arg1) | |
| } | |
| If ((Arg0 == 0x02)) | |
| { | |
| Notify (MP02, Arg1) | |
| } | |
| If ((Arg0 == 0x03)) | |
| { | |
| Notify (MP03, Arg1) | |
| } | |
| } | |
| } | |
| Scope (_SB) | |
| { | |
| Device (\_SB.PCI1.PRES) | |
| { | |
| Name (_HID, EisaId ("PNP0A06") /* Generic Container Device */) // _HID: Hardware ID | |
| Name (_UID, "CPU Hotplug resources") // _UID: Unique ID | |
| Mutex (CPLK, 0x00) | |
| Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings | |
| { | |
| IO (Decode16, | |
| 0x0CD8, // Range Minimum | |
| 0x0CD8, // Range Maximum | |
| 0x01, // Alignment | |
| 0x0C, // Length | |
| ) | |
| }) | |
| OperationRegion (PRST, SystemIO, 0x0CD8, 0x0C) | |
| Field (PRST, ByteAcc, NoLock, WriteAsZeros) | |
| { | |
| Offset (0x04), | |
| CPEN, 1, | |
| CINS, 1, | |
| CRMV, 1, | |
| CEJ0, 1, | |
| Offset (0x05), | |
| CCMD, 8 | |
| } | |
| Field (PRST, DWordAcc, NoLock, Preserve) | |
| { | |
| CSEL, 32, | |
| Offset (0x08), | |
| CDAT, 32 | |
| } | |
| } | |
| Device (\_SB.CPUS) | |
| { | |
| Name (_HID, "ACPI0010" /* Processor Container Device */) // _HID: Hardware ID | |
| Name (_CID, EisaId ("PNP0A05") /* Generic Container Device */) // _CID: Compatible ID | |
| Method (CTFY, 2, NotSerialized) | |
| { | |
| If ((Arg0 == Zero)) | |
| { | |
| Notify (C000, Arg1) | |
| } | |
| If ((Arg0 == One)) | |
| { | |
| Notify (C001, Arg1) | |
| } | |
| If ((Arg0 == 0x02)) | |
| { | |
| Notify (C002, Arg1) | |
| } | |
| If ((Arg0 == 0x03)) | |
| { | |
| Notify (C003, Arg1) | |
| } | |
| If ((Arg0 == 0x04)) | |
| { | |
| Notify (C004, Arg1) | |
| } | |
| If ((Arg0 == 0x05)) | |
| { | |
| Notify (C005, Arg1) | |
| } | |
| If ((Arg0 == 0x06)) | |
| { | |
| Notify (C006, Arg1) | |
| } | |
| If ((Arg0 == 0x07)) | |
| { | |
| Notify (C007, Arg1) | |
| } | |
| } | |
| Method (CSTA, 1, Serialized) | |
| { | |
| Acquire (\_SB.PCI1.PRES.CPLK, 0xFFFF) | |
| \_SB.PCI1.PRES.CSEL = Arg0 | |
| Local0 = Zero | |
| If ((\_SB.PCI1.PRES.CPEN == One)) | |
| { | |
| Local0 = 0x0F | |
| } | |
| Release (\_SB.PCI1.PRES.CPLK) | |
| Return (Local0) | |
| } | |
| Method (CEJ0, 1, Serialized) | |
| { | |
| Acquire (\_SB.PCI1.PRES.CPLK, 0xFFFF) | |
| \_SB.PCI1.PRES.CSEL = Arg0 | |
| \_SB.PCI1.PRES.CEJ0 = One | |
| Release (\_SB.PCI1.PRES.CPLK) | |
| } | |
| Method (CSCN, 0, Serialized) | |
| { | |
| Acquire (\_SB.PCI1.PRES.CPLK, 0xFFFF) | |
| Local0 = One | |
| While ((Local0 == One)) | |
| { | |
| Local0 = Zero | |
| \_SB.PCI1.PRES.CCMD = Zero | |
| If ((\_SB.PCI1.PRES.CINS == One)) | |
| { | |
| CTFY (\_SB.PCI1.PRES.CDAT, One) | |
| \_SB.PCI1.PRES.CINS = One | |
| Local0 = One | |
| } | |
| ElseIf ((\_SB.PCI1.PRES.CRMV == One)) | |
| { | |
| CTFY (\_SB.PCI1.PRES.CDAT, 0x03) | |
| \_SB.PCI1.PRES.CRMV = One | |
| Local0 = One | |
| } | |
| } | |
| Release (\_SB.PCI1.PRES.CPLK) | |
| } | |
| Method (COST, 4, Serialized) | |
| { | |
| Acquire (\_SB.PCI1.PRES.CPLK, 0xFFFF) | |
| \_SB.PCI1.PRES.CSEL = Arg0 | |
| \_SB.PCI1.PRES.CCMD = One | |
| \_SB.PCI1.PRES.CDAT = Arg1 | |
| \_SB.PCI1.PRES.CCMD = 0x02 | |
| \_SB.PCI1.PRES.CDAT = Arg2 | |
| Release (\_SB.PCI1.PRES.CPLK) | |
| } | |
| Device (C000) | |
| { | |
| Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID | |
| Name (_UID, Zero) // _UID: Unique ID | |
| Method (_STA, 0, Serialized) // _STA: Status | |
| { | |
| Return (CSTA (Zero)) | |
| } | |
| Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry | |
| { | |
| 0x00, 0x08, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 // ........ | |
| }) | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| CEJ0 (Zero) | |
| } | |
| Method (_OST, 3, Serialized) // _OST: OSPM Status Indication | |
| { | |
| COST (Zero, Arg0, Arg1, Arg2) | |
| } | |
| Name (_PXM, Zero) // _PXM: Device Proximity | |
| } | |
| Device (C001) | |
| { | |
| Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID | |
| Name (_UID, One) // _UID: Unique ID | |
| Method (_STA, 0, Serialized) // _STA: Status | |
| { | |
| Return (CSTA (One)) | |
| } | |
| Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry | |
| { | |
| 0x00, 0x08, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00 // ........ | |
| }) | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| CEJ0 (One) | |
| } | |
| Method (_OST, 3, Serialized) // _OST: OSPM Status Indication | |
| { | |
| COST (One, Arg0, Arg1, Arg2) | |
| } | |
| Name (_PXM, Zero) // _PXM: Device Proximity | |
| } | |
| Device (C002) | |
| { | |
| Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID | |
| Name (_UID, 0x02) // _UID: Unique ID | |
| Method (_STA, 0, Serialized) // _STA: Status | |
| { | |
| Return (CSTA (0x02)) | |
| } | |
| Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry | |
| { | |
| 0x00, 0x08, 0x02, 0x02, 0x01, 0x00, 0x00, 0x00 // ........ | |
| }) | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| CEJ0 (0x02) | |
| } | |
| Method (_OST, 3, Serialized) // _OST: OSPM Status Indication | |
| { | |
| COST (0x02, Arg0, Arg1, Arg2) | |
| } | |
| Name (_PXM, Zero) // _PXM: Device Proximity | |
| } | |
| Device (C003) | |
| { | |
| Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID | |
| Name (_UID, 0x03) // _UID: Unique ID | |
| Method (_STA, 0, Serialized) // _STA: Status | |
| { | |
| Return (CSTA (0x03)) | |
| } | |
| Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry | |
| { | |
| 0x00, 0x08, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00 // ........ | |
| }) | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| CEJ0 (0x03) | |
| } | |
| Method (_OST, 3, Serialized) // _OST: OSPM Status Indication | |
| { | |
| COST (0x03, Arg0, Arg1, Arg2) | |
| } | |
| Name (_PXM, Zero) // _PXM: Device Proximity | |
| } | |
| Device (C004) | |
| { | |
| Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID | |
| Name (_UID, 0x04) // _UID: Unique ID | |
| Method (_STA, 0, Serialized) // _STA: Status | |
| { | |
| Return (CSTA (0x04)) | |
| } | |
| Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry | |
| { | |
| 0x00, 0x08, 0x04, 0x04, 0x01, 0x00, 0x00, 0x00 // ........ | |
| }) | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| CEJ0 (0x04) | |
| } | |
| Method (_OST, 3, Serialized) // _OST: OSPM Status Indication | |
| { | |
| COST (0x04, Arg0, Arg1, Arg2) | |
| } | |
| Name (_PXM, Zero) // _PXM: Device Proximity | |
| } | |
| Device (C005) | |
| { | |
| Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID | |
| Name (_UID, 0x05) // _UID: Unique ID | |
| Method (_STA, 0, Serialized) // _STA: Status | |
| { | |
| Return (CSTA (0x05)) | |
| } | |
| Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry | |
| { | |
| 0x00, 0x08, 0x05, 0x05, 0x01, 0x00, 0x00, 0x00 // ........ | |
| }) | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| CEJ0 (0x05) | |
| } | |
| Method (_OST, 3, Serialized) // _OST: OSPM Status Indication | |
| { | |
| COST (0x05, Arg0, Arg1, Arg2) | |
| } | |
| Name (_PXM, Zero) // _PXM: Device Proximity | |
| } | |
| Device (C006) | |
| { | |
| Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID | |
| Name (_UID, 0x06) // _UID: Unique ID | |
| Method (_STA, 0, Serialized) // _STA: Status | |
| { | |
| Return (CSTA (0x06)) | |
| } | |
| Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry | |
| { | |
| 0x00, 0x08, 0x06, 0x06, 0x01, 0x00, 0x00, 0x00 // ........ | |
| }) | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| CEJ0 (0x06) | |
| } | |
| Method (_OST, 3, Serialized) // _OST: OSPM Status Indication | |
| { | |
| COST (0x06, Arg0, Arg1, Arg2) | |
| } | |
| Name (_PXM, Zero) // _PXM: Device Proximity | |
| } | |
| Device (C007) | |
| { | |
| Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware ID | |
| Name (_UID, 0x07) // _UID: Unique ID | |
| Method (_STA, 0, Serialized) // _STA: Status | |
| { | |
| Return (CSTA (0x07)) | |
| } | |
| Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry | |
| { | |
| 0x00, 0x08, 0x07, 0x07, 0x01, 0x00, 0x00, 0x00 // ........ | |
| }) | |
| Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device | |
| { | |
| CEJ0 (0x07) | |
| } | |
| Method (_OST, 3, Serialized) // _OST: OSPM Status Indication | |
| { | |
| COST (0x07, Arg0, Arg1, Arg2) | |
| } | |
| Name (_PXM, Zero) // _PXM: Device Proximity | |
| } | |
| } | |
| } | |
| Scope (\_SB) | |
| { | |
| Scope (_SB) | |
| { | |
| Device (PCI0) | |
| { | |
| Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID | |
| Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID | |
| Name (_ADR, Zero) // _ADR: Address | |
| Name (_UID, One) // _UID: Unique ID | |
| Name (SUPP, Zero) | |
| Name (CTRL, Zero) | |
| Method (_OSC, 4, NotSerialized) // _OSC: Operating System Capabilities | |
| { | |
| CreateDWordField (Arg3, Zero, CDW1) | |
| If ((Arg0 == ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") /* PCI Host Bridge Device */)) | |
| { | |
| CreateDWordField (Arg3, 0x04, CDW2) | |
| CreateDWordField (Arg3, 0x08, CDW3) | |
| SUPP = CDW2 /* \_SB_._SB_.PCI0._OSC.CDW2 */ | |
| CTRL = CDW3 /* \_SB_._SB_.PCI0._OSC.CDW3 */ | |
| CTRL = (CTRL & 0x1F) | |
| If ((Arg1 != One)) | |
| { | |
| CDW1 = (CDW1 | 0x08) | |
| } | |
| If ((CDW3 != CTRL)) | |
| { | |
| CDW1 = (CDW1 | 0x10) | |
| } | |
| CDW3 = CTRL /* \_SB_._SB_.PCI0.CTRL */ | |
| Return (Arg3) | |
| } | |
| Else | |
| { | |
| CDW1 = (CDW1 | 0x04) | |
| Return (Arg3) | |
| } | |
| } | |
| } | |
| } | |
| Scope (\_SB.PCI0) | |
| { | |
| Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings | |
| { | |
| 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, NonCacheable, ReadWrite, | |
| 0x00000000, // Granularity | |
| 0x90000000, // Range Minimum | |
| 0xFEC00000, // Range Maximum | |
| 0x00000000, // Translation Offset | |
| 0x6EC00001, // Length | |
| ,, , AddressRangeMemory, TypeStatic) | |
| QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, | |
| 0x0000000000000000, // Granularity | |
| 0x0000000800000000, // Range Minimum | |
| 0x0000000DFFFFFFFF, // Range Maximum | |
| 0x0000000000000000, // Translation Offset | |
| 0x0000000600000000, // Length | |
| ,, , AddressRangeMemory, TypeStatic) | |
| }) | |
| } | |
| Scope (_SB) | |
| { | |
| Device (GED) | |
| { | |
| Name (_HID, "ACPI0013" /* Generic Event Device */) // _HID: Hardware ID | |
| Name (_UID, Zero) // _UID: Unique ID | |
| Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings | |
| { | |
| Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) | |
| { | |
| 0x00000010, | |
| } | |
| Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) | |
| { | |
| 0x00000011, | |
| } | |
| Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) | |
| { | |
| 0x00000013, | |
| } | |
| }) | |
| Method (_EVT, 1, Serialized) // _EVT: Event | |
| { | |
| Local0 = One | |
| While ((Local0 == One)) | |
| { | |
| Local0 = Zero | |
| If ((Arg0 == 0x10)) | |
| { | |
| \_SB.CPUS.CSCN () | |
| } | |
| ElseIf ((Arg0 == 0x11)) | |
| { | |
| \_SB.MHPC.MSCN () | |
| } | |
| ElseIf ((Arg0 == 0x13)) | |
| { | |
| Notify (\_SB.NVDR, 0x80) // Status Change | |
| } | |
| } | |
| } | |
| } | |
| } | |
| Name (_S5, Package (0x04) // _S5_: S5 System State | |
| { | |
| 0x05, | |
| Zero, | |
| Zero, | |
| Zero | |
| }) | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment