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