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