Make hypercalls arch-independent.
authorJes Sorensen <jes@sgi.com>
Mon, 22 Oct 2007 01:03:31 +0000 (11:03 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:52 +0000 (15:49 +1000)
commitb410e7b1499c49513cab18275db8a8ab549d9e09
tree8a71fa34660f5ccc9d71677137c5ae211a38bbf2
parentcc6d4fbcef328acdc9fa7023e69f39f753f72fe1
Make hypercalls arch-independent.

Clean up the hypercall code to make the code in hypercalls.c
architecture independent. First process the common hypercalls and
then call lguest_arch_do_hcall() if the call hasn't been handled.
Rename struct hcall_ring to hcall_args.

This patch requires the previous patch which reorganize the layout of
struct lguest_regs on i386 so they match the layout of struct
hcall_args.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/lguest/boot.c
drivers/lguest/hypercalls.c
drivers/lguest/lg.h
drivers/lguest/x86/core.c
include/asm-x86/lguest_hcall.h
include/linux/lguest.h