X86: Change the default value for the IO APIC redirection table.

This commit is contained in:
Gabe Black 2008-10-12 13:35:26 -07:00
parent 3420ad7644
commit 4d5c7f7038

View file

@ -42,7 +42,11 @@ X86ISA::I82094AA::I82094AA(Params *p) : PioDevice(p), IntDev(this),
assert(id <= 0xf);
arbId = id;
regSel = 0;
memset(redirTable, 0, sizeof(RedirTableEntry) * TableSize);
RedirTableEntry entry = 0;
entry.mask = 1;
for (int i = 0; i < TableSize; i++) {
redirTable[i] = entry;
}
}
Tick