[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 03/32] Mini-OS: add EXPORT_SYMBOL() instances to kernel.c



Juergen Gross, le lun. 27 nov. 2023 11:24:54 +0100, a ecrit:
> Add the needed instances of EXPORT_SYMBOL() to kernel.c.
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

> ---
> V3:
> - new patch
> ---
>  kernel.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/kernel.c b/kernel.c
> index 1f97d8dd..0b444940 100644
> --- a/kernel.c
> +++ b/kernel.c
> @@ -50,6 +50,9 @@
>  #include <xen/features.h>
>  #include <xen/version.h>
>  
> +void _start(void);
> +EXPORT_SYMBOL(_start);
> +
>  uint8_t xen_features[XENFEAT_NR_SUBMAPS * 32];
>  char cmdline[MAX_CMDLINE_SIZE];
>  
> @@ -181,6 +184,7 @@ void stop_kernel(void)
>      /* Reset arch details */
>      arch_fini();
>  }
> +EXPORT_SYMBOL(stop_kernel);
>  
>  /*
>   * do_exit: This is called whenever an IRET fails in entry.S.
> @@ -199,3 +203,4 @@ void do_exit(void)
>          HYPERVISOR_sched_op(SCHEDOP_shutdown, &sched_shutdown);
>      }
>  }
> +EXPORT_SYMBOL(do_exit);
> -- 
> 2.35.3
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.