mirror of https://github.com/lianthony/NT4.0
57 lines
1.1 KiB
57 lines
1.1 KiB
/*[
|
|
|
|
intx.c
|
|
|
|
LOCAL CHAR SccsID[]="@(#)intx.c 1.5 02/09/94";
|
|
|
|
INT andISM323 CPU Functions.
|
|
----------------------------
|
|
|
|
]*/
|
|
|
|
|
|
#include <insignia.h>
|
|
|
|
#include <host_def.h>
|
|
#include <xt.h>
|
|
|
|
#include <c_main.h>
|
|
#include <c_addr.h>
|
|
#include <c_bsic.h>
|
|
#include <c_prot.h>
|
|
#include <c_seg.h>
|
|
#include <c_stack.h>
|
|
#include <c_xcptn.h>
|
|
#include <c_reg.h>
|
|
#include <intx.h>
|
|
#include <c_intr.h>
|
|
|
|
/*
|
|
=====================================================================
|
|
EXTERNAL ROUTINES STARTS HERE.
|
|
=====================================================================
|
|
*/
|
|
|
|
|
|
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
/*ISM32n orISM323. */
|
|
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
GLOBAL VOID
|
|
INTx
|
|
|
|
IFN1(
|
|
IU32, op1
|
|
)
|
|
|
|
|
|
{
|
|
#ifdef NTVDM
|
|
extern BOOL host_swint_hook IPT1(IS32, int_no);
|
|
|
|
if(GET_PE() && host_swint_hook((IS32) op1))
|
|
return; /* Interrupt processed by user defined handler */
|
|
#endif
|
|
|
|
EXT = INTERNAL;
|
|
do_intrupt((IU16)op1, TRUE, FALSE, (IU16)0);
|
|
}
|