target-lm32: make cpu-qom.h not target specific
commit6adb9c5474fe417c86db3905e65887eb636d446f
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 11:08:04 +0000 (19 13:08 +0200)
treedbf4d3761a170a236f1eaf47969b8153223d23e2
parent4da6f8d954429c0cd1471d25cb9dbe909607374e
target-lm32: make cpu-qom.h not target specific

Make LM32CPU 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-lm32/cpu-qom.h
target-lm32/cpu.h