Advertisement
Guest User

Untitled

a guest
Mar 12th, 2022
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .intel_syntax noprefix
  2.  
  3. .section text
  4. .global _Oa_x64__halt
  5. .type _Oa_x64__halt, @function
  6. _Oa_x64__halt:
  7.     cli                   // Clear all interrupts
  8. .again:
  9.     hlt                   // Halt
  10.     jmp .again            // Ignore non-maskable interrupts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement