]> Zhao Yanbai Git Server - minix.git/commit
For common calls, give servers unique call numbers
authorDavid van Moolenbroek <david@minix3.org>
Mon, 28 Oct 2013 21:30:41 +0000 (22:30 +0100)
committerLionel Sambuc <lionel@minix3.org>
Sat, 1 Mar 2014 08:05:00 +0000 (09:05 +0100)
commit44d3230e40145622ed2b2aced74e62f42fbfa2d1
tree4aab264be41b8946c4e9e031c22a97417e5b108d
parent80bd109cd3fe770e7cbabc34ee1b44dcc0c8b239
For common calls, give servers unique call numbers

The getsysinfo(2), getrusage(2), and svrctl(2) calls used the same
call number to different services. Since we want to give each service
its own call number ranges, this is no longer tenable. This patch
introduces per-service call numbers for these calls.

Note that the remainder of the COMMON_ range is left intact, as these
the remaining requests in it are processed by SEF and thus server-
agnostic. The range should really be prefixed with SEF_ now.

Change-Id: I80d728bbeb98227359c525494c433965b40fefc3
14 files changed:
commands/svrctl/svrctl.c
include/minix/callnr.h
include/minix/com.h
lib/libc/sys-minix/getrusage.c
lib/libminlib/svrctl.c
lib/libsys/getsysinfo.c
servers/ds/main.c
servers/pm/main.c
servers/pm/table.c
servers/rs/main.c
servers/vfs/main.c
servers/vfs/misc.c
servers/vfs/proto.h
servers/vfs/table.c