From: Matthias Kruk Date: Fri, 6 Sep 2019 04:47:29 +0000 (+0900) Subject: Move the arch_init() call out of the #if 0 preprocessor directive X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=16688ec0609f2f9744086a53f1602bffb1818f82;p=corax Move the arch_init() call out of the #if 0 preprocessor directive --- 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();