Rev 2471 | Rev 3761 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2471 | Rev 2626 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | #include <adt/list.h> |
44 | #include <adt/list.h> |
45 | 45 | ||
46 | extern int ipc_irq_register(answerbox_t *box, inr_t inr, devno_t devno, |
46 | extern int ipc_irq_register(answerbox_t *box, inr_t inr, devno_t devno, |
47 | unative_t method, irq_code_t *ucode); |
47 | unative_t method, irq_code_t *ucode); |
48 | extern void ipc_irq_send_notif(irq_t *irq); |
48 | extern void ipc_irq_send_notif(irq_t *irq); |
49 | extern void ipc_irq_send_msg(irq_t *irq, unative_t a1, unative_t a2, |
- | |
50 | unative_t a3); |
- | |
51 | extern void ipc_irq_unregister(answerbox_t *box, inr_t inr, devno_t devno); |
49 | extern void ipc_irq_unregister(answerbox_t *box, inr_t inr, devno_t devno); |
52 | extern void ipc_irq_cleanup(answerbox_t *box); |
50 | extern void ipc_irq_cleanup(answerbox_t *box); |
53 | 51 | ||
- | 52 | /* |
|
- | 53 | * User friendly wrappers for ipc_irq_send_msg(). They are in the form |
|
- | 54 | * ipc_irq_send_msg_m(), where m is the number of payload arguments. |
|
- | 55 | */ |
|
- | 56 | #define ipc_irq_send_msg_1(irq, a1) \ |
|
- | 57 | ipc_irq_send_msg((irq), (a1), 0, 0, 0, 0) |
|
- | 58 | #define ipc_irq_send_msg_2(irq, a1, a2) \ |
|
- | 59 | ipc_irq_send_msg((irq), (a1), (a2), 0, 0, 0) |
|
- | 60 | #define ipc_irq_send_msg_3(irq, a1, a2, a3) \ |
|
- | 61 | ipc_irq_send_msg((irq), (a1), (a2), (a3), 0, 0) |
|
- | 62 | #define ipc_irq_send_msg_4(irq, a1, a2, a3, a4) \ |
|
- | 63 | ipc_irq_send_msg((irq), (a1), (a2), (a3), (a4), 0) |
|
- | 64 | #define ipc_irq_send_msg_5(irq, a1, a2, a3, a4, a5) \ |
|
- | 65 | ipc_irq_send_msg((irq), (a1), (a2), (a3), (a4), (a5)) |
|
- | 66 | ||
- | 67 | extern void ipc_irq_send_msg(irq_t *irq, unative_t a1, unative_t a2, |
|
- | 68 | unative_t a3, unative_t a4, unative_t a5); |
|
- | 69 | ||
54 | #endif |
70 | #endif |
55 | 71 | ||
56 | /** @} |
72 | /** @} |
57 | */ |
73 | */ |