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
Unknown Object (File)
Mon, Apr 27, 9:34 PM
Unknown Object (File)
Mon, Apr 27, 2:44 PM
Unknown Object (File)
Mon, Apr 27, 9:06 AM
Unknown Object (File)
Mon, Apr 27, 8:44 AM
Unknown Object (File)
Sun, Apr 12, 2:51 AM
Unknown Object (File)
Fri, Apr 10, 10:32 AM
Unknown Object (File)
Wed, Apr 8, 12:48 AM
Unknown Object (File)
Sun, Apr 5, 1:08 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70543
Build 67426: arc lint + arc unit

Event Timeline

sys/arm64/arm64/pmap.c
10231–10238

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.