[openfirmware] [commit] r1944 - cpu/x86/pc/olpc/via
repository service
svn at openfirmware.info
Mon Aug 30 20:31:05 CEST 2010
Author: wmb
Date: Mon Aug 30 20:31:04 2010
New Revision: 1944
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1944
Log:
OLPC XO-1.5 - trac 10344 - Fixed the kb-suspend command to freeze
the screen properly, so it doesn't fade out between keystrokes.
Modified:
cpu/x86/pc/olpc/via/suspend.fth
Modified: cpu/x86/pc/olpc/via/suspend.fth
==============================================================================
--- cpu/x86/pc/olpc/via/suspend.fth Mon Aug 30 20:15:35 2010 (r1943)
+++ cpu/x86/pc/olpc/via/suspend.fth Mon Aug 30 20:31:04 2010 (r1944)
@@ -38,13 +38,6 @@
d# 10 set-tick-limit
]unlock
;
-: kb-suspend ( -- )
- sci-wakeup
- begin
- begin 1 ms key? while key dup [char] q = abort" Quit" emit repeat
- s3
- again
-;
: s3-no-usb ( -- )
audio-ih if audio-ih close-dev 0 to audio-ih then
" video-save" screen-ih $call-method \ Freeze display
@@ -58,6 +51,13 @@
resume-usb
;
alias s s3-suspend
+: kb-suspend ( -- )
+ sci-wakeup
+ begin
+ begin 1 ms key? while key dup [char] q = abort" Quit" emit repeat
+ s3-no-usb
+ again
+;
\ LICENSE_BEGIN
\ Copyright (c) 2007 FirmWorks
More information about the openfirmware
mailing list