Home | History | Annotate | Download | only in uvm
History log of /src/sys/uvm/uvm_device.h
RevisionDateAuthorComments
 1.15  18-Dec-2021  riastradh Add some missing includes to uvm_device.h.

- sys/types.h for dev_t
- sys/queue.h for LIST_ENTRY
- uvm/uvm_object.h for complete struct uvm_object type
- uvm/uvm_param.h for voff_t/vsize_t
- uvm/uvm_prot.h for vm_prot_t
 1.14  05-Sep-2020  riastradh Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
to query whether curlwp is the pagedaemon, which should maybe be
exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
by it. We should split up uvm_extern.h but this will serve for now
to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
UVMHIST(ubchist), since ubchist is declared in uvm.h but the
reference evaporates if UVMHIST is not defined, so we reduce header
file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
here.

ok chs@
 1.13  14-Dec-2014  chs 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).
 1.12  02-Feb-2011  chuck branches: 1.12.14; 1.12.30; 1.12.32;
udpate license clauses on my code to match the new-style BSD licenses.
based on diff that rmind@ sent me.

no functional change with this commit.
 1.11  11-Dec-2005  christos branches: 1.11.98; 1.11.104; 1.11.106;
merge ktrace-lwp.
 1.10  24-Mar-2004  junyoung Nuke __P().
 1.9  28-May-2000  drochner branches: 1.9.8; 1.9.26;
Don't silently truncate the voff_t offset to vaddr_t when passing it to
udv_attach. Pass the whole voff_t instead and do an explicite overflow
check before it is passed to the device's mmap handler (as "int", sadly).
 1.8  21-Jun-1999  thorpej branches: 1.8.2; 1.8.10;
Protect prototypes, certain macros, and inlines from userland.
 1.7  25-Mar-1999  mrg branches: 1.7.4;
remove now >1 year old pre-release message.
 1.6  24-Mar-1999  cgd modify udv_attach() and its caller (uvm_mmap()) so that it's passed the
offset and size of the requested region to be mapped, so that the
udv_attach() can use the device d_mmap() entry to check mappability
of the requested region.
 1.5  09-Mar-1998  mrg KNF.
 1.4  10-Feb-1998  perry add/cleanup multiple inclusion protection.
 1.3  07-Feb-1998  mrg restore rcsids
 1.2  06-Feb-1998  thorpej RCS ID police.
 1.1  05-Feb-1998  mrg branches: 1.1.1;
Initial revision
 1.1.1.1  05-Feb-1998  mrg initial import of the new virtual memory system, UVM, into -current.

UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the UVM kernel code portion.


this will be KNF'd shortly. :-)
 1.7.4.1  01-Jul-1999  thorpej Sync w/ -current.
 1.8.10.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.8.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.9.26.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.26.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.26.1  03-Aug-2004  skrll Sync with HEAD
 1.9.8.1  07-Sep-2001  thorpej Commit my "devvp" changes to the thorpej-devvp branch. This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).
 1.11.106.1  08-Feb-2011  bouyer Sync with HEAD
 1.11.104.1  06-Jun-2011  jruoho Sync with HEAD.
 1.11.98.1  05-Mar-2011  rmind sync with head
 1.12.32.1  06-Apr-2015  skrll Sync with HEAD
 1.12.30.1  31-Dec-2014  snj Pull up following revision(s) (requested by chs in ticket #363):
common/lib/libprop/prop_kern.c: revision 1.18
sys/arch/mac68k/dev/grf_compat.c: revision 1.27
sys/arch/x68k/dev/grf.c: revision 1.45
sys/external/bsd/drm/dist/bsd-core/drm_bufs.c: revision 1.12
sys/external/bsd/drm2/drm/drm_drv.c: revision 1.12
sys/external/bsd/drm2/drm/drm_vm.c: revision 1.6
sys/external/bsd/drm2/include/linux/mm.h: revision 1.4
sys/kern/vfs_vnops.c: revision 1.192 via patch
sys/rump/librump/rumpkern/vm.c: revision 1.160
sys/sys/file.h: revision 1.78 via patch
sys/uvm/uvm_device.c: revision 1.64
sys/uvm/uvm_device.h: revision 1.13
sys/uvm/uvm_extern.h: revision 1.192
sys/uvm/uvm_mmap.c: revision 1.150 via patch
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).
 1.12.14.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed