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:
Gabe Black
2021-05-08 20:23:10 -07:00
parent e55ae090b3
commit fb3befcc6d
69 changed files with 133 additions and 132 deletions

View File

@@ -96,7 +96,7 @@ callFrom(ThreadContext *tc, typename ABI::State &state,
template <typename ABI, typename Ret, typename ...Args>
static void
dumpArgsFrom(std::ostream &os, M5_VAR_USED ThreadContext *tc,
dumpArgsFrom(std::ostream &os, GEM5_VAR_USED ThreadContext *tc,
typename ABI::State &state)
{
int count = 0;

View File

@@ -109,7 +109,8 @@ prepareForResult(ThreadContext *tc, typename ABI::State &state)
template <typename ABI, typename ...Args>
static inline void
prepareForArguments(M5_VAR_USED ThreadContext *tc, typename ABI::State &state)
prepareForArguments(GEM5_VAR_USED ThreadContext *tc,
typename ABI::State &state)
{
M5_FOR_EACH_IN_PACK(Preparer<ABI, Argument, Args>::prepare(tc, state));
}

View File

@@ -179,7 +179,7 @@ System::Threads::quiesce(ContextID id)
{
auto &t = thread(id);
# if THE_ISA != NULL_ISA
M5_VAR_USED BaseCPU *cpu = t.context->getCpuPtr();
GEM5_VAR_USED BaseCPU *cpu = t.context->getCpuPtr();
DPRINTFS(Quiesce, cpu, "quiesce()\n");
# endif
t.quiesce();
@@ -255,7 +255,7 @@ System::System(const Params &p)
}
// Get the generic system requestor IDs
M5_VAR_USED RequestorID tmp_id;
GEM5_VAR_USED RequestorID tmp_id;
tmp_id = getRequestorId(this, "writebacks");
assert(tmp_id == Request::wbRequestorId);
tmp_id = getRequestorId(this, "functional");