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
Unknown Object (File)
Sat, Mar 28, 1:55 AM
Unknown Object (File)
Sat, Mar 28, 1:44 AM
Unknown Object (File)
Fri, Mar 13, 6:55 AM
Unknown Object (File)
Fri, Mar 13, 6:30 AM
Unknown Object (File)
Fri, Mar 13, 6:23 AM
Unknown Object (File)
Wed, Mar 11, 9:21 AM
Unknown Object (File)
Wed, Mar 11, 5:19 AM
Unknown Object (File)
Mon, Mar 9, 11:07 AM
Subscribers

Details

Summary

Reimplement copyin() & copyout() as ifuncs.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70340
Build 67223: arc lint + arc unit

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