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

Make PowerPCCPU 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.  Conversely, move all definitions needed to define
a class to cpu-qom.h.  This helps making files independent of NEED_CPU_H
if they only need to pass around CPU pointers.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-ppc/cpu-qom.h
target-ppc/cpu.h