diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2015-02-12 18:09:23 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-02-18 09:37:14 +0100 |
commit | bab58bf0921ef5da3c5c764920f152ac7c914c41 (patch) | |
tree | 285c7e822a88a1d8c196c29f088bfb8f520efc60 /stubs/cpu-get-clock.c | |
parent | e3e09d87c6e69c2da684d5aacabe3124ebcb6f8e (diff) | |
download | hqemu-bab58bf0921ef5da3c5c764920f152ac7c914c41.zip hqemu-bab58bf0921ef5da3c5c764920f152ac7c914c41.tar.gz |
s390x/mmu: Fix translation exception code in lowcore
The address space bits in the translation exception code were wrong.
In fact, we can simply copy the bits from the PSW, so there's no need
for the trans_bits() function anymore.
Additionally, we now also set the fetch/store bits in the translation
exception code, so a guest can determine whether the exception occured
during a write or during a read.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'stubs/cpu-get-clock.c')
0 files changed, 0 insertions, 0 deletions