ISIX-RTOS - small operating system for ARM microcontrollers 1.2
|
00001 #ifndef _ISIX_MEMORY_H 00002 #define _ISIX_MEMORY_H 00003 /*------------------------------------------------------*/ 00004 #include <isix/types.h> 00005 /*------------------------------------------------------*/ 00006 #ifdef __cplusplus 00007 extern "C" { 00008 namespace isix { 00009 #endif /*__cplusplus*/ 00010 00011 /*------------------------------------------------------*/ 00016 void* isix_alloc(size_t size); 00017 00018 /*------------------------------------------------------*/ 00022 void isix_free(void *mem); 00023 00024 /*------------------------------------------------------*/ 00026 void isix_alloc_init(void); 00027 00028 /*------------------------------------------------------*/ 00033 size_t isix_heap_free(int *fragments); 00034 00035 00036 /*------------------------------------------------------*/ 00037 #ifdef __cplusplus 00038 } //end namespace 00039 } //end extern-C 00040 #endif /* __cplusplus */ 00041 00042 /*------------------------------------------------------*/ 00043 #endif