]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/hppa: Set PC on vCPU reset
authorHelge Deller <deller@gmx.de>
Mon, 30 Dec 2024 11:47:52 +0000 (12:47 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Jan 2025 16:16:04 +0000 (17:16 +0100)
commit46f7be06c8e568ec5d5c4aa07c81b42fc0fc863a
treed1d670d69702c84e98f9072540ead986173b67de
parent3d66ec208ca75329b61a4e9c4a58462ed5948504
target/hppa: Set PC on vCPU reset

On reset:

  "The CPU begins fetching instructions from address 0xf0000004.
   This address is in PDC space."

Switch vCPUs to 32-bit mode (PSW_W bit is not set) and start
execution at address 0xf0000004.

Signed-off-by: Helge Deller <deller@gmx.de>
Co-developed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20241231190620.24442-6-philmd@linaro.org>
target/hppa/cpu.c