HomeFreeBSD

riscv: create a convenience composite macro

Description

riscv: create a convenience composite macro

Define PTE_TO_VM_PAGE to compose the PHYS_TO_VM_PAGE and PTE_TO_PHYS
macros. Use it where appropriate, and drop some variables that it
makes unnecessary.

Reviewed by: jhb (previous version)
Differential Revision: https://reviews.freebsd.org/D44700

Details

Provenance
dougmAuthored on Apr 21 2024, 10:24 PM
Reviewer
jhb
Differential Revision
D44700: riscv: create a convenience composite macro
Parents
rG10e0c34bf842: Enable L1SS handling on RPI4 pcib
Branches
Unknown
Tags
Unknown