Page MenuHomeFreeBSD

arm64: Add MOPS implementations of memset(), memcpy() and memmove()
ClosedPublic

Authored by sarah.walker2_arm.com on Feb 2 2026, 10:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 8:42 AM
Unknown Object (File)
Wed, Mar 11, 1:04 PM
Unknown Object (File)
Wed, Mar 11, 10:06 AM
Unknown Object (File)
Wed, Mar 11, 8:56 AM
Unknown Object (File)
Wed, Mar 11, 8:44 AM
Unknown Object (File)
Wed, Mar 11, 5:51 AM
Unknown Object (File)
Wed, Mar 11, 5:13 AM
Unknown Object (File)
Mon, Mar 9, 6:07 PM
Subscribers

Details

Summary

Enable the use of MOPS implementations of memset, memcpy and memmove within
the kernel. Fix pre-ifunc resolution uses of these functions.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

I think we will need to also update the calls to memset/bzero in pmap_bootstrap_*. These functions are used by the kernel sanitizers to build the early shadow region.

It looks like this is missing the pmap changes for the sanitizer kernels.

This revision is now accepted and ready to land.Feb 10 2026, 3:26 PM