s390x/tcg: MVCOS: Lengths are 32 bit in 24/31-bit mode
commita7627565ae52a6806640906c6e9872443899fca8
authorDavid Hildenbrand <david@redhat.com>
Fri, 13 Sep 2019 10:27:21 +0000 (13 12:27 +0200)
committerDavid Hildenbrand <david@redhat.com>
Mon, 23 Sep 2019 07:28:29 +0000 (23 09:28 +0200)
treeb173ee43a8d005b382438a82a897aca4fc2ec574
parent43df3e71e3c3cc53d294b3c3bed0e860df91ea13
s390x/tcg: MVCOS: Lengths are 32 bit in 24/31-bit mode

Triggered by a review comment from Richard, also MVCOS has a 32-bit
length in 24/31-bit addressing mode. Add a new helper.

Rename wrap_length() to wrap_length31().

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/mem_helper.c