aboutsummaryrefslogtreecommitdiff
path: root/efi/derivative.c
diff options
context:
space:
mode:
Diffstat (limited to 'efi/derivative.c')
-rw-r--r--efi/derivative.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/efi/derivative.c b/efi/derivative.c
new file mode 100644
index 0000000..12edd70
--- /dev/null
+++ b/efi/derivative.c
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2012-2014 Intel Corporation - All Rights Reserved
+ */
+
+#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;
+}