freebsd-dev/sys/riscv
John Baldwin 4d90a5afc5 sys: Consolidate common implementation details of PV entries.
Add a <sys/_pv_entry.h> intended for use in <machine/pmap.h> to
define struct pv_entry, pv_chunk, and related macros and inline
functions.

Note that powerpc does not yet use this as while the mmu_radix pmap
in powerpc uses the new scheme (albeit with fewer PV entries in a
chunk than normal due to an used pv_pmap field in struct pv_entry),
the Book-E pmaps for powerpc use the older style PV entries without
chunks (and thus require the pv_pmap field).

Suggested by:	kib
Reviewed by:	kib
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D36685
2022-10-07 10:14:03 -07:00
..
allwinner
conf riscv: move GEOM_PART_GPT option to DEFAULTS 2022-10-03 13:49:54 -03:00
include sys: Consolidate common implementation details of PV entries. 2022-10-07 10:14:03 -07:00
riscv sys: Consolidate common implementation details of PV entries. 2022-10-07 10:14:03 -07:00
sifive