target-tricore: make cpu-qom.h not target specific
commitfc111b107adf3ecf521082e52c647a8d71d3bd7f
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:34 +0000 (19 16:41 +0200)
tree664f2e4613e745de063331b6feabc77ea0b84078
parentd61d1b20610e4655d7846e4cb43d22188e935f5f
target-tricore: make cpu-qom.h not target specific

Make TriCoreCPU 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-tricore/cpu-qom.h
target-tricore/cpu.h