]> Git Repo - qemu.git/commit
s390x/mmu: Add function for accessing guest memory
authorThomas Huth <[email protected]>
Thu, 12 Feb 2015 17:09:31 +0000 (18:09 +0100)
committerChristian Borntraeger <[email protected]>
Wed, 18 Feb 2015 08:37:15 +0000 (09:37 +0100)
commitc3edd62851098e6417786193ed9e9341781fcf57
tree5427b75e81bffb9104a30594161cad92664bf707
parent801cdd355f8bc578f1d02462a91313959e55bee7
s390x/mmu: Add function for accessing guest memory

According to the POP specification, the parameter blocks of various
functions like the IO instructions are accessed with logical addresses.
Thus we need a function that can read or write a buffer from/to the
guest's logical address space.

This patch now provides a function that can be used to access virtual
guest memory by using the mmu_translate function of QEMU to convert
the virtual addresses to physical.

Signed-off-by: Thomas Huth <[email protected]>
Signed-off-by: Jens Freimann <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
target-s390x/cpu.h
target-s390x/mmu_helper.c
This page took 0.024402 seconds and 4 git commands to generate.