forked from auracaster/openocd
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:
@@ -807,11 +807,11 @@ static int cortex_a_internal_restore(struct target *target, int current,
|
||||
armv7m->core_cache->reg_list[ARMV7M_PRIMASK].valid = true;
|
||||
|
||||
/* Make sure we are in Thumb mode */
|
||||
buf_set_u32(armv7m->core_cache->reg_list[ARMV7M_xPSR].value, 0, 32,
|
||||
buf_get_u32(armv7m->core_cache->reg_list[ARMV7M_xPSR].value, 0,
|
||||
buf_set_u32(armv7m->core_cache->reg_list[ARMV7M_XPSR].value, 0, 32,
|
||||
buf_get_u32(armv7m->core_cache->reg_list[ARMV7M_XPSR].value, 0,
|
||||
32) | (1 << 24));
|
||||
armv7m->core_cache->reg_list[ARMV7M_xPSR].dirty = true;
|
||||
armv7m->core_cache->reg_list[ARMV7M_xPSR].valid = true;
|
||||
armv7m->core_cache->reg_list[ARMV7M_XPSR].dirty = true;
|
||||
armv7m->core_cache->reg_list[ARMV7M_XPSR].valid = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user