#include "platform.h"
#include "core.h"
#include "conf.h"
#include "gui_draw.h"
#include "exmem.h"
#include "semaphore.h"
#include "ctype.h"
gehe zum Quellcode dieser Datei
|
void * | suba_init (void *heap, unsigned size, unsigned mincell, char *name) |
|
void * | suba_alloc (void *heap, unsigned size, unsigned zero) |
|
int | suba_free (void *heap, void *p) |
|
static void | chdk_heap_init (chdk_heap *h) |
|
static void * | chdk_malloc (chdk_heap *h, unsigned size) |
|
static int | chdk_free (chdk_heap *h, void *p) |
|
static int | chdk_meminfo (chdk_heap *h, cam_meminfo *camera_meminfo) |
|
void | exmem_malloc_init () |
|
int | GetExMemInfo (cam_meminfo *camera_meminfo) |
|
void | aram_malloc_init () |
|
int | GetARamInfo (cam_meminfo *camera_meminfo) |
|
void | canon_malloc_init (void) |
|
static void | combine_meminfo (cam_meminfo *combined, cam_meminfo *m) |
|
void | GetCombinedMemInfo (cam_meminfo *camera_meminfo) |
|
void * | malloc (long size) |
|
void | free (void *p) |
|
char * | get_exmem_type_name (unsigned int type) |
|
int | get_exmem_type_status (unsigned int type, exmem_alloc_info *allocinf) |
|
void aram_malloc_init |
( |
) | |
|
Definiert in Zeile 211 der Datei memmgmt.c.
214 #ifdef OPT_ARAM_MALLOC
215 #ifndef OPT_CHDK_IN_ARAM
216 #define OPT_CHDK_IN_ARAM 0
218 #ifndef OPT_ARAM_TESTING
219 #define OPT_ARAM_TESTING 0
void canon_malloc_init |
( |
void |
) | |
|
static int chdk_free |
( |
chdk_heap * |
h, |
|
|
void * |
p |
|
) |
| |
|
static |
static void* chdk_malloc |
( |
chdk_heap * |
h, |
|
|
unsigned |
size |
|
) |
| |
|
static |
void exmem_malloc_init |
( |
) | |
|
Definiert in Zeile 174 der Datei memmgmt.c.
177 #ifdef OPT_EXMEM_MALLOC
178 #ifndef OPT_CHDK_IN_EXMEM
179 #define OPT_CHDK_IN_EXMEM 0
181 #ifndef OPT_EXMEM_TESTING
182 #define OPT_EXMEM_TESTING 0
185 extern void *exmem_alloc_cached(
unsigned int pool_id,
unsigned int size,
int unk,
int unk2);
186 void *mem = exmem_alloc_cached(0,EXMEM_HEAP_SIZE,0,0);
char* get_exmem_type_name |
( |
unsigned int |
type) | |
|
Definiert in Zeile 317 der Datei memmgmt.c.
319 extern char* exmem_types_table[];
321 if (type<exmem_type_count) {
322 return exmem_types_table[type];
Definiert in Zeile 329 der Datei memmgmt.c.
332 if (type<exmem_type_count && allocinf) {
333 allocinf->
addr = exmem_alloc_table[type].
addr;
334 allocinf->
len = exmem_alloc_table[type].
len;
void GetCombinedMemInfo |
( |
cam_meminfo * |
camera_meminfo) | |
|
Definiert in Zeile 259 der Datei memmgmt.c.
264 #if !defined(CAM_DRYOS)
267 #ifdef CAM_NO_MEMPARTINFO
void* malloc |
( |
long |
size) | |
|
void* suba_alloc |
( |
void * |
heap, |
|
|
unsigned |
size, |
|
|
unsigned |
zero |
|
) |
| |
int suba_free |
( |
void * |
heap, |
|
|
void * |
p |
|
) |
| |
void* suba_init |
( |
void * |
heap, |
|
|
unsigned |
size, |
|
|
unsigned |
mincell, |
|
|
char * |
name |
|
) |
| |