Changes since v1:
* Move more of hw/s390x/tod.h to a new header.
* Use time2tod.
r~
Richard Henderson (2):
target/s390x: Split out s390-tod.h
This is a non-privileged instruction that was only implemented for
system mode. However, the stck instruction is used by glibc, so
this was causing SIGILL for programs run under debian stretch.
include/hw/s390x/tod.h | 16 +---------------
target/s390x/helper.h | 2 +-
target/s390x/s390-tod.h | 29 +++++++++++++++++++++++++++++
target/s390x/misc_helper.c | 34 ++++++++++++++++++++++------------
target/s390x/translate.c | 2 ++
target/s390x/insn-data.def | 11 ++++++-----
6 files changed, 61 insertions(+), 33 deletions(-)
create mode 100644 target/s390x/s390-tod.h
--
2.17.2