Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
user.h
Go to the documentation of this file.
1 #ifndef _ASM_CRIS_ARCH_USER_H
2 #define _ASM_CRIS_ARCH_USER_H
3 
4 /* User-mode register used for core dumps. */
5 
6 struct user_regs_struct {
7  unsigned long r0; /* General registers. */
8  unsigned long r1;
9  unsigned long r2;
10  unsigned long r3;
11  unsigned long r4;
12  unsigned long r5;
13  unsigned long r6;
14  unsigned long r7;
15  unsigned long r8;
16  unsigned long r9;
17  unsigned long r10;
18  unsigned long r11;
19  unsigned long r12;
20  unsigned long r13;
21  unsigned long sp; /* R14, Stack pointer. */
22  unsigned long acr; /* R15, Address calculation register. */
23  unsigned long bz; /* P0, Constant zero (8-bits). */
24  unsigned long vr; /* P1, Version register (8-bits). */
25  unsigned long pid; /* P2, Process ID (8-bits). */
26  unsigned long srs; /* P3, Support register select (8-bits). */
27  unsigned long wz; /* P4, Constant zero (16-bits). */
28  unsigned long exs; /* P5, Exception status. */
29  unsigned long eda; /* P6, Exception data address. */
30  unsigned long mof; /* P7, Multiply overflow regiter. */
31  unsigned long dz; /* P8, Constant zero (32-bits). */
32  unsigned long ebp; /* P9, Exception base pointer. */
33  unsigned long erp; /* P10, Exception return pointer. */
34  unsigned long srp; /* P11, Subroutine return pointer. */
35  unsigned long nrp; /* P12, NMI return pointer. */
36  unsigned long ccs; /* P13, Condition code stack. */
37  unsigned long usp; /* P14, User mode stack pointer. */
38  unsigned long spc; /* P15, Single step PC. */
39 };
40 
41 #endif /* _ASM_CRIS_ARCH_USER_H */