Deleted Added
sdiff udiff text old ( 5386:5614618f4027 ) new ( 5387:3323952c3bb4 )
full compact
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;

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

450 srcValid(origPkt->srcValid), destValid(origPkt->destValid),
451 flags(clearFlags ? 0 : origPkt->flags),
452 time(curTick), senderState(origPkt->senderState)
453 {
454 }
455
456 /** Destructor. */
457 ~Packet()
458 { if (staticData || dynamicData) deleteData(); }
459
460 /** Reinitialize packet address and size from the associated
461 * Request object, and reset other fields that may have been
462 * modified by a previous transaction. Typically called when a
463 * statically allocated Request/Packet pair is reused for
464 * multiple transactions. */
465 void reinitFromRequest() {
466 assert(req->validPaddr);

--- 199 unchanged lines hidden ---