~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to linux-user/ppc/syscall.h

  • Committer: j_mayer
  • Date: 2007-12-10 08:24:59 UTC
  • Revision ID: git-v1:e32448e059adc8e6b31df483a679b399bc990e5a
Various linux-user structures and definitions fixes for PowerPC targets.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3800 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#define __USER_DS       (1)
27
27
 
28
28
struct target_pt_regs {
29
 
        unsigned long gpr[32];
30
 
        unsigned long nip;
31
 
        unsigned long msr;
32
 
        unsigned long orig_gpr3;        /* Used for restarting system calls */
33
 
        unsigned long ctr;
34
 
        unsigned long link;
35
 
        unsigned long xer;
36
 
        unsigned long ccr;
37
 
        unsigned long mq;               /* 601 only (not used at present) */
 
29
        abi_ulong gpr[32];
 
30
        abi_ulong nip;
 
31
        abi_ulong msr;
 
32
        abi_ulong orig_gpr3;    /* Used for restarting system calls */
 
33
        abi_ulong ctr;
 
34
        abi_ulong link;
 
35
        abi_ulong xer;
 
36
        abi_ulong ccr;
 
37
#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)
 
38
        abi_ulong softe;
 
39
#else
 
40
        abi_ulong mq;           /* 601 only (not used at present) */
 
41
#endif
38
42
                                        /* Used on APUS to hold IPL value. */
39
 
        unsigned long trap;             /* Reason for being here */
40
 
        unsigned long dar;              /* Fault registers */
41
 
        unsigned long dsisr;
42
 
        unsigned long result;           /* Result of a system call */
 
43
        abi_ulong trap;         /* Reason for being here */
 
44
        abi_ulong dar;          /* Fault registers */
 
45
        abi_ulong dsisr;
 
46
        abi_ulong result;               /* Result of a system call */
43
47
};
44
48
 
45
49
/* ioctls */