OSDN Git Service

target-s390x: make cpu-qom.h not target specific
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Mar 2016 12:49:25 +0000 (13:49 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 May 2016 14:41:34 +0000 (16:41 +0200)
commita4a02f99ff5e8b0ff19aaa12176b2fbad2ebc495
tree67865b1a38485f1fbcbb826c7175c5f9e4cf5d4b
parent2d34fe392c346d8c71b66261e816d65b9e6d4d0e
target-s390x: make cpu-qom.h not target specific

Make S390XCPU an opaque type within cpu-qom.h, and move all definitions
of private methods, as well as all type definitions that require knowledge
of the layout to cpu.h.  This helps making files independent of NEED_CPU_H
if they only need to pass around CPU pointers.

Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-s390x/cpu-qom.h
target-s390x/cpu.h