Changeset 16fd5a9 in rtems for tools/cpu/nios2/output.c


Ignore:
Timestamp:
Aug 15, 2006, 9:02:55 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
67eede5
Parents:
5f88544
Message:

2006-08-15 Kolja Waschk <kawk@…>

  • linkcmds.c, linkcmds.h, memory.c, memory.h, sample.ptf: New files.
  • bridges.c: corrected detection of bridged connections
  • clocks.c: removed a printf
  • linkcmds.[ch] new files, added output of linker script
  • Makefile.am: added new files
  • memory.[ch]: new files, detection of memory in SOPC configuration
  • nios2gen.c: updated command line parsing and output control
  • output.[ch]: improved output of BSP header file
  • ptf.[ch]: added ptf_dump_ptf_item and small fixes
  • sample.ptf: new file, sample configuration for nios2gen
  • README: updated
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/cpu/nios2/output.c

    r5f88544 r16fd5a9  
    151151  struct ptf_item matchaclass = { 1, &aclass };
    152152
    153   struct ptf header = { item, "HEADER", 0, 0, 0 };
    154   struct ptf_item matchheader = { 1, &header };
     153  struct ptf bspsect = { section, "BSPHEADER", 0, 0, 0 };
     154  struct ptf leadtext = { item, "LEADTEXT", 0, 0, 0 };
     155  struct ptf_item matchleadtext = { 2, &bspsect, &leadtext };
    155156
    156157  struct ptf epilog = { item, "EPILOG", 0, 0, 0 };
    157   struct ptf_item matchepilog = { 1, &epilog };
     158  struct ptf_item matchepilog = { 2, &bspsect, &epilog };
    158159
    159160  out_desc dinfo;
     
    163164  dinfo.devices = devices;
    164165
    165   ptf_match(cfg, &matchheader, fwrite_value, file);
     166  ptf_match(cfg, &matchleadtext, fwrite_value, file);
    166167
    167168  if(clocks)
     
    178179    for(dinfo.dev = devices; dinfo.dev; dinfo.dev=dinfo.dev->next)
    179180    {
    180       fprintf(file, "\n");
     181      /* fprintf(file, "\n#define SOPC_HAS_%s 1\n", dinfo.dev->cfgname); */
    181182
    182183      p = ptf_find(dinfo.dev->ptf, &pi, item, "class", 0);
     
    192193}
    193194
    194 
    195195 
Note: See TracChangeset for help on using the changeset viewer.