knlinit.c

来自「嵌入式操作系统T-Kernel 完整代码」· C语言 代码 · 共 38 行

C
38
字号
/* *---------------------------------------------------------------------- *    T-Kernel * *    Copyright (C) 2004 by Ken Sakamura. All rights reserved. *    T-Kernel is distributed under the T-License. *---------------------------------------------------------------------- * *    Version:   1.01.00 *    Released by T-Engine Forum(http://www.t-engine.org) at 2004/6/28. * *---------------------------------------------------------------------- *//* *	@(#)knlinit.c (libtk) * *	KnlInit() is always linked as it is called from the *	manager startup part. *	Note that adding too many processing can make the *	program quite large. */#include <basic.h>#include <sys/commarea.h>#include <tk/sysmgr.h>/* * Kernel utility initialization  */EXPORT void KnlInit( void ){	if ( __CommArea == NULL ) {		/* Get kernel common data area */		_GetKernelCommonArea(&__CommArea);	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?