s390x/tcg: implement TEST PROTECTION
authorDavid Hildenbrand <david@redhat.com>
Mon, 18 Dec 2017 22:46:15 +0000 (23:46 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 22 Jan 2018 10:04:52 +0000 (11:04 +0100)
commitbb8794307252be791f1723eae47983f815882376
tree166318699f161725c201fc9d58684c03cbf0ea28
parente2d9f902378cc0b8de9bacfc9406e6c63bc236d7
s390x/tcg: implement TEST PROTECTION

Linux uses TEST PROTECTION to sense for available memory locations.

Let's implement what we can for now (just as for the other instructions,
excluding AR mode and special protection mechanisms).

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20171218224616.21030-2-david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.h
target/s390x/mem_helper.c
target/s390x/translate.c