arch-arm: Use ThreadContext in ArmISA::currEL implementation

This is partly reverting a previous patch [1] which was
moving most functionalities within the ISA class.
This evidently does not work well with thread context implementations
which are bypassed by the ISA objects as noted by [2]


Change-Id: I0c91c76f690542219ffbbf53359531d9dea9e86d
Signed-off-by: Giacomo Travaglini <>
Tested-by: kokoro <>
Reviewed-by: Yu-hsin Wang <>
Maintainer: Andreas Sandberg <>
Reviewed-by: Andreas Sandberg <>
1 file changed