From 306793833cb504402f7942b23db29aa854e20efe Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 1 Feb 2020 02:30:35 -0800 Subject: [PATCH] fastmodel: Ignore clearArchRegs for now. This only seems to be used from outside of the CPU when resetting state at the start of execution. Since this state is already reset in fast model, we can mostly ignore that call for now. When more accessors are implemented, this function can be use them to clear registers like it would on other thread contexts. Change-Id: I5146273387ec17987770abc67f6f426c4480e0b9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24967 Tested-by: kokoro Reviewed-by: Chun-Chen TK Hsu Maintainer: Gabe Black --- src/arch/arm/fastmodel/iris/thread_context.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/arm/fastmodel/iris/thread_context.hh b/src/arch/arm/fastmodel/iris/thread_context.hh index 9c7ed4ed8..7db253c8d 100644 --- a/src/arch/arm/fastmodel/iris/thread_context.hh +++ b/src/arch/arm/fastmodel/iris/thread_context.hh @@ -293,7 +293,7 @@ class ThreadContext : public ::ThreadContext void clearArchRegs() override { - panic("%s not implemented.", __FUNCTION__); + warn("Ignoring clearArchRegs()"); } // -- 2.30.2