Page MenuHomeFreeBSD

Use PVO_PADDR to get the PA from PVO
ClosedPublic

Authored by luporl on Jul 13 2020, 8:03 PM.
Referenced Files
Unknown Object (File)
Wed, Jul 22, 12:48 PM
Unknown Object (File)
Tue, Jul 21, 10:28 PM
Unknown Object (File)
Fri, Jul 17, 3:04 AM
Unknown Object (File)
Wed, Jul 15, 4:18 AM
Unknown Object (File)
Mon, Jul 13, 12:21 PM
Unknown Object (File)
Sun, Jul 12, 11:27 PM
Unknown Object (File)
Sat, Jun 27, 5:48 PM
Unknown Object (File)
Jun 24 2026, 5:32 AM

Details

Summary

Use PVO_PADDR macro to get the physical address from a PVO, instead of explicitly ANDing pvo_pte.pa with LPTE_RPGN where it is needed.
Besides improving readability, this is needed to support superpages (D25237), where the steps to get the PA from a PVO are different.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32300
Build 29784: arc lint + arc unit