« Previous | Next » 

Revision 182735ef

ID182735efaf956ccab50b6d74a4fed163e0f35660

Added by Andreas Färber almost 11 years ago

cpu: Make first_cpu and next_cpu CPUState

Move next_cpu from CPU_COMMON to CPUState.
Move first_cpu variable to qom/cpu.h.

gdbstub needs to use CPUState::env_ptr for now.
cpu_copy() no longer needs to save and restore cpu_next.

Acked-by: Paolo Bonzini <>
[AF: Rebased, simplified cpu_copy()]
Signed-off-by: Andreas Färber <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences