|
From: Luca A. <luc...@em...> - 2003-09-11 15:03:14
|
Hi all,
> > oslib/kl/intevt.c:65 return in line 70 without sti, also warning in comments
> bug
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
;-).
> > oslib/kl/intevt.c:111: cli() possible without sti after? or are we deep in something else
> should be ok...
Yes, it is ok. It is re-disabling the interrupts that have been enabled
at line 106.
Luca
--
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
N O W A R ! ! !
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Con KLM puoi risparmiare fino a 20 Euro sul tuo biglietto aereo prenotando on line per Usa, Europa e il resto del mondo
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1259&d=11-9
|