From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/gio/stdgraph/stgonint.x | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys/gio/stdgraph/stgonint.x (limited to 'sys/gio/stdgraph/stgonint.x') diff --git a/sys/gio/stdgraph/stgonint.x b/sys/gio/stdgraph/stgonint.x new file mode 100644 index 00000000..2aed03ee --- /dev/null +++ b/sys/gio/stdgraph/stgonint.x @@ -0,0 +1,21 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include +include +include "stdgraph.h" + +# STG_ONINT -- Interrupt handler for the stdgraph kernel. If an interrupt +# occurs while we are posted to an exception, branch to the last ZSVJMP. +# (This library procedure is not currently used by the kernel). + +procedure stg_onint (vex, next_handler) + +int vex # virtual exception +int next_handler # next exception handler in chain +int jmpbuf[LEN_JUMPBUF] +common /stgxin/ jmpbuf + +begin + call xer_reset() + call zdojmp (jmpbuf, vex) +end -- cgit