Changeset 515 for Whitix/branches/hybrid

Show
Ignore:
Timestamp:
05/24/08 09:44:00 (3 months ago)
Author:
mwhitworth
Message:

Add call to SymbolsCopy in startup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/hybrid/arch/i386/boot/startup.s

    r414 r515  
    44[extern endbss] 
    55[extern _idleTask] 
     6 
     7[extern SymbolsCopy] 
    68 
    79[global rootDevMajor] 
     
    2527ltr ax 
    2628 
     29;Copy over the symbol and string table. (TODO: only if CONFIG_SYMBOLS is defined. Change this all to gas.) 
     30call SymbolsCopy 
     31 
    2732;Zero out the bss section 
    28 mov edi,bss 
    29 mov ecx,endbss 
    30 sub ecx,edi 
    31 xor eax,eax 
    32 cld 
     33mov edi, bss 
     34mov ecx, endbss 
     35sub ecx, edi 
     36xor eax, eax 
    3337shr ecx,2 
    3438rep stosd 
     
    3943 
    4044;Load the stack segment and pointer with the idle task's stack pointer. 
    41 mov esp,[_idleTask] 
     45mov esp, [_idleTask] 
    4246 
    4347jmp KernelMain