From 5ab246b492fc5f4c5c90ab31a18cfeeb4c328632 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 10 Mar 2012 13:46:33 +0100 Subject: * xen/evt.c: Add 64bit variant * xen/evt.c (hyp_intrinit): Fix hyp_set_callbacks for 64bit. --- xen/evt.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xen/evt.c') diff --git a/xen/evt.c b/xen/evt.c index 2a84ef77..ae7e5d7a 100644 --- a/xen/evt.c +++ b/xen/evt.c @@ -95,8 +95,13 @@ void hyp_intrinit() { form_int_mask(); curr_ipl = SPLHI; hyp_shared_info.evtchn_mask[0] = int_mask[SPLHI]; +#ifdef __i386__ hyp_set_callbacks(KERNEL_CS, hyp_callback, KERNEL_CS, hyp_failsafe_callback); +#endif +#ifdef __x86_64__ + hyp_set_callbacks(hyp_callback, hyp_failsafe_callback, NULL); +#endif } void hyp_evt_handler(evtchn_port_t port, void (*handler)(), int unit, spl_t spl) { -- cgit v1.2.3