Page MenuHomeFreeBSD

Centralize and simpify implemention of some VM macros
ClosedPublic

Authored by jhb on Mon, Jan 13, 7:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 22, 4:13 PM
Unknown Object (File)
Wed, Jan 22, 12:18 PM
Unknown Object (File)
Wed, Jan 22, 11:01 AM
Unknown Object (File)
Fri, Jan 17, 6:34 PM
Unknown Object (File)
Thu, Jan 16, 4:41 AM
Unknown Object (File)
Thu, Jan 16, 4:29 AM
Unknown Object (File)
Thu, Jan 16, 1:00 AM
Unknown Object (File)
Wed, Jan 15, 9:55 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