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
F146248695: D54946.id170973.diff
Sun, Mar 1, 2:40 AM
F146241841: D54946.id170736.diff
Sun, Mar 1, 1:33 AM
Unknown Object (File)
Sat, Feb 28, 7:12 PM
Unknown Object (File)
Sun, Feb 22, 11:08 AM
Unknown Object (File)
Sun, Feb 22, 9:35 AM
Unknown Object (File)
Wed, Feb 18, 5:43 AM
Unknown Object (File)
Wed, Feb 18, 5:42 AM
Unknown Object (File)
Mon, Feb 16, 2:45 PM
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.Mon, Feb 2, 10:01 AM
This revision is now accepted and ready to land.Tue, Feb 3, 1:49 PM
This revision now requires review to proceed.Mon, Feb 9, 11:52 AM
This revision is now accepted and ready to land.Mon, Feb 9, 5:31 PM
This revision was automatically updated to reflect the committed changes.