git: vm: Change 'kernel_pmap' global to pointer type

Aaron LI aly at crater.dragonflybsd.org
Sat Jun 19 03:49:20 PDT 2021


commit c713db6503bc6265bc72798c81dd18b02aeb4fae
Author: Aaron LI <aly at aaronly.me>
Date:   Mon May 24 20:28:12 2021 +0800

    vm: Change 'kernel_pmap' global to pointer type
    
    Following the previous commits, this commit changes the 'kernel_pmap'
    to pointer type of 'struct pmap *'.  This makes it align better with
    'kernel_map' and simplifies the code a bit.
    
    No functional changes.

Summary of changes:
 sys/kern/kern_slaballoc.c                    |   2 +-
 sys/platform/pc64/include/pmap.h             |   2 +-
 sys/platform/pc64/vmm/vmm_utils.c            |  12 +--
 sys/platform/pc64/x86_64/machdep.c           |   6 +-
 sys/platform/pc64/x86_64/minidump_machdep.c  |  13 +--
 sys/platform/pc64/x86_64/mp_machdep.c        |  20 ++---
 sys/platform/pc64/x86_64/pmap.c              | 121 ++++++++++++++-------------
 sys/platform/pc64/x86_64/pmap_inval.c        |  10 +--
 sys/platform/vkernel64/include/pmap.h        |   2 +-
 sys/platform/vkernel64/platform/pmap.c       |  63 +++++++-------
 sys/platform/vkernel64/platform/pmap_inval.c |   2 +-
 sys/vm/vm_contig.c                           |   2 +-
 sys/vm/vm_kern.c                             |   2 +-
 13 files changed, 130 insertions(+), 127 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c713db6503bc6265bc72798c81dd18b02aeb4fae


-- 
DragonFly BSD source repository


More information about the Commits mailing list