1 #ifndef __ASM_CRIS_ARCH_USER_H
2 #define __ASM_CRIS_ARCH_USER_H
4 /* User mode registers, used for core dumps. In order to keep ELF_NGREG
5 sensible we let all registers be 32 bits. The csr registers are included
7 struct user_regs_struct
{
8 unsigned long r0
; /* General registers. */
22 unsigned long sp
; /* Stack pointer. */
23 unsigned long pc
; /* Program counter. */
24 unsigned long p0
; /* Constant zero (only 8 bits). */
25 unsigned long vr
; /* Version register (only 8 bits). */
26 unsigned long p2
; /* Reserved. */
27 unsigned long p3
; /* Reserved. */
28 unsigned long p4
; /* Constant zero (only 16 bits). */
29 unsigned long ccr
; /* Condition code register (only 16 bits). */
30 unsigned long p6
; /* Reserved. */
31 unsigned long mof
; /* Multiply overflow register. */
32 unsigned long p8
; /* Constant zero. */
33 unsigned long ibr
; /* Not accessible. */
34 unsigned long irp
; /* Not accessible. */
35 unsigned long srp
; /* Subroutine return pointer. */
36 unsigned long bar
; /* Not accessible. */
37 unsigned long dccr
; /* Dword condition code register. */
38 unsigned long brp
; /* Not accessible. */
39 unsigned long usp
; /* User-mode stack pointer. Same as sp when
41 unsigned long csrinstr
; /* Internal status registers. */
42 unsigned long csraddr
;
43 unsigned long csrdata
;