Le 13/09/2022 à 18:29, Mark Cave-Ayland a écrit :
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?
Yes, send it to the list. I plan to do a PR for m68k soon.
Thanks,
Laurent