Author: quozl Date: Thu Mar 29 05:36:18 2012 New Revision: 2932 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2932
Log: OLPC XO-1.75 XO-3 - add serial BREAK to keyboard interrupt support (already present on XO-1 and XO-1.5 in 16550 package)
Modified: cpu/arm/olpc/build-fw.fth
Modified: cpu/arm/olpc/build-fw.fth ============================================================================== --- cpu/arm/olpc/build-fw.fth Wed Mar 28 08:11:00 2012 (r2931) +++ cpu/arm/olpc/build-fw.fth Thu Mar 29 05:36:18 2012 (r2932) @@ -21,6 +21,9 @@
fload ${BP}/forth/lib/sysuart.fth \ Set console I/O vectors to UART
+: poll-tty ( -- ) ubreak? if user-abort then ; \ BREAK detection +: install-abort ( -- ) ['] poll-tty d# 100 alarm ; + 0 value keyboard-ih
fload ${BP}/ofw/core/muxdev.fth \ I/O collection/distribution device @@ -29,7 +32,7 @@ warning off : stand-init-io ( -- ) stand-init-io - inituarts install-uart-io + inituarts install-uart-io install-abort ; warning on
openfirmware@openfirmware.info