From: Ben Gras Date: Mon, 21 Sep 2009 21:00:36 +0000 (+0000) Subject: unused, thanks david X-Git-Tag: v3.1.5~110 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=76a02db5e76e6ff322fcf645c4acc4aa628a3245;p=minix.git unused, thanks david --- diff --git a/servers/vm/asynsend.c b/servers/vm/asynsend.c deleted file mode 100644 index 19e04194b..000000000 --- a/servers/vm/asynsend.c +++ /dev/null @@ -1,67 +0,0 @@ - -#define _SYSTEM 1 - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -#include "proto.h" -#include "util.h" - -#define SENDSLOTS _NR_PROCS - -PRIVATE asynmsg_t msgtable[SENDSLOTS]; -PRIVATE size_t msgtable_n= SENDSLOTS; - -PUBLIC int asynsend(dst, mp) -endpoint_t dst; -message *mp; -{ - int i; - unsigned flags; - - /* Find slot in table */ - for (i= 0; i= msgtable_n) - vm_panic("asynsend: should resize table", i); - msgtable[i].dst= dst; - msgtable[i].msg= *mp; - msgtable[i].flags= AMF_VALID; /* Has to be last. The kernel - * scans this table while we are - * sleeping. - */ - - /* Tell the kernel to rescan the table */ - return senda(msgtable, msgtable_n); -} -