mbox series

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

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

Message

Heinrich Schuchardt April 22, 2020, 5:51 p.m. UTC
For storing UEFI variables 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.

v3:
	adjust gpt command
	adjust commit message
v2:
	BIT() macro to define bit mask

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

 cmd/gpt.c                 |  4 ++--
 disk/part_dos.c           | 14 ++++++++++----
 disk/part_efi.c           | 16 ++++++++++------
 include/efi_loader.h      |  7 +++++++
 include/part.h            | 11 ++++++++++-
 lib/efi_loader/efi_disk.c | 20 ++++++++++++++++++++
 6 files changed, 59 insertions(+), 13 deletions(-)

--
2.26.1