arch/powerpc/include/asm/crash_reserve.h

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

File Facts

System
Linux kernel
Corpus path
arch/powerpc/include/asm/crash_reserve.h
Extension
.h
Size
447 bytes
Lines
17
Domain
Architecture Layer
Bucket
arch/powerpc
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 _ASM_POWERPC_CRASH_RESERVE_H
#define _ASM_POWERPC_CRASH_RESERVE_H

/* crash kernel regions are Page size agliged */
#define CRASH_ALIGN             PAGE_SIZE

#ifdef CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
static inline bool arch_add_crash_res_to_iomem(void)
{
	return false;
}
#define arch_add_crash_res_to_iomem arch_add_crash_res_to_iomem
#endif

#endif /* _ASM_POWERPC_CRASH_RESERVE_H */

Annotation

Implementation Notes