target-sh4: 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)
commite6005f66f9431ff499679bd4ddd6e7628bd73c28
treea16a158770768c0bc44e9525a0672c2e53ba4c33
parenta4a02f99ff5e8b0ff19aaa12176b2fbad2ebc495
target-sh4: make cpu-qom.h not target specific

Make SuperHCPU 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-sh4/cpu-qom.h
target-sh4/cpu.h