Re: [PATCH v15 2/9] linux-user: Add LoongArch signal support

2022-06-09 Thread Richard Henderson
On 6/8/22 19:42, Song Gao wrote: +struct target_sigcontext { +uint64_t sc_pc; +uint64_t sc_regs[32]; +uint32_t sc_flags; +uint64_t sc_extcontext[0] __attribute__((aligned(16))); +}; + +struct target_fpu_context { +uint64_t fc_regs[32]; +uint64_t fc_fcc; +uint32_t fc_fc

[PATCH v15 2/9] linux-user: Add LoongArch signal support

2022-06-08 Thread Song Gao
Signed-off-by: Song Gao Signed-off-by: Xiaojuan Yang --- linux-user/loongarch64/signal.c| 194 + linux-user/loongarch64/target_signal.h | 13 ++ 2 files changed, 207 insertions(+) create mode 100644 linux-user/loongarch64/signal.c create mode 100644 linux-user/