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: Mark Cave-Ayland
Subject: Re: [PATCH 0/2] target/m68k: fix two writes to %sr
Date: Tue, 13 Sep 2022 17:29:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

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.



reply via email to

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