From 11e57de23a4c0bba958c3a8f92adc2694d7e2c4f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 19 Feb 2020 16:20:54 -0800 Subject: [PATCH] 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 --- src/arch/arm/fastmodel/iris/thread_context.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2