[PATCHv2 00/16] EFI updates

Michael Olbrich m.olbrich at pengutronix.de
Fri Jul 17 12:22:33 PDT 2015


Hi,

I've added a patch for xasprintf() and one to add xfuncs for the relevant
wchar functions. I've replaced all occurrences in the EFI code but I'm not
confident enough to do this elsewhere without being able to test it.

And I've added some patches to save the environment in an EFI variable.

Michael Olbrich (16):
  xfuncs: add xasprintf() and xvasprintf()
  xfuncs: add wrapper for wchar strdup functions
  efi: improve malloc pool allocation
  efi: refactor & improve application loading code
  efi: add support for initrd loading
  efi: add helper to get the GPT partition UUID for a device
  efi: export device_path_from_handle()
  efi: add helper functions to write EFI variables
  efi: write volatile EFI variables used by systemd
  efi: use xasprintf() when appropriate
  efi: use xstrdup_* when appropriate
  fs: efi: use xstrdup_* when appropriate
  fs: efivars: use xstrdup_* when appropriate
  fs: efivars: add more error checking
  fs: efivars: read the attributes on the second get_variable()
  efi: use an EFI variable to save the environment

 arch/efi/efi/efi-block-io.c |   2 +-
 arch/efi/efi/efi-image.c    | 198 +++++++++++++++++++++++++++++++++++++++++---
 arch/efi/efi/efi.c          |  74 +++++++++++++++--
 arch/efi/include/mach/efi.h |   4 +
 common/efi-devicepath.c     |  30 +++++++
 common/efi-guid.c           |   2 +
 fs/efi.c                    |   4 +-
 fs/efivarfs.c               |  29 ++++---
 include/efi.h               |  10 ++-
 include/xfuncs.h            |   8 ++
 lib/xfuncs.c                |  55 ++++++++++++
 11 files changed, 383 insertions(+), 33 deletions(-)

-- 
2.1.4




More information about the barebox mailing list