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

Re: IRQ masking and unmasking



----- Original Message -----
From: Mike Hibler <mike@fast.cs.utah.edu>
To: <lettieri@iet.unipi.it>; <oskit-users@fast.cs.utah.edu>
Sent: mercoledì 8 marzo 2000 19.29
Subject: Re: IRQ masking and unmasking


> I say "short-term" because calling do_bottom_half here at all is not
right.
> If an IRQ were shared between the linux_dev component and some other
> component (say, freebsd_dev) then the bottom_half handling could interfere
> with the other component's HW interrupt handling.  Note that shared IRQs
> within the linux_dev component are not a problem.
>

are you doing some work in that direction? I was thinking to add a new osenv
interface (someting like oskit_osenv_softirq...) to register/unregister,
mask/unmask and mark/unmark a software interrupt. mark_bh(...) and the like
would be redirected to this interface through glue code, while the actual
dispatching of the software interrupt would be done by
base_softintr_handle. Do you think it is a viable solution? I am sure I am
missing something, otherwise you would have already done it...

Another question: will asyncio interface ever be supported for linux block
devices?

Thanks for your attention,

Giuseppe Lettieri