Changeset 82d11f87 in rtems


Ignore:
Timestamp:
May 27, 1999, 3:43:32 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
326378bf
Parents:
339eba5d
Message:

Corrected macro names.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/rtems/src/regionreturnsegment.c

    r339eba5d r82d11f87  
    1414 */
    1515
    16 #ifdef RTEMS_REGION_FREE_SHRED_PATTERN
     16#ifdef RTEMS_REGION_SHRED_ON_FREE
    1717#include <string.h>
     18
     19#ifndef RTEMS_REGION_FREE_SHRED_PATTERN
     20#define RTEMS_REGION_FREE_SHRED_PATTERN 0x00
     21#endif
    1822#endif
    1923
     
    7175#ifdef RTEMS_REGION_FREE_SHRED_PATTERN
    7276      if ( _Heap_Size_of_user_area( &the_region->Memory, segment, size ) ) {
    73         memset(segment, (RTEMS_REGION_FREE_SHRED_BYTE & 0xFF), size);
     77        memset(segment, (RTEMS_REGION_FREE_SHRED_PATTERN & 0xFF), size);
    7478      } else {
    7579        _Thread_Enable_dispatch();
  • cpukit/rtems/src/regionreturnsegment.c

    r339eba5d r82d11f87  
    1414 */
    1515
    16 #ifdef RTEMS_REGION_FREE_SHRED_PATTERN
     16#ifdef RTEMS_REGION_SHRED_ON_FREE
    1717#include <string.h>
     18
     19#ifndef RTEMS_REGION_FREE_SHRED_PATTERN
     20#define RTEMS_REGION_FREE_SHRED_PATTERN 0x00
     21#endif
    1822#endif
    1923
     
    7175#ifdef RTEMS_REGION_FREE_SHRED_PATTERN
    7276      if ( _Heap_Size_of_user_area( &the_region->Memory, segment, size ) ) {
    73         memset(segment, (RTEMS_REGION_FREE_SHRED_BYTE & 0xFF), size);
     77        memset(segment, (RTEMS_REGION_FREE_SHRED_PATTERN & 0xFF), size);
    7478      } else {
    7579        _Thread_Enable_dispatch();
Note: See TracChangeset for help on using the changeset viewer.