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
F107559213: D48450.id.diff
Wed, Jan 15, 9:55 PM
F107513627: D48450.id149204.diff
Wed, Jan 15, 6:59 AM
F107507541: D48450.id149239.diff
Wed, Jan 15, 5:05 AM
F107499770: D48450.diff
Wed, Jan 15, 2:04 AM
Unknown Object (File)
Tue, Jan 14, 8:23 PM
Unknown Object (File)
Mon, Jan 13, 11:16 PM
Unknown Object (File)
Mon, Jan 13, 10:03 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