On Wed, 8 Dec 2021 at 10:45, abhijeet inamdar <abhijeetinamdar3...@gmail.com> wrote: > > Hi, > > Are these lines to be changed accordingly for my compatible > https://github.com/qemu/qemu/blob/stable-4.2/target/arm/helper.c#L9842-#L9852 > or is it fixed?
Those lines aren't board-specific, they are an architectural requirement on the CPU. They set up the default memory permissions (executable or not) when the MPU is disabled. Also, you're looking at QEMU 4.2 there, which is now pretty old. If you're actively developing a new board model, use the most recent QEMU at least, and preferably head-of-git. thanks -- PMM