arch-arm: Fix incorrect assumptions in ELIs64
authorChuan Zhu <chuan.zhu@arm.com>
Wed, 26 Jul 2017 16:40:36 +0000 (17:40 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 7 Feb 2018 15:06:50 +0000 (15:06 +0000)
commit234fba56bc6dde84c9a6a57e539676fa55b0ff76
treecd5c3a36c1f123d5d45f179af86981b736823d5c
parent0f2e20c80aa6bbc87f3791a8fdf81489ad501a40
arch-arm: Fix incorrect assumptions in ELIs64

The state of EL1 wasn't determined correctly when running in secure
mode if virtualisation was enabled. This changset updates the
implementation to match the canonical behavior from the ARM ARM.

Change-Id: I7ed6f5c003617773603f678667aac069d73b6f62
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/7141
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/arch/arm/utility.cc
src/arch/arm/utility.hh