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:
2013-11-01 13:34:14 +01:00
parent a5f47c23d5
commit c3fc9df84a
118 changed files with 414 additions and 413 deletions

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