arch/loongarch/include/asm/crash_reserve.h

Source file repositories/reference/linux-study-clean/arch/loongarch/include/asm/crash_reserve.h

File Facts

System
Linux kernel
Corpus path
arch/loongarch/include/asm/crash_reserve.h
Extension
.h
Size
286 bytes
Lines
13
Domain
Architecture Layer
Bucket
arch/loongarch
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#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

Annotation

Implementation Notes