[openfirmware] [commit] r2360 - cpu/x86/pc/olpc/via

repository service svn at openfirmware.info
Thu Jul 14 06:01:22 CEST 2011


Author: wmb
Date: Thu Jul 14 06:01:01 2011
New Revision: 2360
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2360

Log:
OLPC manufacturing tests - fixed a stack bug in an error path in smt.fth; perhaps that error path had never been executed.

Modified:
   cpu/x86/pc/olpc/via/smt.fth

Modified: cpu/x86/pc/olpc/via/smt.fth
==============================================================================
--- cpu/x86/pc/olpc/via/smt.fth	Thu Jul 14 05:58:52 2011	(r2359)
+++ cpu/x86/pc/olpc/via/smt.fth	Thu Jul 14 06:01:01 2011	(r2360)
@@ -7,7 +7,7 @@
 : fw-$compare ( $1 $2 -- $2>$1 )
 	base @ >r d# 36 base ! 		( $1 $2 )
 	$number if exit then		( $1 n2 )
-	-rot $number if exit then	( n2 n1 )
+	-rot $number if pop-base false exit then	( n2 n1 )
 	pop-base u<=
 ;
 



More information about the openfirmware mailing list