summaryrefslogtreecommitdiffstats
path: root/target-s390x/op_helper.c
diff options
context:
space:
mode:
authorAlexander Graf2011-03-23 10:58:07 +0100
committerAlexander Graf2011-05-20 17:35:12 +0200
commitd5a439645a5a70fed5431318c3bce9dc2caa950f (patch)
tree480bb46100dd6f52d3ca0df55ef05b3269d06264 /target-s390x/op_helper.c
parents390x: Shift variables in CPUState for memset(0) (diff)
downloadqemu-d5a439645a5a70fed5431318c3bce9dc2caa950f.tar.gz
qemu-d5a439645a5a70fed5431318c3bce9dc2caa950f.tar.xz
qemu-d5a439645a5a70fed5431318c3bce9dc2caa950f.zip
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/op_helper.c')
-rw-r--r--target-s390x/op_helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-s390x/op_helper.c b/target-s390x/op_helper.c
index be455b9de2..7f0adcbf07 100644
--- a/target-s390x/op_helper.c
+++ b/target-s390x/op_helper.c
@@ -71,3 +71,9 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr)
}
#endif
+
+uint32_t calc_cc(CPUState *env, uint32_t cc_op, uint64_t src, uint64_t dst,
+ uint64_t vr)
+{
+ return 0;
+}