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)
Wed, May 20, 10:50 PM
Unknown Object (File)
Fri, May 15, 8:59 PM
Unknown Object (File)
Apr 29 2026, 9:35 PM
Unknown Object (File)
Apr 29 2026, 10:50 AM
Unknown Object (File)
Apr 28 2026, 11:28 PM
Unknown Object (File)
Apr 25 2026, 8:40 PM
Unknown Object (File)
Apr 10 2026, 3:55 PM
Unknown Object (File)
Apr 9 2026, 4:04 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 Not Applicable
Unit
Tests Not Applicable