mbox series

[v2,0/2] efi_loader: identify EFI system partition

Message ID 20200405092818.6417-1-xypron.glpk@gmx.de
Headers show
Series efi_loader: identify EFI system partition | expand

Message

Heinrich Schuchardt April 5, 2020, 9:28 a.m. UTC
For the implementation of capsule updates we need to know where the EFI
system partition is located.

With the patches the first available EFI system partition is determined
both for MBR and GPT partition tables.

v2:
	used BIT() macro to define bit mask

Heinrich Schuchardt (2):
  part: detect EFI system partition
  efi_loader: identify EFI system partition

 disk/part_dos.c           | 10 ++++++++--
 disk/part_efi.c           | 12 ++++++++----
 include/efi_loader.h      |  7 +++++++
 include/part.h            | 11 ++++++++++-
 lib/efi_loader/efi_disk.c | 20 ++++++++++++++++++++
 5 files changed, 53 insertions(+), 7 deletions(-)

--
2.25.1