Various update

This commit is contained in:
Jozef Nagy 2025-05-21 22:04:08 +02:00
parent c6a93ef5d4
commit a73a026ef8
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
4 changed files with 23 additions and 1 deletions

View file

@ -5,6 +5,10 @@
#define EFI_ERROR(status) (((EFI_INTN)(status)) < 0)
#define EFI_PAGE_MASK 0xFFF
#define EFI_PAGE_SHIFT 12
#define EFI_SIZE_TO_PAGES(size) (((size) >> EFI_PAGE_SHIFT) + (((size) & EFI_PAGE_MASK) ? 1 : 0))
static inline const char *efi_status_to_str(EFI_STATUS s)
{
switch (s) {