Signed-off-by: Mathias K <kesmtp@freenet.de>
Change-Id: I0bfad091bd8adabd949fc0a74ef3a08a514eb307
Reviewed-on: http://openocd.zylin.com/519
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: jenkins
ARMV7M_BASEPRI,
ARMV7M_FAULTMASK,
ARMV7M_CONTROL,
+
+ ARMV7M_LAST_REG,
};
#define ARMV7M_COMMON_MAGIC 0x2A452A45
enum armv7m_mode core_mode;
- uint32_t context[ARMV7M_CONTROL + 1]; /* ARMV7M_NUM_REGS */
+ uint32_t context[ARMV7M_LAST_REG]; /* ARMV7M_NUM_REGS */
};
struct armv7m_core_reg {