diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2015-02-12 18:09:42 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-02-18 09:37:15 +0100 |
commit | e95d24ff40c77fbfd71396834a2eb99375f8bcc4 (patch) | |
tree | 69d818fc4e08cd914f5c3ededcd6babf9372eeea /target-s390x/helper.c | |
parent | 63ceef61ac6cc033d465a6a06d394bcc2854a7b2 (diff) | |
download | qemu-e95d24ff40c77fbfd71396834a2eb99375f8bcc4.tar.gz qemu-e95d24ff40c77fbfd71396834a2eb99375f8bcc4.tar.bz2 qemu-e95d24ff40c77fbfd71396834a2eb99375f8bcc4.zip |
s390x/helper: Remove s390_cpu_physical_memory_map
The function is now not used anymore, so it can be removed safely.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x/helper.c')
-rw-r--r-- | target-s390x/helper.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/target-s390x/helper.c b/target-s390x/helper.c index f8a3c5a5da..e0fd8fc379 100644 --- a/target-s390x/helper.c +++ b/target-s390x/helper.c @@ -229,31 +229,6 @@ static void cpu_unmap_lowcore(LowCore *lowcore) cpu_physical_memory_unmap(lowcore, sizeof(LowCore), 1, sizeof(LowCore)); } -void *s390_cpu_physical_memory_map(CPUS390XState *env, hwaddr addr, hwaddr *len, - int is_write) -{ - hwaddr start = addr; - - /* Mind the prefix area. */ - if (addr < 8192) { - /* Map the lowcore. */ - start += env->psa; - *len = MIN(*len, 8192 - addr); - } else if ((addr >= env->psa) && (addr < env->psa + 8192)) { - /* Map the 0 page. */ - start -= env->psa; - *len = MIN(*len, 8192 - start); - } - - return cpu_physical_memory_map(start, len, is_write); -} - -void s390_cpu_physical_memory_unmap(CPUS390XState *env, void *addr, hwaddr len, - int is_write) -{ - cpu_physical_memory_unmap(addr, len, is_write, len); -} - static void do_svc_interrupt(CPUS390XState *env) { uint64_t mask, addr; |