We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
As soon as you disable the MMU, the address translation will become flat mapped.Before you turn the MMU off, the instructions at VA are being fetched from PA = f(VA), after you turn it off, the instructions at VA are fetched from PA = VA.Have you ensured that the instructions at VA are the same as f(VA), or have you ensured that the page you are executing from before you disable the MMU is already flat mapped?Further, if something subsequently makes use of the stack (or C library) have you ensured these have valid mappings with the MMU disabled?hths.