summaryrefslogtreecommitdiffstats
path: root/target-alpha/translate.c
diff options
context:
space:
mode:
authorRichard Henderson2009-12-28 03:30:03 +0100
committerAurelien Jarno2010-02-28 17:54:52 +0100
commit6049f4f831c6f409031dfa09282b38d0cbaecad8 (patch)
treebe945d7b3470317887ebebcaf3dfbcae008a5520 /target-alpha/translate.c
parenttarget-alpha: Implement IEEE FP qualifiers. (diff)
downloadqemu-6049f4f831c6f409031dfa09282b38d0cbaecad8.tar.gz
qemu-6049f4f831c6f409031dfa09282b38d0cbaecad8.tar.xz
qemu-6049f4f831c6f409031dfa09282b38d0cbaecad8.zip
alpha-linux-user: Implement signals.
Move userland PALcode handling into linux-user main loop so that we can send signals from there. This also makes alpha_palcode.c system-level only, so don't build it for userland. Add defines for GENTRAP PALcall mapping to signals. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-alpha/translate.c')
-rw-r--r--target-alpha/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index a11e5ed01c..719b42319a 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -3094,8 +3094,9 @@ CPUAlphaState * cpu_alpha_init (const char *cpu_model)
env->ps |= 1 << 3;
cpu_alpha_store_fpcr(env, (FPCR_INVD | FPCR_DZED | FPCR_OVFD
| FPCR_UNFD | FPCR_INED | FPCR_DNOD));
-#endif
+#else
pal_init(env);
+#endif
/* Initialize IPR */
#if defined (CONFIG_USER_ONLY)