Subversion Repositories HelenOS-historic

Rev

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

Rev 1702 Rev 1724
Line 166... Line 166...
166
 
166
 
167
}
167
}
168
 
168
 
169
static void ipc_int(int n, istate_t *istate)
169
static void ipc_int(int n, istate_t *istate)
170
{
170
{
171
    trap_virtual_eoi();
-
 
172
    ipc_irq_send_notif(n-IVT_IRQBASE);
171
    ipc_irq_send_notif(n-IVT_IRQBASE);
-
 
172
    trap_virtual_eoi();
173
}
173
}
174
 
174
 
175
 
175
 
176
/* Reregister irq to be IPC-ready */
176
/* Reregister irq to be IPC-ready */
177
void irq_ipc_bind_arch(__native irq)
177
void irq_ipc_bind_arch(__native irq)
178
{
178
{
179
    if (irq == IRQ_CLK)
179
    if (irq == IRQ_CLK)
180
        return;
180
        return;
181
    exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int);
181
    exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int);
-
 
182
    trap_virtual_enable_irqs(1 << irq);
182
}
183
}
183
 
184
 
184
 /** @}
185
 /** @}
185
 */
186
 */
186
 
187