libnvmm: Port to DragonFly
authorAaron LI <aly@aaronly.me>
Sun, 9 May 2021 23:05:16 +0000 (07:05 +0800)
committerAaron LI <aly@aaronly.me>
Tue, 15 Jun 2021 13:37:05 +0000 (21:37 +0800)
commit89362658f814da73eaa478552aac20b762590fa4
tree62bb10cb995382ca0706082f95d479e4709e94a6
parent218fd6db11c1b65787abcef88fd005d423491766
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.
lib/libnvmm/libnvmm.3
lib/libnvmm/libnvmm.c
lib/libnvmm/libnvmm_x86.c
lib/libnvmm/nvmm.h
lib/libnvmm/nvmm_compat.h [new file with mode: 0644]