summary refs log tree commit diff stats
path: root/hw/intc/riscv_aplic.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-04-08 18:04:19 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-05-26 15:49:58 -0700
commit701890bdd09b289fd9cb852e714e91373088b0f3 (patch)
tree423f6606e9f4d9252aba71e38bedaa153fd423de /hw/intc/riscv_aplic.c
parent9c2fb9e1d589fbda266d8db611b9d3a38ab96a3c (diff)
downloadfocaccia-qemu-701890bdd09b289fd9cb852e714e91373088b0f3.tar.gz
focaccia-qemu-701890bdd09b289fd9cb852e714e91373088b0f3.zip
target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor}
We have already validated the memory region in the course of
validating the signal frame.  No need to do it again within
the helper function.

In addition, return failure when the header contains invalid
xstate_bv.  The kernel handles this via exception handling
within XSTATE_OP within xrstor_from_user_sigframe.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc/riscv_aplic.c')
0 files changed, 0 insertions, 0 deletions