Support for 32 bit ABI on 64 bit targets (only enabled Sparc64)
[qemu] / linux-user / alpha / syscall.h
1 /* default linux values for the selectors */
2 #define __USER_DS       (1)
3
4 struct target_pt_regs {
5         abi_ulong r0;
6         abi_ulong r1;
7         abi_ulong r2;
8         abi_ulong r3;
9         abi_ulong r4;
10         abi_ulong r5;
11         abi_ulong r6;
12         abi_ulong r7;
13         abi_ulong r8;
14         abi_ulong r19;
15         abi_ulong r20;
16         abi_ulong r21;
17         abi_ulong r22;
18         abi_ulong r23;
19         abi_ulong r24;
20         abi_ulong r25;
21         abi_ulong r26;
22         abi_ulong r27;
23         abi_ulong r28;
24         abi_ulong hae;
25 /* JRP - These are the values provided to a0-a2 by PALcode */
26         abi_ulong trap_a0;
27         abi_ulong trap_a1;
28         abi_ulong trap_a2;
29 /* These are saved by PAL-code: */
30         abi_ulong ps;
31         abi_ulong pc;
32         abi_ulong gp;
33         abi_ulong r16;
34         abi_ulong r17;
35         abi_ulong r18;
36 /* Those is needed by qemu to temporary store the user stack pointer */
37         abi_ulong usp;
38         abi_ulong unique;
39 };
40
41 #define UNAME_MACHINE "alpha"