Changeset 462 for Whitix/branches/hybrid

Show
Ignore:
Timestamp:
05/08/08 09:57:01 (4 months ago)
Author:
mwhitworth
Message:

Removing Boot.modules code for now. Doesn't make sense at the moment.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/hybrid/arch/i386/boot/iso/isoboot.asm

    r458 r462  
    337337        call ReadInFile 
    338338 
    339         ;Load Boot.modules. Load after KeLoader in memory. 
    340         mov bx, MODULES_LIST 
    341         mov di, bootModName 
    342         call ReadInFile 
    343  
    344339        ;Kernel 
    345340        mov ax, 0x1000 
     
    347342        xor bx, bx 
    348343        mov di, kernName 
    349         call ReadInFile  
    350  
    351         ;Parse Boot.modules 
     344        call ReadInFile 
    352345 
    353346        ;setup.asm puts in the kernel data area 
     
    370363ReadInFile: 
    371364;Scan directory sectors 
    372 push es 
    373 push bx 
    374 xor ecx,ecx 
     365        push es 
     366        push bx 
     367        xor ecx,ecx 
    375368.scanLoop: 
    376369        call DirScanSector 
     
    378371        jnz .ok 
    379372        inc ecx 
    380         cmp ecx,[dirLength] 
     373        cmp ecx, [dirLength] 
    381374        jnz .scanLoop 
    382375 
     
    389382        pop bx 
    390383        pop es 
    391         mov bp,[fileSectorLength] 
     384        mov bp, [fileSectorLength] 
    392385        call GetLbaSec 
    393386        ret 
     
    520513kernName db "Kernel", 0 
    521514bootName db "Boot", 0 
    522 bootModName db "Boot.modules", 0 
    523515 
    524516dirStart dd 0