| #include <xen/interface/xen.h> |
| #include <xen/grant_table.h> |
| #include <asm/xen/hypercall.h> |
| #include <asm/xen/page.h> |
| void xen_arch_pre_suspend(void) |
| void xen_arch_post_suspend(int cancelled) |
| xen_pv_post_suspend(cancelled); |
| xen_hvm_post_suspend(cancelled); |
| static void xen_vcpu_notify_restore(void *data) |
| /* Boot processor notified via generic timekeeping_resume() */ |
| if (smp_processor_id() == 0) |
| static void xen_vcpu_notify_suspend(void *data) |
| void xen_arch_resume(void) |
| on_each_cpu(xen_vcpu_notify_restore, NULL, 1); |
| void xen_arch_suspend(void) |
| on_each_cpu(xen_vcpu_notify_suspend, NULL, 1); |