gonzui


Format: Advanced Search

tkernel_2/kernel/sysmain/src/sysmain.hbare sourcepermlink (0.03 seconds)

Search this content:

    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 T-Engine Forum at 2011/09/08.
   11:  *    Modified by T-Engine Forum at 2011/07/29.
   12:  *    Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   13:  *
   14:  *----------------------------------------------------------------------
   15:  */
   16: 
   17: /*
   18:  *      sysmain.h (sysmain)
   19:  *      Kernel Main
   20:  */
   21: 
   22: #ifndef _SYSMAIN_
   23: #define _SYSMAIN_
   24: 
   25: #include <basic.h>
   26: #include <tk/tkernel.h>
   27: #include <tm/tmonitor.h>
   28: 
   29: /* Boot message */
   30: #define BOOT_MESSAGE \
   31:         "\n" \
   32:         "T-Kernel Version 2.02.00\n" \
   33:         "\n\0"
   34: 
   35: /*
   36:  Display the progress of start processing (sysinit)
   37:  *      Display the value specified by 'n' on display or LED.
   38:  *      Some platform may not support this function.
   39:  */
   40: IMPORT void DispProgress( W n );
   41: 
   42: /*
   43:  * User main
   44:  */
   45: IMPORT INT usermain( void );
   46: 
   47: #endif /* _SYSMAIN_ */