target-mips: make cpu-qom.h not target specific
commit416bf936864f16caad6993b9ebd452fb34f801bd
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 11:08:05 +0000 (19 13:08 +0200)
tree405827be726e67ce173a3e0daebe0883902e72d1
parentffa3a3c6c1e5fc7df0ba7a618018be1260db4b33
target-mips: make cpu-qom.h not target specific

Make MIPSCPU 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.

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