]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/boot/efi/pe.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
3 * This program is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation; either version 2.1 of the License, or
6 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * Copyright (C) 2015 Kay Sievers <kay@vrfy.org>
16 #ifndef __SDBOOT_PEFILE_H
17 #define __SDBOOT_PEFILE_H
19 EFI_STATUS
pe_memory_locate_sections(CHAR8
*base
,
20 CHAR8
**sections
, UINTN
*addrs
, UINTN
*offsets
, UINTN
*sizes
);
21 EFI_STATUS
pe_file_locate_sections(EFI_FILE
*dir
, CHAR16
*path
,
22 CHAR8
**sections
, UINTN
*addrs
, UINTN
*offsets
, UINTN
*sizes
);