summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include
diff options
context:
space:
mode:
authorMichael Brown2007-01-09 03:29:18 +0100
committerMichael Brown2007-01-09 03:29:18 +0100
commit937289cdc8606003b575194f2af2a50923e90e31 (patch)
treeb24abcdf16ee11207b8ce2be4831222cbad4ce03 /src/arch/i386/include
parentCall PXENV_UNDI_GET_NIC_TYPE to identify NIC physical device. (diff)
downloadipxe-937289cdc8606003b575194f2af2a50923e90e31.tar.gz
ipxe-937289cdc8606003b575194f2af2a50923e90e31.tar.xz
ipxe-937289cdc8606003b575194f2af2a50923e90e31.zip
Provide storage for an undi_device structure representing the preloaded
UNDI stack.
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r--src/arch/i386/include/undipreload.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/i386/include/undipreload.h b/src/arch/i386/include/undipreload.h
new file mode 100644
index 00000000..d9bc8cb9
--- /dev/null
+++ b/src/arch/i386/include/undipreload.h
@@ -0,0 +1,16 @@
+#ifndef _UNDIPRELOAD_H
+#define _UNDIPRELOAD_H
+
+/** @file
+ *
+ * Preloaded UNDI stack
+ *
+ */
+
+#include <realmode.h>
+#include <undi.h>
+
+extern struct undi_device __data16 ( preloaded_undi );
+#define preloaded_undi __use_data16 ( preloaded_undi )
+
+#endif /* _UNDIPRELOAD_H */