git: vm/pmap.h: Move vtophys() and vtophys_pte() macros here

Aaron LI aly at crater.dragonflybsd.org
Sat Jun 19 03:51:38 PDT 2021


commit 7e0dbbc62c37bd70c18ac1253a530ec79fa0222d
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jun 3 09:01:40 2021 +0800

    vm/pmap.h: Move vtophys() and vtophys_pte() macros here
    
    The two macros are defined against with pmap_kextract(), which is also
    declared in this header file, so it's a better place to hold the two
    macros.
    
    In addition, this adjustment avoids the duplicates in both pc64 and
    vkernel64.

Summary of changes:
 sys/platform/pc64/include/pmap.h      | 10 ----------
 sys/platform/vkernel64/include/pmap.h | 10 ----------
 sys/vm/pmap.h                         |  2 ++
 3 files changed, 2 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7e0dbbc62c37bd70c18ac1253a530ec79fa0222d


-- 
DragonFly BSD source repository



More information about the Commits mailing list