OSDN Git Service

target-cris: 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 11:08:04 +0000 (13:08 +0200)
commit28618ac6521e78466b49937e674c1f6f0760f49f
tree5d4ae6d086658d0432cae142a1d009142e95a0ea
parent74e755647c1598a6845df1ee4f8b96d01afd96e7
target-cris: make cpu-qom.h not target specific

Make CRISCPU 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-cris/cpu-qom.h
target-cris/cpu.h