📄 sysinit.h
字号:
/* *---------------------------------------------------------------------- * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -