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

2024-10-29 Thread Helge Deller
On 10/29/24 13:44, Peter Maydell wrote: On Fri, 25 Oct 2024 at 19:25, Helge Deller wrote: Add the missing 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. Signed-off-

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

2024-10-29 Thread Peter Maydell
On Fri, 25 Oct 2024 at 19:25, Helge Deller wrote: > > Add the missing 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. > > Signed-off-by: Helge Deller > > diff --git

[PATCH] target/hppa: Add CPU reset method

2024-10-25 Thread Helge Deller
Add the missing 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. Signed-off-by: Helge Deller diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index c38439c180..0cc696c