xen-ops.h 852 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef INCLUDE_XEN_OPS_H
  2. #define INCLUDE_XEN_OPS_H
  3. #include <linux/percpu.h>
  4. DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu);
  5. void xen_arch_pre_suspend(void);
  6. void xen_arch_post_suspend(int suspend_cancelled);
  7. void xen_arch_hvm_post_suspend(int suspend_cancelled);
  8. void xen_mm_pin_all(void);
  9. void xen_mm_unpin_all(void);
  10. void xen_timer_resume(void);
  11. void xen_arch_resume(void);
  12. int xen_setup_shutdown_event(void);
  13. extern unsigned long *xen_contiguous_bitmap;
  14. int xen_create_contiguous_region(unsigned long vstart, unsigned int order,
  15. unsigned int address_bits);
  16. void xen_destroy_contiguous_region(unsigned long vstart, unsigned int order);
  17. int xen_remap_domain_mfn_range(struct vm_area_struct *vma,
  18. unsigned long addr,
  19. unsigned long mfn, int nr,
  20. pgprot_t prot, unsigned domid);
  21. #endif /* INCLUDE_XEN_OPS_H */