CooCox 1.1.4 on mbed with simple blinky example

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers OsMM.h Source File

OsMM.h

00001 /**
00002  *******************************************************************************
00003  * @file       OsMm.h
00004  * @version    V1.1.4    
00005  * @date       2011.04.20
00006  * @brief      Header file  related to memory management 
00007  * @details    This file including some defines and function declare related to 
00008  *             memory management.   
00009  *******************************************************************************
00010  * @copy
00011  *
00012  * INTERNAL FILE,DON'T PUBLIC.
00013  * 
00014  * <h2><center>&copy; COPYRIGHT 2009 CooCox </center></h2>
00015  *******************************************************************************
00016  */ 
00017 
00018 
00019 #ifndef  _MM_H
00020 #define  _MM_H
00021 
00022 
00023 typedef struct Memory
00024 {
00025     U8*   memAddr;
00026     U8*   freeBlock;
00027     U32   blockSize;
00028     U32   blockNum;         
00029 }MM,*P_MM;
00030 
00031 
00032 typedef struct MemoryBlock
00033 {
00034     struct MemoryBlock* nextBlock;
00035 }MemBlk,*P_MemBlk;
00036 
00037 
00038 extern U32  MemoryIDVessel ;
00039 
00040 #endif   /* _MM_H */
00041