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

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

96 { SET4(IsRead, IsRequest, IsHWPrefetch, NeedsResponse),
97 HardPFResp, "HardPFReq" },
98 /* SoftPFResp */
99 { SET4(IsRead, IsResponse, IsSWPrefetch, HasData),
100 InvalidCmd, "SoftPFResp" },
101 /* HardPFResp */
102 { SET4(IsRead, IsResponse, IsHWPrefetch, HasData),
103 InvalidCmd, "HardPFResp" },
104 /* WriteLineReq */
105 { SET5(IsWrite, NeedsExclusive, IsRequest, NeedsResponse, HasData),
106 WriteResp, "WriteLineReq" },
107 /* UpgradeReq */
108 { SET5(IsInvalidate, NeedsExclusive, IsUpgrade, IsRequest, NeedsResponse),
109 UpgradeResp, "UpgradeReq" },
110 /* SCUpgradeReq: response could be UpgradeResp or UpgradeFailResp */
111 { SET6(IsInvalidate, NeedsExclusive, IsUpgrade, IsLlsc,
112 IsRequest, NeedsResponse),
113 UpgradeResp, "SCUpgradeReq" },
114 /* UpgradeResp */

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

173 { SET3(IsRead, IsResponse, IsError), InvalidCmd, "FunctionalReadError" },
174 /* FunctionalWriteError */
175 { SET3(IsWrite, IsResponse, IsError), InvalidCmd, "FunctionalWriteError" },
176 /* PrintReq */
177 { SET2(IsRequest, IsPrint), InvalidCmd, "PrintReq" },
178 /* Flush Request */
179 { SET3(IsRequest, IsFlush, NeedsExclusive), InvalidCmd, "FlushReq" },
180 /* Invalidation Request */
181 { SET4(IsInvalidate, IsRequest, NeedsExclusive, NeedsResponse),
182 InvalidateResp, "InvalidateReq" },
183 /* Invalidation Response */
184 { SET3(IsInvalidate, IsResponse, NeedsExclusive),
185 InvalidCmd, "InvalidateResp" }
186};
187
188bool
189Packet::checkFunctional(Printable *obj, Addr addr, bool is_secure, int size,
190 uint8_t *_data)
191{
192 Addr func_start = getAddr();
193 Addr func_end = getAddr() + getSize() - 1;

--- 209 unchanged lines hidden ---