diff options
author | Thomas Huth <thuth@redhat.com> | 2019-03-05 09:46:21 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-03-11 09:31:01 +0100 |
commit | a5f5ca5eafb9c61641e243b6360506770e583386 (patch) | |
tree | f601320dac3b1e2c27817a655f71c591accab169 /ioport.c | |
parent | e2a18635a400b0e68679614132e9ef6316105590 (diff) | |
download | qemu-a5f5ca5eafb9c61641e243b6360506770e583386.zip qemu-a5f5ca5eafb9c61641e243b6360506770e583386.tar.gz qemu-a5f5ca5eafb9c61641e243b6360506770e583386.tar.bz2 |
target/s390x: Remove non-architected entries from struct LowCore
There are some fields in our struct LowCore which apparently have
been copied from a very old version of the Linux kernel. These
fields are not architected in the "Principles of Operation", and
only used on these memory locations in Linux kernels older than
2.6.29. Newer Linux kernels moved the entries to different locations
or are not using them at all anymore. Thus we should never access
these fields from the QEMU side, so they should be removed.
While we're at it, also add a QEMU_BUILD_BUG_ON() statement to
assert that struct LowCore has the right size.
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1551775581-27989-1-git-send-email-thuth@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'ioport.c')
0 files changed, 0 insertions, 0 deletions