arch/nios2/include/asm/traps.h

Source file repositories/reference/linux-study-clean/arch/nios2/include/asm/traps.h

File Facts

System
Linux kernel
Corpus path
arch/nios2/include/asm/traps.h
Extension
.h
Size
606 bytes
Lines
22
Domain
Architecture Layer
Bucket
arch/nios2
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_NIOS2_TRAPS_H
#define _ASM_NIOS2_TRAPS_H

#define TRAP_ID_SYSCALL		0

#ifndef __ASSEMBLER__
void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
void do_page_fault(struct pt_regs *regs, unsigned long cause,
		   unsigned long address);
#endif

#endif /* _ASM_NIOS2_TRAPS_H */

Annotation

Implementation Notes