]> git.proxmox.com Git - mirror_qemu.git/commit
target/s390x: introduce internal.h
authorDavid Hildenbrand <david@redhat.com>
Fri, 18 Aug 2017 11:43:49 +0000 (13:43 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 30 Aug 2017 16:23:25 +0000 (18:23 +0200)
commit4e58b838dd2028988fb932a96e3e907df8b5e59f
treea3e56235c74c05785f7a238eddf62425b0bb9a23
parentd9b8daf9963821ab9a5c812f989f27344ddc10fa
target/s390x: introduce internal.h

cpu.h should only contain what really has to be accessed outside of
target/s390x/. Add internal.h which can only be used inside target/s390x/.

Move everything that isn't fast enough to run away and restructure it
right away. We'll move all kvm_* stuff later.

Minor style fixes to avoid checkpatch warning to:
- struct Lowcore: "{" goes into same line as typedef
- struct LowCore: add spaces around "-" in array length calculations
- time2tod() and tod2time(): move "{" to separate line
- get_per_atmid(): add space between ")" and "?". Move cases by one char.
- get_per_atmid(): drop extra paremthesis around (1 << 6)

Change license of new file to GPL2+ and keep copyright notice.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170818114353.13455-15-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
20 files changed:
target/s390x/arch_dump.c
target/s390x/cc_helper.c
target/s390x/cpu.c
target/s390x/cpu.h
target/s390x/cpu_models.c
target/s390x/diag.c
target/s390x/excp_helper.c
target/s390x/fpu_helper.c
target/s390x/gdbstub.c
target/s390x/helper.c
target/s390x/int_helper.c
target/s390x/internal.h [new file with mode: 0644]
target/s390x/interrupt.c
target/s390x/ioinst.c
target/s390x/kvm.c
target/s390x/machine.c
target/s390x/mem_helper.c
target/s390x/misc_helper.c
target/s390x/mmu_helper.c
target/s390x/translate.c