arm: Make EL checks available in SE mode
authorAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 26 May 2016 16:33:38 +0000 (17:33 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 26 May 2016 16:33:38 +0000 (17:33 +0100)
commite360f4db072593893dcbbbdaa5d322f7d5061b34
treeb8fb8b130e02990b6ff0695572e3b0b14f9ef0e2
parente3e808416f92d5558d17731fd31c002d84d40181
arm: Make EL checks available in SE mode

A lot of code assumes that it is possible to test what the highest EL
is and if it is 64 bit. These calls currently don't work in SE mode
since they rely on an instance of an ArmSystem.

Change-Id: I0d1f261926a66ce3dc4fa116845ffb2a081446f2
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Nathanael Premillieu <nathanael.premillieu@arm.com>
src/arch/arm/system.cc