[openfirmware] [commit] r2320 - dev

repository service svn at openfirmware.info
Thu Jun 30 10:24:41 CEST 2011


Author: wmb
Date: Thu Jun 30 10:24:40 2011
New Revision: 2320
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2320

Log:
This goes with the last checkin - added locking around kbd-reset so it will work when the alarm handler is enabled.

Modified:
   dev/pckbd.fth

Modified: dev/pckbd.fth
==============================================================================
--- dev/pckbd.fth	Thu Jun 30 10:22:57 2011	(r2319)
+++ dev/pckbd.fth	Thu Jun 30 10:24:40 2011	(r2320)
@@ -193,9 +193,11 @@
 : toggle-leds  ( led-mask -- )  led-state xor  set-leds  ;
 
 : kbd-reset  ( -- failed-reset? )
+   lock
    \ Send kbd reset command
    h# ff cmd
    get-data  h# aa <>
+   unlock
 ;
 
 : do-esc  ( char -- ESC )



More information about the openfirmware mailing list