intdev.cc (6138:6cbdd76b93db) intdev.cc (7899:38eca2df1124)
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;

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

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);
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;

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

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)
40 if (timing) {
41 sendMessageTiming(pkt, latency);
41 sendMessageTiming(pkt, latency);
42 else
42 // The target handles cleaning up the packet in timing mode.
43 } else {
43 sendMessageAtomic(pkt);
44 sendMessageAtomic(pkt);
45 delete pkt->req;
46 delete pkt;
47 }
44 }
45}
46
47X86ISA::IntSourcePin *
48X86IntSourcePinParams::create()
49{
50 return new X86ISA::IntSourcePin(this);
51}

--- 12 unchanged lines hidden ---
48 }
49}
50
51X86ISA::IntSourcePin *
52X86IntSourcePinParams::create()
53{
54 return new X86ISA::IntSourcePin(this);
55}

--- 12 unchanged lines hidden ---