mtkernel_3/include/tk/tkernel.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: * tkernel.h 16: * 17: * T-Kernel Definition 18: */ 19: 20: #ifndef __TK_TKERNEL_H__ 21: #define __TK_TKERNEL_H__ 22: 23: #include <sys/machine.h> 24: 25: #ifdef __cplusplus 26: extern "C" { 27: #endif 28: 29: #include "typedef.h" 30: #include "errno.h" 31: 32: #include <sys/sysdef.h> 33: #include <sys/profile.h> 34: 35: #include "syscall.h" 36: #include "syslib.h" 37: 38: #ifndef offsetof 39: #define offsetof(type, member) ((SZ)(&((type *)0)->member)) 40: #endif 41: 42: #ifdef __cplusplus 43: } 44: #endif 45: 46: #endif /* __TK_TKERNEL_H__ */