intmessage.hh (6216:2f4020838149) intmessage.hh (8832:247fee427324)
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;

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

75 }
76
77 static const Addr TriggerIntOffset = 0;
78
79 static inline PacketPtr
80 prepIntRequest(const uint8_t id, Addr offset, Addr size)
81 {
82 RequestPtr req = new Request(x86InterruptAddress(id, offset),
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;

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

75 }
76
77 static const Addr TriggerIntOffset = 0;
78
79 static inline PacketPtr
80 prepIntRequest(const uint8_t id, Addr offset, Addr size)
81 {
82 RequestPtr req = new Request(x86InterruptAddress(id, offset),
83 size, Request::UNCACHEABLE);
83 size, Request::UNCACHEABLE,
84 Request::intMasterId);
84 PacketPtr pkt = new Packet(req, MemCmd::MessageReq, Packet::Broadcast);
85 pkt->allocate();
86 return pkt;
87 }
88
89 template<class T>
90 PacketPtr
91 buildIntRequest(const uint8_t id, T payload, Addr offset, Addr size)

--- 21 unchanged lines hidden ---
85 PacketPtr pkt = new Packet(req, MemCmd::MessageReq, Packet::Broadcast);
86 pkt->allocate();
87 return pkt;
88 }
89
90 template<class T>
91 PacketPtr
92 buildIntRequest(const uint8_t id, T payload, Addr offset, Addr size)

--- 21 unchanged lines hidden ---