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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [bench/] [sysc/] [src/] [MemoryLoad.cpp] - Diff between revs 51 and 63

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 51 Rev 63
Line 700... Line 700...
            }
            }
 
 
 
 
 
 
          if (ELF_LONG_H (elf_spnt->sh_name) && s_str)
          if (ELF_LONG_H (elf_spnt->sh_name) && s_str)
            PRINTF ("Section: %s,", &s_str[ELF_LONG_H (elf_spnt->sh_name)]);
            //PRINTF ("Section: %s,", &s_str[ELF_LONG_H (elf_spnt->sh_name)]);
 
            printf("* Section: %s,", &s_str[ELF_LONG_H (elf_spnt->sh_name)]);
          else
          else
            PRINTF ("Section: noname,");
            //PRINTF ("Section: noname,");
          PRINTF (" vaddr: 0x%.8lx,", ELF_LONG_H (elf_spnt->sh_addr));
            printf ("* Section: noname,");
          PRINTF (" paddr: 0x%" PRIx32, padd);
          printf ("* vaddr: 0x%.8lx,", ELF_LONG_H (elf_spnt->sh_addr));
          PRINTF (" offset: 0x%.8lx,", ELF_LONG_H (elf_spnt->sh_offset));
          printf ("* paddr: 0x%" PRIx32, padd);
          PRINTF (" size: 0x%.8lx\n", ELF_LONG_H (elf_spnt->sh_size));
          printf ("* offset: 0x%.8lx,", ELF_LONG_H (elf_spnt->sh_offset));
 
          printf ("* size: 0x%.8lx\n", ELF_LONG_H (elf_spnt->sh_size));
 
 
          freemem = padd;
          freemem = padd;
          sectsize = ELF_LONG_H (elf_spnt->sh_size);
          sectsize = ELF_LONG_H (elf_spnt->sh_size);
 
 
          if (fseek (inputfs, ELF_LONG_H (elf_spnt->sh_offset), SEEK_SET) !=
          if (fseek (inputfs, ELF_LONG_H (elf_spnt->sh_offset), SEEK_SET) !=

powered by: WebSVN 2.1.0

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