kernel: ldt support

This commit is contained in:
Matheus
2026-03-20 21:23:59 -03:00
parent a73c82f912
commit 41f97c6c61
17 changed files with 315 additions and 94 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ arch_context_switch:
add rsp,8 ; remove error code
; check if swapgs is needed
cmp qword [rsp+8], 0x23
jne .notneeded2
cmp qword [rsp+8], 0x8
je .notneeded2
swapgs
.notneeded2:
o64 iret