[openfirmware] [commit] r3497 - cpu/arm/olpc

repository service svn at openfirmware.info
Fri Dec 14 15:35:11 CET 2012


Author: wmb
Date: Fri Dec 14 15:35:10 2012
New Revision: 3497
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3497

Log:
OLPC ARM - The SP command protocol had redundant "unlock"s that may have caused conflicts between foreground and interrupt queue polling.

Modified:
   cpu/arm/olpc/spcmd.fth

Modified: cpu/arm/olpc/spcmd.fth
==============================================================================
--- cpu/arm/olpc/spcmd.fth	Fri Dec 14 08:32:27 2012	(r3496)
+++ cpu/arm/olpc/spcmd.fth	Fri Dec 14 15:35:10 2012	(r3497)
@@ -80,14 +80,12 @@
 ;
 
 : deque?  ( channel# -- false | entry true )
-   lock
-   select-queue  if  unlock false exit  then
+   select-queue  if  false exit  then
    head @  tail @  <>  if
       q head @ ca+ c@   head inc-q-ptr  true
    else
       false
    then
-   unlock
 ;
 
 0 value reg-base



More information about the openfirmware mailing list