]> xenbits.xensource.com Git - mini-os.git/commitdiff
Mini-OS: add EXPORT_SYMBOL() instances to hypervisor.c
authorJuergen Gross <jgross@suse.com>
Mon, 27 Nov 2023 10:24:55 +0000 (11:24 +0100)
committerJulien Grall <jgrall@amazon.com>
Mon, 4 Dec 2023 16:52:57 +0000 (16:52 +0000)
Add the needed instances of EXPORT_SYMBOL() to hypervisor.c.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
hypervisor.c

index d3857e70edb4f64dec939dbc133461814103bd35..f2cbbc1cb1c1b61099c21e5a2f65f6a88b92f3b6 100644 (file)
@@ -31,6 +31,8 @@
 #include <mini-os/events.h>
 #include <xen/memory.h>
 
+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);