mm0_defs.h
来自「澳洲人写的Cortex,包括uC_IP协议栈」· C头文件 代码 · 共 58 行
H
58 行
<HTML><HEAD><TITLE>/home/asysweb/public_html/cortex/kernel/src/mm0_defs.h</TITLE></HEAD><BODY><pre><font color="#6920ac">/*************************************************************************/</font><font color="#6920ac">/* */</font><font color="#6920ac">/* Copyright (c) 1997-1999 Australian Real Time Embedded Systems */</font><font color="#6920ac">/* */</font><font color="#6920ac">/* PROPRIETARY RIGHTS of Australian Real Time Embedded Systems */</font><font color="#6920ac">/* are involved in the subject matter of this material. All reproduction,*/</font><font color="#6920ac">/* manufacturing, use, and sales rights pertaining to this subject matter*/</font><font color="#6920ac">/* are governed by the license agreement. The recipient of this software */</font><font color="#6920ac">/* implicitly accepts the terms of the license. */</font><font color="#6920ac">/* */</font><font color="#6920ac">/*************************************************************************/</font><b><font color='DarkGreen'>#ifndef</font></b><font color="maroon"> MM0_DEFS_H</font><b><font color='DarkGreen'>#define</font></b> <font color="maroon"><a name="MM0_DEFS_H">MM0_DEFS_H</a></font><b><font color='DarkGreen'>#ifdef</font></b><font color="maroon"> __cplusplus</font><i>extern</i> <font color="DarkGreen">"C"</font> {<b><font color='DarkGreen'>#endif</font></b><font color="maroon"> <font color="#6920ac">/* __cplusplus */</font></font><b><font color='DarkGreen'>#include</font></b> <a href="crt_defs.h.FIND-INC"><font color="blue">"crt_defs.h"</font></a><b><font color='DarkGreen'>#include</font></b> <a href="mem_defs.h.FIND-INC"><font color="blue">"mem_defs.h"</font></a><b><font color='DarkGreen'>#include</font></b> <a href="rrl_defs.h.FIND-INC"><font color="blue">"rrl_defs.h"</font></a><i><a name="mem0_SegmHead_t">typedef</a></i> <i>struct</i>{ <i>crtx_Uint32_t</i> rest; <font color="#6920ac">/* number of bytes to distribute */</font> <i>crtx_Uint32_t</i> shift; <font color="#6920ac">/* first byte to distribute */</font> <i>rrlc_Lock_t</i> lock;} <i><font color='DarkBlue'>mem0_SegmHead_t</font></i>;<i>dmem_CreateFunc_t</i> mem0_Create;<i>dmem_AllocFunc_t</i> mem0_Alloc;<i>dmem_AllocFunc_t</i> mem0_AllocSt;<i>dmem_InfoFunc_t</i> mem0_Info;<i>dmem_FreeFunc_t</i> mem0_Free;<b><font color='DarkGreen'>#endif</font></b><font color="maroon"> <font color="#6920ac">/* MM0_DEFS_H */</font></font><font color="#6920ac">/* ===== END OF THE DEFINITION FILE ===== */</font><b><font color='DarkGreen'>#ifdef</font></b><font color="maroon"> __cplusplus</font>}<b><font color='DarkGreen'>#endif</font></b><font color="maroon"></font></pre></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?