Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef _ASM_X86_USER32_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _ASM_X86_USER32_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) /* IA32 compatible user structures for ptrace.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * These should be used for 32bit coredumps too. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) struct user_i387_ia32_struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	u32	cwd;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	u32	swd;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	u32	twd;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	u32	fip;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	u32	fcs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	u32	foo;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	u32	fos;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	u32	st_space[20];   /* 8*10 bytes for each FP-reg = 80 bytes */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) /* FSAVE frame with extensions */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) struct user32_fxsr_struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	unsigned short	cwd;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	unsigned short	swd;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	unsigned short	twd;	/* not compatible to 64bit twd */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	unsigned short	fop;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	int	fip;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	int	fcs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	int	foo;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	int	fos;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	int	mxcsr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	int	reserved;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	int	st_space[32];	/* 8*16 bytes for each FP-reg = 128 bytes */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	int	xmm_space[32];	/* 8*16 bytes for each XMM-reg = 128 bytes */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	int	padding[56];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) struct user_regs_struct32 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	__u32 ebx, ecx, edx, esi, edi, ebp, eax;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	unsigned short ds, __ds, es, __es;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	unsigned short fs, __fs, gs, __gs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	__u32 orig_eax, eip;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	unsigned short cs, __cs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 	__u32 eflags, esp;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	unsigned short ss, __ss;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) struct user32 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)   struct user_regs_struct32 regs; /* Where the registers are actually stored */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)   int u_fpvalid;		/* True if math co-processor being used. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 				/* for this mess. Not yet used. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)   struct user_i387_ia32_struct i387;	/* Math Co-processor registers. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) /* The rest of this junk is to help gdb figure out what goes where */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)   __u32 u_tsize;	/* Text segment size (pages). */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)   __u32 u_dsize;	/* Data segment size (pages). */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)   __u32 u_ssize;	/* Stack segment size (pages). */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)   __u32 start_code;     /* Starting virtual address of text. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)   __u32 start_stack;	/* Starting virtual address of stack area.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 				   This is actually the bottom of the stack,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 				   the top of the stack is always found in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 				   esp register.  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)   __u32 signal;     		/* Signal that caused the core dump. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)   int reserved;			/* No __u32er used */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)   __u32 u_ar0;	/* Used by gdb to help find the values for */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 				/* the registers. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)   __u32 u_fpstate;	/* Math Co-processor pointer. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)   __u32 magic;		/* To uniquely identify a core file */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)   char u_comm[32];		/* User command that was responsible */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)   int u_debugreg[8];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) #endif /* _ASM_X86_USER32_H */