Adding ipc_ prefix to ipc primitives

* Also change _orig to _intr for clarity
 * Cleaned up {IPC,KER}VEC
 * Renamed _minix_kernel_info_struct to get_minix_kerninfo
 * Merged _senda.S into _ipc.S
 * Moved into separate files get_minix_kerninfo and _do_kernel_call
 * Adapted do_kernel_call to follow same _ convention as ipc functions
 * Drop patches in libc/net/send.c and libc/include/namespace.h

Change-Id: If4ea21ecb65435170d7d87de6c826328e84c18d0
This commit is contained in:
2014-03-01 09:05:01 +01:00
parent a5f47c23d5
commit c3fc9df84a
118 changed files with 414 additions and 413 deletions
+7 -7
View File
@@ -1433,9 +1433,9 @@ static void fxp_getstat_s(message *mp)
panic("fxp_getstat_s: sys_safecopyto failed: %d", r);
mp->m_type= DL_STAT_REPLY;
r= send(mp->m_source, mp);
r= ipc_send(mp->m_source, mp);
if (r != OK)
panic("fxp_getstat_s: send failed: %d", r);
panic("fxp_getstat_s: ipc_send failed: %d", r);
}
/*===========================================================================*
@@ -1939,10 +1939,10 @@ fxp_t *fp;
reply.DL_FLAGS = flags;
reply.DL_COUNT = fp->fxp_read_s;
r= send(fp->fxp_client, &reply);
r= ipc_send(fp->fxp_client, &reply);
if (r < 0)
panic("fxp: send failed: %d", r);
panic("fxp: ipc_send failed: %d", r);
fp->fxp_read_s = 0;
fp->fxp_flags &= ~(FF_PACK_SENT | FF_PACK_RECV);
@@ -1955,7 +1955,7 @@ static void mess_reply(req, reply_mess)
message *req;
message *reply_mess;
{
if (send(req->m_source, reply_mess) != OK)
if (ipc_send(req->m_source, reply_mess) != OK)
panic("fxp: unable to mess_reply");
}
@@ -2183,10 +2183,10 @@ int pci_func;
m.m2_l1= buf;
m.m2_l2= size;
r= sendrec(dev_e, &m);
r= ipc_sendrec(dev_e, &m);
if (r != OK)
{
printf("fxp`tell_dev: sendrec to %d failed: %d\n",
printf("fxp`tell_dev: ipc_sendrec to %d failed: %d\n",
dev_e, r);
return;
}