--- qemu-20230715/target/mips/cpu-param.h.orig 2023-03-27 15:41:42.858917411 +0200 +++ qemu-20230715/target/mips/cpu-param.h 2023-07-15 02:00:29.678939925 +0200 @@ -18,7 +18,7 @@ #else #define TARGET_PHYS_ADDR_SPACE_BITS 40 # ifdef CONFIG_USER_ONLY -# define TARGET_VIRT_ADDR_SPACE_BITS 31 +# define TARGET_VIRT_ADDR_SPACE_BITS 32 # else # define TARGET_VIRT_ADDR_SPACE_BITS 32 #endif --- qemu-20230715/target/sh4/cpu-param.h.orig 2023-03-27 15:41:42.885917502 +0200 +++ qemu-20230715/target/sh4/cpu-param.h 2023-07-15 02:00:39.220968541 +0200 @@ -12,7 +12,7 @@ #define TARGET_PAGE_BITS 12 /* 4k */ #define TARGET_PHYS_ADDR_SPACE_BITS 32 #ifdef CONFIG_USER_ONLY -# define TARGET_VIRT_ADDR_SPACE_BITS 31 +# define TARGET_VIRT_ADDR_SPACE_BITS 32 #else # define TARGET_VIRT_ADDR_SPACE_BITS 32 #endif