RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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>
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 */
Protected Heap Handler API.