diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2008-10-16 22:17:59 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-10-17 13:02:52 -0400 |
commit | b5a26e4db818d4647a019d5c462f6778b8213112 (patch) | |
tree | c846b01afef803767351e49d9a9218a89933fe66 /arch/ia64/include | |
parent | 080104cd0f708b6bb5a121922801867a29ad63fc (diff) |
ia64/pv_ops/xen: define xen pv_init_ops for various xen initialization.
This patch implements xen version of pv_init_ops to do various
xen initialization.
This patch also includes ia64 counter part of x86 xen early printk support
patches.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/xen/hypervisor.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/xen/hypervisor.h b/arch/ia64/include/asm/xen/hypervisor.h index d1f84e12c0ed..7a804e80fc67 100644 --- a/arch/ia64/include/asm/xen/hypervisor.h +++ b/arch/ia64/include/asm/xen/hypervisor.h | |||
@@ -59,8 +59,22 @@ extern enum xen_domain_type xen_domain_type; | |||
59 | /* deprecated. remove this */ | 59 | /* deprecated. remove this */ |
60 | #define is_running_on_xen() (xen_domain_type == XEN_PV_DOMAIN) | 60 | #define is_running_on_xen() (xen_domain_type == XEN_PV_DOMAIN) |
61 | 61 | ||
62 | extern struct shared_info *HYPERVISOR_shared_info; | ||
62 | extern struct start_info *xen_start_info; | 63 | extern struct start_info *xen_start_info; |
63 | 64 | ||
65 | void __init xen_setup_vcpu_info_placement(void); | ||
66 | void force_evtchn_callback(void); | ||
67 | |||
68 | /* for drivers/xen/balloon/balloon.c */ | ||
69 | #ifdef CONFIG_XEN_SCRUB_PAGES | ||
70 | #define scrub_pages(_p, _n) memset((void *)(_p), 0, (_n) << PAGE_SHIFT) | ||
71 | #else | ||
72 | #define scrub_pages(_p, _n) ((void)0) | ||
73 | #endif | ||
74 | |||
75 | /* For setup_arch() in arch/ia64/kernel/setup.c */ | ||
76 | void xen_ia64_enable_opt_feature(void); | ||
77 | |||
64 | #else /* CONFIG_XEN */ | 78 | #else /* CONFIG_XEN */ |
65 | 79 | ||
66 | #define xen_domain() (0) | 80 | #define xen_domain() (0) |