aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/earlycpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'xen/include/xen/earlycpio.h')
-rw-r--r--xen/include/xen/earlycpio.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/xen/include/xen/earlycpio.h b/xen/include/xen/earlycpio.h
new file mode 100644
index 0000000000..85d144a351
--- /dev/null
+++ b/xen/include/xen/earlycpio.h
@@ -0,0 +1,14 @@
+#ifndef _EARLYCPIO_H
+#define _EARLYCPIO_H
+
+#define MAX_CPIO_FILE_NAME 18
+
+struct cpio_data {
+ void *data;
+ size_t size;
+};
+
+struct cpio_data find_cpio_data(const char *path, void *data, size_t len,
+ long *offset);
+
+#endif /* _EARLYCPIO_H */