aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/sys/gpxe.h
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-29 15:20:33 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:11:15 +0100
commit2221e0b8b5900d4f3d753ee3ee1bd552db187892 (patch)
treef41b06952185ce2982a2b58e19ec099bc3423af6 /com32/include/sys/gpxe.h
parentadbc06e2c0d4e65b13492a80a6ebc0f3c855cfba (diff)
downloadsyslinux.git-2221e0b8b5900d4f3d753ee3ee1bd552db187892.tar.gz
syslinux.git-2221e0b8b5900d4f3d753ee3ee1bd552db187892.tar.xz
syslinux.git-2221e0b8b5900d4f3d753ee3ee1bd552db187892.zip
com32: Avoid gpxe detection code duplication
Impact: avoid code duplication This will make code more generic, hdt will need it ;)
Diffstat (limited to 'com32/include/sys/gpxe.h')
-rw-r--r--com32/include/sys/gpxe.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/com32/include/sys/gpxe.h b/com32/include/sys/gpxe.h
new file mode 100644
index 00000000..adbbefee
--- /dev/null
+++ b/com32/include/sys/gpxe.h
@@ -0,0 +1,16 @@
+#ifndef _GPXE_H
+#define _GPXE_H
+
+#include <com32.h>
+
+struct s_PXENV_FILE_CHECK_API {
+ uint16_t Status;
+ uint16_t Size;
+ uint32_t Magic;
+ uint32_t Provider;
+ uint32_t APIMask;
+ uint32_t Flags;
+};
+
+bool is_gpxe(void);
+#endif