+4
−0
Loading
Although M profile doesn't have the same concept of exception level as A profile, it does have a notion of privileged versus not, which we currently track in the privmode TB flag. Support returning this information if arm_current_el() is called on an M profile core, so that we can identify the correct MMU index to use (and put the MMU index in the TB flags) without having to special-case M profile. Signed-off-by:Peter Maydell <peter.maydell@linaro.org> Reviewed-by:
Greg Bellows <greg.bellows@linaro.org>