summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/bootdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/bootdata.h')
-rw-r--r--include/asm-parisc/bootdata.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-parisc/bootdata.h b/include/asm-parisc/bootdata.h
new file mode 100644
index 000000000..e4de299b3
--- /dev/null
+++ b/include/asm-parisc/bootdata.h
@@ -0,0 +1,16 @@
+#ifndef _PARISC_BOOTDATA_H
+#define _PARISC_BOOTDATA_H
+
+/* structure given from bootloader... */
+typedef struct {
+ unsigned data_valid_signature,
+ initrd_start,
+ initrd_end;
+ char commandline[1024];
+} bootdata_t;
+
+#define BOOTDATA_DATA_VALID_SIGNATURE 0xC0400000
+
+#define BOOTDATA_PTR ((bootdata_t*) 0xC0400000)
+
+#endif