]> Git Repo - qemu.git/commit
target-s390x: support non current ASC in s390_cpu_handle_mmu_fault
authorAurelien Jarno <[email protected]>
Wed, 3 Jun 2015 21:09:54 +0000 (23:09 +0200)
committerAlexander Graf <[email protected]>
Thu, 4 Jun 2015 23:37:59 +0000 (01:37 +0200)
commitc255ac601231e8c53007e10d640722ac58eb77cc
tree6b2537c583b5c8c56d9892251c8e2e99b2e254c6
parent4decd76d71d6972a59bf0a16d0dea0c83490d001
target-s390x: support non current ASC in s390_cpu_handle_mmu_fault

s390_cpu_handle_mmu_fault currently looks at the current ASC mode
defined in PSW mask instead of the MMU index. This prevent emulating
easily instructions using a specific ASC mode. Fix that by using the
MMU index converted back to ASC using the just added cpu_mmu_idx_to_asc
function.

Signed-off-by: Aurelien Jarno <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
target-s390x/helper.c
This page took 0.02501 seconds and 4 git commands to generate.