diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-03-10 13:46:33 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-03-28 16:36:30 +0100 |
commit | 5ab246b492fc5f4c5c90ab31a18cfeeb4c328632 (patch) | |
tree | 48988a6b0d4c5b327136282ea1fc7b6e26354f32 /xen | |
parent | ed845fbb01197cd2ad2a7deef61d1ccbf8ce4687 (diff) | |
download | gnumach-5ab246b492fc5f4c5c90ab31a18cfeeb4c328632.tar.gz gnumach-5ab246b492fc5f4c5c90ab31a18cfeeb4c328632.tar.bz2 gnumach-5ab246b492fc5f4c5c90ab31a18cfeeb4c328632.zip |
* xen/evt.c: Add 64bit variant
* xen/evt.c (hyp_intrinit): Fix hyp_set_callbacks for 64bit.
Diffstat (limited to 'xen')
-rw-r--r-- | xen/evt.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) { |