From: Gabe Black Date: Thu, 20 Feb 2020 00:20:54 +0000 (-0800) Subject: fastmodel: Add in a missing include and namespace for itState. X-Git-Tag: v20.0.0.0~468 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11e57de23a4c0bba958c3a8f92adc2694d7e2c4f;p=gem5.git fastmodel: Add in a missing include and namespace for itState. Change-Id: I47661d95ae6f07768cb6ac1610bc29bc029c2bd9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25624 Reviewed-by: Chun-Chen TK Hsu Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/src/arch/arm/fastmodel/iris/thread_context.cc b/src/arch/arm/fastmodel/iris/thread_context.cc index 3f7102f90..260e5a845 100644 --- a/src/arch/arm/fastmodel/iris/thread_context.cc +++ b/src/arch/arm/fastmodel/iris/thread_context.cc @@ -29,6 +29,7 @@ #include +#include "arch/arm/utility.hh" #include "iris/detail/IrisCppAdapter.h" #include "iris/detail/IrisObjects.h" #include "mem/fs_translating_port_proxy.hh" @@ -443,7 +444,7 @@ ThreadContext::pcState() const pc.aarch64(!cpsr.width); pc.nextAArch64(!cpsr.width); pc.illegalExec(false); - pc.itstate(itState(cpsr)); + pc.itstate(ArmISA::itState(cpsr)); pc.nextItstate(0); iris::ResourceReadResult result;