All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] efi_loader: user EfiBootServicesData for device path
@ 2021-08-17 16:02 Heinrich Schuchardt
  2021-08-17 16:02 ` [PATCH 1/5] efi_loader: use an enum for the memory allocation types Heinrich Schuchardt
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Heinrich Schuchardt @ 2021-08-17 16:02 UTC (permalink / raw)
  To: u-boot
  Cc: Alexander Graf, Heinrich Schuchardt, Bin Meng, Simon Glass,
	Heinrich Schuchardt

When creating device paths or converting the device paths to text we must
memory of type EfiBootServiceData.

Change function definitions to use enums instead of int to avoid future
misuse of constants.

Heinrich Schuchardt (5):
  efi_loader: use an enum for the memory allocation types
  efi_loader rename enum efi_mem_type to efi_memory_type
  efi_loader: use correct type for AllocatePages, AllocatePool
  efi_loader: use EfiBootServicesData for device path
  efi_loader: use EfiBootServicesData for DP to text

 arch/x86/include/asm/hob.h               |  2 +-
 include/efi.h                            | 36 +++++++++++++++++++-----
 include/efi_api.h                        |  2 +-
 include/efi_loader.h                     |  9 +++---
 lib/efi_loader/efi_device_path.c         |  2 +-
 lib/efi_loader/efi_device_path_to_text.c |  2 +-
 lib/efi_loader/efi_memory.c              |  5 ++--
 7 files changed, 41 insertions(+), 17 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-08-24  4:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 16:02 [PATCH 0/5] efi_loader: user EfiBootServicesData for device path Heinrich Schuchardt
2021-08-17 16:02 ` [PATCH 1/5] efi_loader: use an enum for the memory allocation types Heinrich Schuchardt
2021-08-17 16:02 ` [PATCH 2/5] efi_loader rename enum efi_mem_type to efi_memory_type Heinrich Schuchardt
2021-08-17 16:02 ` [PATCH 3/5] efi_loader: use correct type for AllocatePages, AllocatePool Heinrich Schuchardt
2021-08-18  1:45   ` AKASHI Takahiro
2021-08-18  4:50     ` Heinrich Schuchardt
2021-08-18  5:23       ` AKASHI Takahiro
2021-08-24  4:38         ` AKASHI Takahiro
2021-08-17 16:02 ` [PATCH 4/5] efi_loader: use EfiBootServicesData for device path Heinrich Schuchardt
2021-08-17 16:02 ` [PATCH 5/5] efi_loader: use EfiBootServicesData for DP to text Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.