Ignore:
Timestamp:
Sep 17, 2008, 6:37:55 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
1986152
Parents:
2f3e2e0
Message:

2008-09-17 Joel Sherrill <joel.sherrill@…>

  • libcsupport/src/free.c, libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h, libcsupport/src/malloc_sbrk_helpers.c, libcsupport/src/malloc_statistics_helpers.c, libcsupport/src/malloc_walk.c, libcsupport/src/mallocfreespace.c, libcsupport/src/mallocinfo.c, libcsupport/src/realloc.c, libcsupport/src/rtems_memalign.c, sapi/include/confdefs.h, score/inline/rtems/score/thread.inl: Add support for optionally having a unified work area. In other words, the RTEMS Workspace and C Program Heap are the same pool of memory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/realloc.c

    r2f3e2e0 rbd5984de  
    5555  }
    5656
    57   if ( !_Protected_heap_Get_block_size(&RTEMS_Malloc_Heap, ptr, &old_size) ) {
     57  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    5858    errno = EINVAL;
    5959    return (void *) 0;
     
    7070  #endif
    7171
    72   if ( _Protected_heap_Resize_block( &RTEMS_Malloc_Heap, ptr, resize ) ) {
     72  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, resize ) ) {
    7373    #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)
    7474      /*
Note: See TracChangeset for help on using the changeset viewer.