summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bios_emulator/x86emu')
-rw-r--r--drivers/bios_emulator/x86emu/sys.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/bios_emulator/x86emu/sys.c b/drivers/bios_emulator/x86emu/sys.c
index 21f9730bec..0ba9c0c105 100644
--- a/drivers/bios_emulator/x86emu/sys.c
+++ b/drivers/bios_emulator/x86emu/sys.c
@@ -273,6 +273,11 @@ void X86EMU_setupPioFuncs(X86EMU_pioFuncs * funcs)
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