fastmodel: Ignore clearArchRegs for now.
authorGabe Black <gabeblack@google.com>
Sat, 1 Feb 2020 10:30:35 +0000 (02:30 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 20 Feb 2020 03:33:54 +0000 (03:33 +0000)
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 <noreply+kokoro@google.com>
Reviewed-by: Chun-Chen TK Hsu <chunchenhsu@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/arch/arm/fastmodel/iris/thread_context.hh

index 9c7ed4ed8ab275ef6d8392f821889705fd9a94ad..7db253c8d0f85cc8277b1778f7e2a5672c7ce0d5 100644 (file)
@@ -293,7 +293,7 @@ class ThreadContext : public ::ThreadContext
     void
     clearArchRegs() override
     {
-        panic("%s not implemented.", __FUNCTION__);
+        warn("Ignoring clearArchRegs()");
     }
 
     //