Changeset 519a97d in mainline
- Timestamp:
- 2016-08-28T15:17:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d351e6
- Parents:
- 75b139f
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/abi/ipc/interfaces.h
r75b139f r519a97d 81 81 INTERFACE_LOADER = 82 82 FOURCC_COMPACT('l', 'o', 'a', 'd') | IFACE_EXCHANGE_SERIALIZE, 83 INTERFACE_PAGER = 84 FOURCC_COMPACT('p', 'a', 'g', 'e') | IFACE_EXCHANGE_ATOMIC, 83 85 INTERFACE_LOGGER_WRITER = 84 86 FOURCC_COMPACT('l', 'o', 'g', 'w') | IFACE_EXCHANGE_SERIALIZE, -
uspace/srv/vfs/vfs.c
r75b139f r519a97d 51 51 #define NAME "vfs" 52 52 53 static void vfs_pager(ipc_callid_t iid, ipc_call_t *icall, void *arg) 54 { 55 async_answer_0(iid, ENOTSUP); 56 } 57 53 58 static void vfs_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg) 54 59 { … … 150 155 int main(int argc, char **argv) 151 156 { 157 int rc; 158 152 159 printf("%s: HelenOS VFS server\n", NAME); 153 160 … … 179 186 180 187 /* 188 * Create a port for the pager. 189 */ 190 port_id_t port; 191 rc = async_create_port(INTERFACE_PAGER, vfs_pager, NULL, &port); 192 if (rc != EOK) 193 return rc; 194 195 /* 181 196 * Set a connection handling function/fibril. 182 197 */ … … 192 207 * Register at the naming service. 193 208 */ 194 intrc = service_register(SERVICE_VFS);209 rc = service_register(SERVICE_VFS); 195 210 if (rc != EOK) { 196 211 printf("%s: Cannot register VFS service\n", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.