packet.hh (3607:7b7dd28784c4) packet.hh (3665:307a21253be8)
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;

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

296 result(Unknown)
297 {
298 flags = 0;
299 time = curTick;
300 }
301
302 /** Destructor. */
303 ~Packet()
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;

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

296 result(Unknown)
297 {
298 flags = 0;
299 time = curTick;
300 }
301
302 /** Destructor. */
303 ~Packet()
304 { deleteData(); }
304 { if (staticData || dynamicData) deleteData(); }
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);

--- 161 unchanged lines hidden ---
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);

--- 161 unchanged lines hidden ---