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
F115786012: D48450.diff
Mon, Apr 28, 3:50 PM
Unknown Object (File)
Mon, Apr 7, 9:32 AM
Unknown Object (File)
Mar 19 2025, 3:35 PM
Unknown Object (File)
Feb 27 2025, 12:28 PM
Unknown Object (File)
Feb 25 2025, 2:16 PM
Unknown Object (File)
Feb 19 2025, 6:39 PM
Unknown Object (File)
Feb 10 2025, 4:56 PM
Unknown Object (File)
Jan 22 2025, 4:13 PM

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