Do not push unused values
This commit is contained in:
parent
82893fa3a4
commit
1ed51d11cb
@ -69,21 +69,16 @@ kernel_yield:
|
||||
push rax ; CS
|
||||
push rdi ; RIP
|
||||
|
||||
; ISR and error code
|
||||
push 0
|
||||
push 0
|
||||
sub rsp, 24
|
||||
|
||||
push 0 ; RAX
|
||||
push rbx ; Preserve RBX
|
||||
push 0 ; RCX
|
||||
push 0 ; RDX
|
||||
push 0 ; RSI
|
||||
push 0 ; RDI
|
||||
|
||||
sub rsp, 32
|
||||
|
||||
push rbp ; Preserve RBP
|
||||
push 0 ; R8
|
||||
push 0 ; R9
|
||||
push 0 ; R10
|
||||
push 0 ; R11
|
||||
|
||||
sub rsp, 32
|
||||
|
||||
push r12 ; Preserve R12
|
||||
push r13 ; Preserve R13
|
||||
push r14 ; Preserve R14
|
||||
|
Loading…
Reference in New Issue
Block a user