Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P369
OSUP
Active
Public
Actions
Authored by
jhb
on Feb 28 2020, 6:10 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F6202839: raw.txt
Feb 28 2020, 6:10 PM
2020-02-28 18:10:33 (UTC+0)
Subscribers
None
Scope (\_GPE)
{
Method (OSUP, 1, Serialized)
{
ADBG (Concatenate ("OSUP=", ToHexString (Arg0)))
Local0 = (Arg0 + 0x0548)
OperationRegion (PXVD, SystemMemory, Local0, 0x08)
Field (PXVD, DWordAcc, NoLock, Preserve)
{
TB2P, 32,
P2TB, 32
}
Local1 = 0x64
P2TB = 0x0D
While ((Local1 > 0x00))
{
Local1 = (Local1 - 0x01)
Local2 = TB2P /* \_GPE.OSUP.TB2P */
If ((Local2 == 0xFFFFFFFF))
{
ADBG ("Dev gone")
Return (0x02)
}
If ((Local2 & 0x01))
{
ADBG ("Cmd acknowledged")
Break
}
Sleep (0x32)
}
If ((TRWA == 0x01))
{
P2TB = 0x0C
}
Else
{
P2TB = 0x00
}
ADBG ("End-of-OSUP")
Return (0x01)
}
Event Timeline
jhb
created this paste.
Feb 28 2020, 6:10 PM
2020-02-28 18:10:33 (UTC+0)
jhb
created this object in space
S1 Global
.
Log In to Comment