Re: [PATCH v2] target/hppa: Add CPU reset method

2024-11-07 Thread Peter Maydell
On Mon, 4 Nov 2024 at 22:18, Helge Deller wrote: > > Add the CPU reset method, which resets all CPU registers and the TLB to > zero. Then the CPU will switch to 32-bit mode (PSW_W bit is not set) and > start execution at address 0xf004. > Although we currently want to zero out all values in th

[PATCH v2] target/hppa: Add CPU reset method

2024-11-04 Thread Helge Deller
Add the CPU reset method, which resets all CPU registers and the TLB to zero. Then the CPU will switch to 32-bit mode (PSW_W bit is not set) and start execution at address 0xf004. Although we currently want to zero out all values in the CPUHPPAState struct, add the end_reset_fields marker in ca