Skip to content

Commit a2afc51

Browse files
committed
target/hexagon: Fix badva reference, delete CAUSE
The BADVA reg is referred to with the wrong identifier. The CAUSE reg field of SSR is not yet modeled, we will dump the SSR in a subsequent commit. Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
1 parent b8284d4 commit a2afc51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

target/hexagon/cpu.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,7 @@ static void hexagon_dump(CPUHexagonState *env, FILE *f, int flags)
216216
qemu_fprintf(f, " cs0 = 0x00000000\n");
217217
qemu_fprintf(f, " cs1 = 0x00000000\n");
218218
#else
219-
print_reg(f, env, HEX_REG_CAUSE);
220-
print_reg(f, env, HEX_REG_BADVA);
219+
print_reg(f, env, HEX_SREG_BADVA);
221220
print_reg(f, env, HEX_REG_CS0);
222221
print_reg(f, env, HEX_REG_CS1);
223222
#endif

0 commit comments

Comments
 (0)