Changeset 1915 for Whitix/trunk/kernel/module.c
- Timestamp:
- 02/25/09 01:19:19 (3 years ago)
- Files:
-
- 1 modified
-
Whitix/trunk/kernel/module.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/kernel/module.c
r1668 r1915 74 74 ListForEachEntry(curr, &moduleList, next) 75 75 { 76 // KePrint("%#X %#X %#X\n", curr->textAddr, address, curr->textAddr+curr->textLength);77 76 if (address >= curr->textAddr && address < curr->textAddr+curr->textLength) 78 77 { … … 93 92 else 94 93 KePrint("%#X\n", address); 95 }//else 96 // KePrint("%#X\n", address); 94 } 97 95 } 98 96 … … 158 156 159 157 while (i < curr->keSymTabSize) 160 { 158 { 161 159 if (!strcmp(currSym->name, name)) 162 160 { … … 208 206 * and module symbols to set its value. */ 209 207 case STN_UNDEF: 210 symbol->symValue =ModuleResolveKernel(symName);208 symbol->symValue = ModuleResolveKernel(symName); 211 209 212 210 if (symbol->symValue) … … 382 380 int (*modInit)(void); 383 381 384 modInit=ModuleSymbolFind(module, "_ModuleInit", STT_FUNC); 382 modInit = ModuleSymbolFind(module, "_ModuleInit", STT_FUNC); 383 384 /* Support for Linux .ko modules. The module startup function can be found 385 * at init_module. */ 386 387 if (!modInit) 388 modInit = ModuleSymbolFind(module, "init_module", STT_FUNC); 385 389 386 390 PreemptDisable();
