openocd: remove CamelCase symbols *xPSR*
We have left the camelcase symbols *xPSR* for some time, to avoid any conflict with possibly pending patches in gerrit. With the approaching v0.12.0-rc1, it's time to revisit it. The patches in gerrit that conflict with this rename are all not merge-able due to conflicts or due to negative review. Drop these CamelCase symbols. Change-Id: Ifbac4c1df9cc55994e024971a2aaebeed2ea4ed3 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7155 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -103,7 +103,7 @@ static const struct stack_register_offset nuttx_stack_offsets_cortex_m[] = {
|
||||
{ ARMV7M_R13, 0, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x3c, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x40, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x44, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x44, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ static const struct stack_register_offset nuttx_stack_offsets_cortex_m_fpu[] = {
|
||||
{ ARMV7M_R13, 0, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x80, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x84, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x88, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x88, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
static const struct rtos_register_stacking nuttx_stacking_cortex_m_fpu = {
|
||||
|
||||
@@ -32,7 +32,7 @@ static const struct stack_register_offset rtos_chibios_arm_v7m_stack_offsets[ARM
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, -1, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x20, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, -1, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, -1, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
const struct rtos_register_stacking rtos_chibios_arm_v7m_stacking = {
|
||||
@@ -59,7 +59,7 @@ static const struct stack_register_offset rtos_chibios_arm_v7m_stack_offsets_w_f
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, -1, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x60, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, -1, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, -1, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
const struct rtos_register_stacking rtos_chibios_arm_v7m_stacking_w_fpu = {
|
||||
|
||||
@@ -25,7 +25,7 @@ static const struct stack_register_offset rtos_ecos_cortex_m3_stack_offsets[ARMV
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, -1, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x40, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, -1, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, -1, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
const struct rtos_register_stacking rtos_ecos_cortex_m3_stacking = {
|
||||
|
||||
@@ -30,7 +30,7 @@ static const struct stack_register_offset rtos_embkernel_cortex_m_stack_offsets[
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x38, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x3c, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x40, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x40, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
const struct rtos_register_stacking rtos_embkernel_cortex_m_stacking = {
|
||||
|
||||
@@ -56,7 +56,7 @@ static const struct stack_register_offset rtos_mqx_arm_v7m_stack_offsets[ARMV7M_
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x28, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x44, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x48, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x48, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
const struct rtos_register_stacking rtos_mqx_arm_v7m_stacking = {
|
||||
|
||||
@@ -43,7 +43,7 @@ static const struct stack_register_offset rtos_riot_cortex_m0_stack_offsets[ARMV
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x38, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x3c, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x40, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x40, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
const struct rtos_register_stacking rtos_riot_cortex_m0_stacking = {
|
||||
@@ -72,7 +72,7 @@ static const struct stack_register_offset rtos_riot_cortex_m34_stack_offsets[ARM
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x38, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x3c, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x40, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x40, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
const struct rtos_register_stacking rtos_riot_cortex_m34_stacking = {
|
||||
|
||||
@@ -29,7 +29,7 @@ static const struct stack_register_offset rtos_standard_cortex_m3_stack_offsets[
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x34, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x38, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x3c, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x3c, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
static const struct stack_register_offset rtos_standard_cortex_m4f_stack_offsets[] = {
|
||||
@@ -49,7 +49,7 @@ static const struct stack_register_offset rtos_standard_cortex_m4f_stack_offsets
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x38, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x3c, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x40, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x40, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
static const struct stack_register_offset rtos_standard_cortex_m4f_fpu_stack_offsets[] = {
|
||||
@@ -69,7 +69,7 @@ static const struct stack_register_offset rtos_standard_cortex_m4f_fpu_stack_off
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x78, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x7c, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x80, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x80, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ static const struct stack_register_offset rtos_ucos_iii_cortex_m_stack_offsets[]
|
||||
{ ARMV7M_R13, -2, 32 }, /* sp */
|
||||
{ ARMV7M_R14, 0x34, 32 }, /* lr */
|
||||
{ ARMV7M_PC, 0x38, 32 }, /* pc */
|
||||
{ ARMV7M_xPSR, 0x3c, 32 }, /* xPSR */
|
||||
{ ARMV7M_XPSR, 0x3c, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
static const struct stack_register_offset rtos_ucos_iii_esi_risc_stack_offsets[] = {
|
||||
|
||||
@@ -136,7 +136,7 @@ static const struct stack_register_offset arm_cpu_saved[] = {
|
||||
{ ARMV7M_R13, -2, 32 },
|
||||
{ ARMV7M_R14, 20, 32 },
|
||||
{ ARMV7M_PC, 24, 32 },
|
||||
{ ARMV7M_xPSR, 28, 32 },
|
||||
{ ARMV7M_XPSR, 28, 32 },
|
||||
};
|
||||
|
||||
static struct stack_register_offset arc_cpu_saved[] = {
|
||||
|
||||
Reference in New Issue
Block a user