Permalink
Switch branches/tags
Commits on Mar 24, 2012
  1. qdev: Hook up DeviceClass::init to ObjectClass::realize

    On realize, call the qdev init function.
    If that returns an error, raise QERR_DEVICE_INIT_FAILED.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Anthony Liguori <anthony@codemonkey.ws>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    committed Mar 24, 2012
  2. qom: Add "realized" property to Object

    The Object::realized property can only be set once and, on setting it,
    invokes the ObjectClass::realize callback.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Anthony Liguori <anthony@codemonkey.ws>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    committed Mar 24, 2012
Commits on Mar 23, 2012
  1. cpu: Prettify documentation

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 16, 2012
  2. gtk-doc: Integrate CPU documentation

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 15, 2012
  3. gtk-doc: Integrate object.h and qom-qobject.h

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 15, 2012
  4. docs: add build infrastructure for gtkdocs (v2)

    By convention, documented headers now go in include/
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    [AF: Drop some QEMU_CFLAGS += $(SRC_PATH)/include additions]
    [AF: Search headers in include/qemu/*.h instead]
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Anthony Liguori committed with Dec 14, 2011
  5. cpu: Move icount_extra into CPUState

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 20, 2012
  6. cpu: Move icount_decr into CPUState

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 20, 2012
  7. target-*: Introduce ENV_OFFSET macro

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 20, 2012
  8. Makefile: Simplify compilation of target-*/cpu.c

    All targets except for ppc now have a standalone cpu.c file.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 20, 2012
  9. target-xtensa: QOM'ify CPU

    Let xtensa_cpu_list() enumerate CPU classes alphabetically.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 20, 2012
  10. target-sparc: QOM'ify CPU

    Let sparc_cpu_list() enumerate CPU classes alphabetically.
    
    Introduce sparc_env_get_features() to workaround a circular dependency.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 19, 2012
  11. target-microblaze: QOM'ify CPU

    There were no CPU models, so make TYPE_MICROBLAZE_CPU non-abstract.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 19, 2012
  12. target-lm32: QOM'ify CPU

    Let cpu_lm32_list() enumerate CPU classes sorted alphabetically.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 19, 2012
  13. target-cris: QOM'ify CPU

    Let cris_cpu_list() enumerate CPU classes sorted by version.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 19, 2012
  14. target-ppc: Prepare finalizer for PowerPCCPU

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 19, 2012
  15. target-ppc: QOM'ify CPU

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 17, 2012
  16. target-i386: QOM'ify CPU

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 17, 2012
  17. target-alpha: QOM'ify CPU

    Embed CPUAlphaState in AlphaCPU.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 13, 2012
  18. target-m68k: QOM'ify CPU

    Embed CPUM68KState in M68kCPU. Let cpu_state_reset() call cpu_reset().
    Let m68k_cpu_list() enumerate CPU classes alphabetically, except for
    "any".
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 12, 2012
  19. target-mips: QOM'ify CPU

    MIPS was very close to QOM in referencing a CPU definition from
    CPUMIPSState. Turn those structs into classes. This moves most of
    translate_init.c into cpu.c; move the remainder into translate.c
    so that we no longer #include "translate_init.c" there.
    
    Embed CPUMIPSState into MIPSCPU. Let cpu_state_reset() call cpu_reset().
    Let mips_cpu_list() enumerate available CPU classes in alphabetical
    order.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Hervé Poussineau <hpoussin@reactos.org>
    Cc: Stefan Weil <sw@weilnetz.de>
    Cc: Khansa Butt <khansa@kics.edu.pk>
    Cc: Meador Inge <meadori@codesourcery.com>
    Cc: Jia Liu <proljc@gmail.com>
    committed Feb 6, 2012
  20. target-s390x: QOM'ify CPU

    S/390 ignored -cpu, so there's only one S390CPUClass for now.
    Let cpu_s390x_init() instantiate it.
    
    Embed CPUS390XState into S390CPU. Keep s390x_{tod,cpu}_timer() in
    helper.c but pass the S390CPU to them. Let cpu_state_reset() call
    cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Ulrich Hecht <uli@suse.de>
    committed Feb 6, 2012
  21. hw/sh7750: QOM'ify SH7750 SoC

    For now derive directly from Object. Move CPU-independent initialization
    to an initfn. Add a "cpu" link<superh-cpu> property and move
    CPU-dependent init code to sh7750_realize().
    
    Update SHIX and R2D boards accordingly. Add the CPU as /cpu so that it
    can be set as link target, and add the SoC as /sh7750 to inspect it.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 26, 2012
  22. target-sh4: Make itlb_replacement() use SuperHCPU

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

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

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

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

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

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

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

    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>
    committed Feb 26, 2012
  30. hw/sh7750: Use SuperHCPU

    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>
    committed Feb 26, 2012
  31. target-sh4: Do not reset features on reset

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

    Embed CPUSH4State into SuperHCPU. Let cpu_state_reset() call
    cpu_reset(). Let sh4_cpu_list() enumerate CPU classes alphabetically.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 11, 2012
  33. target-unicore32: Store ucf64 fpscr in UniCore32CPUClass

    This removes the remaining CPUID dependency.
    
    Contributed under GPLv2+.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 14, 2012