
22 Jun
2018
22 Jun
'18
9:28 p.m.
On 22 June 2018 at 06:44, Alexander Graf agraf@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@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@chromium.org