aaca17c36d
and DEV_IOCTL_S as replacements for DEV_READ, DEV_WRITE, DEV_SCATTER, DEV_GATHER and DEV_IOCTL. Instead of a direct address, the *_S commands pass 'grant ids' to the drivers which are referenced through a new set of copy calls (sys_safecopyfrom and sys_safecopyto). in order for this copy to succeed, the grant must have previously been created in the address space of the granter. . bitmap manipulation functions moved to <minix/bitmap.h> . HIGHPOS introduced as field containing high 32 bits of position in device I/O message; TTY_FLAGS no longer used . IO_GRANT field introduced for GRANTs, to replace ADDRESS . REP_IO_GRANT field for un-SUSPEND messages introduced to indicate grant for which I/O was done to disambiguate messages . SYS_SAFECOPYFROM and SYS_SAFECOPYTO introduced as new calls . SYS_PRIV_SET_GRANTS code introduced as a code to set the address and size of the grant table in a process' own address space . 'type' and 'direction' field of _ins* and _outs* I/O functions are merged into one by ORing _DIO_INPUT/_DIO_OUTPUT and _DIO_BYTE/_DIO_WORD etc. This allows for an additional parameter, _DIO_SAFE, which indicates the address in another address space isn't actually an address, but a grant id. Also needs an offset, for which fields had to be merged. . SCP_* are field names for SYS_SAFECOPY* functions . DIAGNOSTICS and GET_KMESS moved to their own range above DIAG_BASE, added DIAGNOSTICS_S which is a grant-based variant of DIAGNOSTICS . removed obsolete BINCOMPAT and SRCCOMPAT options . added GRANT_SEG type for use in vircopy - allows copying to a grant id (without offset) . added _MINIX_IOCTL_* macros that decode information encoded by _IO* macros in ioctl codes, used to check which grants are necessary for an ioctl . introduced the type endpoint_t for process endpoints, changed some prototypes and struct field types to match . renamed protected to prot for g++ |
||
---|---|---|
.. | ||
arpa | ||
ibm | ||
minix | ||
net | ||
netinet | ||
sys | ||
a.out.h | ||
alloca.h | ||
ansi.h | ||
assert.h | ||
configfile.h | ||
ctype.h | ||
curses.h | ||
dirent.h | ||
env.h | ||
errno.h | ||
fcntl.h | ||
float.h | ||
fts.h | ||
grp.h | ||
ifaddrs.h | ||
inttypes.h | ||
lib.h | ||
libgen.h | ||
libutil.h | ||
limits.h | ||
locale.h | ||
Makefile | ||
math.h | ||
mathconst.h | ||
netdb.h | ||
pwd.h | ||
regex.h | ||
regexp.h | ||
setjmp.h | ||
sgtty.h | ||
signal.h | ||
stdarg.h | ||
stddef.h | ||
stdint.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
sysexits.h | ||
syslog.h | ||
tar.h | ||
termcap.h | ||
termios.h | ||
time.h | ||
timers.h | ||
tools.h | ||
ttyent.h | ||
unistd.h | ||
utime.h | ||
utmp.h |