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; --- 65 unchanged lines hidden (view full) --- 74 } 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 = std::make_shared<Request>( 83 x86InterruptAddress(id, offset), 84 size, Request::UNCACHEABLE, 85 Request::intMasterId); 86 |
87 PacketPtr pkt = new Packet(req, MemCmd::MessageReq); 88 pkt->allocate(); 89 return pkt; 90 } 91 92 template<class T> 93 PacketPtr 94 buildIntRequest(const uint8_t id, T payload, Addr offset, Addr size) --- 21 unchanged lines hidden --- |