packet.hh (13860:8f8df5b68439) packet.hh (13892:0182a0601f66)
1/*
2 * Copyright (c) 2012-2019 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

382 * delay, this is used to make up for the fact that the
383 * crossbar does not make the packet wait. As the delay is
384 * relative, a 32-bit unsigned should be sufficient.
385 */
386 uint32_t payloadDelay;
387
388 /**
389 * A virtual base opaque structure used to hold state associated
1/*
2 * Copyright (c) 2012-2019 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

382 * delay, this is used to make up for the fact that the
383 * crossbar does not make the packet wait. As the delay is
384 * relative, a 32-bit unsigned should be sufficient.
385 */
386 uint32_t payloadDelay;
387
388 /**
389 * A virtual base opaque structure used to hold state associated
390 * with the packet (e.g., an MSHR), specific to a MemObject that
390 * with the packet (e.g., an MSHR), specific to a SimObject that
391 * sees the packet. A pointer to this state is returned in the
391 * sees the packet. A pointer to this state is returned in the
392 * packet's response so that the MemObject in question can quickly
392 * packet's response so that the SimObject in question can quickly
393 * look up the state needed to process it. A specific subclass
394 * would be derived from this to carry state specific to a
395 * particular sending device.
396 *
393 * look up the state needed to process it. A specific subclass
394 * would be derived from this to carry state specific to a
395 * particular sending device.
396 *
397 * As multiple MemObjects may add their SenderState throughout the
397 * As multiple SimObjects may add their SenderState throughout the
398 * memory system, the SenderStates create a stack, where a
398 * memory system, the SenderStates create a stack, where a
399 * MemObject can add a new Senderstate, as long as the
399 * SimObject can add a new Senderstate, as long as the
400 * predecessing SenderState is restored when the response comes
401 * back. For this reason, the predecessor should always be
402 * populated with the current SenderState of a packet before
403 * modifying the senderState field in the request packet.
404 */
405 struct SenderState
406 {
407 SenderState* predecessor;

--- 935 unchanged lines hidden ---
400 * predecessing SenderState is restored when the response comes
401 * back. For this reason, the predecessor should always be
402 * populated with the current SenderState of a packet before
403 * modifying the senderState field in the request packet.
404 */
405 struct SenderState
406 {
407 SenderState* predecessor;

--- 935 unchanged lines hidden ---