Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   riastradh
Date:           Thu Nov 15 04:59:02 UTC 2018

Modified Files:
        src/sys/arch/amd64/amd64: machdep.c
        src/sys/arch/amd64/include: types.h
        src/sys/arch/x86/x86: efi.c
        src/sys/rump/librump/rumpkern/arch/generic: Makefile.inc
        src/sys/rump/librump/rumpkern/arch/x86_64: Makefile.inc
Added Files:
        src/sys/rump/librump/rumpkern/arch/generic: rump_generic_directmap.c

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.321 -r1.322 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/amd64/include/types.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/x86/efi.c
cvs rdiff -u -r1.2 -r1.3 \
    src/sys/rump/librump/rumpkern/arch/generic/Makefile.inc
cvs rdiff -u -r0 -r1.1 \
    src/sys/rump/librump/rumpkern/arch/generic/rump_generic_directmap.c
cvs rdiff -u -r1.8 -r1.9 \
    src/sys/rump/librump/rumpkern/arch/x86_64/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index