Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi,
I am a newbie to the TrustZone architecture. I learned that, in secure world, whether a memory access is secure or not is determined by the NS field in the translation descriptor and, in non-secure world, the NS field will be ignored. I am wondering that what type of memory access will be issued from secure world if the MMU hasn't been enabled? Secure or non-secure? What about from non-secure world?
I am asking this is because I am trying to initialize GIC and Generic Timer before my translation table and MMU get initialized. Both of there two components contain memory mapped registers which are banked for secure and non-secure accesses. Not sure if it's correct way to do this. Correct me if I am wrong.
Thanks,
Zizhu
With the MMU disabled:
With the MMU enabled:
Non-secure world accesses will always be made as non-secure accesses, irrespective of MMU settings, for obvious reasons ...
Thank you!