aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/cpu.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-05-18 19:26:40 +0200
committerRichard Henderson <rth@twiddle.net>2017-06-06 14:34:31 -0700
commitf79f1ca4a20d4070179903bbaafc13f5f90b7873 (patch)
tree5921a73bc3333cde97f964bda0daab4999789405 /target/s390x/cpu.h
parent65dfad62a176f5265f801683be64149c5ad55f7d (diff)
downloadqemu-f79f1ca4a20d4070179903bbaafc13f5f90b7873.zip
qemu-f79f1ca4a20d4070179903bbaafc13f5f90b7873.tar.gz
qemu-f79f1ca4a20d4070179903bbaafc13f5f90b7873.tar.bz2
target/s390x: Add support for the TEST BLOCK instruction
TEST BLOCK was likely once used to execute basic memory tests, but nowadays it's just a (slow) way to clear a page. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1495128400-23759-1-git-send-email-thuth@redhat.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
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 c74b419..f463113 100644
--- a/target/s390x/cpu.h
+++ b/target/s390x/cpu.h
@@ -1084,6 +1084,7 @@ struct sysib_322 {
#define SIGP_ORDER_MASK 0x000000ff
void load_psw(CPUS390XState *env, uint64_t mask, uint64_t addr);
+target_ulong mmu_real2abs(CPUS390XState *env, target_ulong raddr);
int mmu_translate(CPUS390XState *env, target_ulong vaddr, int rw, uint64_t asc,
target_ulong *raddr, int *flags, bool exc);
int sclp_service_call(CPUS390XState *env, uint64_t sccb, uint32_t code);