Go to file
Ben Gras 1335d5d700 'proc number' is process slot, 'endpoint' are generation-aware process
instance numbers, encoded and decoded using macros in <minix/endpoint.h>.

proc number -> endpoint migration
  . proc_nr in the interrupt hook is now an endpoint, proc_nr_e.
  . m_source for messages and notifies is now an endpoint, instead of
    proc number.
  . isokendpt() converts an endpoint to a process number, returns
    success (but fails if the process number is out of range, the
    process slot is not a living process, or the given endpoint
    number does not match the endpoint number in the process slot,
    indicating an old process).
  . okendpt() is the same as isokendpt(), but panic()s if the conversion
    fails. This is mainly used for decoding message.m_source endpoints,
    and other endpoint numbers in kernel data structures, which should
    always be correct.
  . if DEBUG_ENABLE_IPC_WARNINGS is enabled, isokendpt() and okendpt()
    get passed the __FILE__ and __LINE__ of the calling lines, and
    print messages about what is wrong with the endpoint number
    (out of range proc, empty proc, or inconsistent endpoint number),
    with the caller, making finding where the conversion failed easy
    without having to include code for every call to print where things
    went wrong. Sometimes this is harmless (wrong arg to a kernel call),
    sometimes it's a fatal internal inconsistency (bogus m_source).
  . some process table fields have been appended an _e to indicate it's
    become and endpoint.
  . process endpoint is stored in p_endpoint, without generation number.
    it turns out the kernel never needs the generation number, except
    when fork()ing, so it's decoded then.
  . kernel calls all take endpoints as arguments, not proc numbers.
    the one exception is sys_fork(), which needs to know in which slot
    to put the child.
2006-03-03 10:00:02 +00:00
boot Moved the print statement till after the K_CLAIM flag check after 2005-12-20 14:38:14 +00:00
commands Allow bigger sizes. 2006-02-24 12:53:54 +00:00
drivers LBA48 support. 2006-02-24 12:55:47 +00:00
etc It's not always initialization 2006-02-20 15:11:41 +00:00
include Changes to support endpoints. 2006-03-03 09:43:06 +00:00
kernel 'proc number' is process slot, 'endpoint' are generation-aware process 2006-03-03 10:00:02 +00:00
lib . rename message fields to endpoint variants 2006-03-03 09:44:55 +00:00
man *** empty log message *** 2006-02-13 13:10:53 +00:00
servers Don't include cdprobe any more 2006-02-24 12:56:06 +00:00
test Test fixes 2006-03-01 15:28:07 +00:00
tools Smaller device 2006-02-17 14:43:00 +00:00
LICENSE LICENSE taken from website instead of old PH license. 2006-01-05 16:58:38 +00:00
Makefile No more gmake in top makefile 2006-01-17 15:09:15 +00:00