packet.cc (10886:fdd4a895f325) packet.cc (10975:eba4e93665fc)
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated
11 * unmodified and in its entirety in all distributions of the software,
12 * modified or unmodified, in source code or in binary form.
13 *
14 * Copyright (c) 2006 The Regents of The University of Michigan
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated
11 * unmodified and in its entirety in all distributions of the software,
12 * modified or unmodified, in source code or in binary form.
13 *
14 * Copyright (c) 2006 The Regents of The University of Michigan
15 * Copyright (c) 2010 Advanced Micro Devices, Inc.
15 * Copyright (c) 2010,2015 Advanced Micro Devices, Inc.
16 * All rights reserved.
17 *
18 * Redistribution and use in source and binary forms, with or without
19 * modification, are permitted provided that the following conditions are
20 * met: redistributions of source code must retain the above copyright
21 * notice, this list of conditions and the following disclaimer;
22 * redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the

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

160 /* SwapResp -- for Swap ldstub type operations */
161 { SET5(IsRead, IsWrite, NeedsExclusive, IsResponse, HasData),
162 InvalidCmd, "SwapResp" },
163 /* IntReq -- for interrupts */
164 { SET4(IsWrite, IsRequest, NeedsResponse, HasData),
165 MessageResp, "MessageReq" },
166 /* IntResp -- for interrupts */
167 { SET2(IsWrite, IsResponse), InvalidCmd, "MessageResp" },
16 * All rights reserved.
17 *
18 * Redistribution and use in source and binary forms, with or without
19 * modification, are permitted provided that the following conditions are
20 * met: redistributions of source code must retain the above copyright
21 * notice, this list of conditions and the following disclaimer;
22 * redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the

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

160 /* SwapResp -- for Swap ldstub type operations */
161 { SET5(IsRead, IsWrite, NeedsExclusive, IsResponse, HasData),
162 InvalidCmd, "SwapResp" },
163 /* IntReq -- for interrupts */
164 { SET4(IsWrite, IsRequest, NeedsResponse, HasData),
165 MessageResp, "MessageReq" },
166 /* IntResp -- for interrupts */
167 { SET2(IsWrite, IsResponse), InvalidCmd, "MessageResp" },
168 /* ReleaseReq -- for release synchronization */
169 { SET3(IsRelease, IsRequest, NeedsResponse), ReleaseResp, "ReleaseReq" },
170 /* ReleaseResp -- for release synchronization */
171 { SET2(IsRelease, IsResponse), InvalidCmd, "ReleaseResp" },
172 /* AcquireReq -- for release synchronization */
173 { SET3(IsAcquire, IsRequest, NeedsResponse), AcquireResp, "AcquireReq" },
174 /* AcquireResp -- for release synchronization */
175 { SET3(IsAcquire, IsResponse, NeedsResponse), InvalidCmd, "AcquireResp" },
168 /* InvalidDestError -- packet dest field invalid */
169 { SET2(IsResponse, IsError), InvalidCmd, "InvalidDestError" },
170 /* BadAddressError -- memory address invalid */
171 { SET2(IsResponse, IsError), InvalidCmd, "BadAddressError" },
172 /* FunctionalReadError */
173 { SET3(IsRead, IsResponse, IsError), InvalidCmd, "FunctionalReadError" },
174 /* FunctionalWriteError */
175 { SET3(IsWrite, IsResponse, IsError), InvalidCmd, "FunctionalWriteError" },

--- 227 unchanged lines hidden ---
176 /* InvalidDestError -- packet dest field invalid */
177 { SET2(IsResponse, IsError), InvalidCmd, "InvalidDestError" },
178 /* BadAddressError -- memory address invalid */
179 { SET2(IsResponse, IsError), InvalidCmd, "BadAddressError" },
180 /* FunctionalReadError */
181 { SET3(IsRead, IsResponse, IsError), InvalidCmd, "FunctionalReadError" },
182 /* FunctionalWriteError */
183 { SET3(IsWrite, IsResponse, IsError), InvalidCmd, "FunctionalWriteError" },

--- 227 unchanged lines hidden ---