61 timer.writeControl(0x00);
63 timer.writeCounter(0, 0);
64 timer.writeCounter(0, 0);
70 X86ISA::I82094AA::RedirTableEntry entry = 0;
72 entry.deliveryMode = X86ISA::delivery_mode::ExtInt;
74 ioApic.
writeReg(0x10, entry.bottomDW);
76 entry.deliveryMode = X86ISA::delivery_mode::Fixed;
78 ioApic.
writeReg(0x18, entry.bottomDW);
81 ioApic.
writeReg(0x12, entry.bottomDW);
84 ioApic.
writeReg(0x14, entry.bottomDW);
87 ioApic.
writeReg(0x20, entry.bottomDW);
90 ioApic.
writeReg(0x28, entry.bottomDW);
93 ioApic.
writeReg(0x2C, entry.bottomDW);
96 ioApic.
writeReg(0x30, entry.bottomDW);
117 warn_once(
"Don't know what interrupt to clear for console.\n");
130 warn_once(
"Tried to clear PCI interrupt %d\n", line);
void postConsoleInt() override
void clearConsoleInt() override
void clearPciInt(int line) override
void postPciInt(int line) override
SouthBridge * southBridge
void init() override
Do platform initialization stuff.
X86ISA::I82094AA * ioApic
void requestInterrupt(int line)
void writeReg(uint8_t offset, uint32_t value)
void writeControl(uint8_t val)
void signalInterrupt(int line)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Declaration of top level class for PC platform components.