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 /* WriteInvalidateReq */
105 { SET6(IsWrite, NeedsExclusive, IsInvalidate,
106 IsRequest, HasData, NeedsResponse),
107 WriteInvalidateResp, "WriteInvalidateReq" },
108 /* WriteInvalidateResp */
109 { SET3(IsWrite, NeedsExclusive, IsResponse),
110 InvalidCmd, "WriteInvalidateResp" },
111 /* UpgradeReq */
112 { SET5(IsInvalidate, NeedsExclusive, IsUpgrade, IsRequest, NeedsResponse),
113 UpgradeResp, "UpgradeReq" },
114 /* SCUpgradeReq: response could be UpgradeResp or UpgradeFailResp */
115 { SET6(IsInvalidate, NeedsExclusive, IsUpgrade, IsLlsc,
116 IsRequest, NeedsResponse),
117 UpgradeResp, "SCUpgradeReq" },
118 /* UpgradeResp */

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

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

--- 209 unchanged lines hidden ---