Where is the register definition of the CurrentEL register ?. I cannot seem to find it in the ARMv8A programming model guide or the Cortex-A53 TRM.
. How does the PSTATE bits map to CurrentEL ?
I read somewhere that a CurrentEL value of 0x4 denotes EL1 level but without the bit definitions, I am clueless about what does 0x4 mean for EL1.
Thank You
Never mind. I figured it out. CurrentEL maps the PSTATE[3:2] bits to CurrentEL[3:2] bits. Thus a value 4 would be bit 2 high signifying EL1 level. I erred in believing that PSTATE[3:2] would be mapped to CurrentEL[1:0].