extern int Modules_LoadBuiltins();
extern int PCI_Install();
extern void DMA_Install();
+extern void Debug_SetKTerminal(char *File);
// === PROTOTYPES ===
void System_Init(char *ArgString);
int System_Int_GetString(char *Str, char **Dest);
// === GLOBALS ===
-char *gsInitPath = "/Acess/Bin/init";
char *gsConfigScript = "/Acess/Conf/BootConf.cfg";
// === CODE ===
DMA_Install();
Modules_LoadBuiltins();
+ // Set the debug to be echoed to the terminal
+ Debug_SetKTerminal("/Devices/vterm/0");
+
// - Parse Kernel's Command Line
System_ParseCommandLine(ArgString);
}
// - Load Module
else if(strncmp("module ", fData+i, 6) == 0) {
+ //char *tmp;
i += 7;
i += System_Int_GetString(fData+i, &sArg1);
if(!sArg1) goto read2eol;
- //Log("[CFG ] Load Module '%s'\n", sArg1);
Module_LoadFile(sArg1, ""); //!\todo Use the rest of the line as the argument string
}
// - Load Module