Changeset View
Changeset View
Standalone View
Standalone View
sys/riscv/riscv/copyinout.S
Show All 31 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
*/ | */ | ||||
#include <machine/asm.h> | #include <machine/asm.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include <sys/errno.h> | #include <sys/errno.h> | ||||
#include "assym.s" | #include "assym.inc" | ||||
/* | /* | ||||
* Fault handler for the copy{in,out} functions below. | * Fault handler for the copy{in,out} functions below. | ||||
*/ | */ | ||||
ENTRY(copyio_fault) | ENTRY(copyio_fault) | ||||
SET_FAULT_HANDLER(x0, a1) /* Clear the handler */ | SET_FAULT_HANDLER(x0, a1) /* Clear the handler */ | ||||
copyio_fault_nopcb: | copyio_fault_nopcb: | ||||
li a0, EFAULT | li a0, EFAULT | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |