RTEMS: cpukit/libcsupport/src/malloc_p.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
malloc_p.h
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/score/protectedheap.h>
14#include <rtems/malloc.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20typedef enum {
21 MALLOC_SYSTEM_STATE_NORMAL,
22 MALLOC_SYSTEM_STATE_NO_PROTECTION,
23 MALLOC_SYSTEM_STATE_NO_ALLOCATION
24} Malloc_System_state;
25
26Malloc_System_state _Malloc_System_state( void );
27
28void _Malloc_Deferred_free( void * );
29
30void _Malloc_Process_deferred_frees( void );
31
32#ifdef __cplusplus
33}
34#endif /* __cplusplus */
malloc.h
protectedheap.h
Protected Heap Handler API.
rtems.h