On 22 June 2018 at 06:44, Alexander Graf <ag...@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 <ag...@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 <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot