Subversion Repositories HelenOS

Rev

Rev 1625 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1625 Rev 1693
Line 55... Line 55...
55
 
55
 
56
typedef struct {
56
typedef struct {
57
    irq_cmd_type cmd;
57
    irq_cmd_type cmd;
58
    void *addr;
58
    void *addr;
59
    unsigned long long value;
59
    unsigned long long value;
-
 
60
    int dstarg;
60
} irq_cmd_t;
61
} irq_cmd_t;
61
 
62
 
62
typedef struct {
63
typedef struct {
63
    unsigned int cmdcount;
64
    unsigned int cmdcount;
64
    irq_cmd_t *cmds;
65
    irq_cmd_t *cmds;
Line 69... Line 70...
69
#include <ipc/ipc.h>
70
#include <ipc/ipc.h>
70
 
71
 
71
extern void ipc_irq_make_table(int irqcount);
72
extern void ipc_irq_make_table(int irqcount);
72
extern int ipc_irq_register(answerbox_t *box, int irq, irq_code_t *ucode);
73
extern int ipc_irq_register(answerbox_t *box, int irq, irq_code_t *ucode);
73
extern void ipc_irq_send_notif(int irq);
74
extern void ipc_irq_send_notif(int irq);
74
extern void ipc_irq_send_msg(int irq, __native a2, __native a3);
75
extern void ipc_irq_send_msg(int irq, __native a1, __native a2, __native a3);
75
extern void ipc_irq_unregister(answerbox_t *box, int irq);
76
extern void ipc_irq_unregister(answerbox_t *box, int irq);
76
extern void irq_ipc_bind_arch(__native irq);
77
extern void irq_ipc_bind_arch(__native irq);
77
extern void ipc_irq_cleanup(answerbox_t *box);
78
extern void ipc_irq_cleanup(answerbox_t *box);
78
 
79
 
79
#endif
80
#endif