mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-19 07:47:50 +00:00
Move global_asm inline in threads module
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
.intel_syntax noprefix
|
||||
|
||||
asm_context_switch:
|
||||
pushfq
|
||||
|
||||
mov rax, rsp
|
||||
mov rsp, rdi
|
||||
|
||||
mov rdi, rax
|
||||
call add_paused_thread
|
||||
|
||||
popfq
|
||||
ret
|
||||
Reference in New Issue
Block a user