]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/xen/xen-ops.h
xen: arm: enable balloon driver
[mirror_ubuntu-artful-kernel.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>
5
6DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu);
7
03c8142b
IC
8void xen_arch_pre_suspend(void);
9void xen_arch_post_suspend(int suspend_cancelled);
10void xen_arch_hvm_post_suspend(int suspend_cancelled);
0e91398f
JF
11
12void xen_mm_pin_all(void);
13void xen_mm_unpin_all(void);
14
ad55db9f
IY
15void xen_timer_resume(void);
16void xen_arch_resume(void);
17
016b6f5f
SS
18int xen_setup_shutdown_event(void);
19
08bbc9da
AN
20extern unsigned long *xen_contiguous_bitmap;
21int xen_create_contiguous_region(unsigned long vstart, unsigned int order,
22 unsigned int address_bits);
23
24void xen_destroy_contiguous_region(unsigned long vstart, unsigned int order);
25
c140d879 26struct vm_area_struct;
de1ef206
IC
27int xen_remap_domain_mfn_range(struct vm_area_struct *vma,
28 unsigned long addr,
29 unsigned long mfn, int nr,
9a032e39
IC
30 pgprot_t prot, unsigned domid,
31 struct page **pages);
32int xen_unmap_domain_mfn_range(struct vm_area_struct *vma,
33 int numpgs, struct page **pages);
de1ef206 34
e04d0d07 35#endif /* INCLUDE_XEN_OPS_H */