interrupts.cc (7902:aafb4a7384d4) | interrupts.cc (7913:70b56a9ac1b2) |
---|---|
1/* 2 * Copyright (c) 2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 280 unchanged lines hidden (view full) --- 289 initialApicId = cpu->cpuId(); 290 regs[APIC_ID] = (initialApicId << 24); 291} 292 293 294void 295X86ISA::Interrupts::init() 296{ | 1/* 2 * Copyright (c) 2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 280 unchanged lines hidden (view full) --- 289 initialApicId = cpu->cpuId(); 290 regs[APIC_ID] = (initialApicId << 24); 291} 292 293 294void 295X86ISA::Interrupts::init() 296{ |
297 // 298 // The local apic must register its address ranges on both its pio port 299 // via the basicpiodevice(piodevice) init() function and its int port 300 // that it inherited from IntDev. Note IntDev is not a SimObject itself. 301 // |
|
297 BasicPioDevice::init(); | 302 BasicPioDevice::init(); |
303 IntDev::init(); 304 |
|
298 Pc * pc = dynamic_cast<Pc *>(platform); 299 assert(pc); 300 pc->southBridge->ioApic->registerLocalApic(initialApicId, this); 301} 302 303 304Tick 305X86ISA::Interrupts::recvMessage(PacketPtr pkt) --- 467 unchanged lines hidden --- | 305 Pc * pc = dynamic_cast<Pc *>(platform); 306 assert(pc); 307 pc->southBridge->ioApic->registerLocalApic(initialApicId, this); 308} 309 310 311Tick 312X86ISA::Interrupts::recvMessage(PacketPtr pkt) --- 467 unchanged lines hidden --- |