![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Quick and dirty CoOS + LWIP ( Webserver )
CoOS/kernel/OsMM.h@0:94897d537b31, 2011-09-10 (annotated)
- Committer:
- astroboy
- Date:
- Sat Sep 10 22:41:10 2011 +0000
- Revision:
- 0:94897d537b31
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
astroboy | 0:94897d537b31 | 1 | /** |
astroboy | 0:94897d537b31 | 2 | ******************************************************************************* |
astroboy | 0:94897d537b31 | 3 | * @file OsMm.h |
astroboy | 0:94897d537b31 | 4 | * @version V1.1.4 |
astroboy | 0:94897d537b31 | 5 | * @date 2011.04.20 |
astroboy | 0:94897d537b31 | 6 | * @brief Header file related to memory management |
astroboy | 0:94897d537b31 | 7 | * @details This file including some defines and function declare related to |
astroboy | 0:94897d537b31 | 8 | * memory management. |
astroboy | 0:94897d537b31 | 9 | ******************************************************************************* |
astroboy | 0:94897d537b31 | 10 | * @copy |
astroboy | 0:94897d537b31 | 11 | * |
astroboy | 0:94897d537b31 | 12 | * INTERNAL FILE,DON'T PUBLIC. |
astroboy | 0:94897d537b31 | 13 | * |
astroboy | 0:94897d537b31 | 14 | * <h2><center>© COPYRIGHT 2009 CooCox </center></h2> |
astroboy | 0:94897d537b31 | 15 | ******************************************************************************* |
astroboy | 0:94897d537b31 | 16 | */ |
astroboy | 0:94897d537b31 | 17 | |
astroboy | 0:94897d537b31 | 18 | |
astroboy | 0:94897d537b31 | 19 | #ifndef _MM_H |
astroboy | 0:94897d537b31 | 20 | #define _MM_H |
astroboy | 0:94897d537b31 | 21 | |
astroboy | 0:94897d537b31 | 22 | |
astroboy | 0:94897d537b31 | 23 | typedef struct Memory |
astroboy | 0:94897d537b31 | 24 | { |
astroboy | 0:94897d537b31 | 25 | U8* memAddr; |
astroboy | 0:94897d537b31 | 26 | U8* freeBlock; |
astroboy | 0:94897d537b31 | 27 | U32 blockSize; |
astroboy | 0:94897d537b31 | 28 | U32 blockNum; |
astroboy | 0:94897d537b31 | 29 | }MM,*P_MM; |
astroboy | 0:94897d537b31 | 30 | |
astroboy | 0:94897d537b31 | 31 | |
astroboy | 0:94897d537b31 | 32 | typedef struct MemoryBlock |
astroboy | 0:94897d537b31 | 33 | { |
astroboy | 0:94897d537b31 | 34 | struct MemoryBlock* nextBlock; |
astroboy | 0:94897d537b31 | 35 | }MemBlk,*P_MemBlk; |
astroboy | 0:94897d537b31 | 36 | |
astroboy | 0:94897d537b31 | 37 | |
astroboy | 0:94897d537b31 | 38 | extern U32 MemoryIDVessel; |
astroboy | 0:94897d537b31 | 39 | |
astroboy | 0:94897d537b31 | 40 | #endif /* _MM_H */ |
astroboy | 0:94897d537b31 | 41 |