9af8b740e6
When the .elf file is loaded from disk, the kernel must be given write access to the allocated .text section in the task's address environment. The access is removed after the elf is loaded and relocations are done. NOTE: The reason this works for the ARM implementation, is that the ARM MMU can be configured to give write access for the privileged mode, but revoke write access for the user mode. Regardless, it would be smart to revoke write access even for the kernel, when the kernel does not need it. This framework allows doing that, if someone wishes to take up the task. |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |