1 #ifndef _ASM_CRIS_ARCH_USER_H
2 #define _ASM_CRIS_ARCH_USER_H
4 /* User-mode register used for core dumps. */
6 struct user_regs_struct
{
7 unsigned long r0
; /* General registers. */
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. */
41 #endif /* _ASM_CRIS_ARCH_USER_H */