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

4.115
Last change on this file since da154e14 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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