subsystem.c

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

C
61
字号
/* *---------------------------------------------------------------------- *    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. * *---------------------------------------------------------------------- *//* *	subsystem.c (extension) *	Subsystem start/stop  */#include "sysinit.h"/* * Subsystem initialization  *	The initialization sequence is called before kernel startup. *	Normally there is no need for any processing. */EXPORT ER init_subsystems( void ){	ER	err = E_OK;	/* Describe subsystem initialization sequence */	return err;}/* * Subsystem start  *	Called from initial task context after kernel startup. *	Drivers and subsystems used by the extensions are *	started at this point. */EXPORT ER start_subsystems( void ){	ER	err = E_OK;	/* Describe subsystem startup sequence */	return err;}/* * End subsystems  */EXPORT ER finish_subsystems( void ){	ER	err = E_OK;	/* Describe subsystem end sequence */	return err;}

⌨️ 快捷键说明

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