minix/servers/inet
Ben Gras 7967177710 endpoint-aware conversion of servers.
'who', indicating caller number in pm and fs and some other servers, has
been removed in favour of 'who_e' (endpoint) and 'who_p' (proc nr.).

In both PM and FS, isokendpt() convert endpoints to process slot
numbers, returning OK if it was a valid and consistent endpoint number.
okendpt() does the same but panic()s if it doesn't succeed. (In PM,
this is pm_isok..)

pm and fs keep their own records of process endpoints in their proc tables,
which are needed to make kernel calls about those processes.

message field names have changed.

fs drivers are endpoints.

fs now doesn't try to get out of driver deadlock, as the protocol isn't
supposed to let that happen any more. (A warning is printed if ELOCKED
is detected though.)

fproc[].fp_task (indicating which driver the process is suspended on)
became an int.

PM and FS now get endpoint numbers of initial boot processes from the
kernel. These happen to be the same as the old proc numbers, to let
user processes reach them with the old numbers, but FS and PM don't know
that. All new processes after INIT, even after the generation number
wraps around, get endpoint numbers with generation 1 and higher, so
the first instances of the boot processes are the only processes ever
to have endpoint numbers in the old proc number range.

More return code checks of sys_* functions have been added.

IS has become endpoint-aware. Ditched the 'text' and 'data' fields
in the kernel dump (which show locations, not sizes, so aren't terribly
useful) in favour of the endpoint number. Proc number is still visible.

Some other dumps (e.g. dmap, rs) show endpoint numbers now too which got
the formatting changed.

PM reading segments using rw_seg() has changed - it uses other fields
in the message now instead of encoding the segment and process number and
fd in the fd field. For that it uses _read_pm() and _write_pm() which to
_taskcall()s directly in pm/misc.c.

PM now sys_exit()s itself on panic(), instead of sys_abort().

RS also talks in endpoints instead of process numbers.
2006-03-03 10:20:58 +00:00
..
generic Fixed bug in canceling TCP ioctls before INET got an IP address. 2006-02-20 14:35:01 +00:00
minix3 New inet with partial select implementation 2005-06-28 15:19:58 +00:00
buf.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
clock.c Updated servers according to syslib interface changes. 2005-07-29 15:00:49 +00:00
const.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
inet.c Prelim commit for ethernet driver crash recovery. 2005-10-21 11:51:45 +00:00
inet.h Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util 2005-07-19 13:21:51 +00:00
inet_config.c Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util 2005-07-19 13:21:51 +00:00
inet_config.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
Makefile endpoint-aware conversion of servers. 2006-03-03 10:20:58 +00:00
mnx_eth.c Support for starting ethernet driver after inet has been started 2005-12-09 13:25:30 +00:00
mq.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
mq.h Initial revision 2005-04-21 14:53:53 +00:00
osdep_eth.h Deal with crashing ethernet drivers 2005-10-21 16:51:21 +00:00
proto.h Prelim commit for ethernet driver crash recovery. 2005-10-21 11:51:45 +00:00
qp.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
qp.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
sha2.c Formatting fixes for the book 2005-08-29 16:47:18 +00:00
sha2.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
sr.c endpoint-aware conversion of servers. 2006-03-03 10:20:58 +00:00
sr_int.h Replaced REVIVE and select/notify with alert and DEV_STATUS. 2005-07-27 16:35:16 +00:00
stacktrace.c Initial revision 2005-04-21 14:53:53 +00:00
version.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00