Changeset 21ca2199 in rtems


Ignore:
Timestamp:
Sep 13, 2007, 3:01:25 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7614490
Parents:
ee732739
Message:

2007-09-13 Joel Sherrill <joel.sherrill@…>

  • configure.ac, startup/bspstart.c: Add BSP_DIRTY_MEMORY option.
Location:
c/src/lib/libbsp/powerpc/psim
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/ChangeLog

    ree732739 r21ca2199  
     12007-09-13      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * configure.ac, startup/bspstart.c: Add BSP_DIRTY_MEMORY option.
     4
    152007-09-12      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/powerpc/psim/configure.ac

    ree732739 r21ca2199  
    3030 NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
    3131
     32RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
     33RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
     34[If defined, then PSIM will put a non-zero pattern into the RTEMS
     35 Workspace and C program heap.  This should assist in finding
     36 code that assumes memory starts set to zero.])
     37
    3238# Explicitly list all Makefiles here
    3339AC_CONFIG_FILES([Makefile])
  • c/src/lib/libbsp/powerpc/psim/startup/bspstart.c

    ree732739 r21ca2199  
    187187
    188188  BSP_Configuration.work_space_start = work_space_start;
     189  #if defined(BSP_DIRTY_MEMORY)
     190  {
     191    memset(&end, 0xCF,  (unsigned char *)&RAM_END - (unsigned char *)&end );
     192  }
     193  #endif
    189194
    190195  /*
Note: See TracChangeset for help on using the changeset viewer.