Kernel/x86 - Fixed usage of Proc_Clone
[tpg/acess2.git] / Kernel / arch / x86 / main.c
index 0557760..a65c230 100644 (file)
@@ -19,16 +19,14 @@ extern void Heap_Install(void);
 extern void    Desctab_Install(void);
 extern void    MM_PreinitVirtual(void);
 extern void    MM_Install(tMBoot_Info *MBoot);
-extern void MM_InstallVirtual(void);
+extern void    MM_InstallVirtual(void);
 extern void    Threads_Init(void);
 extern int     Time_Setup(void);
-extern Uint    Proc_Clone(Uint *Err, Uint Flags);
-extern void    Threads_Sleep(void);
 // --- Core ---
 extern void    System_Init(char *Commandline);
 
 // === PROTOTYPES ===
-void   Arch_LoadBootModules(void);
+ int   kmain(Uint MbMagic, void *MbInfoPtr);
 
 // === GLOBALS ===
 char   *gsBootCmdLine = NULL;
@@ -81,13 +79,13 @@ int kmain(Uint MbMagic, void *MbInfoPtr)
        MM_InstallVirtual();    // Clean up virtual address space
        Heap_Install();         // Create initial heap
        
-       // Start Timers
-       Time_Setup();
-       
        //Log_Log("Arch", "Starting Multitasking...");
        // Start Multitasking
        Threads_Init();
        
+       // Start Timers
+       Time_Setup();
+       
        Log_Log("Arch", "Starting VFS...");
        // Load Virtual Filesystem
        VFS_Init();

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