target-ppc: Introduce abstract CPU family types
commit7856e3a41ba8ec5da3dc0b449dc6feaf999d3ffe
authorAndreas Färber <afaerber@suse.de>
Sun, 17 Feb 2013 23:16:42 +0000 (17 23:16 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Mar 2013 20:04:51 +0000 (8 21:04 +0100)
tree6d096c9cc14ba358d195431a5afd2414d3fc76a6
parentcfe34f44b3a13ed32891e0b3c84be91d3d91a4b8
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>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate_init.c