]> git.corax.cc Git - corax/commitdiff
Move the arch_init() call out of the #if 0 preprocessor directive
authorMatthias Kruk <m@m10k.eu>
Fri, 6 Sep 2019 04:47:29 +0000 (13:47 +0900)
committerMatthias Kruk <m@m10k.eu>
Fri, 6 Sep 2019 04:47:29 +0000 (13:47 +0900)
kernel/core/main.c

index 6288152e41a51dfa905c8d26fa32ea007b4f85be..e43a9d985e1ebee33cb24d856f543940d6b8d316 100644 (file)
@@ -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 <matt@corax.cc>\n");
+    dbg_printf("(C) 2019 Matthias Kruk <matt@corax.cc>\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();