summaryrefslogtreecommitdiff
path: root/kexec/arch/mips/kexec-mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/mips/kexec-mips.h')
-rw-r--r--kexec/arch/mips/kexec-mips.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kexec/arch/mips/kexec-mips.h b/kexec/arch/mips/kexec-mips.h
index 2991b2d..a609fb5 100644
--- a/kexec/arch/mips/kexec-mips.h
+++ b/kexec/arch/mips/kexec-mips.h
@@ -1,6 +1,11 @@
#ifndef KEXEC_MIPS_H
#define KEXEC_MIPS_H
+#include <sys/types.h>
+
+#define BOOT_BLOCK_VERSION 17
+#define BOOT_BLOCK_LAST_COMP_VERSION 16
+
#define MAX_MEMORY_RANGES 64
#define MAX_LINE 160
@@ -14,7 +19,11 @@ void elf_mips_usage(void);
struct arch_options_t {
char *command_line;
+ char *dtb_file;
int core_header_type;
};
+extern struct memory_ranges usablemem_rgns;
+extern off_t initrd_base, initrd_size;
+
#endif /* KEXEC_MIPS_H */