Subversion Repositories HelenOS-historic

Rev

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

Rev 1595 Rev 1690
Line 183... Line 183...
183
 
183
 
184
}
184
}
185
 
185
 
186
static void ipc_int(int n, istate_t *istate)
186
static void ipc_int(int n, istate_t *istate)
187
{
187
{
188
    trap_virtual_eoi();
-
 
189
    ipc_irq_send_notif(n-IVT_IRQBASE);
188
    ipc_irq_send_notif(n-IVT_IRQBASE);
-
 
189
    trap_virtual_eoi();
190
}
190
}
191
 
191
 
192
 
192
 
193
/* Reregister irq to be IPC-ready */
193
/* Reregister irq to be IPC-ready */
194
void irq_ipc_bind_arch(__native irq)
194
void irq_ipc_bind_arch(__native irq)
195
{
195
{
196
    if (irq == IRQ_CLK)
196
    if (irq == IRQ_CLK)
197
        return;
197
        return;
-
 
198
    trap_virtual_enable_irqs(1 << irq);
198
    exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int);
199
    exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int);
199
}
200
}