Hello, I'm trying to, given a virtual address, quickly check if it exists (if it is mapped) to know if I can access it in a safe way, without generating an exception. I'm currently using the AT instruction to check if a virtual address exists. Is there an alternative or better way to do this?
Thank you in advance
What is the problem with AT? AFAIK, it is the only way.
Thank you for your replay. Just wondering if there was another way to do it....
Btw, do you know if it is possible to use AT with MMU disabled?
w/o MMU no virtual address. I never tried the outcome, but I guess it wil indicate a fault (as there is no mapping for any address).
View all questions in Cortex-A / A-Profile forum