* Description: This file includes subroutines which are related to
* programmed I/O and memory access. Included in this module
* are default functions that do nothing. For real uses these
-* functions will have to be overriden by the user library.
+* functions will have to be overridden by the user library.
*
****************************************************************************/
-#if defined(CONFIG_BIOSEMU)
-
+#include <common.h>
#include "x86emu/x86emui.h"
/*------------------------- Global Variables ------------------------------*/
sys_outl = funcs->outl;
}
+void X86EMU_setupIntrFunc(int intnum, X86EMU_intrFuncs func)
+{
+ _X86EMU_intrTab[intnum] = func;
+}
+
/****************************************************************************
PARAMETERS:
funcs - New interrupt vector table to make active
M.x86.R_IP = mem_access_word(num * 4);
M.x86.intr = 0;
}
-
-#endif