diff --git a/src/arch/arm/system.cc b/src/arch/arm/system.cc index f4241aa3c..b61666339 100644 --- a/src/arch/arm/system.cc +++ b/src/arch/arm/system.cc @@ -219,13 +219,17 @@ ArmSystem::haveVirtualization(ThreadContext *tc) bool ArmSystem::highestELIs64(ThreadContext *tc) { - return dynamic_cast(tc->getSystemPtr())->highestELIs64(); + return FullSystem ? + dynamic_cast(tc->getSystemPtr())->highestELIs64() : + true; } ExceptionLevel ArmSystem::highestEL(ThreadContext *tc) { - return dynamic_cast(tc->getSystemPtr())->highestEL(); + return FullSystem ? + dynamic_cast(tc->getSystemPtr())->highestEL() : + EL1; } Addr