Changeset 6c68b97 in mainline for arch/ia32/src/boot/boot.S


Ignore:
Timestamp:
2005-12-15T18:17:59Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
961b5f0
Parents:
10c071e
Message:

ia32: floppy boot image uses GRUB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/boot/boot.S

    r10c071e r6c68b97  
    165165               
    166166                mods_valid:
     167                movl 20(%ebx), %ecx                                             # mbi->mods_count
     168                cmpl $0, %ecx
     169                je mods_invalid
     170               
     171                movl 24(%ebx), %esi                                             # mbi->mods_addr
     172                movl 0(%esi), %edx                                              # mods->mod_start
     173                movl 4(%esi), %ecx                                              # mods->mod_end
     174                subl %edx, %ecx
    167175               
    168176                mods_invalid:
    169                 movl %ecx, init_addr
    170                 movl %edx, init_size
     177                movl %ecx, init_size
     178                movl %edx, init_addr
    171179               
    172180                bt $6, %eax                                                             # mbi->flags[6] (mmap_length, mmap_addr valid) 
Note: See TracChangeset for help on using the changeset viewer.