Changeset 6eb103c in mainline


Ignore:
Timestamp:
2006-03-16T16:40:57Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41fa6f2
Parents:
1ee9ced
Message:

fix wrong structure members size assumption

File:
1 edited

Legend:

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

    r1ee9ced r6eb103c  
    155155                jc mods_valid
    156156                       
    157                         xorl %ecx, %ecx
    158                         movl %ecx, init
     157                        xorq %rcx, %rcx
     158                        movq %rcx, init
    159159                        jmp mods_end
    160160               
     
    163163                xorq %rcx, %rcx
    164164                movl 20(%ebx), %ecx                                             # mbi->mods_count
    165                 movl %ecx, init
     165                movq %rcx, init
    166166               
    167167                cmpl $0, %ecx
     
    176176                        movl 0(%esi), %edx                                      # mods->mod_start
    177177                        addq $0xffffffff80000000, %rdx
    178                         movq %rdx, 4(%rdi)
     178                        movq %rdx, 8(%rdi)
    179179                       
    180180                        xorq %rdx, %rdx
    181181                        movl 4(%esi), %edx
    182182                        subl 0(%esi), %edx                                      # mods->mod_end - mods->mod_start
    183                         movq %rdx, 12(%rdi)
     183                        movq %rdx, 16(%rdi)
    184184                       
    185185                        addl $16, %esi
Note: See TracChangeset for help on using the changeset viewer.