mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
kernel threads
kernel threads and preemptive multitasking
This commit is contained in:
@@ -75,7 +75,7 @@ section .text
|
||||
pop rdi
|
||||
pop rsi
|
||||
pop rbp
|
||||
|
||||
add rsp,8 ; remove error code
|
||||
|
||||
%endmacro
|
||||
|
||||
@@ -95,8 +95,6 @@ section .text
|
||||
call %2
|
||||
|
||||
popregs
|
||||
|
||||
add rsp,8 ; remove error code
|
||||
|
||||
iretq
|
||||
|
||||
@@ -120,9 +118,7 @@ section .text
|
||||
call %2
|
||||
|
||||
popregs
|
||||
|
||||
add rsp,8 ; remove error code
|
||||
|
||||
|
||||
iretq
|
||||
%endmacro
|
||||
|
||||
|
||||
Reference in New Issue
Block a user