mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Mark Cave-Ayland
parent
d2f9a689ac
commit
0c2f6e929d
@@ -76,8 +76,10 @@ defer init-fcode-table
|
||||
cr ." byte-load: exception caught!" cr
|
||||
then
|
||||
|
||||
depth r@ <> if
|
||||
cr ." byte-load: stack overflow, diff " depth r@ - . cr
|
||||
s" fcode-debug?" evaluate if
|
||||
depth r@ <> if
|
||||
cr ." byte-load: warning stack overflow, diff " depth r@ - . cr
|
||||
then
|
||||
then
|
||||
|
||||
r> depth! 3drop 3drop
|
||||
|
||||
Reference in New Issue
Block a user