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
+3 -3
View File
@@ -172,7 +172,7 @@ static void got_result(result_t *res, char *desc)
output("- driver died\n");
break;
case RESULT_COMMFAIL:
output("- communication failed; sendrec returned %d\n",
output("- communication failed; ipc_sendrec returned %d\n",
res->value);
break;
case RESULT_BADTYPE:
@@ -229,7 +229,7 @@ static void reopen_device(dev_t minor)
m.BDEV_ACCESS = (may_write) ? (BDEV_R_BIT | BDEV_W_BIT) : BDEV_R_BIT;
m.BDEV_ID = 0;
(void) sendrec(driver_endpt, &m);
(void) ipc_sendrec(driver_endpt, &m);
}
static int sendrec_driver(message *m_ptr, ssize_t exp, result_t *res)
@@ -245,7 +245,7 @@ static int sendrec_driver(message *m_ptr, ssize_t exp, result_t *res)
m_orig = *m_ptr;
r = sendrec(driver_endpt, m_ptr);
r = ipc_sendrec(driver_endpt, m_ptr);
if (r == EDEADSRCDST) {
/* The driver has died. Find its new endpoint, and reopen all
+1 -1
View File
@@ -70,7 +70,7 @@ int main(int argc, char **argv)
m.m_type = do_request(&m);
send(m.m_source, &m);
ipc_send(m.m_source, &m);
}
return 0;
+1 -1
View File
@@ -253,7 +253,7 @@ static int relay_vumap(struct vumap_vir *vvec, int vcount, size_t offset,
m.VTR_PGRANT = pgrant;
m.VTR_PCOUNT = *pcount;
r = sendrec(endpt, &m);
r = ipc_sendrec(endpt, &m);
cpf_revoke(pgrant);
cpf_revoke(vgrant);