On 12/20/21 2:31 PM, Philippe Mathieu-Daudé wrote:
+ /* Used for user-only emulation of prctl(PR_SET_UNALIGN). */
+ bool prctl_unalign_sigbus;
Could we forward-declare a UserEmuCPUState structure in this file,
use it here:
struct UserEmuCPUState *user_cpu;
and declare it in include/hw/core/useremu-cpu.h (or better name)
restricted to user emulation?
Eh. I suppose we could, but at the moment it's one byte in an existing padding
hole.
I'd rather not mix sys/user emu specific fields in CPUState.
There are *lots* of system specific fields in CPUState.
r~