packet.cc (6076:e141cc7896ce) | packet.cc (7465:f97b62be544f) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan |
3 * Copyright (c) 2010 Advancec Micro Devices, Inc. |
|
3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; 9 * redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the --- 76 unchanged lines hidden (view full) --- 87 /* WriteInvalidateReq */ 88 { SET6(IsWrite, NeedsExclusive, IsInvalidate, 89 IsRequest, HasData, NeedsResponse), 90 WriteInvalidateResp, "WriteInvalidateReq" }, 91 /* WriteInvalidateResp */ 92 { SET3(IsWrite, NeedsExclusive, IsResponse), 93 InvalidCmd, "WriteInvalidateResp" }, 94 /* UpgradeReq */ | 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer; 10 * redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the --- 76 unchanged lines hidden (view full) --- 88 /* WriteInvalidateReq */ 89 { SET6(IsWrite, NeedsExclusive, IsInvalidate, 90 IsRequest, HasData, NeedsResponse), 91 WriteInvalidateResp, "WriteInvalidateReq" }, 92 /* WriteInvalidateResp */ 93 { SET3(IsWrite, NeedsExclusive, IsResponse), 94 InvalidCmd, "WriteInvalidateResp" }, 95 /* UpgradeReq */ |
95 { SET4(IsInvalidate, NeedsExclusive, IsRequest, NeedsResponse), | 96 { SET5(IsInvalidate, NeedsExclusive, IsUpgrade, IsRequest, NeedsResponse), |
96 UpgradeResp, "UpgradeReq" }, | 97 UpgradeResp, "UpgradeReq" }, |
98 /* SCUpgradeReq: response could be UpgradeResp or UpgradeFailResp */ 99 { SET6(IsInvalidate, NeedsExclusive, IsUpgrade, IsLlsc, 100 IsRequest, NeedsResponse), 101 UpgradeResp, "SCUpgradeReq" }, |
|
97 /* UpgradeResp */ | 102 /* UpgradeResp */ |
98 { SET2(NeedsExclusive, IsResponse), | 103 { SET3(NeedsExclusive, IsUpgrade, IsResponse), |
99 InvalidCmd, "UpgradeResp" }, | 104 InvalidCmd, "UpgradeResp" }, |
105 /* SCUpgradeFailReq: generates UpgradeFailResp ASAP */ 106 { SET5(IsInvalidate, NeedsExclusive, IsLlsc, 107 IsRequest, NeedsResponse), 108 UpgradeFailResp, "SCUpgradeFailReq" }, 109 /* UpgradeFailResp */ 110 { SET2(NeedsExclusive, IsResponse), 111 InvalidCmd, "UpgradeFailResp" }, |
|
100 /* ReadExReq */ 101 { SET5(IsRead, NeedsExclusive, IsInvalidate, IsRequest, NeedsResponse), 102 ReadExResp, "ReadExReq" }, 103 /* ReadExResp */ 104 { SET4(IsRead, NeedsExclusive, IsResponse, HasData), 105 InvalidCmd, "ReadExResp" }, 106 /* LoadLockedReq: note that we use plain ReadResp as response, so that 107 * we can also use ReadRespWithInvalidate when needed */ --- 157 unchanged lines hidden --- | 112 /* ReadExReq */ 113 { SET5(IsRead, NeedsExclusive, IsInvalidate, IsRequest, NeedsResponse), 114 ReadExResp, "ReadExReq" }, 115 /* ReadExResp */ 116 { SET4(IsRead, NeedsExclusive, IsResponse, HasData), 117 InvalidCmd, "ReadExResp" }, 118 /* LoadLockedReq: note that we use plain ReadResp as response, so that 119 * we can also use ReadRespWithInvalidate when needed */ --- 157 unchanged lines hidden --- |