OSDN Git Service

target-sparc: 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)
commitd61d1b20610e4655d7846e4cb43d22188e935f5f
tree91fe66a1d0aec5e6f279d6ac03334e0f1189bc5f
parente6005f66f9431ff499679bd4ddd6e7628bd73c28
target-sparc: make cpu-qom.h not target specific

Make SPARCCPU 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-sparc/cpu-qom.h
target-sparc/cpu.h