tkernel_2/kernel/extension/startup/noext/subsystem.c | bare source | permlink (0.00 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * T-Kernel 2.0 Software Package 4: * 5: * Copyright 2011 by Ken Sakamura. 6: * This software is distributed under the latest version of T-License 2.x. 7: *---------------------------------------------------------------------- 8: * 9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17. 10: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01. 11: * 12: *---------------------------------------------------------------------- 13: */ 14: 15: /* 16: * subsystem.c (extension) 17: * Subsystem start/stop 18: */ 19: 20: #include "sysinit.h" 21: 22: /* 23: * Subsystem initialization 24: * The initialization sequence is called before kernel startup. 25: * Normally there is no need for any processing. 26: */ 27: EXPORT ER init_subsystems( void ) 28: { 29: ER ercd = E_OK; 30: 31: /* Describe subsystem initialization sequence */ 32: 33: return ercd; 34: } 35: 36: /* 37: * Subsystem start 38: * Called from initial task context after kernel startup. 39: * Drivers and subsystems used by the extensions are 40: * started at this point. */ 41: EXPORT ER start_subsystems( void ) 42: { 43: ER ercd = E_OK; 44: 45: /* Describe subsystem startup sequence */ 46: 47: return ercd; 48: } 49: 50: /* 51: * End subsystems 52: */ 53: EXPORT ER finish_subsystems( void ) 54: { 55: ER ercd = E_OK; 56: 57: /* Describe subsystem end sequence */ 58: 59: return ercd; 60: }