source: rtems/cpukit/libcsupport/src/malloc_p.h @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 826 bytes
Line 
1/*
2 *  RTEMS Malloc Family Internal Header
3 *
4 *  COPYRIGHT (c) 1989-2007.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.org/license/LICENSE.
10 */
11
12#include <rtems.h>
13#include <rtems/libcsupport.h>
14#include <rtems/score/protectedheap.h>
15#include <rtems/malloc.h>
16
17#ifdef RTEMS_NEWLIB
18#include <sys/reent.h>
19#endif
20
21#include <stdint.h>
22#include <rtems/chain.h>
23
24/*
25 *  Malloc Statistics Structure
26 */
27extern rtems_malloc_statistics_t rtems_malloc_statistics;
28
29#define MSBUMP(_f,_n)    rtems_malloc_statistics._f += (_n)
30
31/*
32 *  Process deferred free operations
33 */
34bool malloc_is_system_state_OK(void);
35void malloc_deferred_frees_process(void);
36void malloc_deferred_free(void *);
Note: See TracBrowser for help on using the repository browser.