intmessage.hh (5655:74f76480407f) intmessage.hh (5736:426510e758ad)
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;

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

73 }
74
75 static const Addr TriggerIntOffset = 0;
76
77 static inline PacketPtr
78 prepIntRequest(const uint8_t id, Addr offset, Addr size)
79 {
80 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;

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

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

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

--- 21 unchanged lines hidden ---