HardenedBSD/sys/riscv
Mark Johnston 7b68fb5ab2 thread: Add a return value to cpu_set_upcall()
Some implementations copy data to userspace, an operation which can in
principle fail.  In preparation for adding a __result_use_check
annotation to copyin() and related functions, let implementations of
cpu_set_upcall() return an error, and check for errors when copying data
to user memory.

Reviewed by:	kib, jhb
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43100
2023-12-25 21:04:00 -05:00
..
allwinner sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
conf riscv: add some more drivers to GENERIC 2023-12-05 15:30:18 -04:00
include busdma: tidy bus_dma_run_filter() functions 2023-12-06 19:11:39 -04:00
riscv thread: Add a return value to cpu_set_upcall() 2023-12-25 21:04:00 -05:00
sifive riscv: tweak SoC-specific conf organization 2023-12-05 15:30:18 -04:00