Page MenuHomeFreeBSD

arm64: Add MOPS implementation of pagezero()
ClosedPublic

Authored by sarah.walker2_arm.com on Jan 29 2026, 6:25 PM.
Tags
None
Referenced Files
F167578714: D54946.id.diff
Sat, Aug 22, 8:20 PM
F167577629: D54946.id170973.diff
Sat, Aug 22, 8:08 PM
Unknown Object (File)
Sat, Aug 22, 5:49 AM
Unknown Object (File)
Fri, Aug 21, 3:28 PM
Unknown Object (File)
Mon, Aug 17, 2:15 PM
Unknown Object (File)
Mon, Aug 17, 9:08 AM
Unknown Object (File)
Sat, Aug 15, 10:02 PM
Unknown Object (File)
Sat, Aug 15, 4:28 AM
Subscribers

Details

Summary

Reimplement pagezero() as ifunc. As pagezero() is only used in pmap.c,
move ifunc to that file.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

sys/arm64/arm64/pmap.c
10228–10235

These are needed by more than the ifunc so should be left in machdep.c

sys/arm64/arm64/support.S
406–408

We can use xzr directly rather than setting x1 to 0.

This revision is now accepted and ready to land.Jan 30 2026, 1:20 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
This revision was automatically updated to reflect the committed changes.