fa2a3bbdd8
The specification always said so, let's actually implement this. Unfortunately UEFI's own APIs don't allow us to search for partition type GUID, hence we have to implement a minimal GPT parser ourselves.
9 lines
256 B
C
9 lines
256 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include <efi.h>
|
|
#include <efilib.h>
|
|
|
|
UINT32 crc32(UINT32 seed, const VOID *buf, UINTN len);
|
|
UINT32 crc32_exclude_offset(UINT32 seed, const VOID *buf, UINTN len, UINTN exclude_off, UINTN exclude_len);
|