git: libnvmm: Port to DragonFly

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 20 16:30:20 PDT 2021


commit 3a9a09d3f101d9177e693b24ffe3c8dbd8e91672
Author: Aaron LI <aly at aaronly.me>
Date:   Mon May 10 07:05:16 2021 +0800

    libnvmm: Port to DragonFly
    
    * Add 'nvmm_compat.h' to adapt some macros/constants for DragonFly.
    * Add some '__unused' attributes to fix compilation warnings/errors.
    * Adjust header inclusions.
    * Update nvmm(4) kernel source path in the man page, also update
      'struct nvmm_x64_state' to match DragonFly's version.

Summary of changes:
 lib/libnvmm/libnvmm.3                              | 10 +++--
 lib/libnvmm/libnvmm.c                              | 11 +++---
 lib/libnvmm/libnvmm_x86.c                          | 29 ++++++---------
 lib/libnvmm/nvmm.h                                 |  4 +-
 .../calendar/sun.h => lib/libnvmm/nvmm_compat.h    | 43 ++++++++++++++--------
 5 files changed, 53 insertions(+), 44 deletions(-)
 copy usr.bin/calendar/sun.h => lib/libnvmm/nvmm_compat.h (66%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3a9a09d3f101d9177e693b24ffe3c8dbd8e91672


-- 
DragonFly BSD source repository


More information about the Commits mailing list