Bit of clean up

This commit is contained in:
Mykola Grymalyuk
2020-05-28 19:11:22 -06:00
parent 46c3d95115
commit 3756ef935b
41 changed files with 328 additions and 30 deletions

Binary file not shown.

View File

@@ -0,0 +1,16 @@
/*
* Forces enables legacy RTC clock, also gets arond INI conflict found on X299X boards
*/
DefinitionBlock ("", "SSDT", 2, "DRTNIA", "AWAC", 0x00000000)
{
External (STAS, IntObj)
Scope (_SB)
{
If (_OSI ("Darwin"))
{
STAS = One
}
}
}

View File

@@ -0,0 +1,197 @@
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20200214 (64-bit version)
* Copyright (c) 2000 - 2020 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of /Users/mykolagrymalyuk/Documents/GitHub/Getting-Started-With-ACPI/extra-files/compiled/SSDT-PLUG-DRTNIA.aml, Thu May 28 18:59:18 2020
*
* Original Table Header:
* Signature "SSDT"
* Length 0x000002B5 (693)
* Revision 0x02
* Checksum 0xDD
* OEM ID "DRTNIA"
* OEM Table ID "CpuPlug"
* OEM Revision 0x00003000 (12288)
* Compiler ID "INTL"
* Compiler Version 0x20190509 (538510601)
*/
DefinitionBlock ("", "SSDT", 2, "DRTNIA", "CpuPlug", 0x00003000)
{
External (_PR_.C000, ProcessorObj)
External (_PR_.CPU0, ProcessorObj)
External (_PR_.P000, ProcessorObj)
External (_PR_.PR00, ProcessorObj)
External (_SB_.CPU0, ProcessorObj)
External (_SB_.PC00.LPC0, DeviceObj)
External (_SB_.PC00.LPC0.EC0_, DeviceObj)
External (_SB_.PC00.LPC0.EC__, DeviceObj)
External (_SB_.PC00.LPC0.ECDV, DeviceObj)
External (_SB_.PC00.LPC0.H_EC, DeviceObj)
External (_SB_.PC00.LPC0.PGEC, DeviceObj)
External (_SB_.PCI0.LPC0, DeviceObj)
External (_SB_.PCI0.LPC0.EC0_, DeviceObj)
External (_SB_.PCI0.LPC0.EC__, DeviceObj)
External (_SB_.PCI0.LPC0.ECDV, DeviceObj)
External (_SB_.PCI0.LPC0.H_EC, DeviceObj)
External (_SB_.PCI0.LPC0.PGEC, DeviceObj)
External (_SB_.PCI0.LPC_, DeviceObj)
External (_SB_.PCI0.LPC_.EC0_, DeviceObj)
External (_SB_.PCI0.LPC_.EC__, DeviceObj)
External (_SB_.PCI0.LPC_.ECDV, DeviceObj)
External (_SB_.PCI0.LPC_.H_EC, DeviceObj)
External (_SB_.PCI0.LPC_.PGEC, DeviceObj)
External (_SB_.PCI0.LPCB, DeviceObj)
External (_SB_.PCI0.LPCB.EC0_, DeviceObj)
External (_SB_.PCI0.LPCB.EC__, DeviceObj)
External (_SB_.PCI0.LPCB.ECDV, DeviceObj)
External (_SB_.PCI0.LPCB.H_EC, DeviceObj)
External (_SB_.PCI0.LPCB.PGEC, DeviceObj)
External (_SB_.PCI0.PX40, DeviceObj)
External (_SB_.PCI0.PX40.EC0_, DeviceObj)
External (_SB_.PCI0.PX40.EC__, DeviceObj)
External (_SB_.PCI0.PX40.ECDV, DeviceObj)
External (_SB_.PCI0.PX40.H_EC, DeviceObj)
External (_SB_.PCI0.PX40.PGEC, DeviceObj)
External (_SB_.PCI0.SBRG, DeviceObj)
External (_SB_.PCI0.SBRG.EC0_, DeviceObj)
External (_SB_.PCI0.SBRG.EC__, DeviceObj)
External (_SB_.PCI0.SBRG.ECDV, DeviceObj)
External (_SB_.PCI0.SBRG.H_EC, DeviceObj)
External (_SB_.PCI0.SBRG.PGEC, DeviceObj)
External (_SB_.PR00, ProcessorObj)
External (_SB_.SCK0.CP00, ProcessorObj)
External (_SB_.SCK0.PR00, ProcessorObj)
Method (PMPM, 4, NotSerialized)
{
If ((Arg2 == Zero))
{
Return (Buffer (One)
{
0x03 // .
})
}
Return (Package (0x02)
{
"plugin-type",
One
})
}
If (CondRefOf (\_SB.CPU0))
{
If ((ObjectType (\_SB.CPU0) == 0x0C))
{
Scope (\_SB.CPU0)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}
If (CondRefOf (\_PR.CPU0))
{
If ((ObjectType (\_PR.CPU0) == 0x0C))
{
Scope (\_PR.CPU0)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}
If (CondRefOf (\_SB.PR00))
{
If ((ObjectType (\_SB.PR00) == 0x0C))
{
Scope (\_SB.PR00)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}
If (CondRefOf (\_PR.C000))
{
If ((ObjectType (\_PR.C000) == 0x0C))
{
Scope (\_PR.C000)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}
If (CondRefOf (\_PR.P000))
{
If ((ObjectType (\_PR.P000) == 0x0C))
{
Scope (\_PR.P000)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}
If (CondRefOf (\_PR.PR00))
{
If ((ObjectType (\_PR.PR00) == 0x0C))
{
Scope (\_PR.PR00)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}
If (CondRefOf (\_SB.SCK0.CP00))
{
If ((ObjectType (\_SB.SCK0.CP00) == 0x0C))
{
Scope (\_SB.SCK0.CP00)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}
If (CondRefOf (\_SB.SCK0.PR00))
{
If ((ObjectType (\_SB.SCK0.PR00) == 0x0C))
{
Scope (\_SB.SCK0.PR00)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}
}

View File

@@ -0,0 +1,34 @@
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20200214 (64-bit version)
* Copyright (c) 2000 - 2020 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of /Users/mykolagrymalyuk/Documents/GitHub/Getting-Started-With-ACPI/extra-files/compiled/SSDT-PNLF-CFL.aml, Thu May 28 18:59:18 2020
*
* Original Table Header:
* Signature "SSDT"
* Length 0x0000007D (125)
* Revision 0x02
* Checksum 0x84
* OEM ID "ACDT"
* OEM Table ID "PNLFCFL"
* OEM Revision 0x00000000 (0)
* Compiler ID "INTL"
* Compiler Version 0x20190509 (538510601)
*/
DefinitionBlock ("", "SSDT", 2, "ACDT", "PNLFCFL", 0x00000000)
{
External (_SB_.PCI0.GFX0, DeviceObj)
Device (_SB.PCI0.GFX0.PNLF)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID
Name (_CID, "backlight") // _CID: Compatible ID
Name (_UID, 0x13) // _UID: Unique ID
Name (_STA, 0x0B) // _STA: Status
}
}

View File

@@ -0,0 +1,51 @@
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20190509 (64-bit version)
* Copyright (c) 2000 - 2019 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of iASLYWTc6v.aml, Thu May 28 19:06:11 2020
*
* Original Table Header:
* Signature "SSDT"
* Length 0x00000143 (323)
* Revision 0x02
* Checksum 0x6C
* OEM ID "DRTNIA"
* OEM Table ID "XOSI"
* OEM Revision 0x00001000 (4096)
* Compiler ID "INTL"
* Compiler Version 0x20190509 (538510601)
*/
DefinitionBlock ("", "SSDT", 2, "DRTNIA", "XOSI", 0x00001000)
{
Method (XOSI, 1, NotSerialized)
{
Local0 = Package (0x11)
{
"Windows 2001",
"Windows 2001.1",
"Windows 2001 SP1",
"Windows 2001 SP2",
"Windows 2001 SP3",
"Windows 2006",
"Windows 2006 SP1",
"Windows 2009",
"Windows 2012",
"Windows 2013",
"Microsoft Windows NT",
"Microsoft Windows",
"Microsoft WindowsME: Millennium Edition"
}
If (_OSI ("Darwin"))
{
Return ((Ones != Match (Local0, MEQ, Arg0, MTR, Zero, Zero)))
}
Else
{
Return (_OSI (Arg0))
}
}
}