uint64_t->target_addr_t for stack pointers.
This might be incomplete. It's just a quick attempt to reduce some of the difference between riscv-openocd and mainline. Other stack pointers can be updated as I come across them. Change-Id: Id3311b8a1bb0667f309a26d36b67093bfeb8380a Signed-off-by: Tim Newsome <tim@sifive.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6586 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
b5a24386e4
commit
e487205410
@@ -189,9 +189,9 @@ enum zephyr_symbol_values {
|
||||
ZEPHYR_VAL_COUNT
|
||||
};
|
||||
|
||||
static int64_t zephyr_cortex_m_stack_align(struct target *target,
|
||||
static target_addr_t zephyr_cortex_m_stack_align(struct target *target,
|
||||
const uint8_t *stack_data,
|
||||
const struct rtos_register_stacking *stacking, int64_t stack_ptr)
|
||||
const struct rtos_register_stacking *stacking, target_addr_t stack_ptr)
|
||||
{
|
||||
return rtos_cortex_m_stack_align(target, stack_data, stacking,
|
||||
stack_ptr, ARM_XPSR_OFFSET);
|
||||
|
||||
Reference in New Issue
Block a user