mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 05:58:22 +00:00
fixes
This commit is contained in:
@@ -4,7 +4,7 @@ arch_context_switch:
|
||||
xor rsi, rsi ; is syscall? (no)
|
||||
extern sched_userspacecheck
|
||||
call sched_userspacecheck ; compiled with no_caller_saved_registers
|
||||
|
||||
cli
|
||||
; rdi is the pointer to the context struct
|
||||
mov rsp, rdi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user