arch/x86/include/asm/orc_types.h

Source file repositories/reference/linux-study-clean/arch/x86/include/asm/orc_types.h

File Facts

System
Linux kernel
Corpus path
arch/x86/include/asm/orc_types.h
Extension
.h
Size
2206 bytes
Lines
80
Domain
Architecture Layer
Bucket
arch/x86
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 orc_entry {
	s16		sp_offset;
	s16		bp_offset;
#if defined(__LITTLE_ENDIAN_BITFIELD)
	unsigned	sp_reg:4;
	unsigned	bp_reg:4;
	unsigned	type:3;
	unsigned	signal:1;
#elif defined(__BIG_ENDIAN_BITFIELD)
	unsigned	bp_reg:4;
	unsigned	sp_reg:4;
	unsigned	unused:4;
	unsigned	signal:1;
	unsigned	type:3;
#endif
} __packed;

#endif /* __ASSEMBLER__ */

#endif /* _ORC_TYPES_H */

Annotation

Implementation Notes