From 16688ec0609f2f9744086a53f1602bffb1818f82 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Fri, 6 Sep 2019 13:47:29 +0900 Subject: [PATCH] Move the arch_init() call out of the #if 0 preprocessor directive --- kernel/core/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/core/main.c b/kernel/core/main.c index 6288152..e43a9d9 100644 --- a/kernel/core/main.c +++ b/kernel/core/main.c @@ -75,7 +75,7 @@ void _print_mptbl(void *tbl) int corax(void *mb_info, u32_t magic) { dbg_printf("Corax 0.1 - As the Crow flies\n"); - dbg_printf("(C) 2018 Matthias Kruk \n"); + dbg_printf("(C) 2019 Matthias Kruk \n"); dbg_printf("Compiled on %s at %s\n", __DATE__, __TIME__); u32_t p; @@ -101,9 +101,9 @@ int corax(void *mb_info, u32_t magic) { } */ -#if 0 - arch_init(mb_info); + arch_init(mb_info); +#if 0 { u64_t capabilities = cpu_get_capabilities(); -- 2.47.3