194,198c194
< void
< setCPU(BaseCPU * newCPU)
< {
< cpu = newCPU;
< }
---
> void setCPU(BaseCPU * newCPU);
228,233c224,225
< void addressRanges(AddrRangeList &range_list)
< {
< range_list.clear();
< range_list.push_back(RangeEx(x86LocalAPICAddress(0, 0),
< x86LocalAPICAddress(0, 0) + PageBytes));
< }
---
> void addressRanges(AddrRangeList &range_list);
> void getIntAddrRange(AddrRangeList &range_list);
235,241d226
< void getIntAddrRange(AddrRangeList &range_list)
< {
< range_list.clear();
< range_list.push_back(RangeEx(x86InterruptAddress(0, 0),
< x86InterruptAddress(0, 0) + PhysAddrAPICRangeSize));
< }
<
265,280c250
< Interrupts(Params * p)
< : BasicPioDevice(p), IntDev(this), latency(p->pio_latency), clock(0),
< apicTimerEvent(this),
< pendingSmi(false), smiVector(0),
< pendingNmi(false), nmiVector(0),
< pendingExtInt(false), extIntVector(0),
< pendingInit(false), initVector(0),
< pendingUnmaskableInt(false)
< {
< pioSize = PageBytes;
< memset(regs, 0, sizeof(regs));
< //Set the local apic DFR to the flat model.
< regs[APIC_DESTINATION_FORMAT] = (uint32_t)(-1);
< ISRV = 0;
< IRRV = 0;
< }
---
> Interrupts(Params * p);