intdev.cc (9163:3b5e13ac1940) | intdev.cc (9807:63d7362bbdf2) |
---|---|
1/* 2 * Copyright (c) 2012 ARM Limited 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 --- 29 unchanged lines hidden (view full) --- 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Gabe Black 41 */ 42 43#include "dev/x86/intdev.hh" 44 45void | 1/* 2 * Copyright (c) 2012 ARM Limited 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 --- 29 unchanged lines hidden (view full) --- 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Gabe Black 41 */ 42 43#include "dev/x86/intdev.hh" 44 45void |
46X86ISA::IntDev::IntMasterPort::sendMessage(ApicList apics, | 46X86ISA::IntDevice::IntMasterPort::sendMessage(ApicList apics, |
47 TriggerIntMessage message, 48 bool timing) 49{ 50 ApicList::iterator apicIt; 51 for (apicIt = apics.begin(); apicIt != apics.end(); apicIt++) { 52 PacketPtr pkt = buildIntRequest(*apicIt, message); 53 if (timing) { 54 schedTimingReq(pkt, curTick() + latency); --- 6 unchanged lines hidden (view full) --- 61 recvResponse(pkt); 62 delete pkt->req; 63 delete pkt; 64 } 65 } 66} 67 68void | 47 TriggerIntMessage message, 48 bool timing) 49{ 50 ApicList::iterator apicIt; 51 for (apicIt = apics.begin(); apicIt != apics.end(); apicIt++) { 52 PacketPtr pkt = buildIntRequest(*apicIt, message); 53 if (timing) { 54 schedTimingReq(pkt, curTick() + latency); --- 6 unchanged lines hidden (view full) --- 61 recvResponse(pkt); 62 delete pkt->req; 63 delete pkt; 64 } 65 } 66} 67 68void |
69X86ISA::IntDev::init() | 69X86ISA::IntDevice::init() |
70{ 71 if (!intMasterPort.isConnected()) { 72 panic("Int port not connected to anything!"); 73 } 74} 75 76X86ISA::IntSourcePin * 77X86IntSourcePinParams::create() --- 15 unchanged lines hidden --- | 70{ 71 if (!intMasterPort.isConnected()) { 72 panic("Int port not connected to anything!"); 73 } 74} 75 76X86ISA::IntSourcePin * 77X86IntSourcePinParams::create() --- 15 unchanged lines hidden --- |