target/arc: Add initial stepping functions
Change-Id: I84845f2ec6f1cff975990f0a495165a02de33227 Signed-off-by: Evgeniy Didin <didin@synopsys.com> Reviewed-on: http://openocd.zylin.com/5643 Tested-by: jenkins Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
This commit is contained in:
committed by
Oleksij Rempel
parent
05eb9a357c
commit
0af37282c7
@@ -33,9 +33,14 @@
|
||||
#define AUX_PC_REG 0x6
|
||||
#define AUX_STATUS32_REG 0xA
|
||||
|
||||
|
||||
#define SET_CORE_FORCE_HALT BIT(1)
|
||||
#define SET_CORE_HALT_BIT BIT(0) /* STATUS32[0] = H field */
|
||||
#define SET_CORE_ENABLE_INTERRUPTS BIT(31)
|
||||
#define SET_CORE_ENABLE_INTERRUPTS BIT(31)
|
||||
/* STATUS32[5] or AE bit indicates if the processor is in exception state */
|
||||
#define SET_CORE_AE_BIT BIT(5)
|
||||
/* Single instruction step bit in Debug register */
|
||||
#define SET_CORE_SINGLE_INSTR_STEP BIT(11)
|
||||
|
||||
#define AUX_STATUS32_REG_HALT_BIT BIT(0)
|
||||
#define AUX_STATUS32_REG_IE_BIT BIT(31) /* STATUS32[31] = IE field */
|
||||
|
||||
Reference in New Issue
Block a user