Renamed tpl_drv_* to api_drv_* (a more fitting name)
[tpg/acess2.git] / Kernel / arch / arm7 / main.c
index 1e35c0e..e8bc375 100644 (file)
@@ -8,6 +8,9 @@
 
 // === IMPORTS ===
 extern void    Interrupts_Setup(void);
+extern void    Arch_LoadBootModules(void);
+extern void    Heap_Install(void);
+extern void    Threads_Init(void);
 
 // === PROTOTYPES ===
  int   kmain(void);
@@ -15,10 +18,22 @@ extern void Interrupts_Setup(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();
+
+       Heap_Install();
+
+       Threads_Init();
        
        //TODO: 
+       LogF("End of kmain(), for(;;);\n");
        for(;;);
 }
+
+void Arch_LoadBootModules(void)
+{
+}
+

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