arch/riscv/include/asm/purgatory.h

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

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/purgatory.h
Extension
.h
Size
240 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 _ASM_RISCV_PURGATORY_H
#define _ASM_RISCV_PURGATORY_H

#ifndef __ASSEMBLER__
#include <linux/purgatory.h>

void purgatory(void);
#endif	/* __ASSEMBLER__ */

#endif /* _ASM_RISCV_PURGATORY_H */

Annotation

Implementation Notes