mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
kernel/entry.asm: fix pseudo interrupt stack frame (ordering was wrong)
This commit is contained in:
parent
52aa821e33
commit
8c97d11513
1 changed files with 1 additions and 1 deletions
|
@ -506,8 +506,8 @@ switch_context:
|
|||
pushfq ; RFLAGS
|
||||
push QWORD 0x08 ; CS
|
||||
push QWORD rollback ; RIP
|
||||
push QWORD 0x00 ; Interrupt number
|
||||
push QWORD 0x00edbabe ; Error code
|
||||
push QWORD 0x00 ; Interrupt number
|
||||
push rax
|
||||
push rcx
|
||||
push rdx
|
||||
|
|
Loading…
Add table
Reference in a new issue