mtkernel_3/kernel/sysdepend/cpu/core/armv7m/offset.h | bare source | permlink (0.00 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * micro T-Kernel 3.00.03 4: * 5: * Copyright (C) 2006-2021 by Ken Sakamura. 6: * This software is distributed under the T-License 2.2. 7: *---------------------------------------------------------------------- 8: * 9: * Released by TRON Forum(http://www.tron.org) at 2021/03/31. 10: * 11: *---------------------------------------------------------------------- 12: */ 13: 14: /* 15: * offset.h (ARMv7-M) 16: * TCB Offset Definition 17: */ 18: 19: #ifndef _OFFSET_ 20: #define _OFFSET_ 21: 22: /*----------------------------------------------------------------------*/ 23: /* offset data in TCB */ 24: /*----------------------------------------------------------------------*/ 25: 26: #define TCB_tskid 8 27: #define TCB_tskatr 16 28: #define TCB_tskctxb 24 29: #define TCB_state 39 30: 31: #define CTXB_ssp 0 32: 33: #endif /* _OFFSET_ */