For RRBE, SSKE, and ISKE, we're dealing with real addresses, so we have to
convert to an absolute address first.
In the future, when adding EDAT1 support, we'll have to pay attention to
SSKE handling, as we'll be dealing with absolute addresses when the
multiple-block control is one.
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <
20210903155514.44772-4-david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
uint64_t addr = wrap_address(env, r2);
uint8_t key;
+ addr = mmu_real2abs(env, addr);
if (addr > ms->ram_size) {
return 0;
}
uint64_t addr = wrap_address(env, r2);
uint8_t key;
+ addr = mmu_real2abs(env, addr);
if (addr > ms->ram_size) {
return;
}
static S390SKeysClass *skeyclass;
uint8_t re, key;
+ addr = mmu_real2abs(env, addr);
if (addr > ms->ram_size) {
return 0;
}