]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-xtensa: 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:42:26 +0000 (16:42 +0200)
commitda374261690acba96cd10b4e65179782c9ec3dbf
treecbc2f73e83fd3f1a2f14d876814329cb7b0235d5
parent55b1142259d0a6d4bb264957137930ff6fa1777f
target-xtensa: make cpu-qom.h not target specific

Make XtensaCPU 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.  Conversely, move all definitions needed to
define a class to cpu-qom.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>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-xtensa/cpu-qom.h
target-xtensa/cpu.h