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)
Thu, Sep 10, 10:59 PM
Unknown Object (File)
Mon, Sep 7, 4:48 AM
Unknown Object (File)
Sun, Sep 6, 12:07 AM
Unknown Object (File)
Sat, Sep 5, 2:52 PM
Unknown Object (File)
Sat, Sep 5, 11:01 AM
Unknown Object (File)
Sat, Sep 5, 9:41 AM
Unknown Object (File)
Fri, Sep 4, 11:29 PM
Unknown Object (File)
Fri, Sep 4, 9:51 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 70339
Build 67222: 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.