From 49538a71186d98f5440c5db646e23507fc2e38d1 Mon Sep 17 00:00:00 2001 From: Curtis Dunham Date: Tue, 2 Aug 2016 10:38:01 +0100 Subject: arm: enable EL2 support Change-Id: I59fa4fae98c33d9e5c2185382e1411911d27d341 --- src/arch/arm/isa.hh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/arch/arm/isa.hh') diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index ab5c72e6a..b8eaaec11 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2012-2015 ARM Limited + * Copyright (c) 2010, 2012-2016 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall @@ -261,9 +261,8 @@ namespace ArmISA switch (el) { case EL3: return INTREG_SP3; - // @todo: uncomment this to enable Virtualization - // case EL2: - // return INTREG_SP2; + case EL2: + return INTREG_SP2; case EL1: return INTREG_SP1; case EL0: -- cgit v1.2.3