Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm64/arm64/copyinout.S
Show All 29 Lines | |||||
#include <machine/asm.h> | #include <machine/asm.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include <sys/errno.h> | #include <sys/errno.h> | ||||
#include <machine/vmparam.h> | #include <machine/vmparam.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(xzr, x1) /* Clear the handler */ | SET_FAULT_HANDLER(xzr, x1) /* Clear the handler */ | ||||
EXIT_USER_ACCESS_CHECK(w0, x1) | EXIT_USER_ACCESS_CHECK(w0, x1) | ||||
copyio_fault_nopcb: | copyio_fault_nopcb: | ||||
▲ Show 20 Lines • Show All 180 Lines • Show Last 20 Lines |