daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Sep 14th, 2017 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Change method _PTS where Arg0 is 0x05 (shutdown)
  2. #
  3. into method label _PTS code_regex If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\{\s*\} replace_matched
  4. begin
  5. If (LEqual (Arg0, 0x05))\n
  6. {\n
  7.             Store (One, \\_SB.PCI0.PX40.AG3E)\n
  8.             Store (Zero, SLPE)\n
  9.             Sleep (0x10)\n
  10. }\n
  11. Else\n
  12. {\n
  13.     Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
  14. }
  15. end;
  16. into method label \_PTS code_regex If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\{\s*\} replace_matched
  17. begin
  18. If (LEqual (Arg0, 0x05))\n
  19. {\n
  20.             Store (One, \\_SB.PCI0.PX40.AG3E)\n
  21.             Store (Zero, SLPE)\n
  22.             Sleep (0x10)\n
  23. }\n
  24. Else\n
  25. {\n
  26.     Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
  27. }
  28. end;
  29. into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert
  30. begin
  31. OperationRegion (PMRS, SystemIO, 0x0430, One)\n
  32. Field (PMRS, ByteAcc, NoLock, Preserve)\n
  33. {\n
  34.         ,   4, \n
  35.     SLPE,   1\n
  36. }
  37. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top