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:
+1
-1
@@ -99,7 +99,7 @@ int main(int argc, char *argv[])
|
||||
printf("IPC: error for %d: %d\n",
|
||||
call_type, result);
|
||||
|
||||
if ((r = sendnb(who_e, &m)) != OK)
|
||||
if ((r = ipc_sendnb(who_e, &m)) != OK)
|
||||
printf("IPC send error %d.\n", r);
|
||||
}
|
||||
} else {
|
||||
|
||||
+2
-2
@@ -103,7 +103,7 @@ static void send_message_to_process(endpoint_t who, int ret, int ignore)
|
||||
message m;
|
||||
|
||||
m.m_type = ret;
|
||||
sendnb(who, &m);
|
||||
ipc_sendnb(who, &m);
|
||||
}
|
||||
|
||||
static void remove_semaphore(struct sem_struct *sem)
|
||||
@@ -576,7 +576,7 @@ out:
|
||||
if (r != OK || !no_reply) {
|
||||
m->m_type = r;
|
||||
|
||||
sendnb(who_e, m);
|
||||
ipc_sendnb(who_e, m);
|
||||
}
|
||||
|
||||
/* awaken process if possible */
|
||||
|
||||
Reference in New Issue
Block a user