4.115
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 <rtems/chain.h> |
---|
26 | |
---|
27 | /* |
---|
28 | * Basic management data |
---|
29 | */ |
---|
30 | extern Heap_Control *RTEMS_Malloc_Heap; |
---|
31 | |
---|
32 | /* |
---|
33 | * Malloc Statistics Structure |
---|
34 | */ |
---|
35 | extern rtems_malloc_statistics_t rtems_malloc_statistics; |
---|
36 | |
---|
37 | #define MSBUMP(_f,_n) rtems_malloc_statistics._f += (_n) |
---|
38 | |
---|
39 | /* |
---|
40 | * Process deferred free operations |
---|
41 | */ |
---|
42 | bool malloc_is_system_state_OK(void); |
---|
43 | void malloc_deferred_frees_initialize(void); |
---|
44 | void malloc_deferred_frees_process(void); |
---|
45 | void malloc_deferred_free(void *); |
---|
Note: See
TracBrowser
for help on using the repository browser.