public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC] efi_loader: memory type in device path allocation
@ 2019-02-25  1:30 AKASHI Takahiro
  0 siblings, 0 replies; only message in thread
From: AKASHI Takahiro @ 2019-02-25  1:30 UTC (permalink / raw)
  To: u-boot

In efi_device_path.c, dp_alloc() uses efi_allocate_pool() with
EFI_ALLOCATE_ANY_PAGES.
This usage is just wrong as the first argument to efi_allocate_pool()
should be of efi_mem_type, not "allocation type."

Since this routine is called as part of device path * protocol,
I don't know what is the best value here.
(EFI_BOOT_SERVICES_DATA as far as I looked into EDK2 shell implementation.)

-Takahiro Akashi

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-25  1:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-25  1:30 [U-Boot] [RFC] efi_loader: memory type in device path allocation AKASHI Takahiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox