Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
[deliverable/linux.git] / include / xen / xen-ops.h
CommitLineData
e04d0d07
IY
1#ifndef INCLUDE_XEN_OPS_H
2#define INCLUDE_XEN_OPS_H
3
4#include <linux/percpu.h>
7892f692 5#include <asm/xen/interface.h>
e04d0d07
IY
6
7DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu);
8
03c8142b
IC
9void xen_arch_pre_suspend(void);
10void xen_arch_post_suspend(int suspend_cancelled);
11void xen_arch_hvm_post_suspend(int suspend_cancelled);
0e91398f
JF
12
13void xen_mm_pin_all(void);
14void xen_mm_unpin_all(void);
15
ad55db9f
IY
16void xen_timer_resume(void);
17void xen_arch_resume(void);
18
016b6f5f
SS
19int xen_setup_shutdown_event(void);
20
08bbc9da 21extern unsigned long *xen_contiguous_bitmap;
1b65c4e5 22int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
69908907
SS
23 unsigned int address_bits,
24 dma_addr_t *dma_handle);
08bbc9da 25
1b65c4e5 26void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order);
08bbc9da 27
c140d879 28struct vm_area_struct;
de1ef206
IC
29int xen_remap_domain_mfn_range(struct vm_area_struct *vma,
30 unsigned long addr,
7892f692 31 xen_pfn_t mfn, int nr,
9a032e39
IC
32 pgprot_t prot, unsigned domid,
33 struct page **pages);
34int xen_unmap_domain_mfn_range(struct vm_area_struct *vma,
35 int numpgs, struct page **pages);
de1ef206 36
394b40f6 37bool xen_running_on_version_or_later(unsigned int major, unsigned int minor);
e04d0d07 38#endif /* INCLUDE_XEN_OPS_H */
This page took 0.569998 seconds and 5 git commands to generate.