Changeset 0a8f070 in mainline for uspace/lib/c/include
- Timestamp:
- 2019-08-07T02:33:03Z (6 years ago)
- Children:
- fe86d9d
- Parents:
- 103939e
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-08-16 16:04:14)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 02:33:03)
- Location:
- uspace/lib/c/include
- Files:
-
- 1 added
- 4 edited
- 1 moved
-
async.h (modified) (2 diffs)
-
ipc/services.h (modified) (1 diff)
-
ipc/taskman.h (moved) (moved from uspace/srv/ns/clonable.h ) (2 diffs)
-
loader/pcb.h (modified) (2 diffs)
-
ns.h (modified) (1 diff)
-
taskman.h (added)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/async.h
r103939e r0a8f070 131 131 extern void *async_get_client_data_by_id(task_id_t); 132 132 extern void async_put_client_data_by_id(task_id_t); 133 134 extern void async_set_implicit_connection(async_client_conn_t); 133 135 134 136 extern errno_t async_create_port(iface_t, async_port_handler_t, void *, … … 274 276 extern sysarg_t async_get_label(void); 275 277 278 extern async_sess_t *async_session_primary_swap(async_sess_t *); 276 279 extern async_sess_t *async_connect_me_to(async_exch_t *, iface_t, sysarg_t, 277 280 sysarg_t); -
uspace/lib/c/include/ipc/services.h
r103939e r0a8f070 43 43 typedef enum { 44 44 SERVICE_NONE = 0, 45 SERVICE_LOADER = FOURCC('l', 'o', 'a', 'd'),46 45 SERVICE_VFS = FOURCC('v', 'f', 's', ' '), 47 46 SERVICE_LOC = FOURCC('l', 'o', 'c', ' '), 48 47 SERVICE_SYSMAN = FOURCC('s', 'y', 's', 'm'), 48 SERVICE_TASKMAN = FOURCC('t', 's', 'k', 'm'), 49 49 SERVICE_LOGGER = FOURCC('l', 'o', 'g', 'g'), 50 50 SERVICE_DEVMAN = FOURCC('d', 'e', 'v', 'n'), -
uspace/lib/c/include/ipc/taskman.h
r103939e r0a8f070 1 1 /* 2 * Copyright (c) 20 09 Martin Decky2 * Copyright (c) 2015 Michal Koutny 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup ns29 /** @addtogroup libcipc 30 30 * @{ 31 31 */ 32 /** @file 33 */ 32 34 33 #ifndef NS_CLONABLE_H__34 #define NS_CLONABLE_H__35 #ifndef LIBC_IPC_TASKMAN_H_ 36 #define LIBC_IPC_TASKMAN_H_ 35 37 36 38 #include <ipc/common.h> 37 #include <ipc/services.h>38 #include <abi/ipc/interfaces.h>39 #include <stdbool.h>40 39 41 extern errno_t ns_clonable_init(void);42 40 43 extern bool ns_service_is_clonable(service_t, iface_t); 44 extern void ns_clonable_register(ipc_call_t *); 45 extern void ns_clonable_forward(service_t, iface_t, ipc_call_t *); 41 typedef enum { 42 TASKMAN_HELLO = IPC_FIRST_USER_METHOD, 43 } taskman_request_t; 44 45 typedef enum { 46 TASKMAN_CONNECT_TO_LOADER = 0, 47 TASKMAN_LOADER_TO_NS, 48 TASKMAN_LOADER_CALLBACK, 49 TASKMAN_CONTROL 50 } taskman_interface_t; 46 51 47 52 #endif 48 53 49 /** 50 * @} 54 /** @} 51 55 */ -
uspace/lib/c/include/loader/pcb.h
r103939e r0a8f070 46 46 }; 47 47 48 /* Forward declaration */ 49 struct async_sess; 50 typedef struct async_sess async_sess_t; 51 48 52 /** Program Control Block. 49 53 * … … 57 61 entry_point_t entry; 58 62 63 /** Primary session to broker. */ 64 async_sess_t *session_primary; 65 59 66 /** Current working directory. */ 60 67 char *cwd; -
uspace/lib/c/include/ns.h
r103939e r0a8f070 47 47 48 48 extern errno_t ns_ping(void); 49 extern errno_t ns_intro(task_id_t);50 49 extern async_sess_t *ns_session_get(void); 51 50
Note:
See TracChangeset
for help on using the changeset viewer.
