Changeset 0d3ff9a in mainline


Ignore:
Timestamp:
2006-02-23T00:35:31Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b6fba84
Parents:
769e8c1
Message:

Init stack base fix
Removing commented code

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/start.S

    r769e8c1 r0d3ff9a  
    7878        itr.i itr[r0]=r10
    7979
    80 #       mov cr.ifa=r0
    81 #       movl r10=(KERNEL_PAGE_WIDTH<<PS_SHIFT)
    82 #       mov cr.itir=r10
    8380        movl r10=(KERNEL_TRANSLATION_D)
    8481        itr.d dtr[r0]=r10
     
    9996        mov cr.ipsr=r10
    10097        mov cr.ifs=r0
    101 #       movl r8=(paging_start+VRN_KERNEL<<VRN_SHIFT)
    10298        movl r8=paging_start
    10399        mov cr.iip=r8
     
    135131        movl r8=(VRN_KERNEL<<VRN_SHIFT)
    136132        mov ar.bspstore = r8
    137 #       mov ar.bspstore = r0
    138133        loadrs
    139134
    140135        .explicit
    141136        # initialize memory stack to some sane value
    142 #       movl r12 = stack0       ;;
    143         movl r12 = stack0       + (VRN_KERNEL<<VRN_SHIFT);;
     137        movl r12 = stack0;;
    144138       
    145139        add r12 = - 16, r12     /* allocate a scratch area on the stack */
     
    148142        movl r1 = _hardcoded_load_address       ;;
    149143
    150 #       movl r1 = _hardcoded_load_address + (VRN_KERNEL<<VRN_SHIFT) ;;
    151144       
    152145
     
    172165        br.call.sptk.many b0=b1
    173166
    174 #       br.call.sptk.many b0=main_bsp
    175167
    1761680:
  • contrib/arch/ia64/vmaxlma.c

    r769e8c1 r0d3ff9a  
    6060                error("map failed");
    6161               
    62         /*vma = elf[ELF_VMA];*/
    6362        lma = elf[ELF_LMA];
    6463        elf[ELF_VMA] = lma;
    65         entry = elf[ELF_ENTRY];
    66         entry &= ((~0LL)>>3);
     64        entry = lma;
    6765        elf[ELF_ENTRY] = entry;
    68         elf[ELF_ENTRY] = 0x100000;
    69         /*elf[ELF_LMA] = vma;*/
    7066       
    7167        if (munmap(elf, LENGTH) == -1)
Note: See TracChangeset for help on using the changeset viewer.