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

4.104.115
Last change on this file since a34d679a was 002ca54, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/15/09 at 09:56:52

Rely upon uintmax_t and PRIuMAX being provided.

  • Property mode set to 100644
File size: 1023 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.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
15#include <rtems.h>
16#include <rtems/libcsupport.h>
17#include <rtems/score/protectedheap.h>
18#include <rtems/malloc.h>
19
20#ifdef RTEMS_NEWLIB
21#include <sys/reent.h>
22#endif
23
24#include <stdint.h>
25#include <inttypes.h>
26#include <rtems/chain.h>
27
28/*
29 * Basic management data
30 */
31extern Heap_Control  *RTEMS_Malloc_Heap;
32
33/*
34 *  Malloc Statistics Structure
35 */
36extern rtems_malloc_statistics_t rtems_malloc_statistics;
37
38#define MSBUMP(_f,_n)    rtems_malloc_statistics._f += (_n)
39
40/*
41 *  Process deferred free operations
42 */
43bool malloc_is_system_state_OK(void);
44void malloc_deferred_frees_initialize(void);
45void malloc_deferred_frees_process(void);
46void malloc_deferred_free(void *);
Note: See TracBrowser for help on using the repository browser.