tests: The order of the fields are in reverse one isr stack.
PATCH 1/1 tests: The order of the fields are in reverse one isr stack.
Signed-off-by Gleb Natapov <[email protected]>
kvm/user/test/x86/apic.c +4 -4
@@ -19,11 +19,11 @@ typedef struct { } idt_entry_t;typedef struct { -ulong rflags; -ulong cs; -ulong rip; -ulong func;ulong regs[sizeof (ulong)*2 ]; +ulong func; +ulong rip; +ulong cs; +ulong rflags; }isr_regs_t ;#ifdef __x86_64__
--
Gleb.
Marcelo Tosatti
AppliedApplied both, thanks.
Quoted 6 lines · Gleb Natapov
Signed-off-by Gleb Natapov <[email protected]>kvm/user/test/x86/apic.c +0
-0