minix/servers
Ben Gras 2384a85296 FS support for grant-based i/o.
For character device i/o, FS does a so-called 'magic' grant to let the
driver copy from or to user space. As this is done in FS address space,
the driver is told to do this in FS address space. The redirection to
the right user process then happens at copy-time in the kernel, using the
FS grant table. This also happens for DEV_READ and DEV_WRITE on block
devices.

For other block device i/o, which happens from/to FS buffers, FS does
a 'direct' grant to its own address space for the driver.

After the i/o returns, this access has to be K-I-L-L-E-D, revoked.
Sometimes this is after a SUSPEND and DEV_REVIVE, in which case the
revoking happens in pipe.c.

This conversion happens in safe_io_conversion() in device.c, called
by dev_io and dev_bio.

FS has to pre-allocate its own space for these grant tables. This happens
in main.c.
2006-06-20 10:12:09 +00:00
..
ds Jorrit's ... "progress?" 2006-03-10 16:10:05 +00:00
fs FS support for grant-based i/o. 2006-06-20 10:12:09 +00:00
inet Renamed findproc() to _pm_findproc() to reduce polluting of application 2006-03-25 04:49:04 +00:00
init Init need more space (the results of removing the special case for init in 2006-05-11 15:00:46 +00:00
is Rename protected to prot 2006-06-20 10:03:48 +00:00
pm Use endpoint_t 2006-06-20 10:04:33 +00:00
rs Fixed off by one error in backoff code. Limit backoff to 1 second for 2006-05-15 12:08:43 +00:00
sm *** empty log message *** 2005-08-23 11:31:32 +00:00
Makefile Updated makefile for DS server. 2005-10-20 20:32:40 +00:00