Make ERRF_ExceptionInfo attributes more explicit

This commit is contained in:
TuxSH 2017-03-01 12:10:34 +01:00 committed by Dave Murphy
parent 2edbc6fe2e
commit c6c994ca60

View File

@ -28,8 +28,8 @@ typedef enum {
typedef struct { typedef struct {
ERRF_ExceptionType type; ///< Type of the exception. One of the ERRF_EXCEPTION_* values. ERRF_ExceptionType type; ///< Type of the exception. One of the ERRF_EXCEPTION_* values.
u8 reserved[3]; u8 reserved[3];
u32 reg1; ///< If type is prefetch, this should be ifsr, and on data abort dfsr u32 fsr; ///< ifsr (prefetch abort) / dfsr (data abort)
u32 reg2; ///< If type is prefetch, this should be r15, and dfar on data abort u32 far; ///< pc = ifar (prefetch abort) / dfar (data abort)
u32 fpexc; u32 fpexc;
u32 fpinst; u32 fpinst;
u32 fpint2; u32 fpint2;