blob: d789c937c48aac9dc11e722201e7a573040eb8c3 [file] [log] [blame]
Isaku Yamahatae04d0d02008-04-02 10:53:55 -07001#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
Jeremy Fitzhardinge0e913982008-05-26 23:31:27 +01008void xen_pre_suspend(void);
9void xen_post_suspend(int suspend_cancelled);
10
11void xen_mm_pin_all(void);
12void xen_mm_unpin_all(void);
13
Isaku Yamahataad55db92008-07-08 15:06:32 -070014void xen_timer_resume(void);
15void xen_arch_resume(void);
16
Alex Nixon08bbc9d2009-02-09 12:05:46 -080017extern unsigned long *xen_contiguous_bitmap;
18int xen_create_contiguous_region(unsigned long vstart, unsigned int order,
19 unsigned int address_bits);
20
21void xen_destroy_contiguous_region(unsigned long vstart, unsigned int order);
22
Isaku Yamahatae04d0d02008-04-02 10:53:55 -070023#endif /* INCLUDE_XEN_OPS_H */