diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2016-08-02 10:38:01 +0100 |
---|---|---|
committer | Curtis Dunham <Curtis.Dunham@arm.com> | 2016-08-02 10:38:01 +0100 |
commit | 49538a71186d98f5440c5db646e23507fc2e38d1 (patch) | |
tree | 96994897ff3faf3da05b44d2375afcc0b98140b9 /src/arch/arm/system.hh | |
parent | 4fbf40daab480ae02b75a75e0dd5f56ce38386d2 (diff) | |
download | gem5-49538a71186d98f5440c5db646e23507fc2e38d1.tar.xz |
arm: enable EL2 support
Change-Id: I59fa4fae98c33d9e5c2185382e1411911d27d341
Diffstat (limited to 'src/arch/arm/system.hh')
-rw-r--r-- | src/arch/arm/system.hh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/arch/arm/system.hh b/src/arch/arm/system.hh index 511118d4d..ee286d23a 100644 --- a/src/arch/arm/system.hh +++ b/src/arch/arm/system.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2012-2013, 2015 ARM Limited + * Copyright (c) 2010, 2012-2013, 2015-2016 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall @@ -184,9 +184,8 @@ class ArmSystem : public System { if (_haveSecurity) return EL3; - // @todo: uncomment this to enable Virtualization - // if (_haveVirtualization) - // return EL2; + if (_haveVirtualization) + return EL2; return EL1; } |