[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user-written interrupt handlers



Hello Eric,

> I would think that any user-supplied interrupt handlers should be provided
> as device drivers; they can then call into the kernel via the table that
> MiNT provides, and don't have to worry about going through trap #1.

Well, you can't call -any- kernel function from inside an interrupt
handler, can you? According to MiNT's docs, wakeselect() is the only one
which can be called safely from within an interrupt. It would be handy
if wake() could be called too (we could remove these silly napping loops
where the device driver is waiting for input or output to be ready).

Thierry.