git: nvmm: Reorganize OS-specific code in nvmm_os.c
Aaron LI
aly at crater.dragonflybsd.org
Tue Jul 20 16:30:35 PDT 2021
commit df3af4c9b44add09ccedaf63d67d0553bd9e184f
Author: Aaron LI <aly at aaronly.me>
Date: Sun Jul 18 18:29:45 2021 +0800
nvmm: Reorganize OS-specific code in nvmm_os.c
Split the OS-specific code in 'nvmm_os.c' into two separate source
files: nvmm_dragonfly.c and nvmm_netbsd.c, one for each supported OS.
Update Makefile and sys/conf/files accordingly.
Summary of changes:
sys/conf/files | 2 +-
sys/dev/virtual/nvmm/Makefile | 2 +-
.../virtual/nvmm/{nvmm_os.c => nvmm_dragonfly.c} | 195 +++------------------
sys/dev/virtual/nvmm/{nvmm_os.c => nvmm_netbsd.c} | 182 +------------------
4 files changed, 26 insertions(+), 355 deletions(-)
copy sys/dev/virtual/nvmm/{nvmm_os.c => nvmm_dragonfly.c} (54%)
rename sys/dev/virtual/nvmm/{nvmm_os.c => nvmm_netbsd.c} (54%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/df3af4c9b44add09ccedaf63d67d0553bd9e184f
--
DragonFly BSD source repository
More information about the Commits
mailing list