Demote the 'byte-load: stack overflow' message so that it only appears when fcode-debug? is set to true. This is because the

stack is automatically corrected anyway, and is triggered by a bug in older versions of the OpenSolaris boot blocks. See the 
following for more information:

http://src.opensolaris.org/source/history/onnv/onnv-gate/usr/src/psm/stand/bootblks/common/boot.fth (rev 9941:eb1c075cb0e4)
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6803195

Anyone developing new Fcode under OpenBIOS is extremely likely to want fcode-debug? enabled during development, so this 
seems like a reasonable compromise.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@765 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-05-01 12:13:16 +00:00
committed by Mark Cave-Ayland
parent d2f9a689ac
commit 0c2f6e929d

View File

@@ -76,8 +76,10 @@ defer init-fcode-table
cr ." byte-load: exception caught!" cr
then
s" fcode-debug?" evaluate if
depth r@ <> if
cr ." byte-load: stack overflow, diff " depth r@ - . cr
cr ." byte-load: warning stack overflow, diff " depth r@ - . cr
then
then
r> depth! 3drop 3drop