source: bootcd/isolinux/syslinux-6.03/efi/derivative.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 532 bytes
Line 
1/*
2 * Copyright 2012-2014 Intel Corporation - All Rights Reserved
3 */
4
5#include <syslinux/config.h>
6
7/*
8 * IP information.  Note that the field are in the same order as the
9 * Linux kernel expects in the ip= option.
10 */
11struct syslinux_ipinfo IPInfo;
12uint16_t APIVer;                /* PXE API version found */
13
14static enum syslinux_filesystem __filesystem;
15
16void efi_derivative(enum syslinux_filesystem fs)
17{
18    __filesystem = fs;
19}
20__export void get_derivative_info(union syslinux_derivative_info *di)
21{
22        di->disk.filesystem = __filesystem;
23}
Note: See TracBrowser for help on using the repository browser.