summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-10-29 11:12:57 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2009-11-03 11:42:53 -0200
commit17cf3bb32b00b1ca025f8f977db30964792df215 (patch)
tree590b875c82801b625b81930fa57a858be11eb5b3
parenttests: Move typedefs to one place. (diff)
downloadqemu-kvm-17cf3bb32b00b1ca025f8f977db30964792df215.tar.gz
qemu-kvm-17cf3bb32b00b1ca025f8f977db30964792df215.tar.bz2
qemu-kvm-17cf3bb32b00b1ca025f8f977db30964792df215.zip
tests: The order of the fields are in reverse one isr stack.
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r--kvm/user/test/x86/apic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kvm/user/test/x86/apic.c b/kvm/user/test/x86/apic.c
index 4e89c775d..b6718ec08 100644
--- a/kvm/user/test/x86/apic.c
+++ b/kvm/user/test/x86/apic.c
@@ -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__