Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
OsKernelHeap.h
00001 /** 00002 ******************************************************************************* 00003 * @file OsKernelHeap.h 00004 * @version V1.1.3 00005 * @date 2010.04.26 00006 * @brief Header file related to memory management 00007 * @details This file including some defines and function declare related to 00008 * kernel heap management. 00009 ******************************************************************************* 00010 * @copy 00011 * 00012 * INTERNAL FILE,DON'T PUBLIC. 00013 * 00014 * <h2><center>© COPYRIGHT 2009 CooCox </center></h2> 00015 ******************************************************************************* 00016 */ 00017 00018 00019 #ifndef _KERNELHEAP_H 00020 #define _KERNELHEAP_H 00021 00022 00023 typedef struct KennelHeap 00024 { 00025 U32 startAddr; 00026 U32 endAddr; 00027 }KHeap,*P_KHeap; 00028 00029 00030 typedef struct UsedMemBlk 00031 { 00032 void* nextMB; 00033 void* preMB; 00034 }UMB,*P_UMB; 00035 00036 00037 typedef struct FreeMemBlk 00038 { 00039 struct FreeMemBlk* nextFMB; 00040 struct UsedMemBlk* nextUMB; 00041 struct UsedMemBlk* preUMB; 00042 }FMB,*P_FMB; 00043 00044 /*---------------------------- Function Declare ------------------------------*/ 00045 extern void CoCreateKheap(void); 00046 00047 #endif /* _KERNELHEAP_H */ 00048
Generated on Tue Jul 12 2022 15:09:51 by
1.7.2