Skip to content

Commit

Permalink
ARMv8: Update rtos_reg storage from 8 to 16 bytes
Browse files Browse the repository at this point in the history
To support 128 bit registers, the rtos_reg structure value
array needs to be updated from 8 to 16 bytes.

Tested by reading ARMv8 NEON FP regs on an Ampere eMAG 8180 with GDB.

Change-Id: I7f3fe1a5b2def599d021787fbe9cdd51f92859a4
Signed-off-by: Daniel Goehring <[email protected]>
Reviewed-on: http:https://openocd.zylin.com/5209
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <[email protected]>
  • Loading branch information
dgoehring-ampere authored and thinkfat committed Jun 12, 2019
1 parent f935f39 commit 88728ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtos/rtos.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ struct rtos {
struct rtos_reg {
uint32_t number;
uint32_t size;
uint8_t value[8];
uint8_t value[16];
};

struct rtos_type {
Expand Down

0 comments on commit 88728ab

Please sign in to comment.