void
X86ISA::I8259::signalInterrupt(int line)
{
- DPRINTF(I8259, "Interrupt raised on line %d.\n", line);
+ DPRINTF(I8259, "Interrupt requested for line %d.\n", line);
if (line >= NumLines)
fatal("Line number %d doesn't exist. The max is %d.\n",
line, NumLines - 1);
void
X86ISA::I8259::raiseInterruptPin(int number)
{
+ DPRINTF(I8259, "Interrupt signal raised for pin %d.\n", number);
if (number >= NumLines)
fatal("Line number %d doesn't exist. The max is %d.\n",
number, NumLines - 1);
void
X86ISA::I8259::lowerInterruptPin(int number)
{
+ DPRINTF(I8259, "Interrupt signal lowered for pin %d.\n", number);
if (number >= NumLines)
fatal("Line number %d doesn't exist. The max is %d.\n",
number, NumLines - 1);
#include "dev/terminal.hh"
#include "dev/x86/i82094aa.hh"
#include "dev/x86/i8254.hh"
+#include "dev/x86/i8259.hh"
#include "dev/x86/pc.hh"
#include "dev/x86/south_bridge.hh"
#include "sim/system.hh"
void
Pc::postConsoleInt()
{
- warn_once("Don't know what interrupt to post for console.\n");
- //panic("Need implementation\n");
+ southBridge->ioApic->signalInterrupt(4);
+ southBridge->pic1->signalInterrupt(4);
}
void