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, Feb 27, 12:28 PM
Unknown Object (File)
Tue, Feb 25, 2:16 PM
Unknown Object (File)
Wed, Feb 19, 6:39 PM
Unknown Object (File)
Feb 10 2025, 4:56 PM
Unknown Object (File)
Jan 22 2025, 4:13 PM
Unknown Object (File)
Jan 22 2025, 12:18 PM
Unknown Object (File)
Jan 22 2025, 11:01 AM
Unknown Object (File)
Jan 17 2025, 6:34 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