~ubuntu-branches/ubuntu/raring/xen/raring-proposed

« back to all changes in this revision

Viewing changes to qemu/linux-user/mips64/target_signal.h

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-11-08 12:14:30 UTC
  • mfrom: (4.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20121108121430-o2nyj85dsqx15qx1
Tags: 4.2.0-1ubuntu1
* Merge from Debian Experimental, Remaining changes:
  - debian/control:
    - Build depends on ipxe-qemu.
    - libxenstore3.0: Conflict and replaces libxen3.
    - libxen-dev: Conflict and replaces libxen3-dev.
    - xenstore-utils: Conflict and replaces libxen3
    - xen-utils-4.1: Conflict and replaces libxen3, python-xen-3.3,
      and xen-utils-4.1.
    - Make sure the LDFLAGS value passed is suitable for use by ld
      rather than gcc.
  - disable debian/patches/config-etherboot.diff.
  - debian/patches/silence-gcc-warnings.patch: Silence gcc warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef TARGET_SIGNAL_H
2
 
#define TARGET_SIGNAL_H
3
 
 
4
 
#include "cpu.h"
5
 
 
6
 
/* this struct defines a stack used during syscall handling */
7
 
 
8
 
typedef struct target_sigaltstack {
9
 
        abi_long ss_sp;
10
 
        abi_ulong ss_size;
11
 
        abi_long ss_flags;
12
 
} target_stack_t;
13
 
 
14
 
 
15
 
/*
16
 
 * sigaltstack controls
17
 
 */
18
 
#define TARGET_SS_ONSTACK     1
19
 
#define TARGET_SS_DISABLE     2
20
 
 
21
 
#define TARGET_MINSIGSTKSZ    2048
22
 
#define TARGET_SIGSTKSZ       8192
23
 
 
24
 
static inline abi_ulong get_sp_from_cpustate(CPUMIPSState *state)
25
 
{
26
 
    return state->active_tc.gpr[29];
27
 
}
28
 
 
29
 
#endif /* TARGET_SIGNAL_H */