mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
Misc lint'ing
This commit is contained in:
50
extra-files/SSDT-PLUG.dsl
Normal file
50
extra-files/SSDT-PLUG.dsl
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* XCPM power management compatibility table.
|
||||
*/
|
||||
DefinitionBlock ("", "SSDT", 2, "Dortania", "CpuPlug", 0x00003000)
|
||||
{
|
||||
External (_PR_.CPU0, ProcessorObj) // Rename this
|
||||
|
||||
Scope (\_PR.CPU0) // Rename this
|
||||
{
|
||||
Method (DTGP, 5, NotSerialized)
|
||||
{
|
||||
If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b")))
|
||||
{
|
||||
If ((Arg1 == One))
|
||||
{
|
||||
If ((Arg2 == Zero))
|
||||
{
|
||||
Arg4 = Buffer (One)
|
||||
{
|
||||
0x03 // .
|
||||
}
|
||||
Return (One)
|
||||
}
|
||||
|
||||
If ((Arg2 == One))
|
||||
{
|
||||
Return (One)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Arg4 = Buffer (One)
|
||||
{
|
||||
0x00 // .
|
||||
}
|
||||
Return (Zero)
|
||||
}
|
||||
|
||||
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||||
{
|
||||
Local0 = Package (0x02)
|
||||
{
|
||||
"plugin-type",
|
||||
One
|
||||
}
|
||||
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||||
Return (Local0)
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
extra-files/SSDT-PLUG.dsl.zip
Normal file
BIN
extra-files/SSDT-PLUG.dsl.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user