Deleted Added
sdiff udiff text old ( 8851:7e966326ef5b ) new ( 8855:74490e94da0c )
full compact
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
9 * redistributions in binary form must reproduce the above copyright

--- 16 unchanged lines hidden (view full) ---

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Gabe Black
29 */
30
31#include "dev/x86/intdev.hh"
32
33void
34X86ISA::IntDev::IntPort::sendMessage(ApicList apics,
35 TriggerIntMessage message, bool timing)
36{
37 ApicList::iterator apicIt;
38 for (apicIt = apics.begin(); apicIt != apics.end(); apicIt++) {
39 PacketPtr pkt = buildIntRequest(*apicIt, message);
40 if (timing) {
41 sendMessageTiming(pkt, latency);
42 // The target handles cleaning up the packet in timing mode.
43 } else {
44 sendMessageAtomic(pkt);
45 delete pkt->req;
46 delete pkt;
47 }
48 }
49}
50
51void
52X86ISA::IntDev::init()

--- 24 unchanged lines hidden ---