Source-Changes archive

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

NetBSD master CVS tree commits



scottr
Fri Mar 20 23:45:59 PST 1998
Update of /cvsroot/src/sys/arch/hp300/hp300
In directory nb00:/tmp/cvs-serv21475

Modified Files:
        leds.c 
Log Message:
Charles Hannum pointed out that if a clock interrupt was posted while
we were in ledcontrol(), the heartbeat twinkler would just punt on
updating the LED even though it had already updated the status.  (This
was broken in v1.73 of locore.s).

Rather than resurrect the old code, simplify ledcontrol() and don't
bother with mutual exclusion.  As mentioned by the comments describing
this function, we really don't need to be that precise.  We do, however,
want to guarantee instructions that modify the status variable directly,
so the function is now primarily inline assembly.




Home | Main Index | Thread Index | Old Index