tkernel_2/kernel/sysmain/src/inittask_def.h | bare source | permlink (0.01 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 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.h (extension) 18: * Initial task definition 19: */ 20: 21: #ifndef _INITTASK_DEF_ 22: #define _INITTASK_DEF_ 23: 24: #include <basic.h> 25: #include <tk/tkernel.h> 26: 27: /* 28: * Initial task parameter 29: */ 30: #define INITTASK_EXINF (0) 31: #define INITTASK_TSKATR (TA_HLNG | TA_RNG0) 32: #define INITTASK_ITSKPRI (1) 33: #define INITTASK_STKSZ (8 * 1024) 34: #define INITTASK_SSTKSZ (0) 35: #define INITTASK_STKPTR (NULL) 36: #define INITTASK_UATB (NULL) 37: #define INITTASK_LSID (0) 38: #define INITTASK_RESID (0) 39: 40: #endif /* _INITTASK_DEF_ */