summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/crash_reserve.h
blob: a1d9b84b1c7d516e7437ef51a5b2dde798f1c038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _LOONGARCH_CRASH_RESERVE_H
#define _LOONGARCH_CRASH_RESERVE_H

#define CRASH_ALIGN			SZ_2M

#define CRASH_ADDR_LOW_MAX		SZ_4G
#define CRASH_ADDR_HIGH_MAX		memblock_end_of_DRAM()

extern phys_addr_t memblock_end_of_DRAM(void);

#endif