On the x13s, using the EfiLoaderData memory type for the memory block
authorkettenis <kettenis@openbsd.org>
Tue, 28 Jun 2022 19:55:22 +0000 (19:55 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 28 Jun 2022 19:55:22 +0000 (19:55 +0000)
commit2c32ef33f5b1573564f64f1fbf0393c80a7eb0e8
tree98f41a03eda656b699b7feafa2b8533518b82fea
parent46b0d19a34259c83f301e0fe3e3d4d425767f9c7
On the x13s, using the EfiLoaderData memory type for the memory block
that we load the kernel into doesn't work.  But changing it to EfiLoaderCode
makes it work.  Presumably the firmware creates a mapping with executable
permissions in that case, which is obviously needed for executing kernel
code.

ok patrick@, mlarkin@
sys/arch/arm64/stand/efiboot/efiboot.c