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/isa.hh | |
parent | 4fbf40daab480ae02b75a75e0dd5f56ce38386d2 (diff) | |
download | gem5-49538a71186d98f5440c5db646e23507fc2e38d1.tar.xz |
arm: enable EL2 support
Change-Id: I59fa4fae98c33d9e5c2185382e1411911d27d341
Diffstat (limited to 'src/arch/arm/isa.hh')
-rw-r--r-- | src/arch/arm/isa.hh | 7 |
1 files changed, 3 insertions, 4 deletions
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: |