misc: Replace M5_VAR_USED with GEM5_VAR_USED.
Change-Id: I64a874ccd1a9ac0541dfa01971d7d620a98c9d32 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45231 Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Gabe Black <gabe.black@gmail.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
This commit is contained in:
@@ -390,7 +390,7 @@ void
|
||||
Fetch1::minorTraceResponseLine(const std::string &name,
|
||||
Fetch1::FetchRequestPtr response) const
|
||||
{
|
||||
M5_VAR_USED const RequestPtr &request = response->request;
|
||||
GEM5_VAR_USED const RequestPtr &request = response->request;
|
||||
|
||||
if (response->packet && response->packet->isError()) {
|
||||
MINORLINE(this, "id=F;%s vaddr=0x%x fault=\"error packet\"\n",
|
||||
|
||||
@@ -78,7 +78,7 @@ LSQ::LSQRequest::tryToSuppressFault()
|
||||
SimpleThread &thread = *port.cpu.threads[inst->id.threadId];
|
||||
TheISA::PCState old_pc = thread.pcState();
|
||||
ExecContext context(port.cpu, thread, port.execute, inst, zeroReg);
|
||||
M5_VAR_USED Fault fault = inst->translationFault;
|
||||
GEM5_VAR_USED Fault fault = inst->translationFault;
|
||||
|
||||
// Give the instruction a chance to suppress a translation fault
|
||||
inst->translationFault = inst->staticInst->initiateAcc(&context, nullptr);
|
||||
@@ -334,7 +334,7 @@ LSQ::SplitDataRequest::finish(const Fault &fault_, const RequestPtr &request_,
|
||||
{
|
||||
port.numAccessesInDTLB--;
|
||||
|
||||
M5_VAR_USED unsigned int expected_fragment_index =
|
||||
GEM5_VAR_USED unsigned int expected_fragment_index =
|
||||
numTranslatedFragments;
|
||||
|
||||
numInTranslationFragments--;
|
||||
@@ -475,7 +475,7 @@ LSQ::SplitDataRequest::makeFragmentRequests()
|
||||
for (unsigned int fragment_index = 0; fragment_index < numFragments;
|
||||
fragment_index++)
|
||||
{
|
||||
M5_VAR_USED bool is_last_fragment = false;
|
||||
GEM5_VAR_USED bool is_last_fragment = false;
|
||||
|
||||
if (fragment_addr == base_addr) {
|
||||
/* First fragment */
|
||||
|
||||
Reference in New Issue
Block a user