// === IMPORTS ===
extern int Modules_LoadBuiltins();
extern int PCI_Install();
+extern void DMA_Install();
// === PROTOTYPES ===
void System_Init(char *ArgString);
int System_Int_GetString(char *Str, char **Dest);
// === GLOBALS ===
-char *gsInitPath = "/Acess/Bin/init";
-char *gsConfigScript = "/Acess/BootConf.cfg";
+char *gsConfigScript = "/Acess/Conf/BootConf.cfg";
// === CODE ===
void System_Init(char *ArgString)
{
// - Start Builtin Drivers & Filesystems
PCI_Install();
- //ATA_Install();
+ DMA_Install();
Modules_LoadBuiltins();
// - Parse Kernel's Command Line
}
// - 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