]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/cpu.h
target-arm: 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)
commit74e755647c1598a6845df1ee4f8b96d01afd96e7
tree3ea100a63c2142596f64a9f462a8b3250f3c730f
parent1dc8e6b7587443c9316a86140e63e96aa6fae972
target-arm: make cpu-qom.h not target specific

Make ARMCPU 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.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-arm/cpu-qom.h
target-arm/cpu.h