target-m68k: 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 11:08:05 +0000 (13:08 +0200)
commita836b8fa00fa1032ccd234a71b33943627d211ea
tree408b836596a2c26f5ea4a4ece798b09f3f8a3e6e
parent6adb9c5474fe417c86db3905e65887eb636d446f
target-m68k: make cpu-qom.h not target specific

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

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-m68k/cpu-qom.h
target-m68k/cpu.h