Numworks Epsilon
1.4.1
Graphing Calculator Operating System
memconfig.h
Go to the documentation of this file.
1
#ifndef LIBA_MEMCONFIG_H
2
#define LIBA_MEMCONFIG_H
3
4
/* This structure contains all the configuration data for the mem5 allocator.
5
* Before using mem5, the HeapConfig global variable should be created
6
* and initialized. */
7
8
typedef
struct
{
9
int
nHeap
;
/* Size of pHeap[] */
10
void
*
pHeap
;
/* Heap storage space */
11
int
mnReq
;
/* Min heap requests sizes */
12
int
bMemstat
;
/* True to enable memory status */
13
void (*xLog)(
void
*,int,
const
char
*);
/* Function for logging */
14
}
heap_config_t
;
15
16
extern
heap_config_t
HeapConfig
;
17
18
#endif
heap_config_t
Definition:
memconfig.h:8
heap_config_t::pHeap
void * pHeap
Definition:
memconfig.h:10
heap_config_t::mnReq
int mnReq
Definition:
memconfig.h:11
HeapConfig
heap_config_t HeapConfig
Definition:
malloc.c:13
heap_config_t::bMemstat
int bMemstat
Definition:
memconfig.h:12
heap_config_t::nHeap
int nHeap
Definition:
memconfig.h:9
epsilon
liba
include
private
memconfig.h
Generated by
1.8.14