OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 295 to Rev 296
    Reverse comparison

Rev 295 → Rev 296

/trunk/or1ksim/cpu/common/parse.c
178,6 → 178,7
exit(1);
}
printf("Section: %s,", coffscnhdr.s_name);
printf(" paddr: 0x%.8x,", COFF_LONG_H(coffscnhdr.s_paddr));
printf(" vaddr: 0x%.8x,", COFF_LONG_H(coffscnhdr.s_vaddr));
printf(" size: 0x%.8x,", COFF_LONG_H(coffscnhdr.s_size));
printf(" scnptr: 0x%.8x\n", COFF_LONG_H(coffscnhdr.s_scnptr));
215,7 → 216,7
#endif
 
/* loading section */
freemem = COFF_LONG_H(coffscnhdr.s_vaddr);
freemem = COFF_LONG_H(coffscnhdr.s_paddr);
debug("Starting to load at 0x%x", freemem);
if (fseek(inputfs, COFF_LONG_H(coffscnhdr.s_scnptr), SEEK_SET) == -1) {
fclose(inputfs);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.