Statistics
| Branch: | Revision:

root / linux-user / cris / syscall.h @ e69b4065

History | View | Annotate | Download (1 kB)

1

    
2
#define UNAME_MACHINE "cris"
3

    
4
/* pt_regs not only specifices the format in the user-struct during
5
 * ptrace but is also the frame format used in the kernel prologue/epilogues
6
 * themselves
7
 */
8

    
9
struct target_pt_regs {
10
        unsigned long orig_r10;
11
        /* pushed by movem r13, [sp] in SAVE_ALL. */
12
        unsigned long r0;
13
        unsigned long r1;
14
        unsigned long r2;
15
        unsigned long r3;
16
        unsigned long r4;
17
        unsigned long r5;
18
        unsigned long r6;
19
        unsigned long r7;
20
        unsigned long r8;
21
        unsigned long r9;
22
        unsigned long r10;
23
        unsigned long r11;
24
        unsigned long r12;
25
        unsigned long r13;
26
        unsigned long acr;
27
        unsigned long srs;
28
        unsigned long mof;
29
        unsigned long spc;
30
        unsigned long ccs;
31
        unsigned long srp;
32
        unsigned long erp; /* This is actually the debugged process' PC */
33
        /* For debugging purposes; saved only when needed. */
34
        unsigned long exs;
35
        unsigned long eda;
36
};
37