gm2-libs/SysExceptions
DEFINITION MODULE SysExceptions ;
(*
Description: provides a mechanism for the underlying libraries to
configure the hardware exception routines either via
Posix signal or maybe an alternative method. Used by
both the ISO and PIM libraries. It is written to be
ISO compliant though.
*)
FROM SYSTEM IMPORT ADDRESS ;
TYPE
PROCEXCEPTION = PROCEDURE (ADDRESS) ;
PROCEDURE InitExceptionHandlers (indexf, range, casef, invalidloc,
function, wholevalue, wholediv,
realvalue, realdiv, complexvalue,
complexdiv, protection, systemf,
coroutine, exception: PROCEXCEPTION) ;
END SysExceptions.