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
F167880572: D54946.id.diff
Tue, Aug 25, 5:30 AM
F167829695: D54946.id170973.diff
Mon, Aug 24, 8:15 PM
Unknown Object (File)
Sat, Aug 22, 8:20 PM
Unknown Object (File)
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70230
Build 67113: arc lint + arc unit

Event Timeline

sys/arm64/arm64/pmap.c
10230–10237

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.