4.104.115
Last change
on this file since 002ca54 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
|
Rev | Line | |
---|
[543fe820] | 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 | */ |
---|
[bd5984de] | 31 | extern Heap_Control *RTEMS_Malloc_Heap; |
---|
[543fe820] | 32 | |
---|
| 33 | /* |
---|
| 34 | * Malloc Statistics Structure |
---|
| 35 | */ |
---|
| 36 | extern rtems_malloc_statistics_t rtems_malloc_statistics; |
---|
| 37 | |
---|
| 38 | #define MSBUMP(_f,_n) rtems_malloc_statistics._f += (_n) |
---|
| 39 | |
---|
[8e30a269] | 40 | /* |
---|
| 41 | * Process deferred free operations |
---|
| 42 | */ |
---|
[4088d01d] | 43 | bool malloc_is_system_state_OK(void); |
---|
[635865ae] | 44 | void malloc_deferred_frees_initialize(void); |
---|
| 45 | void malloc_deferred_frees_process(void); |
---|
[7fbe6805] | 46 | void malloc_deferred_free(void *); |
---|
Note: See
TracBrowser
for help on using the repository browser.