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