gonzui


Format: Advanced Search

tkernel_2/kernel/sysmain/src/inittask_def.cbare sourcepermlink (0.01 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 2013/03/02. 
   11:  *    Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   12:  *
   13:  *----------------------------------------------------------------------
   14:  */
   15: 
   16: /*
   17:  *      inittask_def.c (extension)
   18:  *      Initial task definition
   19:  */
   20: 
   21: #include "inittask_def.h"
   22: 
   23: IMPORT void init_task(void);
   24: 
   25: /*
   26:  * Initial task creation parameter
   27:  */
   28: EXPORT const T_CTSK c_init_task = {
   29:         (void*)INITTASK_EXINF, /* exinf */
   30:         INITTASK_TSKATR,       /* tskatr */
   31:         (FP)&init_task,                /* task */
   32:         INITTASK_ITSKPRI,      /* itskpri */
   33:         INITTASK_STKSZ,                /* stksz */
   34:         INITTASK_SSTKSZ,       /* sstksz */
   35:         (void*)INITTASK_STKPTR,        /* stkptr */
   36:         (void*)INITTASK_UATB,  /* uatb */
   37:         INITTASK_LSID,         /* lsid */
   38:         INITTASK_RESID         /* resid */
   39: };