Page MenuHomeFreeBSD

Centralize and simpify implemention of some VM macros
ClosedPublic

Authored by jhb on Jan 13 2025, 7:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 26, 10:04 AM
Unknown Object (File)
Sat, Aug 2, 8:51 PM
Unknown Object (File)
Jul 5 2025, 5:50 AM
Unknown Object (File)
Jul 4 2025, 12:09 AM
Unknown Object (File)
Jul 1 2025, 9:02 PM
Unknown Object (File)
Jun 27 2025, 8:58 PM
Unknown Object (File)
Jun 27 2025, 3:19 AM
Unknown Object (File)
Jun 18 2025, 3:18 AM

Details

Summary

These macros have substantially identical implementations on each
platform. Use roundup2/rounddown2 for round_page/trunc_page.

This version standardizes on not adding an explicit cast as that
appears to be required on at least one powerpc port. A couple of
tweaks were required to make this work.

Obtained from: CheriBSD

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61705
Build 58589: arc lint + arc unit