|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 4/4] lib/ukboot: Iterate through the inittab
On 23.09.19 14:09, 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 | 23 +++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/include/uk/init.h b/include/uk/init.h index bea4127..8b7a8aa 100644 --- a/include/uk/init.h +++ b/include/uk/init.h @@ -92,6 +92,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[]; I am not getting this comment... I am thinking that you mean to move the following code (irq init, platform time, scheduler) to init table entries - so it is a TODO, right? I think, since because those items are really tricky, I tend to leave the comment for now. Alternatively, I propose that I change the comment to the following while upstreaming: /* * TODO: Move the following initialization calls to init table */ Let me know what you think. _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |