summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc/kexec-ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/ppc/kexec-ppc.h')
-rw-r--r--kexec/arch/ppc/kexec-ppc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kexec/arch/ppc/kexec-ppc.h b/kexec/arch/ppc/kexec-ppc.h
index 6a40cc8..1b2b015 100644
--- a/kexec/arch/ppc/kexec-ppc.h
+++ b/kexec/arch/ppc/kexec-ppc.h
@@ -10,6 +10,7 @@ extern struct {
extern unsigned char setup_dol_start[];
extern uint32_t setup_dol_size;
+extern uint64_t rmo_top;
extern struct {
uint32_t spr8;
@@ -25,4 +26,10 @@ int dol_ppc_load(int argc, char **argv, const char *buf, off_t len,
struct kexec_info *info);
void dol_ppc_usage(void);
+/*
+ * During inital setup the kernel does not map the whole memory but a part of
+ * it. On Book-E that is 64MiB, 601 24MiB or 256MiB (if possible).
+ */
+#define KERNEL_ACCESS_TOP (24 * 1024 * 1024)
+
#endif /* KEXEC_PPC_H */