target-alpha: make cpu-qom.h not target specific
commit1dc8e6b7587443c9316a86140e63e96aa6fae972
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)
tree7f9fa7727be940dd42c8eb4be20cf91d2b4357e2
parent347b1a5cc6f43ac51615aa7490e8a8e2b7244a78
target-alpha: make cpu-qom.h not target specific

Make AlphaCPU 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-alpha/cpu-qom.h
target-alpha/cpu.h