On 3/10/22 04:21, Peter Maydell wrote:
On Thu, 10 Mar 2022 at 11:27, Richard Henderson
wrote:
The bulk of the general register set is undefined on reset.
They might be architecturally undefined, but for QEMU's
purposes we want the state of the CPU on reset to be
identical to the state it is
On Thu, 10 Mar 2022 at 11:27, Richard Henderson
wrote:
>
> The bulk of the general register set is undefined on reset.
They might be architecturally undefined, but for QEMU's
purposes we want the state of the CPU on reset to be
identical to the state it is in when QEMU is first started.
thanks
-
The bulk of the general register set is undefined on reset.
The zero register is for the most part special-cased in translate,
but the slot is still exposed to gdbstub and nios2_cpu_dump_state,
so continue to make sure that's zeroed.
Signed-off-by: Richard Henderson
---
target/nios2/cpu.c | 6 +