1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 #include <efi.h>
5 
6 EFI_STATUS pack_cpio(
7                 EFI_LOADED_IMAGE *loaded_image,
8                 const CHAR16 *dropin_dir,
9                 const CHAR16 *match_suffix,
10                 const CHAR8 *target_dir_prefix,
11                 UINT32 dir_mode,
12                 UINT32 access_mode,
13                 const UINT32 tpm_pcr[],
14                 UINTN n_tpm_pcr,
15                 const CHAR16 *tpm_description,
16                 void **ret_buffer,
17                 UINTN *ret_buffer_size);
18