1 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * Copyright (C) 2015 Kay Sievers <kay@vrfy.org>
17 #ifndef __SDBOOT_PEFILE_H
18 #define __SDBOOT_PEFILE_H
20 EFI_STATUS pefile_locate_sections(EFI_FILE *dir, CHAR16 *path,
21 CHAR8 **sections, UINTN *addrs, UINTN *offsets, UINTN *sizes);