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/mallocfreespace.c

    r2f3e2e0 rbd5984de  
    2929#include <string.h>
    3030
    31 extern Heap_Control  RTEMS_Malloc_Heap;
     31#include "malloc_p.h"
    3232
    3333/*
     
    3939  Heap_Information info;
    4040
    41   _Protected_heap_Get_free_information( &RTEMS_Malloc_Heap, &info );
     41  _Protected_heap_Get_free_information( RTEMS_Malloc_Heap, &info );
    4242  return (size_t) info.largest;
    4343}
Note: See TracChangeset for help on using the changeset viewer.