blob: 351f4051f6d856d455d5f3d60b75bf3570209d9a [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);
Stefano Stabellini016b6f52010-05-14 12:45:07 +010010void xen_hvm_post_suspend(int suspend_cancelled);
Jeremy Fitzhardinge0e913982008-05-26 23:31:27 +010011
12void xen_mm_pin_all(void);
13void xen_mm_unpin_all(void);
14
Isaku Yamahataad55db92008-07-08 15:06:32 -070015void xen_timer_resume(void);
16void xen_arch_resume(void);
17
Stefano Stabellini016b6f52010-05-14 12:45:07 +010018int xen_setup_shutdown_event(void);
19
Alex Nixon08bbc9d2009-02-09 12:05:46 -080020extern 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
Isaku Yamahatae04d0d02008-04-02 10:53:55 -070026#endif /* INCLUDE_XEN_OPS_H */