Kernel/arm7 - Fixing, manages to start pmm init
[tpg/acess2.git] / Kernel / arch / arm7 / main.c
index 891501d..455fe83 100644 (file)
@@ -4,10 +4,11 @@
  * ARM7 Entrypoint
  * arch/arm7/main.c
  */
+#include <acess.h>
 
 // === IMPORTS ===
 extern void    Interrupts_Setup(void);
-extern void    MM_SetupPhys(void);
+extern void    Arch_LoadBootModules(void);
 
 // === PROTOTYPES ===
  int   kmain(void);
@@ -15,10 +16,18 @@ extern void MM_SetupPhys(void);
 // === CODE ===
 int kmain(void)
 {
-       Interrupts_Setup();
+       LogF("Acess2 ARMv7 v"EXPAND_STR(KERNEL_VERSION)"\n", BUILD_NUM);
+       LogF(" Build %i\n", BUILD_NUM);
+//     Interrupts_Setup();
        
        MM_SetupPhys();
        
        //TODO: 
+       LogF("End of kmain(), for(;;);\n");
        for(;;);
 }
+
+void Arch_LoadBootModules(void)
+{
+}
+

UCC git Repository :: git.ucc.asn.au