|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH 4/4] lib/ukboot: Iterate through the inittab
On 20.09.19 17:16, Sharan Santhanam wrote: Add support to iterate through the inittab and call the init functions. Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> --- include/uk/init.h | 6 ++++++ lib/ukboot/boot.c | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/include/uk/init.h b/include/uk/init.h index 91cb6ef..466c956 100644 --- a/include/uk/init.h +++ b/include/uk/init.h @@ -59,6 +59,12 @@ typedef int (*uk_init_t)(void); #define uk_sys_initcall(fn) uk_sys_initcall_prio(fn, 9) #define uk_late_initcall(fn) uk_late_initcall_prio(fn, 9)+extern const uk_init_t uk_inittab_start[]; Hum, could you add an error or debug message in the form of: "Init function %p returned with error %d\n"Just for the case that some init functions may not print the error case properly. Then this could be still debugged by console messages. + ret = UKPLAT_CRASH; + goto exit; + } + }#ifdef CONFIG_LIBUKBUS _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |