Changeset 515 for Whitix/branches/hybrid
- Timestamp:
- 05/24/08 09:44:00 (3 months ago)
- Files:
-
- 1 modified
-
Whitix/branches/hybrid/arch/i386/boot/startup.s (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/hybrid/arch/i386/boot/startup.s
r414 r515 4 4 [extern endbss] 5 5 [extern _idleTask] 6 7 [extern SymbolsCopy] 6 8 7 9 [global rootDevMajor] … … 25 27 ltr ax 26 28 29 ;Copy over the symbol and string table. (TODO: only if CONFIG_SYMBOLS is defined. Change this all to gas.) 30 call SymbolsCopy 31 27 32 ;Zero out the bss section 28 mov edi,bss 29 mov ecx,endbss 30 sub ecx,edi 31 xor eax,eax 32 cld 33 mov edi, bss 34 mov ecx, endbss 35 sub ecx, edi 36 xor eax, eax 33 37 shr ecx,2 34 38 rep stosd … … 39 43 40 44 ;Load the stack segment and pointer with the idle task's stack pointer. 41 mov esp, [_idleTask]45 mov esp, [_idleTask] 42 46 43 47 jmp KernelMain
