Fiddling with the x86_64 port
[tpg/acess2.git] / Kernel / arch / x86_64 / main.c
index 7d69368..af231ee 100644 (file)
@@ -3,18 +3,20 @@
  */
 #include <acess.h>
 #include <mboot.h>
+#include <init.h>
 
 // === IMPORTS ===
 extern void    Desctab_Init(void);
 extern void    MM_InitVirt(void);
 extern void    Heap_Install(void);
 extern void    Threads_Init(void);
-//extern void  Time_Setup(void);
+extern int     Time_Setup(void);
 extern void    System_Init(char *Commandline);
 
 extern void    MM_InitPhys_Multiboot(tMBoot_Info *MBoot);
 
 // === PROTOTYPES ===
+void   kmain(Uint MbMagic, void *MbInfoPtr);
 
 // === GLOBALS ==
 char   *gsBootCmdLine = NULL;
@@ -55,7 +57,7 @@ void kmain(Uint MbMagic, void *MbInfoPtr)
        Log_Log("Arch", "Starting threading...");
        Threads_Init();
        
-       //Time_Setup();
+       Time_Setup();
        *(Uint16*)(0xB8000) = 0x1F00|'F';
        
        Log_Log("Arch", "Starting VFS...");
@@ -81,7 +83,7 @@ void Arch_LoadBootModules(void)
        
 }
 
-void StartupPrint(char *String)
+void StartupPrint(const char *String)
 {
        
 }

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