This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / asm-ppc / kexec.h
1 #ifndef _PPC_KEXEC_H
2 #define _PPC_KEXEC_H
3
4 #ifdef CONFIG_KEXEC
5 /*
6  * KEXEC_SOURCE_MEMORY_LIMIT maximum page get_free_page can return.
7  * I.e. Maximum page that is mapped directly into kernel memory,
8  * and kmap is not required.
9  *
10  * Someone correct me if FIXADDR_START - PAGEOFFSET is not the correct
11  * calculation for the amount of memory directly mappable into the
12  * kernel memory space.
13  */
14
15 /* Maximum physical address we can use pages from */
16 #define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
17 /* Maximum address we can reach in physical address mode */
18 #define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL)
19 /* Maximum address we can use for the control code buffer */
20 #define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE
21
22 #define KEXEC_CONTROL_CODE_SIZE 4096
23
24 #endif /* CONFIG_KEXEC */
25
26 #endif /* _PPC_KEXEC_H */