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:
@@ -158,7 +158,7 @@ int bdev_sendrec(dev_t dev, const message *m_orig)
|
||||
m = *m_orig;
|
||||
m.BDEV_ID = NO_ID;
|
||||
|
||||
r = sendrec(endpt, &m);
|
||||
r = ipc_sendrec(endpt, &m);
|
||||
|
||||
/* If communication failed, the driver has died. We assume it will be
|
||||
* restarted soon after, so we attempt recovery. Upon success, we let the
|
||||
|
||||
@@ -46,7 +46,7 @@ int bdev_minor_reopen(dev_t dev)
|
||||
m.BDEV_ACCESS = open_dev[i].access;
|
||||
m.BDEV_ID = NO_ID;
|
||||
|
||||
if ((r = sendrec(endpt, &m)) != OK) {
|
||||
if ((r = ipc_sendrec(endpt, &m)) != OK) {
|
||||
printf("bdev: IPC to driver (%d) failed (%d)\n",
|
||||
endpt, r);
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user