arch/csky/abiv2/inc/abi/switch_context.h

Source file repositories/reference/linux-study-clean/arch/csky/abiv2/inc/abi/switch_context.h

File Facts

System
Linux kernel
Corpus path
arch/csky/abiv2/inc/abi/switch_context.h
Extension
.h
Size
585 bytes
Lines
32
Domain
Architecture Layer
Bucket
arch/csky
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

struct switch_stack {
#ifdef CONFIG_CPU_HAS_HILO
	unsigned long rhi;
	unsigned long rlo;
	unsigned long cr14;
	unsigned long pad;
#endif
	unsigned long r4;
	unsigned long r5;
	unsigned long r6;
	unsigned long r7;
	unsigned long r8;
	unsigned long r9;
	unsigned long r10;
	unsigned long r11;

	unsigned long r15;
	unsigned long r16;
	unsigned long r17;
	unsigned long r26;
	unsigned long r27;
	unsigned long r28;
	unsigned long r29;
	unsigned long r30;
};
#endif /* __ABI_CSKY_PTRACE_H */

Annotation

Implementation Notes