arch/riscv/include/asm/crash_reserve.h

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

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/crash_reserve.h
Extension
.h
Size
291 bytes
Lines
12
Domain
Architecture Layer
Bucket
arch/riscv
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 _RISCV_CRASH_RESERVE_H
#define _RISCV_CRASH_RESERVE_H

#define CRASH_ALIGN			PMD_SIZE

#define CRASH_ADDR_LOW_MAX		dma32_phys_limit
#define CRASH_ADDR_HIGH_MAX		memblock_end_of_DRAM()

extern phys_addr_t memblock_end_of_DRAM(void);
#endif

Annotation

Implementation Notes