Skip to content
  • Paolo Bonzini's avatar
    2d34fe39
    target-ppc: make cpu-qom.h not target specific · 2d34fe39
    Paolo Bonzini authored
    
    
    Make PowerPCCPU 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: default avatarPaolo Bonzini <pbonzini@redhat.com>
    2d34fe39
    target-ppc: make cpu-qom.h not target specific
    Paolo Bonzini authored
    
    
    Make PowerPCCPU 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: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading