1
0
Fork 0
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:
daniel-k 2016-08-26 18:07:34 +02:00
parent 52aa821e33
commit 8c97d11513

View file

@ -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