Changeset 8820544 in mainline for uspace/lib/c/include
- Timestamp:
- 2014-08-16T00:02:04Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 35b8bfe, 8cd680c
- Parents:
- 83f29e0
- Location:
- uspace/lib/c/include
- Files:
-
- 1 added
- 2 edited
- 1 moved
-
async.h (modified) (3 diffs)
-
ddi.h (modified) (1 diff)
-
ipc/event.h (moved) (moved from uspace/lib/c/include/event.h ) (1 diff)
-
ipc/irq.h (added)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/async.h
r83f29e0 r8820544 46 46 #include <stdbool.h> 47 47 #include <task.h> 48 #include <abi/ddi/irq.h> 49 #include <abi/ipc/event.h> 48 50 49 51 typedef ipc_callid_t aid_t; … … 62 64 typedef void (*async_client_conn_t)(ipc_callid_t, ipc_call_t *, void *); 63 65 64 /** Interrupt handler */ 65 typedef void (*async_interrupt_handler_t)(ipc_callid_t, ipc_call_t *); 66 /** Notification handler */ 67 typedef void (*async_notification_handler_t)(ipc_callid_t, ipc_call_t *, 68 void *); 66 69 67 70 /** Exchange management style … … 155 158 156 159 extern void async_set_client_connection(async_client_conn_t); 157 extern void async_set_interrupt_received(async_interrupt_handler_t); 158 extern void async_set_interrupt_handler_stack_size(size_t); 160 extern void async_set_notification_handler_stack_size(size_t); 161 162 extern int async_irq_subscribe(int, int, async_notification_handler_t, void *, 163 const irq_code_t *); 164 extern int async_irq_unsubscribe(int, int); 165 166 extern int async_event_subscribe(event_type_t, async_notification_handler_t, 167 void *); 168 extern int async_event_task_subscribe(event_task_type_t, 169 async_notification_handler_t, void *); 170 extern int async_event_unsubscribe(event_type_t); 171 extern int async_event_task_unsubscribe(event_task_type_t); 172 extern int async_event_unmask(event_type_t); 173 extern int async_event_task_unmask(event_task_type_t); 159 174 160 175 /* -
uspace/lib/c/include/ddi.h
r83f29e0 r8820544 130 130 } 131 131 132 extern int irq_register(int, int, int, const irq_code_t *);133 extern int irq_unregister(int, int);134 135 132 #endif 136 133 -
uspace/lib/c/include/ipc/event.h
r83f29e0 r8820544 33 33 */ 34 34 35 #ifndef LIBC_ EVENT_H_36 #define LIBC_ EVENT_H_35 #ifndef LIBC_IPC_EVENT_H_ 36 #define LIBC_IPC_EVENT_H_ 37 37 38 38 #include <abi/ipc/event.h> 39 39 #include <libarch/types.h> 40 40 41 extern int event_subscribe(event_type_t, sysarg_t); 42 extern int event_task_subscribe(event_task_type_t, sysarg_t); 43 extern int event_unmask(event_type_t); 44 extern int event_task_unmask(event_task_type_t); 41 extern int ipc_event_subscribe(event_type_t, sysarg_t); 42 extern int ipc_event_task_subscribe(event_task_type_t, sysarg_t); 43 extern int ipc_event_unsubscribe(event_type_t); 44 extern int ipc_event_task_unsubscribe(event_task_type_t); 45 extern int ipc_event_unmask(event_type_t); 46 extern int ipc_event_task_unmask(event_task_type_t); 45 47 46 48 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
