Changeset 5626277 in mainline for generic/include/ipc
- Timestamp:
- 2006-04-29T22:12:40Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 51a7dc1
- Parents:
- 407862e
- Location:
- generic/include/ipc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/ipc/ipc.h
r407862e r5626277 44 44 #define IPC_CALL_FORWARDED (1<<3) /* Call was forwarded */ 45 45 #define IPC_CALL_CONN_ME_TO (1<<4) /* Identify connect_me_to */ 46 #define IPC_CALL_NOTIF (1<<5) /* Interrupt notification */ 46 47 47 48 /* Flags for ipc_wait_for_call */ … … 120 121 */ 121 122 #define IPC_M_PHONE_HUNGUP 3 123 /** Interrupt notification */ 124 #define IPC_M_INTERRUPT 4 122 125 123 126 … … 155 158 156 159 link_t answers; /**< Answered calls */ 160 161 SPINLOCK_DECLARE(irq_lock); 162 link_t irq_notifs; /**< Notifications from IRQ handlers */ 157 163 }; 158 164 … … 196 202 extern void ipc_phone_connect(phone_t *phone, answerbox_t *box); 197 203 extern void ipc_call_free(call_t *call); 198 extern call_t * ipc_call_alloc( void);204 extern call_t * ipc_call_alloc(int flags); 199 205 extern void ipc_answerbox_init(answerbox_t *box); 200 206 extern void ipc_call_static_init(call_t *call); … … 205 211 extern void ipc_backsend_err(phone_t *phone, call_t *call, __native err); 206 212 213 extern int ipc_irq_register(answerbox_t *box, int irq); 214 extern void ipc_irq_send_notif(int irq); 215 extern void ipc_irq_unregister(answerbox_t *box, int irq); 216 217 207 218 extern answerbox_t *ipc_phone_0; 208 219 -
generic/include/ipc/sysipc.h
r407862e r5626277 30 30 #define __SYSIPC_H__ 31 31 32 #include <ipc/ipc.h> 33 32 34 __native sys_ipc_call_sync_fast(__native phoneid, __native method, 33 35 __native arg1, ipc_data_t *data); … … 44 46 __native method, __native arg1); 45 47 __native sys_ipc_hangup(int phoneid); 48 __native sys_ipc_register_irq(__native irq); 49 __native sys_ipc_unregister_irq(__native irq); 46 50 51 void irq_ipc_bind_arch(__native irq); 47 52 48 53 #endif
Note:
See TracChangeset
for help on using the changeset viewer.