mtkernel_3/kernel/usermain/usermain.c | 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: #include <tk/tkernel.h> 15: #include <tm/tmonitor.h> 16: 17: /* 18: * Entry routine for the user application. 19: * At this point, Initialize and start the user application. 20: * 21: * Entry routine is called from the initial task for Kernel, 22: * so system call for stopping the task should not be issued 23: * from the contexts of entry routine. 24: * We recommend that: 25: * (1)'usermain()' only generates the user initial task. 26: * (2)initialize and start the user application by the user 27: * initial task. 28: */ 29: 30: WEAK_FUNC EXPORT INT usermain( void ) 31: { 32: return 0; 33: }