Reorder guest saved regs to match hyperall order
authorJes Sorensen <jes@sgi.com>
Mon, 22 Oct 2007 01:03:29 +0000 (11:03 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:51 +0000 (15:49 +1000)
commit4614a3a3b638dfd7a67d0237944f6a76331af61d
tree8ec25721127eb899b97e46551b1644644ca698ac
parent625efab1cd3d4da4634dfe26df6b4005385397e2
Reorder guest saved regs to match hyperall order

Move eax next to ebx/ecx/edx in struct lguest_regs on i386, so they
will be located together and allow it to map directly to a struct
hcall_ring entry (which will be renamed struct hcall_args as in a
subsequent patch).

This is in preparation for making the code hcall code architecture
independent.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/x86/switcher_32.S
include/asm-x86/lguest.h