Add new modules

This commit is contained in:
Philipp Oppermann
2020-01-22 17:24:17 +01:00
parent c3450b6df7
commit b75406b37e
3 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
.intel_syntax noprefix
asm_context_switch:
pushfq
mov rax, rsp
mov rsp, rdi
mov rdi, rax
call add_paused_thread
popfq
ret