sysinit.h

来自「嵌入式操作系统T-Kernel 完整代码」· C头文件 代码 · 共 58 行

H
58
字号
/* *---------------------------------------------------------------------- *    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. * *---------------------------------------------------------------------- *//* *	sysinit.h (sysinit) *	Initialize System */#ifndef _SYSINIT_#define _SYSINIT_#include <basic.h>#include <tk/tkernel.h>#include <tm/tmonitor.h>/* * Get system configuration information (SYSCONF) */IMPORT W GetSysConf(B *name, W *val);IMPORT W GetSysConfStr(B *name, B *str);/* * Get device configuration information (DEVCONF) */IMPORT W GetDevConf( B *name, W *val );IMPORT W GetDevConfStr( B *name, B *str );/* * Platform dependent sequence */IMPORT ER init_device( void );IMPORT ER start_device( void );IMPORT ER finish_device( void );IMPORT ER restart_device( W mode );IMPORT void DispProgress( W n );/* ------------------------------------------------------------------------ */#define IMPORT_DEFINE   1#if IMPORT_DEFINEIMPORT void init_system( void );IMPORT void start_system( void );IMPORT void shutdown_system( INT fin );#endif#endif /* _SYSINIT_ */

⌨️ 快捷键说明

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