target-unicore32: make cpu-qom.h not target specific
commit55b1142259d0a6d4bb264957137930ff6fa1777f
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)
tree02652379281b82a30e4d2896e802373fe49bbee9
parentfc111b107adf3ecf521082e52c647a8d71d3bd7f
target-unicore32: make cpu-qom.h not target specific

Make UniCore32CPU 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-unicore32/cpu-qom.h
target-unicore32/cpu.h