1/* 2 * Copyright (c) 2006 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; --- 136 unchanged lines hidden (view full) --- 145bool 146fixPacket(Packet *func, Packet *timing) 147{ 148 Addr funcStart = func->getAddr(); 149 Addr funcEnd = func->getAddr() + func->getSize() - 1; 150 Addr timingStart = timing->getAddr(); 151 Addr timingEnd = timing->getAddr() + timing->getSize() - 1; 152 |
153 assert(!(funcStart > timingEnd || timingStart > funcEnd)); |
154 155 if (DTRACE(FunctionalAccess)) { 156 DebugOut() << func; 157 DebugOut() << timing; 158 } 159 160 // this packet can't solve our problem, continue on 161 if (!timing->hasData()) --- 76 unchanged lines hidden --- |