[OpenBIOS] r686 - cpu/x86/pc/olpc
svn at openbios.org
svn at openbios.org
Thu Oct 18 23:26:57 CEST 2007
Author: wmb
Date: 2007-10-18 23:26:57 +0200 (Thu, 18 Oct 2007)
New Revision: 686
Modified:
cpu/x86/pc/olpc/fw.bth
Log:
OLPC suspend/resume - Added configed-out code to checksum memory around
suspend/resume. Enable it for specific test builds. OLPC trac #4223.
(this commit goes with the last one; I missed a file).
Modified: cpu/x86/pc/olpc/fw.bth
===================================================================
--- cpu/x86/pc/olpc/fw.bth 2007-10-18 21:25:41 UTC (rev 685)
+++ cpu/x86/pc/olpc/fw.bth 2007-10-18 21:26:57 UTC (rev 686)
@@ -268,9 +268,6 @@
disable-interrupts
[ifdef] rom-loaded
d# 300
- h# 1454 pl@ 2 and if
- ." Interacting due to botched resume" cr hex interact
- then
i-key-wait if
\ " patch false fast-boot? startup" eval
." Interacting" cr hex interact
@@ -507,6 +504,15 @@
" keyboard" open-dev ?dup if set-stdin then
;
+: ?resume-botch
+ h# 1454 pl@ 2 and if
+ red-letters
+ ." Interacting due to botched resume" cr
+ black-letters
+ hex interact
+ then
+;
+
: startup ( -- )
standalone? 0= if exit then
@@ -514,6 +520,8 @@
console-start
+ ?resume-botch
+
board-revision 0= if
." EC problem - remove all power and restart" cr
begin again
More information about the OpenBIOS
mailing list