mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
OvmfPkg: make legacy direct kernel loader code nx clean
kernel pages are code not data. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
6d2143f685
commit
18984b68fe
@ -168,7 +168,7 @@ LoadLinuxAllocateKernelPages (
|
|||||||
);
|
);
|
||||||
Status = gBS->AllocatePages (
|
Status = gBS->AllocatePages (
|
||||||
AllocateAddress,
|
AllocateAddress,
|
||||||
EfiLoaderData,
|
EfiLoaderCode,
|
||||||
Pages,
|
Pages,
|
||||||
&KernelAddress
|
&KernelAddress
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user