Permalink
Commits on Feb 18, 2013
  1. target-ppc: Change "POWER7" CPU alias

    Let it resolve to v2.3 rather than v2.0.
    
    Suggested-by: David Gibson <david@gibson.dropbear.id.au>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 18, 2013
  2. target-ppc: Fix remaining microcontroller typos among models

    controler -> controller
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 18, 2013
  3. target-ppc: Split model definitions out of translate_init.c

    Now that model definitions only reference their parent type, model
    definitions are independent of the family definitions and can be
    compiled independently of TCG translation.
    
    Keep all #if defined(TODO) code local to cpu-models.c.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 18, 2013
  4. target-ppc: Update Coding Style for CPU models

    Drop the space in #if defined (TODO).
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 18, 2013
  5. target-ppc: Turn descriptive CPU model comments into device descriptions

    Fix microcontroller typo while at it.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 18, 2013
  6. target-ppc: Turn descriptive CPU family comments into device descript…

    …ions
    
    This gets rid of some more overly long comments that have lost most of
    their purpose now that in most cases there's only two functions left per
    CPU family.
    
    The class field is inherited by the actual CPU models, so override it.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 18, 2013
  7. target-ppc: Set remaining fields on CPU family classes

    Now POWERPC_DEF_SVR() no longer sets family-specific fields itself.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 18, 2013
  8. target-ppc: Register all types for TARGET_PPCEMB

    Don't attempt to suppress registration of CPU types, since the criteria
    is actually a property of the class and should thus become a field.
    Since we can't check a field set in a class_init function before
    registering the type that leads to execution of that function, guard the
    -cpu class lookup instead and suppress exposing these classes in -cpu ?
    and in QMP.
    
    In case someone tries to hot-add an incompatible CPU via device_add,
    error out in realize.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 17, 2013
  9. target-ppc: Set instruction flags on CPU family classes

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 17, 2013
  10. target-ppc: Introduce abstract CPU family types

    Instead of assigning *_<family> constants, set .parent to a family type.
    
    Introduce a POWERPC_FAMILY() macro to keep type registration close to
    its implementation. This macro will need tweaking later.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 12, 2013
  11. target-ppc: Convert CPU definitions

    Turn the array of model definitions into a set of self-registering QOM
    types with their own class_init. Unique identifiers are obtained from
    the combination of PVR, SVR and family identifiers; this requires all
    alias #defines to be removed from the list. Possibly there are some more
    left after this commit that are not currently being compiled.
    
    Prepares for introducing abstract intermediate CPU types for families.
    
    Keep the right-aligned macro line breaks within 78 chars to aid
    three-way merges.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 2, 2013
  12. target-ppc: Get model name from type name

    We are about to drop the redundant name field along with ppc_def_t.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 12, 2013
  13. target-ppc: Extract POWER7 alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  14. target-ppc: Extract 970 aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  15. target-ppc: Extract 405GPe alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  16. target-ppc: Extract MPC8240 alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  17. target-ppc: Extract MPC5200/MPC5200B aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  18. target-ppc: Extract MPC52xx alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  19. target-ppc: Extract MPC82xx_HiP{3,4} aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  20. target-ppc: Extract MPC82xx aliases to *_HiP4

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  21. target-ppc: Extract MPC8247/MPC8248/MPC8270-80 aliases

    This depends on the fix for "G2leGP3" PVR.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  22. target-ppc: Extract MPC82xx alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  23. target-ppc: Extract e200 alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  24. target-ppc: Extract e300 alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  25. target-ppc: Extract MPC83xx aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  26. target-ppc: Extract e500v1/e500v2 aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  27. target-ppc: Extract MPC85xx aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  28. target-ppc: Extract 601/601v aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  29. target-ppc: Extract 603r alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 4, 2013
  30. target-ppc: Extract 603e alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 3, 2013
  31. target-ppc: Extract 604e alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 3, 2013
  32. target-ppc: Extract 740/750 aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 3, 2013
  33. target-ppc: Extract 750 aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 3, 2013
  34. target-ppc: Extract 7x5 aliases

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 3, 2013
  35. target-ppc: Extract 7400 alias

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Feb 3, 2013