From d5a439645a5a70fed5431318c3bce9dc2caa950f Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 23 Mar 2011 10:58:07 +0100 Subject: 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 --- target-s390x/op_helper.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target-s390x/op_helper.c') 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; +} -- cgit v1.2.3