packet.hh (3216:24d3fbc238d8) packet.hh (3217:317ca1c50bbf)
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;

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

322 void makeTimingResponse() {
323 assert(needsResponse());
324 assert(isRequest());
325 int icmd = (int)cmd;
326 icmd &= ~(IsRequest);
327 icmd |= IsResponse;
328 if (isRead())
329 icmd |= HasData;
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;

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

322 void makeTimingResponse() {
323 assert(needsResponse());
324 assert(isRequest());
325 int icmd = (int)cmd;
326 icmd &= ~(IsRequest);
327 icmd |= IsResponse;
328 if (isRead())
329 icmd |= HasData;
330 if (isWrite())
331 icmd &= ~HasData;
330 cmd = (Command)icmd;
331 dest = src;
332 srcValid = false;
333 }
334
335 /** Take a request packet and modify it in place to be suitable
336 * for returning as a response to that request.
337 */

--- 57 unchanged lines hidden ---
332 cmd = (Command)icmd;
333 dest = src;
334 srcValid = false;
335 }
336
337 /** Take a request packet and modify it in place to be suitable
338 * for returning as a response to that request.
339 */

--- 57 unchanged lines hidden ---