Permalink
Commits on May 9, 2012
  1. Kill off cpu_state_reset()

    In commit 1bba0dc cpu_reset()
    was renamed to cpu_state_reset(), to allow introducing a new cpu_reset()
    that would operate on QOM objects.
    
    All callers have been updated except for one in target-mips, so drop all
    implementations except for the one in target-mips and move the
    declaration there until MIPSCPU reset can be fully QOM'ified.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Michael Walle <michael@walle.cc> (for lm32)
    committed May 5, 2012
  2. linux-user: Use cpu_reset() after cpu_init() / cpu_copy()

    Eliminates cpu_state_reset() usage.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  3. bsd-user: Use cpu_reset() in after cpu_init()

    Eliminates cpu_state_reset() usage.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  4. mips_r4k: Store MIPSCPU in ResetData

    Allows us to use cpu_reset() in place of cpu_state_reset() in
    main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  5. mips_r4k: Use cpu_mips_init() to obtain MIPSCPU

    Needed for main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  6. mips_mipssim: Store MIPSCPU in ResetData

    Allows us to use cpu_reset() in place of cpu_state_reset() in
    main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  7. mips_mipssim: Use cpu_mips_init() to obtain MIPSCPU

    Needed for main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  8. mips_malta: Pass MIPSCPU to main_cpu_reset()

    Allows us to use cpu_reset() in place of cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  9. mips_malta: Use cpu_mips_init() to obtain MIPSCPU

    Needed for main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  10. mips_jazz: Pass MIPSCPU to main_cpu_reset()

    Allows us to use cpu_reset() in place of cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  11. mips_jazz: Use cpu_mips_init() to obtain MIPSCPU

    Needed for main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  12. mips_fulong2e: Pass MIPSCPU to main_cpu_reset()

    Allows us to use cpu_reset() in place of cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  13. mips_fulong2e: Use cpu_mips_cpu() to obtain MIPSCPU

    Needed for main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  14. target-mips: Let cpu_mips_init() return MIPSCPU

    Turn cpu_init macro into a static inline function returning CPUMIPSState
    for backwards compatibility.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  15. target-mips: Use cpu_reset() in do_interrupt()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  16. microblaze_boot: Pass MicroBlazeCPU to microblaze_load_kernel()

    Allows us to use cpu_reset() in place of cpu_state_reset() in
    main_cpu_reset().
    
    Also pass it through to its reset callbacks, while at it.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  17. petalogix_s3adsp1800_mmu: Use cpu_mb_init() to obtain MicroBlazeCPU

    Needed for microblaze_load_kernel().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  18. petalogix_ml605: Use cpu_mb_init() to obtain MicroBlazeCPU

    Needed for microblaze_load_kernel().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  19. target-microblaze: Let cpu_mb_init() return MicroBlazeCPU

    Since qemu_init_vcpu() is no-op for CONFIG_USER_ONLY drop the env
    variable that is now unused there.
    
    Turn cpu_init macro into a static inline function returning CPUMBState
    for backwards compatibility.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  20. cris-boot: Pass CRISCPU to main_cpu_reset().

    Allows us to use cpu_reset() in place of cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  21. cris-boot: Pass CRISCPU to cris_load_image()

    Needed for main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  22. axis_dev88: Use cpu_cris_init() to obtain CRISCPU

    Needed for cris_load_image().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  23. target-cris: Let cpu_cris_init() return CRISCPU

    Turn cpu_init macro into a static inline function returning CPUCRISState
    for backwards compatibility.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  24. target-cris: Reindent cpu_cris_init()

    Judging by TCG variable initialization it used 8-char tabs; use 4 spaces
    instead. Also remove trailing whitespace.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 5, 2012
  25. xtensa_lx60: Pass XtensaCPU to lx60_reset()

    Allows us to use cpu_reset() in place of cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 4, 2012
  26. xtensa_lx60: Use cpu_xtensa_init() to obtain XtensaCPU

    Allows us to use cpu_reset() in place of cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 4, 2012
  27. xtensa_sim: Pass XtensaCPU to sim_reset()

    Allows us to use cpu_reset() in place of cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 4, 2012
  28. xtensa_sim: Use cpu_xtensa_init() to obtain XtensaCPU

    Needed for sim_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 4, 2012
  29. target-xtensa: Let cpu_xtensa_init() return XtensaCPU

    Make the include paths for cpu-qom.h consistent to allow using XtensaCPU
    in cpu.h.
    
    Turn cpu_init macro into a static inline function returning
    CPUXtensaState for backwards compatibility.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 6, 2012
  30. milkymist: Store LM32 in ResetInfo

    Allows us to use cpu_reset() in place of cpu_state_reset() in
    main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Michael Walle <michael@walle.cc>
    committed May 4, 2012
  31. milkymist: Use cpu_lm32_init() to obtain LM32CPU

    Needed for main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Michael Walle <michael@walle.cc>
    committed May 4, 2012
  32. lm32_boards: Store LM32CPU in ResetInfo

    Allows us to use cpu_reset() in place of cpu_state_reset() in
    main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Michael Walle <michael@walle.cc>
    committed May 4, 2012
  33. lm32_boards: Use cpu_lm32_init() to obtain LM32CPU

    Needed for main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Michael Walle <michael@walle.cc>
    committed May 4, 2012
  34. target-lm32: Let cpu_lm32_init() return LM32CPU

    Make the include paths for cpu-qom.h consistent to allow using LM32CPU
    in cpu.h.
    
    Turn cpu_init macro into a static inline function returning CPULM32State
    for backwards compatibility.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 6, 2012
  35. r2d: Store SuperHCPU in ResetData

    Allows us to use cpu_reset() in place of cpu_state_reset() in
    main_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed May 4, 2012