[U-Boot] [PATCH v5 05/10] sandbox: Allow to execute from RAM
Simon Glass
sjg at chromium.org
Fri Jun 22 19:28:14 UTC 2018
On 22 June 2018 at 06:44, Alexander Graf <agraf at suse.de> wrote:
> With efi_loader, we may want to execute payloads from RAM. By default,
> permissions on the RAM region don't allow us to execute from there though.
>
> So let's change the default allocation scheme for RAM to also allow
> execution from it. That way payloads that live in U-Boot RAM can be
> directly executed.
>
> Signed-off-by: Alexander Graf <agraf at suse.de>
>
> ---
>
> v4 -> v5:
>
> - Replace runtime mprotect() mechanism with mmap() flag
> ---
> arch/sandbox/cpu/os.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
That looks a lot better to me.
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list