mem.hh (11437:210624864179) mem.hh (12188:426168f1ba0d)
1/*
2 * Copyright (c) 2015 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

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

52 * consequently modified or even deleted.
53 */
54struct PacketInfo {
55 MemCmd cmd;
56 Addr addr;
57 uint32_t size;
58 Request::FlagsType flags;
59 Addr pc;
1/*
2 * Copyright (c) 2015 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

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

52 * consequently modified or even deleted.
53 */
54struct PacketInfo {
55 MemCmd cmd;
56 Addr addr;
57 uint32_t size;
58 Request::FlagsType flags;
59 Addr pc;
60 MasterID master;
60
61 explicit PacketInfo(const PacketPtr& pkt) :
62 cmd(pkt->cmd),
63 addr(pkt->getAddr()),
64 size(pkt->getSize()),
65 flags(pkt->req->getFlags()),
61
62 explicit PacketInfo(const PacketPtr& pkt) :
63 cmd(pkt->cmd),
64 addr(pkt->getAddr()),
65 size(pkt->getSize()),
66 flags(pkt->req->getFlags()),
66 pc(pkt->req->hasPC() ? pkt->req->getPC() : 0) { }
67 pc(pkt->req->hasPC() ? pkt->req->getPC() : 0),
68 master(pkt->req->masterId()) { }
67};
68
69/**
70 * Packet probe point
71 *
72 * This probe point provides a unified interface for components that
73 * want to instrument Packets in the memory system. Components should
74 * when possible adhere to the following naming scheme:

--- 33 unchanged lines hidden ---
69};
70
71/**
72 * Packet probe point
73 *
74 * This probe point provides a unified interface for components that
75 * want to instrument Packets in the memory system. Components should
76 * when possible adhere to the following naming scheme:

--- 33 unchanged lines hidden ---