From: Juergen Gross Date: Mon, 27 Nov 2023 10:24:55 +0000 (+0100) Subject: Mini-OS: add EXPORT_SYMBOL() instances to hypervisor.c X-Git-Tag: xen-4.19.0-rc4~39 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d1c0b78fb09297dee5ac325581c2af145b1847d1;p=mini-os.git Mini-OS: add EXPORT_SYMBOL() instances to hypervisor.c Add the needed instances of EXPORT_SYMBOL() to hypervisor.c. Signed-off-by: Juergen Gross Reviewed-by: Samuel Thibault --- diff --git a/hypervisor.c b/hypervisor.c index d3857e7..f2cbbc1 100644 --- a/hypervisor.c +++ b/hypervisor.c @@ -31,6 +31,8 @@ #include #include +EXPORT_SYMBOL(hypercall_page); + #define active_evtchns(cpu,sh,idx) \ ((sh)->evtchn_pending[idx] & \ ~(sh)->evtchn_mask[idx]) @@ -157,6 +159,7 @@ inline void mask_evtchn(uint32_t port) shared_info_t *s = HYPERVISOR_shared_info; synch_set_bit(port, &s->evtchn_mask[0]); } +EXPORT_SYMBOL(mask_evtchn); inline void unmask_evtchn(uint32_t port) { @@ -180,9 +183,11 @@ inline void unmask_evtchn(uint32_t port) force_evtchn_callback(); } } +EXPORT_SYMBOL(unmask_evtchn); inline void clear_evtchn(uint32_t port) { shared_info_t *s = HYPERVISOR_shared_info; synch_clear_bit(port, &s->evtchn_pending[0]); } +EXPORT_SYMBOL(clear_evtchn);