From 6a3f255a84d93f3e621319fd81f355416e385c8c Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 31 Jan 2009 23:33:54 -0800 Subject: X86: Rework interrupt pins to allow one to many connections. --- src/dev/x86/i8254.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/dev/x86/i8254.cc') diff --git a/src/dev/x86/i8254.cc b/src/dev/x86/i8254.cc index ac3847cd6..4f37eebad 100644 --- a/src/dev/x86/i8254.cc +++ b/src/dev/x86/i8254.cc @@ -37,8 +37,11 @@ void X86ISA::I8254::counterInterrupt(unsigned int num) { DPRINTF(I8254, "Interrupt from counter %d.\n", num); - if (num == 0) - intPin->signalInterrupt(); + if (num == 0) { + intPin->raise(); + //XXX This is a hack. + intPin->lower(); + } } Tick -- cgit v1.2.3