1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include <efidef.h> 5 6 EFI_STATUS pe_memory_locate_sections( 7 const CHAR8 *base, 8 const CHAR8 **sections, 9 UINTN *addrs, 10 UINTN *sizes); 11 12 EFI_STATUS pe_file_locate_sections( 13 EFI_FILE *dir, 14 const CHAR16 *path, 15 const CHAR8 **sections, 16 UINTN *offsets, 17 UINTN *sizes); 18 19 EFI_STATUS pe_alignment_info( 20 const void *base, 21 UINT32 *ret_entry_point_address, 22 UINT32 *ret_size_of_image, 23 UINT32 *ret_section_alignment); 24