~jakub/helenos/ia64-revival

« back to all changes in this revision

Viewing changes to kernel/generic/include/ddi/irq.h

  • Committer: Jakub Jermar
  • Date: 2011-04-13 14:45:41 UTC
  • mfrom: (527.1.397 main-clone)
  • Revision ID: jakub@jermar.eu-20110413144541-x0j3r1zxqhsljx1o
MergeĀ mainlineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        CMD_PIO_READ_16,
54
54
        /** Read 4 bytes from the I/O space. */
55
55
        CMD_PIO_READ_32,
 
56
        
56
57
        /** Write 1 byte to the I/O space. */
57
58
        CMD_PIO_WRITE_8,
58
59
        /** Write 2 bytes to the I/O space. */
61
62
        CMD_PIO_WRITE_32,
62
63
        
63
64
        /**
64
 
         * Perform a bit test on the source argument and store the result into
65
 
         * the destination argument.
 
65
         * Write 1 byte from the source argument
 
66
         * to the I/O space.
 
67
         */
 
68
        CMD_PIO_WRITE_A_8,
 
69
        /**
 
70
         * Write 2 bytes from the source argument
 
71
         * to the I/O space.
 
72
         */
 
73
        CMD_PIO_WRITE_A_16,
 
74
        /**
 
75
         * Write 4 bytes from the source argument
 
76
         * to the I/O space.
 
77
         */
 
78
        CMD_PIO_WRITE_A_32,
 
79
        
 
80
        /**
 
81
         * Perform a bit masking on the source argument
 
82
         * and store the result into the destination argument.
66
83
         */
67
84
        CMD_BTEST,
68
85
        
69
86
        /**
70
 
         * Predicate the execution of the following N commands by the boolean
71
 
         * value of the source argument.
 
87
         * Predicate the execution of the following
 
88
         * N commands by the boolean value of the source
 
89
         * argument.
72
90
         */
73
91
        CMD_PREDICATE,
74
92
        
75
93
        /** Accept the interrupt. */
76
94
        CMD_ACCEPT,
 
95
        
77
96
        /** Decline the interrupt. */
78
97
        CMD_DECLINE,
79
98
        CMD_LAST
121
140
        bool notify;
122
141
        /** Answerbox for notifications. */
123
142
        answerbox_t *answerbox;
124
 
        /** Method to be used for the notification. */
125
 
        unative_t method;
 
143
        /** Interface and method to be used for the notification. */
 
144
        sysarg_t imethod;
126
145
        /** Arguments that will be sent if the IRQ is claimed. */
127
146
        uint32_t scratch[IPC_CALL_LEN];
128
147
        /** Top-half pseudocode. */
188
207
IRQ_SPINLOCK_EXTERN(irq_uspace_hash_table_lock);
189
208
extern hash_table_t irq_uspace_hash_table;
190
209
 
 
210
extern inr_t last_inr;
 
211
 
191
212
extern void irq_init(size_t, size_t);
192
213
extern void irq_initialize(irq_t *);
193
214
extern void irq_register(irq_t *);