Skip to contentSkip to conversation

tests: The order of the fields are in reverse one isr stack.

PATCH Applied Gleb Natapov 2 participants 2 messages Oct 29, 2009 – Nov 3, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: The order of the fields are in reverse one isr stack.

kvm/user/test/x86/apic.c +4 -4
index 4e89c77..b6718ec 100644
@@ -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.