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)
Thu, Oct 23, 10:27 PM
Unknown Object (File)
Wed, Oct 22, 11:02 PM
Unknown Object (File)
Sat, Oct 18, 3:56 PM
Unknown Object (File)
Sat, Sep 27, 6:50 PM
Unknown Object (File)
Sep 2 2025, 5:24 PM
Unknown Object (File)
Aug 26 2025, 10:04 AM
Unknown Object (File)
Aug 2 2025, 8:51 PM
Unknown Object (File)
Jul 5 2025, 5:50 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