commit 24aa2e44a85bc12e46a45c21451732106bb8f88a Author: Aaron LI <a...@aaronly.me> Date: Sat Jun 5 11:57:23 2021 +0800
pmap: Refactor PG_*_IDX and pmap_bits_default definitions Refactor PG_*_IDX definitions by using an enumeration, and define the pmap_bits_default[] array with named indices, making its items more cleaer. In addition, drop the unused 'PG_UNUSED10_IDX' item and fix some wrong comments. No functional changes. Summary of changes: sys/platform/pc64/include/pmap.h | 37 +++++++++++++++++++------------------ sys/platform/pc64/x86_64/pmap.c | 30 ++++++++++++++---------------- 2 files changed, 33 insertions(+), 34 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/24aa2e44a85bc12e46a45c21451732106bb8f88a -- DragonFly BSD source repository