Kernel: Clear DF on every interrupt handler
I was missing this and it lead to UB with my new mem* functions that were implemented with `rep`
This commit is contained in:
@@ -16,6 +16,7 @@ asm_syscall_handler:
|
||||
pushq %r13
|
||||
pushq %r14
|
||||
pushq %r15
|
||||
cld
|
||||
|
||||
movq %rsi, %r8
|
||||
movq %rdi, %r9
|
||||
|
||||
Reference in New Issue
Block a user