Statistics
| Branch: | Revision:

root / linux-user / cris / syscall.h @ 6a24a778

History | View | Annotate | Download (1 kB)

1 e69b4065 ths
2 e69b4065 ths
#define UNAME_MACHINE "cris"
3 e69b4065 ths
4 e69b4065 ths
/* pt_regs not only specifices the format in the user-struct during
5 e69b4065 ths
 * ptrace but is also the frame format used in the kernel prologue/epilogues
6 e69b4065 ths
 * themselves
7 e69b4065 ths
 */
8 e69b4065 ths
9 e69b4065 ths
struct target_pt_regs {
10 e69b4065 ths
        unsigned long orig_r10;
11 e69b4065 ths
        /* pushed by movem r13, [sp] in SAVE_ALL. */
12 e69b4065 ths
        unsigned long r0;
13 e69b4065 ths
        unsigned long r1;
14 e69b4065 ths
        unsigned long r2;
15 e69b4065 ths
        unsigned long r3;
16 e69b4065 ths
        unsigned long r4;
17 e69b4065 ths
        unsigned long r5;
18 e69b4065 ths
        unsigned long r6;
19 e69b4065 ths
        unsigned long r7;
20 e69b4065 ths
        unsigned long r8;
21 e69b4065 ths
        unsigned long r9;
22 e69b4065 ths
        unsigned long r10;
23 e69b4065 ths
        unsigned long r11;
24 e69b4065 ths
        unsigned long r12;
25 e69b4065 ths
        unsigned long r13;
26 e69b4065 ths
        unsigned long acr;
27 e69b4065 ths
        unsigned long srs;
28 e69b4065 ths
        unsigned long mof;
29 e69b4065 ths
        unsigned long spc;
30 e69b4065 ths
        unsigned long ccs;
31 e69b4065 ths
        unsigned long srp;
32 e69b4065 ths
        unsigned long erp; /* This is actually the debugged process' PC */
33 e69b4065 ths
        /* For debugging purposes; saved only when needed. */
34 e69b4065 ths
        unsigned long exs;
35 e69b4065 ths
        unsigned long eda;
36 e69b4065 ths
};