enable back the timer IRQ fix. TODO: ACPI MADT support is still required

This commit is contained in:
Stanislav Shwartsman 2012-05-12 11:55:38 +00:00
parent 03162d86f5
commit 4a22693deb

View File

@ -222,11 +222,9 @@ void bx_ioapic_c::write_aligned(bx_phy_address address, Bit32u value)
void bx_ioapic_c::set_irq_level(Bit8u int_in, bx_bool level)
{
/*
if (int_in == 0) { // timer connected to pin #2
int_in = 2;
}
*/
BX_DEBUG(("set_irq_level(): INTIN%d: level=%d", int_in, level));
if (int_in < BX_IOAPIC_NUM_PINS) {
Bit32u bit = 1<<int_in;