1 #ifndef MEMINFO_H
2 #define MEMINFO_H
3
4
5
6
7
8
9
10 typedef struct {
11 int start_address;
12 int end_address;
13 int total_size;
14 int allocated_size;
15 int allocated_peak;
16 int allocated_count;
17 int free_size;
18 int free_block_max_size;
19 int free_block_count;
20 } cam_meminfo;
21
22
23 extern void GetMemInfo(cam_meminfo*);
24 extern int GetExMemInfo(cam_meminfo*);
25 extern int GetARamInfo(cam_meminfo*);
26 extern void GetCombinedMemInfo(cam_meminfo*);
27
28 extern int core_get_free_memory();
29
30
31
32 extern const char _start,_end;
33
34 #endif