Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173187129
D58383.id182414.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
575 B
Referenced Files
None
Subscribers
None
D58383.id182414.diff
View Options
Index: stand/efi/loader/arch/amd64/elf64_freebsd.c
===================================================================
--- stand/efi/loader/arch/amd64/elf64_freebsd.c
+++ stand/efi/loader/arch/amd64/elf64_freebsd.c
@@ -102,7 +102,7 @@
trampcode = copy_staging == COPY_STAGING_ENABLE ?
(vm_offset_t)G(1) : (vm_offset_t)G(4);
- err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 1,
+ err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderCode, 1,
(EFI_PHYSICAL_ADDRESS *)&trampcode);
if (EFI_ERROR(err)) {
printf("Unable to allocate trampoline\n");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 25, 4:30 AM (8 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39578511
Default Alt Text
D58383.id182414.diff (575 B)
Attached To
Mode
D58383: loader: Allocate trampoline as EfiLoaderCode, not Data
Attached
Detach File
Event Timeline
Log In to Comment