]> Git Repo - qemu.git/commit - target/s390x/misc_helper.c
s390x/tcg: make STFL store into the lowcore
authorDavid Hildenbrand <[email protected]>
Wed, 27 Sep 2017 17:00:27 +0000 (19:00 +0200)
committerCornelia Huck <[email protected]>
Fri, 6 Oct 2017 08:53:02 +0000 (10:53 +0200)
commit86b5ab390992fd57f3a23764994a7e082bcc2fc4
tree1570306d38b7d38701b8dd5884f725c6d23fc544
parentf42dc44a1481949e900cd50846a42c60d756758e
s390x/tcg: make STFL store into the lowcore

Using virtual memory access is wrong and will soon include low-address
protection checks, which is to be bypassed for STFL.

STFL is a privileged instruction and using LowCore requires
!CONFIG_USER_ONLY, so add the ifdef and move the declaration to the
right place.

This was originally part of a bigger STFL(E) refactoring.

Signed-off-by: David Hildenbrand <[email protected]>
Message-Id: <20170927170027[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target/s390x/helper.h
target/s390x/misc_helper.c
This page took 0.020309 seconds and 4 git commands to generate.