Permalink
Switch branches/tags
Commits on Apr 16, 2012
  1. target-mips: Start QOM'ifying CPU init

    afaerber committed Apr 16, 2012
    Move code not dependent on mips_def_t from cpu_mips_init() into a
    QOM initfn, as a start.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. target-mips: QOM'ify CPU

    afaerber committed Apr 15, 2012
    Embed CPUMIPSState as first member of QOM MIPSCPU.
    
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. target-m68k: Add QOM CPU subclasses

    afaerber committed Apr 15, 2012
    Move code from cpu_m68k_set_model() into model-specific initfns
    and inline the remaining parts into cpu_m68k_init().
    
    Let m68k_cpu_list() print CPU classes alphabetically except for "any".
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. target-m68k: Start QOM'ifying CPU init

    afaerber committed Apr 14, 2012
    Move model-independent code from cpu_m68k_init() into a QOM initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. target-m68k: QOM'ify CPU reset

    afaerber committed Apr 14, 2012
    Move code from cpu_state_reset() into QOM m68k_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. target-m68k: QOM'ify CPU

    afaerber committed Apr 14, 2012
    Embed CPUM68KState as first member of QOM M68kCPU.
    Drop cpu_m68k_close() in favor of object_delete().
    
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. target-sh4: Make itlb_replacement() use SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. target-sh4: Make update_itlb_use() take SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. target-sh4: Make copy_utlb_entry_itlb() take SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  10. target-sh4: Make get_{physical,mmu}_address() take SuperHCPU

    afaerber committed Feb 26, 2012
    Simplifies TLB helper code.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  11. target-sh4: Make cpu_sh4_{read,write}_mmaped_{i,u}tlb_addr() take CPU

    afaerber committed Feb 26, 2012
    Change argument type to SuperHCPU and update the SH7750 SoC.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  12. target-sh4: Make find_*tlb_entry() take SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  13. target-sh4: Make increment_urc() take SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  14. target-sh4: Make cpu_sh4_invalidate_tlb() take SuperHCPU

    afaerber committed Feb 26, 2012
    Change argument type from CPUSH4State to SuperHCPU.
    This simplifies the SH7750 SoC as its only caller.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  15. hw/sh7750: Use SuperHCPU

    afaerber committed Feb 26, 2012
    In place of CPUSH4State use SuperHCPU for SH7750State::cpu field.
    
    Fix tab indentation on those lines and add braces.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  16. target-sh4: Do not reset CPU feature flags on reset

    afaerber committed Feb 11, 2012
    Move them out of CPUSH4State so that they are not zero'ed on reset.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  17. target-sh4: Start QOM'ifying CPU init

    afaerber committed Apr 13, 2012
    Move code from cpu_sh4_init() into a QOM initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  18. target-sh4: QOM'ify CPU reset

    afaerber committed Apr 13, 2012
    Move code from cpu_state_reset() to QOM superh_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  19. target-sh4: QOM'ify CPU

    afaerber committed Feb 11, 2012
    Embed CPUSH4State as first member of SuperHCPU.
    
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  20. target-microblaze: QOM'ify CPU init

    afaerber committed Apr 12, 2012
    Move code from cpu_mb_init() to a QOM initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Tested-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
  21. target-microblaze: QOM'ify CPU reset

    afaerber committed Apr 12, 2012
    Move code from cpu_state_reset() to QOM mb_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Tested-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
  22. target-microblaze: QOM'ify CPU

    afaerber committed Apr 12, 2012
    Embed CPUMBState as first member of QOM MicroBlazeCPU.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Tested-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
  23. target-cris: Start QOM'ifying CPU init

    afaerber committed Apr 11, 2012
    Move VR-independent code from cpu_cris_init() into an initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  24. target-cris: QOM'ify CPU reset

    afaerber committed Apr 11, 2012
    Move code from cpu_state_reset() into QOM cris_cpu_reset().
    Let CPU init call cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  25. target-cris: QOM'ify CPU

    afaerber committed Apr 11, 2012
    Embed CPUCRISState as first member of QOM CRISCPU.
    
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
Commits on Apr 15, 2012
  1. Merge branch 'w64' of git://qemu.weilnetz.de/qemu

    blueswirl committed Apr 15, 2012
    * 'w64' of git://qemu.weilnetz.de/qemu:
      w64: Fix time conversion for some versions of MinGW-w64
      nbd: Fix compiler warning (w64)
      disas: Replace 'unsigned long' by 'uintptr_t'
      cpu-exec: Remove non-portable type cast and fix format string
      target-mips: Fix type cast for w64 (uintptr_t)
      w64: Fix type cast in os_host_main_loop_wait
      w64: Fix data types in softmmu*.h
      w64: Use uintptr_t in exec.c
      softmmu: Use uintptr_t for physaddr and rename it
      w64: Fix struct CPUTLBEntry
      w64: Fix definition of setjmp
      w32: Move defines for socket specific errors to qemu-os-win32.h
      w64: Use larger alignment for section with generated code
      w64: Fix data types in cpu-all.h, exec.c
      w64: Fix type casts used in some macros in cpu-all.h
      tcg/i386: Add support for w64 ABI
      tcg/i386: Use GDB JIT debugging interface only for hosts with ELF
  2. target-alpha: QOM'ify CPU init

    afaerber committed Apr 6, 2012
    Move code from cpu_alpha_init() into a CPU initializer.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Richard Henderson <rth@twiddle.net>
  3. target-alpha: QOM'ify CPU

    afaerber committed Apr 6, 2012
    Embed CPUAlphaState as first member of AlphaCPU.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Richard Henderson <rth@twiddle.net>
  4. w64: Fix time conversion for some versions of MinGW-w64

    stweil committed Apr 12, 2012
    tb.time is a time value, but not necessarily of the same size as time_t:
    while time_t is 64 bit for w64, tb.time still is 32 bit only.
    
    Therefore we need en explicit conversion.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
  5. nbd: Fix compiler warning (w64)

    stweil committed Apr 12, 2012
    Portable printing of dev_offset (data type off_t) needs a type cast.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
  6. disas: Replace 'unsigned long' by 'uintptr_t'

    stweil committed Apr 12, 2012
    This is needed for w64. It changes nothing for other hosts.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
  7. cpu-exec: Remove non-portable type cast and fix format string

    stweil committed Apr 12, 2012
    This change is needed for w64, but also changes the code for other hosts.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
  8. target-mips: Fix type cast for w64 (uintptr_t)

    stweil committed Apr 12, 2012
    This changes nothing for other hosts.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
  9. w64: Fix type cast in os_host_main_loop_wait

    stweil committed Apr 12, 2012
    Casting a pointer to an integer must use (DWORD_PTR) instead of (DWORD).
    This also matches the definition of 'fd' (gint for w32, gint64 for w64).
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
  10. w64: Fix data types in softmmu*.h

    stweil committed Apr 12, 2012
    w64 requires uintptr_t.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>