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

2024-12-29 Thread Richard Henderson
On 12/28/24 18:44, Helge Deller wrote: On 12/29/24 02:58, Richard Henderson wrote: On 12/27/24 15:17, 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 0

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

2024-12-28 Thread Helge Deller
On 12/29/24 02:58, Richard Henderson wrote: On 12/27/24 15:17, 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

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

2024-12-28 Thread Richard Henderson
On 12/27/24 15:17, 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 the CPUHPPAState stru

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

2024-12-27 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