Deleted Added
sdiff udiff text old ( 10885:3ac92bf1f31f ) new ( 10886:fdd4a895f325 )
full compact
1/*
2 * Copyright (c) 2012-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

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

87 WriteReq,
88 WriteResp,
89 Writeback,
90 CleanEvict,
91 SoftPFReq,
92 HardPFReq,
93 SoftPFResp,
94 HardPFResp,
95 WriteLineReq,
96 UpgradeReq,
97 SCUpgradeReq, // Special "weak" upgrade for StoreCond
98 UpgradeResp,
99 SCUpgradeFailReq, // Failed SCUpgradeReq in MSHR (never sent)
100 UpgradeFailResp, // Valid for SCUpgradeReq only
101 ReadExReq,
102 ReadExResp,
103 ReadCleanReq,

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

116 // compatibility
117 InvalidDestError, // packet dest field invalid
118 BadAddressError, // memory address invalid
119 FunctionalReadError, // unable to fulfill functional read
120 FunctionalWriteError, // unable to fulfill functional write
121 // Fake simulator-only commands
122 PrintReq, // Print state matching address
123 FlushReq, //request for a cache flush
124 InvalidateReq, // request for address to be invalidated
125 InvalidateResp,
126 NUM_MEM_CMDS
127 };
128
129 private:
130 /**
131 * List of command attributes.
132 */
133 enum Attribute

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

183 bool isRead() const { return testCmdAttrib(IsRead); }
184 bool isWrite() const { return testCmdAttrib(IsWrite); }
185 bool isUpgrade() const { return testCmdAttrib(IsUpgrade); }
186 bool isRequest() const { return testCmdAttrib(IsRequest); }
187 bool isResponse() const { return testCmdAttrib(IsResponse); }
188 bool needsExclusive() const { return testCmdAttrib(NeedsExclusive); }
189 bool needsResponse() const { return testCmdAttrib(NeedsResponse); }
190 bool isInvalidate() const { return testCmdAttrib(IsInvalidate); }
191
192 /**
193 * Check if this particular packet type carries payload data. Note
194 * that this does not reflect if the data pointer of the packet is
195 * valid or not.
196 */
197 bool hasData() const { return testCmdAttrib(HasData); }
198 bool isLLSC() const { return testCmdAttrib(IsLlsc); }

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

476 bool isRead() const { return cmd.isRead(); }
477 bool isWrite() const { return cmd.isWrite(); }
478 bool isUpgrade() const { return cmd.isUpgrade(); }
479 bool isRequest() const { return cmd.isRequest(); }
480 bool isResponse() const { return cmd.isResponse(); }
481 bool needsExclusive() const { return cmd.needsExclusive(); }
482 bool needsResponse() const { return cmd.needsResponse(); }
483 bool isInvalidate() const { return cmd.isInvalidate(); }
484 bool hasData() const { return cmd.hasData(); }
485 bool isLLSC() const { return cmd.isLLSC(); }
486 bool isError() const { return cmd.isError(); }
487 bool isPrint() const { return cmd.isPrint(); }
488 bool isFlush() const { return cmd.isFlush(); }
489
490 // Snoop flags
491 void assertMemInhibit()

--- 513 unchanged lines hidden ---