mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
Update plug.md
This commit is contained in:
@@ -31,31 +31,7 @@ Scope (\_PR.CPU0) <- Rename this
|
|||||||
{
|
{
|
||||||
Method (DTGP, 5, NotSerialized)
|
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)
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user