aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/translate.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-03-23 10:58:07 +0100
committerAlexander Graf <agraf@suse.de>2011-05-20 17:35:12 +0200
commitd5a439645a5a70fed5431318c3bce9dc2caa950f (patch)
tree480bb46100dd6f52d3ca0df55ef05b3269d06264 /target-s390x/translate.c
parent4e8367812a053bf169fc82bcddd68c1406751dea (diff)
downloadqemu-d5a439645a5a70fed5431318c3bce9dc2caa950f.zip
qemu-d5a439645a5a70fed5431318c3bce9dc2caa950f.tar.gz
qemu-d5a439645a5a70fed5431318c3bce9dc2caa950f.tar.bz2
s390x: helper functions for system emulation
When running system emulation, we need to transverse through the MMU and deliver interrupts according to the specification. This patch implements those two pieces and in addition adjusts the CPU initialization code to account for the new fields in CPUState. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/translate.c')
-rw-r--r--target-s390x/translate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 4d45e32..f995384 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -46,6 +46,10 @@ void cpu_dump_state(CPUState *env, FILE *f, fprintf_function cpu_fprintf,
cpu_fprintf(f, "PSW=mask %016lx addr %016lx cc %02x\n", env->psw.mask, env->psw.addr, env->cc);
}
+void s390x_translate_init(void)
+{
+}
+
void gen_intermediate_code (CPUState *env, struct TranslationBlock *tb)
{
}