arch/m68k/include/uapi/asm/ucontext.h

Source file repositories/reference/linux-study-clean/arch/m68k/include/uapi/asm/ucontext.h

File Facts

System
Linux kernel
Corpus path
arch/m68k/include/uapi/asm/ucontext.h
Extension
.h
Size
647 bytes
Lines
35
Domain
Architecture Layer
Bucket
arch/m68k
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 mcontext {
	int version;
	gregset_t gregs;
	fpregset_t fpregs;
};

#define MCONTEXT_VERSION 2

struct ucontext {
	unsigned long	  uc_flags;
	struct ucontext  *uc_link;
	stack_t		  uc_stack;
	struct mcontext	  uc_mcontext;
	unsigned long	  uc_filler[80];
	sigset_t	  uc_sigmask;	/* mask last for extensibility */
};

#endif

Annotation

Implementation Notes