Created
May 29, 2024 09:32
-
-
Save pellaeon/6aae847cfc26ba9822630877bb0ea6b5 to your computer and use it in GitHub Desktop.
lcdshadow.dsl
This file contains 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
Scope (PCI0.LPC0.EC0.HKEY) | |
{ | |
Method (GSSS, 1, NotSerialized) | |
{ | |
Local0 = 0x00 | |
If (((SHDW & 0x80) == 0x00)) | |
{ | |
Local0 |= 0x00010000 | |
} | |
If ((SHDW & 0x01)) | |
{ | |
Local0 |= 0x01 | |
} | |
Local0 |= 0x32000000 | |
Return (Local0) | |
} | |
Method (SSSS, 1, NotSerialized) | |
{ | |
If (((SHDW & 0x80) == 0x00)) | |
{ | |
If ((Arg0 == 0x00)) | |
{ | |
If (((SHDW & 0x01) != 0x00)) | |
{ | |
^^^^SMB.PLEN = 0x00 | |
SHDW = (SHDW & 0xFFFFFFFE) | |
WECM (0xCE, SHDW) | |
MHKQ (0x130F) | |
Return (0x00) | |
} | |
} | |
If ((Arg0 == 0x01)) | |
{ | |
If (((SHDW & 0x01) == 0x00)) | |
{ | |
^^^^SMB.PLEN = 0x01 | |
SHDW = (SHDW | 0x01) | |
WECM (0xCE, SHDW) | |
MHKQ (0x130F) | |
Return (0x00) | |
} | |
} | |
} | |
Return (0x80000000) | |
} | |
Method (TSSS, 0, NotSerialized) | |
{ | |
If (((SHDW & 0x80) == 0x00)) | |
{ | |
If (((SHDW & 0x01) != 0x00)) | |
{ | |
SSSS (0x00) | |
Return (0x00) | |
} | |
If (((SHDW & 0x01) == 0x00)) | |
{ | |
SSSS (0x01) | |
Return (0x00) | |
} | |
} | |
Return (0x80000000) | |
} | |
Method (CSSS, 0, NotSerialized) | |
{ | |
If ((((SHDW & 0x80) == 0x00) && ((SHDW & | |
0x01) != 0x00))) | |
{ | |
Return (SSSS (0x01)) | |
} | |
Else | |
{ | |
Return (SSSS (0x00)) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment