Skip to content
  • Andreas Färber's avatar
    cpu: Move cpu_index field to CPUState · 55e5c285
    Andreas Färber authored
    
    
    Note that target-alpha accesses this field from TCG, now using a
    negative offset. Therefore the field is placed last in CPUState.
    
    Pass PowerPCCPU to [kvm]ppc_fixup_cpu() to facilitate this change.
    
    Move common parts of mips cpu_state_reset() to mips_cpu_reset().
    
    Acked-by: Richard Henderson <rth@twiddle.net> (for alpha)
    [AF: Rebased onto ppc CPU subclasses and openpic changes]
    Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
    55e5c285