summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/avr32/sys/user.h
blob: c0b3d384c6aa9b80426e19be9fc68d8d40715ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef _SYS_USER_H
#define _SYS_USER_H

struct user_fpregs
{

};

struct user_regs
{
	unsigned long sr;
	unsigned long pc;
	unsigned long lr;
	unsigned long sp;
	unsigned long r12;
	unsigned long r11;
	unsigned long r10;
	unsigned long r9;
	unsigned long r8;
	unsigned long r7;
	unsigned long r6;
	unsigned long r5;
	unsigned long r4;
	unsigned long r3;
	unsigned long r2;
	unsigned long r1;
	unsigned long r0;
	unsigned long r12_orig;
};

struct user
{
	struct user_regs	regs;		/* general registers */
	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 */
	struct user_regs *	u_ar0;		/* help gdb find registers */
	unsigned long		magic;		/* identifies a core file */
	char			u_comm[32];	/* user command name */
};

#endif /* _SYS_USER_H */