[PATCH 0/2] target/m68k: MacOS supervisor/user mode switch fixes - part 2

Mark Cave-Ayland posted 2 patches 1 year, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220925134804.139706-1-mark.cave-ayland@ilande.co.uk
Maintainers: Laurent Vivier <laurent@vivier.eu>
target/m68k/cpu.c       | 9 +++++++--
target/m68k/cpu.h       | 8 +++++---
target/m68k/translate.c | 2 +-
3 files changed, 13 insertions(+), 6 deletions(-)
[PATCH 0/2] target/m68k: MacOS supervisor/user mode switch fixes - part 2
Posted by Mark Cave-Ayland 1 year, 7 months ago
Here are the two outstanding patches from
https://lists.gnu.org/archive/html/qemu-devel/2022-09/msg02340.html updated and
rebased onto git master.

Patch 1 is equivalent to patch 2 in the original series but using BIT_ULL() to
set and clear the feature bits, and updating m68k_feature() to return a bool
instead of int.

Patch 2 is the same as the previous patch 3 but with Richard's R-B tag added.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


Mark Cave-Ayland (2):
  target/m68k: increase size of m68k CPU features from uint32_t to
    uint64_t
  target/m68k: use M68K_FEATURE_MOVEFROMSR_PRIV feature for move_from_sr
    privilege check

 target/m68k/cpu.c       | 9 +++++++--
 target/m68k/cpu.h       | 8 +++++---
 target/m68k/translate.c | 2 +-
 3 files changed, 13 insertions(+), 6 deletions(-)

-- 
2.30.2