Make linux optional as all other configs.
[syslinux-debian/hramrach.git] / core / pxelinux-c.c
blob368318948bf2440e7757c3fa5247813860271fe9
1 #include <syslinux/config.h>
2 #include <com32.h>
4 extern void *StrucPtr;
5 extern void *InitStack;
7 /*
8 * IP information. Note that the field are in the same order as the
9 * Linux kernel expects in the ip= option.
11 struct syslinux_ipinfo IPInfo;
12 uint16_t APIVer; /* PXE API version found */
14 __export void get_derivative_info(union syslinux_derivative_info *di)
16 di->pxe.filesystem = SYSLINUX_FS_PXELINUX;
17 di->pxe.apiver = APIVer;
18 di->pxe.pxenvptr = &StrucPtr;
19 di->pxe.stack = &InitStack;
20 di->pxe.ipinfo = &IPInfo;
21 di->pxe.myip = IPInfo.myip;