On 22 June 2018 at 06:44, Alexander Graf <[email protected]> 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 <[email protected]> > > --- > > 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 <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

