From: Paolo G. <pao...@ti...> - 2003-09-11 15:31:02
|
> Is it ok if I remove the cli()/sti() from irq_bind() (it is the only > oslib function that protects itself with cli/sti)? In this way, the > responsibility for locking/unlocking is left to the kernel (right now, > this seems to me the correct thing to do...). > > Also, this would answer the "open question" in oq.txt (I forgot about it > ;-). >From my point of view, it should be that OSLib functions are not protected with cli/sti. That is, it is responsability of the upper layer (the kernel) to disable the interrupts when needed. That is at least what I always thought when I implemented the shark kernel layer... bye PJ -- Paolo Gai <pao...@ti...> Scuola S. Anna |