mtkernel_3/kernel/sysdepend/cpu/core/armv7a/offset.h | bare source | permlink (0.01 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * micro T-Kernel 3.00.05 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/11. 10: * 11: *---------------------------------------------------------------------- 12: */ 13: 14: /* 15: * offset.h (ARMv7-A) 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: #define TCB_isstack 100 31: 32: #define CTXB_ssp 0 33: 34: 35: /*----------------------------------------------------------------------*/ 36: /* The size of the FPU context on the stack */ 37: /*----------------------------------------------------------------------*/ 38: #define FPU_context 264 39: 40: #endif /* _OFFSET_ */