arch/sh/include/asm/user.h

Source file repositories/reference/linux-study-clean/arch/sh/include/asm/user.h

File Facts

System
Linux kernel
Corpus path
arch/sh/include/asm/user.h
Extension
.h
Size
2244 bytes
Lines
56
Domain
Architecture Layer
Bucket
arch/sh
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 user_fpu_struct {
	unsigned long fp_regs[16];
	unsigned long xfp_regs[16];
	unsigned long fpscr;
	unsigned long fpul;
};

struct user {
	struct pt_regs	regs;			/* entire machine state */
	struct user_fpu_struct fpu;	/* Math Co-processor registers  */
	int u_fpvalid;		/* True if math co-processor being used */
	size_t		u_tsize;		/* text size (pages) */
	size_t		u_dsize;		/* data size (pages) */
	size_t		u_ssize;		/* stack size (pages) */
	unsigned long	start_code;		/* text starting address */
	unsigned long	start_data;		/* data starting address */
	unsigned long	start_stack;		/* stack starting address */
	long int	signal;			/* signal causing core dump */
	unsigned long	u_ar0;			/* help gdb find registers */
	struct user_fpu_struct* u_fpstate;	/* Math Co-processor pointer */
	unsigned long	magic;			/* identifies a core file */
	char		u_comm[32];		/* user command name */
};

#endif /* __ASM_SH_USER_H */

Annotation

Implementation Notes