NetBSD/src C9cmC8Csys/arch/amd64/amd64 machdep.c, sys/arch/amd64/include types.h

   Make the direct-map API always available, but fail if KASAN or rump.

   (Only for architectures that support it at all; on others,
   __HAVE_MM_MD_DIRECT_MAPPED_PHYS/IO are still undefined and the
   functions unimplemented.)

   This gives modules like zfs an opportunity to use it.

   While here, fix the one caller of mm_md_direct_mapped_phys that
   ignored the return value (and make sure to call pmap_kremove/update
   before uvm_km_free).
VersionDeltaFile
1.1+47-0sys/rump/librump/rumpkern/arch/generic/rump_generic_directmap.c
1.16+21-10sys/arch/x86/x86/efi.c
1.322+11-4sys/arch/amd64/amd64/machdep.c
1.58+3-3sys/arch/amd64/include/types.h
1.9+4-1sys/rump/librump/rumpkern/arch/x86_64/Makefile.inc
1.3+2-1sys/rump/librump/rumpkern/arch/generic/Makefile.inc
+88-196 files

UnifiedSplitRaw