Changeset 765 for Whitix/branches

Show
Ignore:
Timestamp:
07/09/08 15:52:03 (5 months ago)
Author:
mwhitworth
Message:

Add module to end of list, add KERN_INFO to KePrint.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/fs/kernel/module.c

    r732 r765  
    373373        module->keSymTab=ModuleSectionFind(module, (char*)file+sectionHeaders[elfHeader->strTabSectionIndex].shOffset, ".symtable", elfHeader->shEntries, &module->keSymTabSize); 
    374374 
    375         ListAdd(&module->next, &moduleList); 
     375        ListAddTail(&module->next, &moduleList); 
    376376 
    377377        return ret; 
     
    411411                strcat(buf, ".sys"); 
    412412 
    413                 KePrint("length = %#X: ", *length); 
    414  
    415413                if (ModuleAdd(data, kData, *length, 0)) 
    416414                        KernelPanic("Could not initialize the kernel"); 
    417415 
    418                 KePrint("MODULES: Loaded %s, %dkb\n", buf, (*length)/1024); 
     416                KePrint(KERN_INFO "MODULES: Loaded %s, %dkb\n", buf, (*length)/1024); 
    419417 
    420418                names+=strlen(names)+1;