qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] target/m68k: fix two writes to %sr


From: Howard Spoelstra
Subject: Re: [PATCH 0/2] target/m68k: fix two writes to %sr
Date: Wed, 14 Sep 2022 18:48:42 +0200



On Tue, Sep 13, 2022 at 6:29 PM Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> wrote:
On 13/09/2022 15:28, Richard Henderson wrote:

> The second was described by Mark in the lobby of KVM Forum.
> The first was found by inspection of other uses of gen_helper_set_sr.
>
> r~
>
> Richard Henderson (2):
>    target/m68k: Fix MACSR to CCR
>    target/m68k: Perform writback before modifying SR
>
>   target/m68k/translate.c | 14 +++++++++-----
>   1 file changed, 9 insertions(+), 5 deletions(-)

I've applied these on top of my MacOS virtual memory branch at
https://github.com/mcayland/qemu/commits/q800.upstream2-vm and I can confirm that
MacOS 8.1 now boots here with virtual memory enabled :)

Possibly it might be worth including a tidied-up version of the "WIP: target/m68k:
always exit_tb when changing sr with andi/ori/eori" commit from that branch which is
also related to switching between supervisor and user modes under MacOS. Shall I tidy
it up and send it to the list?


ATB,

Mark.


I've compiled the branch mentioned above with a fully updated MSYS2 on windows. The executable hangs when running Mac OS 8 with Virtual Memory enabled. On a fast machine I see Error 7 as before, on a slower machine, the boot screen just hangs with no error shown. A Linux build does work, also on the slower machine.

Best,
Howard

reply via email to

[Prev in Thread] Current Thread [Next in Thread]