Changeset 7ffdcbd in mainline
- Timestamp:
- 2019-10-06T19:47:36Z (5 years ago)
- Children:
- ae004bc
- Parents:
- 5be6361
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-10-06 19:43:50)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-10-06 19:47:36)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/abi/ipc/interfaces.h
r5be6361 r7ffdcbd 82 82 typedef enum { 83 83 INTERFACE_ANY = 0, 84 INTERFACE_LOADER =85 FOURCC_COMPACT('l', 'o', 'a', 'd') | IFACE_EXCHANGE_SERIALIZE,86 84 INTERFACE_PAGER = 87 85 FOURCC_COMPACT('p', 'a', 'g', 'e') | IFACE_EXCHANGE_ATOMIC, … … 190 188 INTERFACE_TASKMAN_CB = 191 189 FOURCC_COMPACT('t', 'a', 's', 'k') | IFACE_EXCHANGE_SERIALIZE | IFACE_MOD_CALLBACK, 192 INTERFACE_NS =193 FOURCC_COMPACT('n', 's', ' ', ' ') | IFACE_EXCHANGE_ATOMIC,194 190 INTERFACE_SYSMAN = 195 191 FOURCC_COMPACT('s', 'y', 's', 'm') | IFACE_EXCHANGE_SERIALIZE -
uspace/lib/c/generic/taskman.c
r5be6361 r7ffdcbd 69 69 async_exchange_end(exch); 70 70 } 71 71 #include <stdio.h> 72 72 /** Wrap PHONE_INITIAL with session and introduce to taskman 73 73 */ … … 101 101 async_exch_t *exch = taskman_exchange_begin(); 102 102 103 async_sess_t *sess = async_connect_me_to(exch, INTERFACE_ NS,103 async_sess_t *sess = async_connect_me_to(exch, INTERFACE_ANY, 104 104 TASKMAN_CONNECT_TO_NS, 0); 105 105 taskman_exchange_end(exch); … … 112 112 { 113 113 async_exch_t *exch = taskman_exchange_begin(); 114 async_sess_t *sess = async_connect_me_to(exch, INTERFACE_ LOADER,114 async_sess_t *sess = async_connect_me_to(exch, INTERFACE_ANY, 115 115 TASKMAN_CONNECT_TO_LOADER, 0); 116 116 taskman_exchange_end(exch); … … 135 135 { 136 136 async_exch_t *exch = taskman_exchange_begin(); 137 errno_t rc = async_connect_to_me(exch, INTERFACE_ LOADER, TASKMAN_LOADER_CALLBACK, 0);137 errno_t rc = async_connect_to_me(exch, INTERFACE_ANY, TASKMAN_LOADER_CALLBACK, 0); 138 138 taskman_exchange_end(exch); 139 139 … … 150 150 aid_t req = async_send_0(exch, TASKMAN_I_AM_NS, NULL); 151 151 152 errno_t rc = async_connect_to_me(exch, INTERFACE_ NS, 0, 0);152 errno_t rc = async_connect_to_me(exch, INTERFACE_ANY, 0, 0); 153 153 taskman_exchange_end(exch); 154 154 155 155 if (rc != EOK) { 156 async_forget(req); 156 157 return rc; 157 158 } -
uspace/lib/c/include/ipc/common.h
r5be6361 r7ffdcbd 40 40 41 41 /* Well known phone descriptors */ 42 #define PHONE_INITIAL 0 43 42 static cap_phone_handle_t const PHONE_INITIAL = (cap_phone_handle_t) (CAP_NIL + 1); 44 43 #define IPC_FLAG_BLOCKING 0x01 45 44
Note:
See TracChangeset
for help on using the changeset viewer.