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:
@@ -14,6 +14,7 @@ asm_syscall_handler:
|
||||
pushl %edi
|
||||
pushl %esi
|
||||
pushl %ebp
|
||||
cld
|
||||
|
||||
# align stack
|
||||
movl %esp, %ebp
|
||||
|
||||
Reference in New Issue
Block a user