tkernel_2/include/sys/sysdepend/tef_em1d/sysexc_depend.h | bare source | permlink (0.02 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * T-Kernel 2.0 Software Package 4: * 5: * Copyright 2011 by Ken Sakamura. 6: * This software is distributed under the latest version of T-License 2.x. 7: *---------------------------------------------------------------------- 8: * 9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17. 10: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01. 11: * 12: *---------------------------------------------------------------------- 13: */ 14: 15: /* 16: * @(#)sysexc_depend.h (sys/EM1-D512) 17: * 18: * System exception processing 19: */ 20: 21: #ifndef __SYS_SYSEXC_DEPEND_H__ 22: #define __SYS_SYSEXC_DEPEND_H__ 23: 24: #ifdef __cplusplus 25: extern "C" { 26: #endif 27: 28: /* System exception message */ 29: typedef struct { 30: W type; /* Message type (MS_SYS1) */ 31: W size; /* Message size */ 32: ID taskid; /* Exception generated task ID */ 33: ID procid; /* Exception generated process ID */ 34: UW vecno; /* Exception vector number */ 35: UW excinfo; /* Exception information (FSR) */ 36: UW excaddr; /* Exception address (FAR) */ 37: } EXCMESG; 38: 39: #ifdef __cplusplus 40: } 41: #endif 42: 43: #endif /* __SYS_SYSEXC_DEPEND_H__ */