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, |
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; |
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 --- |