packet.hh (13350:247e4108a5e8) | packet.hh (13367:dc06baae4275) |
---|---|
1/* 2 * Copyright (c) 2012-2018 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 --- 80 unchanged lines hidden (view full) --- 89 ReadRespWithInvalidate, 90 WriteReq, 91 WriteResp, 92 WritebackDirty, 93 WritebackClean, 94 WriteClean, // writes dirty data below without evicting 95 CleanEvict, 96 SoftPFReq, | 1/* 2 * Copyright (c) 2012-2018 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 --- 80 unchanged lines hidden (view full) --- 89 ReadRespWithInvalidate, 90 WriteReq, 91 WriteResp, 92 WritebackDirty, 93 WritebackClean, 94 WriteClean, // writes dirty data below without evicting 95 CleanEvict, 96 SoftPFReq, |
97 SoftPFExReq, |
|
97 HardPFReq, 98 SoftPFResp, 99 HardPFResp, 100 WriteLineReq, 101 UpgradeReq, 102 SCUpgradeReq, // Special "weak" upgrade for StoreCond 103 UpgradeResp, 104 SCUpgradeFailReq, // Failed SCUpgradeReq in MSHR (never sent) --- 749 unchanged lines hidden (view full) --- 854 /** 855 * Generate the appropriate read MemCmd based on the Request flags. 856 */ 857 static MemCmd 858 makeReadCmd(const RequestPtr &req) 859 { 860 if (req->isLLSC()) 861 return MemCmd::LoadLockedReq; | 98 HardPFReq, 99 SoftPFResp, 100 HardPFResp, 101 WriteLineReq, 102 UpgradeReq, 103 SCUpgradeReq, // Special "weak" upgrade for StoreCond 104 UpgradeResp, 105 SCUpgradeFailReq, // Failed SCUpgradeReq in MSHR (never sent) --- 749 unchanged lines hidden (view full) --- 855 /** 856 * Generate the appropriate read MemCmd based on the Request flags. 857 */ 858 static MemCmd 859 makeReadCmd(const RequestPtr &req) 860 { 861 if (req->isLLSC()) 862 return MemCmd::LoadLockedReq; |
863 else if (req->isPrefetchEx()) 864 return MemCmd::SoftPFExReq; |
|
862 else if (req->isPrefetch()) 863 return MemCmd::SoftPFReq; 864 else 865 return MemCmd::ReadReq; 866 } 867 868 /** 869 * Generate the appropriate write MemCmd based on the Request flags. --- 411 unchanged lines hidden --- | 865 else if (req->isPrefetch()) 866 return MemCmd::SoftPFReq; 867 else 868 return MemCmd::ReadReq; 869 } 870 871 /** 872 * Generate the appropriate write MemCmd based on the Request flags. --- 411 unchanged lines hidden --- |