malloc.h

Go to the documentation of this file.
00001 
00007 #ifndef _MALLOC_H_
00008 #define _MALLOC_H_
00009 
00010 #include "sys.h"
00011 
00013 #define NULL 0
00014 
00015 #define MAX_BLOCK_SIZE  0x70000000
00016 
00021 extern unsigned int _kernel_end;
00022 
00024 typedef int tsize;
00025 
00026 void init_memory ();
00027 void *alloc_mem_block (unsigned size);
00028 void free_mem_block (void *px);
00029 void *malloc (tsize size);
00030 void free (void *p);
00031 void memory_leak_error();
00032 
00033 #endif /* _MALLOC_H_ */

Generated on Wed Nov 15 17:25:43 2006 for Kalisto by  doxygen 1.4.7