ia64/xen-unstable

diff tools/libxc/ia64/xc_ia64_stubs.c @ 10692:306d7857928c

[IA64] Save & restore.

xc_ia64_linux_save.c and xc_ia64_linux_restore.c added.
vcpu context has more registers and states (eg: tr registers).
Per cpu irqs are deallocated when cpu is switched off.
#if/#endif added in reboot.c for ia64.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Tue Jul 11 12:51:18 2006 -0600 (2006-07-11)
parents dab0a5650e6d
children 86d26e6ec89b
line diff
     1.1 --- a/tools/libxc/ia64/xc_ia64_stubs.c	Tue Jul 11 11:29:25 2006 -0600
     1.2 +++ b/tools/libxc/ia64/xc_ia64_stubs.c	Tue Jul 11 12:51:18 2006 -0600
     1.3 @@ -23,24 +23,6 @@ xc_ia64_fpsr_default(void)
     1.4      return FPSR_DEFAULT;
     1.5  }
     1.6  
     1.7 -int
     1.8 -xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters,
     1.9 -              uint32_t max_factor, uint32_t flags /* XCFLAGS_xxx */,
    1.10 -              int (*suspend)(int domid))
    1.11 -{
    1.12 -    PERROR("xc_linux_save not implemented\n");
    1.13 -    return -1;
    1.14 -}
    1.15 -
    1.16 -int
    1.17 -xc_linux_restore(int xc_handle, int io_fd, uint32_t dom, unsigned long nr_pfns,
    1.18 -                 unsigned int store_evtchn, unsigned long *store_mfn,
    1.19 -                 unsigned int console_evtchn, unsigned long *console_mfn)
    1.20 -{
    1.21 -    PERROR("xc_linux_restore not implemented\n");
    1.22 -    return -1;
    1.23 -}
    1.24 -
    1.25  /*  
    1.26      VMM uses put_user to copy pfn_list to guest buffer, this maybe fail,
    1.27      VMM doesn't handle this now.