summaryrefslogtreecommitdiffstats
path: root/target-s390x/cpu.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2015-02-12 18:09:18 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-02-18 09:36:38 +0100
commitdfebd7a7a9f8435fe5cd6c7d3901091db6322f99 (patch)
tree734249529f098c9982a1d3ee1920b0428d1f309c /target-s390x/cpu.h
parent2e13fbe42d7aed77d1b1c62b342d080c2510af0e (diff)
downloadhqemu-dfebd7a7a9f8435fe5cd6c7d3901091db6322f99.zip
hqemu-dfebd7a7a9f8435fe5cd6c7d3901091db6322f99.tar.gz
s390x/mmu: Move mmu_translate() and friends to separate file
helper.c is quite overcrowded already, so let's move the MMU translation to a separate file instead (like it has been done with the other targets already). Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r--target-s390x/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h
index 2e2554c..95d0f3b 100644
--- a/target-s390x/cpu.h
+++ b/target-s390x/cpu.h
@@ -331,6 +331,7 @@ static inline int get_ilen(uint8_t opc)
to re-compute the length by examining the insn in memory. */
#define ILEN_LATER 0x20
#define ILEN_LATER_INC 0x21
+void trigger_pgm_exception(CPUS390XState *env, uint32_t code, uint32_t ilen);
#endif
S390CPU *cpu_s390x_init(const char *cpu_model);
OpenPOWER on IntegriCloud