summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ramdisk.h
diff options
context:
space:
mode:
authorMichael Brown2007-01-30 23:53:59 +0100
committerMichael Brown2007-01-30 23:53:59 +0100
commitb3e4418ea8c5f71390d24206dd3799eea2b0faf2 (patch)
tree77879c446b5e36216843bf27c2ec20e32f5870b0 /src/include/gpxe/ramdisk.h
parentGeneralise digest_algorithm to crypto_algorithm. (diff)
downloadipxe-b3e4418ea8c5f71390d24206dd3799eea2b0faf2.tar.gz
ipxe-b3e4418ea8c5f71390d24206dd3799eea2b0faf2.tar.xz
ipxe-b3e4418ea8c5f71390d24206dd3799eea2b0faf2.zip
Missing check-in
Diffstat (limited to 'src/include/gpxe/ramdisk.h')
-rw-r--r--src/include/gpxe/ramdisk.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/gpxe/ramdisk.h b/src/include/gpxe/ramdisk.h
new file mode 100644
index 00000000..c2317590
--- /dev/null
+++ b/src/include/gpxe/ramdisk.h
@@ -0,0 +1,19 @@
+#ifndef _GPXE_RAMDISK_H
+#define _GPXE_RAMDISK_H
+
+/**
+ * @file
+ *
+ * RAM disks
+ *
+ */
+
+#include <gpxe/uaccess.h>
+#include <gpxe/blockdev.h>
+
+struct ramdisk {
+ struct block_device blockdev;
+ userptr_t data;
+};
+
+#endif /* _GPXE_RAMDISK_H */