Change the sysdebug exception() callback so that it is now a function pointer, rather than a function. This enables us to setup an appropriate exception handler

for the task in hand; in particular it allows us to distinguish between an error that occurs when attempting to execute a base dictionary, and an error that 
occurs when interpreting source.

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


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@705 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-03-24 11:49:41 +00:00
committed by Mark Cave-Ayland
parent 5c73290696
commit a288b3044b
3 changed files with 61 additions and 17 deletions

View File

@@ -34,7 +34,7 @@ extern xt_t findword(const char *s1);
extern void modules_init( void );
/* arch kernel hooks */
extern void exception(cell no);
extern void (*exception)(cell no);
#ifdef FCOMPILER
extern void include_file( const char *str );