18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci#ifndef _ASM_POWERPC_CRASHDUMP_PPC64_H
38c2ecf20Sopenharmony_ci#define _ASM_POWERPC_CRASHDUMP_PPC64_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/*
68c2ecf20Sopenharmony_ci * Backup region - first 64KB of System RAM
78c2ecf20Sopenharmony_ci *
88c2ecf20Sopenharmony_ci * If ever the below macros are to be changed, please be judicious.
98c2ecf20Sopenharmony_ci * The implicit assumptions are:
108c2ecf20Sopenharmony_ci *     - start, end & size are less than UINT32_MAX.
118c2ecf20Sopenharmony_ci *     - start & size are at least 8 byte aligned.
128c2ecf20Sopenharmony_ci *
138c2ecf20Sopenharmony_ci * For implementation details: arch/powerpc/purgatory/trampoline_64.S
148c2ecf20Sopenharmony_ci */
158c2ecf20Sopenharmony_ci#define BACKUP_SRC_START	0
168c2ecf20Sopenharmony_ci#define BACKUP_SRC_END		0xffff
178c2ecf20Sopenharmony_ci#define BACKUP_SRC_SIZE		(BACKUP_SRC_END - BACKUP_SRC_START + 1)
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#endif /* __ASM_POWERPC_CRASHDUMP_PPC64_H */
20