[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] hard irq by software?
> >
> > Is there any way to simulate a hardware irq?
> > I.e. how to call an IT handler "manually" but safely?
> >
>
> Do you want:
>
> - to do it with the hard interrupt flag disabled or not?
> - from user or kernel space, or both?
Actually I've already found a workaround.
I planned a hardware IT, whose handler could call a handler of another
hardware IT. I did not know how to disable the second kind of IT while the
first one is served by the same routine. Therefore I wanted to
raise a hard irq from software.
It sounds complicated, doesn't it? :-) Never mind. It works now.
Regards
Gabor