Changeset 687 for trunk/softs
- Timestamp:
- May 14, 2014, 4:08:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/src/reset_elf_loader.c
r591 r687 245 245 * pre-loader memory space 246 246 */ 247 pseg_start = elf_phdr_ptr[pseg].p_ vaddr;248 249 pseg_end = elf_phdr_ptr[pseg].p_ vaddr +247 pseg_start = elf_phdr_ptr[pseg].p_paddr; 248 249 pseg_end = elf_phdr_ptr[pseg].p_paddr + 250 250 elf_phdr_ptr[pseg].p_memsz; 251 251 … … 263 263 */ 264 264 pseg_ptr = (unsigned char *) 265 elf_phdr_ptr[pseg].p_ vaddr +265 elf_phdr_ptr[pseg].p_paddr + 266 266 elf_phdr_ptr[pseg].p_filesz - 267 267 nb_rest; … … 281 281 282 282 pseg_ptr = (unsigned char *) 283 elf_phdr_ptr[pseg].p_ vaddr +283 elf_phdr_ptr[pseg].p_paddr + 284 284 elf_phdr_ptr[pseg].p_filesz ; 285 285 … … 287 287 288 288 reset_puts("\n[RESET] Segment loaded : address = "); 289 reset_putx(elf_phdr_ptr[pseg].p_ vaddr);289 reset_putx(elf_phdr_ptr[pseg].p_paddr); 290 290 reset_puts(" / size = "); 291 291 reset_putx(elf_phdr_ptr[pseg].p_filesz);
Note: See TracChangeset
for help on using the changeset viewer.