xref: /linux/arch/loongarch/include/asm/crash_reserve.h (revision 8e1bb4a41aa78d6105e59186af3dcd545fc66e70)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _LOONGARCH_CRASH_RESERVE_H
3 #define _LOONGARCH_CRASH_RESERVE_H
4 
5 #define CRASH_ALIGN			SZ_2M
6 
7 #define CRASH_ADDR_LOW_MAX		SZ_4G
8 #define CRASH_ADDR_HIGH_MAX		memblock_end_of_DRAM()
9 
10 extern phys_addr_t memblock_end_of_DRAM(void);
11 
12 #endif
13