]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/arm64/include/asm/kexec.h
4 * Copyright (C) Linaro.
5 * Copyright (C) Huawei Futurewei Technologies.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #ifndef _ARM64_KEXEC_H
13 #define _ARM64_KEXEC_H
15 /* Maximum physical address we can use pages from */
17 #define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
19 /* Maximum address we can reach in physical address mode */
21 #define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL)
23 /* Maximum address we can use for the control code buffer */
25 #define KEXEC_CONTROL_MEMORY_LIMIT (-1UL)
27 #define KEXEC_CONTROL_PAGE_SIZE 4096
29 #define KEXEC_ARCH KEXEC_ARCH_AARCH64
34 * crash_setup_regs() - save registers for the panic kernel
36 * @newregs: registers are saved here
37 * @oldregs: registers to be saved (may be %NULL)
40 static inline void crash_setup_regs(struct pt_regs
*newregs
,
41 struct pt_regs
*oldregs
)
43 /* Empty routine needed to avoid build errors. */
46 #endif /* __ASSEMBLY__ */