162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci#ifndef _ASM_POWERPC_CRASHDUMP_PPC64_H
362306a36Sopenharmony_ci#define _ASM_POWERPC_CRASHDUMP_PPC64_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/*
662306a36Sopenharmony_ci * Backup region - first 64KB of System RAM
762306a36Sopenharmony_ci *
862306a36Sopenharmony_ci * If ever the below macros are to be changed, please be judicious.
962306a36Sopenharmony_ci * The implicit assumptions are:
1062306a36Sopenharmony_ci *     - start, end & size are less than UINT32_MAX.
1162306a36Sopenharmony_ci *     - start & size are at least 8 byte aligned.
1262306a36Sopenharmony_ci *
1362306a36Sopenharmony_ci * For implementation details: arch/powerpc/purgatory/trampoline_64.S
1462306a36Sopenharmony_ci */
1562306a36Sopenharmony_ci#define BACKUP_SRC_START	0
1662306a36Sopenharmony_ci#define BACKUP_SRC_END		0xffff
1762306a36Sopenharmony_ci#define BACKUP_SRC_SIZE		(BACKUP_SRC_END - BACKUP_SRC_START + 1)
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#endif /* __ASM_POWERPC_CRASHDUMP_PPC64_H */
20