qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

linux-user/riscv: fix up struct target_ucontext definition

As struct target_ucontext will be transfered to signal handler, it
must keep pace with struct ucontext_t defined in Linux kernel.

Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200412020830.607-1-zhiwei_liu@c-sky.com
Message-Id: <20200412020830.607-1-zhiwei_liu@c-sky.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

authored by

LIU Zhiwei and committed by
Alistair Francis
64ce00a6 d784733b

+2 -1
+2 -1
linux-user/riscv/signal.c
··· 40 40 unsigned long uc_flags; 41 41 struct target_ucontext *uc_link; 42 42 target_stack_t uc_stack; 43 - struct target_sigcontext uc_mcontext; 44 43 target_sigset_t uc_sigmask; 44 + uint8_t __unused[1024 / 8 - sizeof(target_sigset_t)]; 45 + struct target_sigcontext uc_mcontext QEMU_ALIGNED(16); 45 46 }; 46 47 47 48 struct target_rt_sigframe {