aboutsummaryrefslogtreecommitdiffstats
path: root/efi/derivative.c
blob: ca43b98b35b84ca175d2bf4aa49da5e23d10f506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <syslinux/config.h>

/*
 * IP information.  Note that the field are in the same order as the
 * Linux kernel expects in the ip= option.
 */
struct syslinux_ipinfo IPInfo;
uint16_t APIVer;		/* PXE API version found */

static enum syslinux_filesystem __filesystem;

void efi_derivative(enum syslinux_filesystem fs)
{
    __filesystem = fs;
}
__export void get_derivative_info(union syslinux_derivative_info *di)
{
	di->disk.filesystem = __filesystem;
}