1 #include <syslinux/config.h>
4 extern far_ptr_t StrucPtr
;
5 extern far_ptr_t InitStack
;
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
= GET_PTR(StrucPtr
);
19 di
->pxe
.stack
= GET_PTR(InitStack
);
20 di
->pxe
.ipinfo
= &IPInfo
;
21 di
->pxe
.myip
= IPInfo
.myip
;