kernel threads

kernel threads and preemptive multitasking
This commit is contained in:
Matheus
2022-08-13 14:00:26 -03:00
parent ac5339453b
commit e7f4245c6d
14 changed files with 274 additions and 44 deletions
+2 -6
View File
@@ -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