aboutsummaryrefslogtreecommitdiff
path: root/linux-user/mipsn32/target_signal.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-02-10 10:30:50 -0800
committerAurelien Jarno <aurelien@aurel32.net>2013-03-05 15:04:20 +0100
commit597e2cec8096e0703506abcbbf66938b5ac04368 (patch)
tree6ea470e565a38beb5655f162b43e9a4c83c0ea02 /linux-user/mipsn32/target_signal.h
parent68473f15d4c9948986618f63828825beafcaf1cf (diff)
mipsn32-linux-user: Configure the architecture properly
N32 is a 64-bit cpu with a 32-bit address space. We have existing cpp defines for this situation, but weren't using them. This does mean that the linux-user/mipsn32 directory must be merged with the linux-user/mips64 directory, and differences must be resolved via ifdefs. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/mipsn32/target_signal.h')
-rw-r--r--linux-user/mipsn32/target_signal.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/linux-user/mipsn32/target_signal.h b/linux-user/mipsn32/target_signal.h
deleted file mode 100644
index ff20d9e33e..0000000000
--- a/linux-user/mipsn32/target_signal.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef TARGET_SIGNAL_H
-#define TARGET_SIGNAL_H
-
-#include "cpu.h"
-
-/* this struct defines a stack used during syscall handling */
-
-typedef struct target_sigaltstack {
- int32_t ss_sp;
- uint32_t ss_size;
- int32_t ss_flags;
-} target_stack_t;
-
-
-/*
- * sigaltstack controls
- */
-#define TARGET_SS_ONSTACK 1
-#define TARGET_SS_DISABLE 2
-
-#define TARGET_MINSIGSTKSZ 2048
-#define TARGET_SIGSTKSZ 8192
-
-static inline target_ulong get_sp_from_cpustate(CPUMIPSState *state)
-{
- return state->active_tc.gpr[29];
-}
-
-#endif /* TARGET_SIGNAL_H */