mtkernel_3/include/sys/inittask.h | bare source | permlink (0.00 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * micro T-Kernel 3.00.00 4: * 5: * Copyright (C) 2006-2019 by Ken Sakamura. 6: * This software is distributed under the T-License 2.1. 7: *---------------------------------------------------------------------- 8: * 9: * Released by TRON Forum(http://www.tron.org) at 2019/12/11. 10: * 11: *---------------------------------------------------------------------- 12: */ 13: 14: /* 15: * inittask.h 16: * Initial task definition 17: */ 18: 19: #ifndef _INITTASK_DEF_ 20: #define _INITTASK_DEF_ 21: 22: /* 23: * Initial task parameter 24: */ 25: #define INITTASK_EXINF (0x0) 26: #define INITTASK_ITSKPRI (1) 27: #define INITTASK_STKSZ (1*1024) 28: #define INITTASK_DSNAME "inittsk" 29: 30: #if USE_IMALLOC 31: 32: #define INITTASK_TSKATR (TA_HLNG | TA_RNG0) 33: #define INITTASK_STACK (NULL) 34: 35: #else 36: 37: #define INITTASK_TSKATR (TA_HLNG | TA_RNG0 | TA_USERBUF) 38: #define INITTASK_STACK init_task_stack 39: 40: #endif 41: 42: #endif /* _INITTASK_DEF_ */