Tag Info

New answers tagged


Check the NS bit in the SCR register (it's the same register on ARMv7 and ARMv8). You need to be in a privileged mode (i.e. EL1 and above). (Monitor mode (EL3) is secure regardless of the value of the NS bit but if you need to ask you aren't running code in monitor mode.) It's a bit odd that you'd need to test that because typically the two worlds would be ...

Top 50 recent answers are included