X86: Keep track of the pioAddr for the local APIC.
This commit is contained in:
parent
038225a6ca
commit
8761057c78
|
@ -338,8 +338,10 @@ X86ISA::Interrupts::addressRanges(AddrRangeList &range_list)
|
||||||
{
|
{
|
||||||
uint8_t id = (regs[APIC_ID] >> 24);
|
uint8_t id = (regs[APIC_ID] >> 24);
|
||||||
range_list.clear();
|
range_list.clear();
|
||||||
range_list.push_back(RangeEx(x86LocalAPICAddress(id, 0),
|
Range<Addr> range = RangeEx(x86LocalAPICAddress(id, 0),
|
||||||
x86LocalAPICAddress(id, 0) + PageBytes));
|
x86LocalAPICAddress(id, 0) + PageBytes);
|
||||||
|
range_list.push_back(range);
|
||||||
|
pioAddr = range.start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue