43 #include "config/the_isa.hh"
53 using namespace TheISA;
73 timer.writeControl(0x00);
75 timer.writeCounter(0, 0);
76 timer.writeCounter(0, 0);
82 I82094AA::RedirTableEntry entry = 0;
85 ioApic.writeReg(0x10, entry.bottomDW);
86 ioApic.writeReg(0x11, entry.topDW);
87 entry.deliveryMode = DeliveryMode::Fixed;
89 ioApic.writeReg(0x18, entry.bottomDW);
90 ioApic.writeReg(0x19, entry.topDW);
93 ioApic.writeReg(0x12, entry.bottomDW);
94 ioApic.writeReg(0x13, entry.topDW);
96 ioApic.writeReg(0x14, entry.bottomDW);
97 ioApic.writeReg(0x15, entry.topDW);
99 ioApic.writeReg(0x20, entry.bottomDW);
100 ioApic.writeReg(0x21, entry.topDW);
102 ioApic.writeReg(0x28, entry.bottomDW);
103 ioApic.writeReg(0x29, entry.topDW);
105 ioApic.writeReg(0x2C, entry.bottomDW);
106 ioApic.writeReg(0x2D, entry.topDW);
108 ioApic.writeReg(0x30, entry.bottomDW);
109 ioApic.writeReg(0x31, entry.topDW);
129 warn_once(
"Don't know what interrupt to clear for console.\n");
142 warn_once(
"Tried to clear PCI interrupt %d\n", line);
void init() override
Do platform initialization stuff.
Bitfield< 10, 8 > deliveryMode
void writeControl(uint8_t val)
void postConsoleInt() override
Cause the cpu to post a serial interrupt to the CPU.
SouthBridge * southBridge
X86ISA::I82094AA * ioApic
void clearPciInt(int line) override
Clear a posted PCI->CPU interrupt.
Declaration of top level class for PC platform components.
void clearConsoleInt() override
Clear a posted CPU interrupt.
void signalInterrupt(int line) override
void signalInterrupt(int line) override
void postPciInt(int line) override
Cause the chipset to post a cpi interrupt to the CPU.