Page MenuHomeFreeBSD

arm64: Add MOPS implementations of copyin/copyout
ClosedPublic

Authored by sarah.walker2_arm.com on Jan 29 2026, 6:25 PM.
Tags
None
Referenced Files
F154327541: D54947.id.diff
Mon, Apr 27, 9:09 PM
F154319614: D54947.id170773.diff
Mon, Apr 27, 7:51 PM
F154299964: D54947.id171510.diff
Mon, Apr 27, 4:57 PM
Unknown Object (File)
Sat, Apr 25, 6:28 AM
Unknown Object (File)
Thu, Apr 16, 11:03 PM
Unknown Object (File)
Thu, Apr 16, 11:00 PM
Unknown Object (File)
Thu, Apr 16, 10:12 PM
Unknown Object (File)
Thu, Apr 16, 10:08 PM
Subscribers

Details

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/arm64/arm64/copyinout.S
90

You can use cpyf*rt and cpyf*wt directly to implement copyin & copyout.

As they execute the load/store as unprivileged operations you will need to set the fault handler, but don't need to enable user access.

This revision is now accepted and ready to land.Jan 30 2026, 1:23 PM
This revision now requires review to proceed.Feb 2 2026, 10:01 AM
This revision is now accepted and ready to land.Feb 3 2026, 1:49 PM
This revision now requires review to proceed.Feb 9 2026, 11:52 AM
This revision is now accepted and ready to land.Feb 9 2026, 5:31 PM