Source-Changes archive

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

CVS commit: src

Module Name:    src
Committed By:   chs
Date:           Sun Dec 14 23:48:59 UTC 2014

Modified Files:
        src/common/lib/libprop: prop_kern.c
        src/sys/arch/mac68k/dev: grf_compat.c
        src/sys/arch/x68k/dev: grf.c
        src/sys/external/bsd/drm/dist/bsd-core: drm_bufs.c
        src/sys/external/bsd/drm2/drm: drm_drv.c drm_vm.c
        src/sys/external/bsd/drm2/include/linux: mm.h
        src/sys/kern: vfs_vnops.c
        src/sys/rump/librump/rumpkern: vm.c
        src/sys/sys: file.h
        src/sys/uvm: uvm_device.c uvm_device.h uvm_extern.h uvm_mmap.c

Log Message:
add a new "fo_mmap" fileops method to allow use of arbitrary uvm_objects for
mappings of file objects.  move vnode-specific details of mmap()ing a vnode
from uvm_mmap() to the new vnode-specific vn_mmap().  add new uvm_mmap_dev()
and uvm_mmap_anon() convenience functions for mapping character devices
and anonymous memory, and replace all other calls to uvm_mmap() with those.
use the new fileop in drm2 so that libdrm can use mmap() to map things
like on other platforms (instead of the ioctl that we have used so far).

To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/common/lib/libprop/prop_kern.c
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/mac68k/dev/grf_compat.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/x68k/dev/grf.c
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/drm/dist/bsd-core/drm_bufs.c
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/drm2/drm/drm_drv.c
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/drm/drm_vm.c
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/include/linux/mm.h
cvs rdiff -u -r1.191 -r1.192 src/sys/kern/vfs_vnops.c
cvs rdiff -u -r1.159 -r1.160 src/sys/rump/librump/rumpkern/vm.c
cvs rdiff -u -r1.77 -r1.78 src/sys/sys/file.h
cvs rdiff -u -r1.63 -r1.64 src/sys/uvm/uvm_device.c
cvs rdiff -u -r1.12 -r1.13 src/sys/uvm/uvm_device.h
cvs rdiff -u -r1.191 -r1.192 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.149 -r1.150 src/sys/uvm/uvm_mmap.c

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