No description
Find a file
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
boot Kludge for 1586 processor id. 2006-04-05 11:56:05 +00:00
commands . flex moved back into the base system, so prefix is /usr 2006-06-20 08:46:45 +00:00
drivers Conversion to safe calls, and returning grant in DEV_REVIVE messages 2006-06-20 09:49:02 +00:00
etc install motd as motd.install 2006-04-13 18:06:22 +00:00
include Kick out REVIVE 2006-06-20 09:47:23 +00:00
kernel Changed do_devio not to require DIO_TYPE, but to extract type 2006-06-20 10:03:10 +00:00
lib . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
man Al Woodhull's new manual pages 2006-06-19 14:51:41 +00:00
servers FS support for grant-based i/o. 2006-06-20 10:12:09 +00:00
test More fixes to reality 2006-03-16 01:47:52 +00:00
tools Install dinks 2006-04-13 17:47:51 +00:00
LICENSE *** empty log message *** 2006-03-08 16:34:36 +00:00
Makefile No gmake in use 2006-03-08 16:46:40 +00:00