Changeset 0d3ff9a in mainline
- Timestamp:
- 2006-02-23T00:35:31Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b6fba84
- Parents:
- 769e8c1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/src/start.S
r769e8c1 r0d3ff9a 78 78 itr.i itr[r0]=r10 79 79 80 # mov cr.ifa=r081 # movl r10=(KERNEL_PAGE_WIDTH<<PS_SHIFT)82 # mov cr.itir=r1083 80 movl r10=(KERNEL_TRANSLATION_D) 84 81 itr.d dtr[r0]=r10 … … 99 96 mov cr.ipsr=r10 100 97 mov cr.ifs=r0 101 # movl r8=(paging_start+VRN_KERNEL<<VRN_SHIFT)102 98 movl r8=paging_start 103 99 mov cr.iip=r8 … … 135 131 movl r8=(VRN_KERNEL<<VRN_SHIFT) 136 132 mov ar.bspstore = r8 137 # mov ar.bspstore = r0138 133 loadrs 139 134 140 135 .explicit 141 136 # initialize memory stack to some sane value 142 # movl r12 = stack0 ;; 143 movl r12 = stack0 + (VRN_KERNEL<<VRN_SHIFT);; 137 movl r12 = stack0;; 144 138 145 139 add r12 = - 16, r12 /* allocate a scratch area on the stack */ … … 148 142 movl r1 = _hardcoded_load_address ;; 149 143 150 # movl r1 = _hardcoded_load_address + (VRN_KERNEL<<VRN_SHIFT) ;;151 144 152 145 … … 172 165 br.call.sptk.many b0=b1 173 166 174 # br.call.sptk.many b0=main_bsp175 167 176 168 0: -
contrib/arch/ia64/vmaxlma.c
r769e8c1 r0d3ff9a 60 60 error("map failed"); 61 61 62 /*vma = elf[ELF_VMA];*/63 62 lma = elf[ELF_LMA]; 64 63 elf[ELF_VMA] = lma; 65 entry = elf[ELF_ENTRY]; 66 entry &= ((~0LL)>>3); 64 entry = lma; 67 65 elf[ELF_ENTRY] = entry; 68 elf[ELF_ENTRY] = 0x100000;69 /*elf[ELF_LMA] = vma;*/70 66 71 67 if (munmap(elf, LENGTH) == -1)
Note:
See TracChangeset
for help on using the changeset viewer.