summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm/system.cc8
1 files changed, 6 insertions, 2 deletions
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<ArmSystem *>(tc->getSystemPtr())->highestELIs64();
+ return FullSystem ?
+ dynamic_cast<ArmSystem *>(tc->getSystemPtr())->highestELIs64() :
+ true;
}
ExceptionLevel
ArmSystem::highestEL(ThreadContext *tc)
{
- return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->highestEL();
+ return FullSystem ?
+ dynamic_cast<ArmSystem *>(tc->getSystemPtr())->highestEL() :
+ EL1;
}
Addr