vgacon/vt: clear buffer attributes when we load a 512 character font (v2)
[linux-2.6/libata-dev.git] / include / xen / xen-ops.h
blobd6fe062cad6b3128b25104107a1c0468d442295f
1 #ifndef INCLUDE_XEN_OPS_H
2 #define INCLUDE_XEN_OPS_H
4 #include <linux/percpu.h>
5 #include <asm/xen/interface.h>
7 DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu);
9 void xen_arch_pre_suspend(void);
10 void xen_arch_post_suspend(int suspend_cancelled);
11 void xen_arch_hvm_post_suspend(int suspend_cancelled);
13 void xen_mm_pin_all(void);
14 void xen_mm_unpin_all(void);
16 void xen_timer_resume(void);
17 void xen_arch_resume(void);
19 int xen_setup_shutdown_event(void);
21 extern unsigned long *xen_contiguous_bitmap;
22 int xen_create_contiguous_region(unsigned long vstart, unsigned int order,
23 unsigned int address_bits);
25 void xen_destroy_contiguous_region(unsigned long vstart, unsigned int order);
27 struct vm_area_struct;
28 int xen_remap_domain_mfn_range(struct vm_area_struct *vma,
29 unsigned long addr,
30 xen_pfn_t mfn, int nr,
31 pgprot_t prot, unsigned domid,
32 struct page **pages);
33 int xen_unmap_domain_mfn_range(struct vm_area_struct *vma,
34 int numpgs, struct page **pages);
36 bool xen_running_on_version_or_later(unsigned int major, unsigned int minor);
37 #endif /* INCLUDE_XEN_OPS_H */