aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sky-pke.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>1998-06-10 17:07:10 +0000
committerFrank Ch. Eigler <fche@redhat.com>1998-06-10 17:07:10 +0000
commitb8790963359795b90a2ba6262d6df8496070f151 (patch)
treef574c1550f6c46d86439f28b70ce1bf64fc399f9 /sim/mips/sky-pke.c
parenta4377bf7bd7523e35ac0b6a425a7c98f37d27eac (diff)
downloadgdb-b8790963359795b90a2ba6262d6df8496070f151.zip
gdb-b8790963359795b90a2ba6262d6df8496070f151.tar.gz
gdb-b8790963359795b90a2ba6262d6df8496070f151.tar.bz2
* Support for sky hardware interrupts. The sky-dma cannot trigger
interrupts properly yet (jlemke TODO). Wed Jun 10 13:22:32 1998 Frank Ch. Eigler <fche@cygnus.com> * interp.c (decode_coproc): For TX39, add stub COP0 register #7, to allay warnings. (interrupt_event): Made non-static. start-sanitize-tx3904 * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental interchange of configuration values for external vs. internal clock dividers. end-sanitize-tx3904 start-sanitize-sky * sky-device.c (sky_signal_interrupt): New function to generate interrupt event. * sky-device.h: Declare it. * sky-dma.c (check_int1): Call it. * sky-pke.c (pke_begin_interrupt_stall): Call it. end-sanitize-sky
Diffstat (limited to 'sim/mips/sky-pke.c')
-rw-r--r--sim/mips/sky-pke.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/mips/sky-pke.c b/sim/mips/sky-pke.c
index 3e1815c..fc5beae 100644
--- a/sim/mips/sky-pke.c
+++ b/sim/mips/sky-pke.c
@@ -1157,8 +1157,7 @@ pke_begin_interrupt_stall(struct pke_device* me)
{
/* set PIS */
PKE_REG_MASK_SET(me, STAT, PIS, 1);
-
- /* XXX: send interrupt to 5900? */
+ sky_signal_interrupt();
}