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; --- 296 unchanged lines hidden (view full) --- 305 306 /** Reinitialize packet address and size from the associated 307 * Request object, and reset other fields that may have been 308 * modified by a previous transaction. Typically called when a 309 * statically allocated Request/Packet pair is reused for 310 * multiple transactions. */ 311 void reinitFromRequest() { 312 assert(req->validPaddr); |
313 flags = 0; |
314 addr = req->paddr; 315 size = req->size; 316 time = req->time; 317 addrSizeValid = true; 318 result = Unknown; 319 if (dynamicData) { 320 deleteData(); 321 dynamicData = false; --- 140 unchanged lines hidden --- |