• Jes Sorensen's avatar
    Make hypercalls arch-independent. · b410e7b1
    Jes Sorensen authored
    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: default avatarJes Sorensen <jes@sgi.com>
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    b410e7b1
lg.h 8.51 KB