Commit 953af181 authored by Andreas Färber's avatar Andreas Färber Committed by Alexander Graf
Browse files

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: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 09cc86f2
obj-y += cpu-models.o
obj-y += translate.o
obj-$(CONFIG_SOFTMMU) += machine.o
obj-$(CONFIG_KVM) += kvm.o kvm_ppc.o
......
/*
* PowerPC CPU initialization for qemu.
*
* Copyright (c) 2003-2007 Jocelyn Mayer
* Copyright 2011 Freescale Semiconductor, Inc.
* Copyright 2013 SUSE LINUX Products GmbH
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
/* A lot of PowerPC definition have been included here.
* Most of them are not usable for now but have been kept
* inside "#if defined(TODO) ... #endif" statements to make tests easier.
*/
#include "cpu.h"
#include "cpu-models.h"
#if defined(CONFIG_USER_ONLY)
#define TODO_USER_ONLY 1
#endif
/***************************************************************************/
/* PowerPC CPU definitions */
#define POWERPC_DEF_PREFIX(pvr, svr, type) \
glue(glue(glue(glue(pvr, _), svr), _), type)
#define POWERPC_DEF_SVR(_name, _desc, _pvr, _svr, _type) \
static void \
glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_class_init) \
(ObjectClass *oc, void *data) \
{ \
DeviceClass *dc = DEVICE_CLASS(oc); \
PowerPCCPUClass *pcc = POWERPC_CPU_CLASS(oc); \
\
pcc->pvr = _pvr; \
pcc->svr = _svr; \
dc->desc = _desc; \
} \
\
static const TypeInfo \
glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_type_info) = { \
.name = _name "-" TYPE_POWERPC_CPU, \
.parent = stringify(_type) "-family-" TYPE_POWERPC_CPU, \
.class_init = \
glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_class_init), \
}; \
\
static void \
glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_register_types)(void) \
{ \
type_register_static( \
&glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_type_info)); \
} \
\
type_init( \
glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_register_types))
#define POWERPC_DEF(_name, _pvr, _type, _desc) \
POWERPC_DEF_SVR(_name, _desc, _pvr, POWERPC_SVR_NONE, _type)
/* Embedded PowerPC */
/* PowerPC 401 family */
POWERPC_DEF("401", CPU_POWERPC_401, 401,
"Generic PowerPC 401")
/* PowerPC 401 cores */
POWERPC_DEF("401A1", CPU_POWERPC_401A1, 401,
"PowerPC 401A1")
POWERPC_DEF("401B2", CPU_POWERPC_401B2, 401x2,
"PowerPC 401B2")
#if defined(TODO)
POWERPC_DEF("401B3", CPU_POWERPC_401B3, 401x3,
"PowerPC 401B3")
#endif
POWERPC_DEF("401C2", CPU_POWERPC_401C2, 401x2,
"PowerPC 401C2")
POWERPC_DEF("401D2", CPU_POWERPC_401D2, 401x2,
"PowerPC 401D2")
POWERPC_DEF("401E2", CPU_POWERPC_401E2, 401x2,
"PowerPC 401E2")
POWERPC_DEF("401F2", CPU_POWERPC_401F2, 401x2,
"PowerPC 401F2")
/* XXX: to be checked */
POWERPC_DEF("401G2", CPU_POWERPC_401G2, 401x2,
"PowerPC 401G2")
/* PowerPC 401 microcontrolers */
#if defined(TODO)
POWERPC_DEF("401GF", CPU_POWERPC_401GF, 401,
"PowerPC 401GF")
#endif
POWERPC_DEF("IOP480", CPU_POWERPC_IOP480, IOP480,
"IOP480 (401 microcontroller)")
POWERPC_DEF("Cobra", CPU_POWERPC_COBRA, 401,
"IBM Processor for Network Resources")
#if defined(TODO)
POWERPC_DEF("Xipchip", CPU_POWERPC_XIPCHIP, 401,
NULL)
#endif
/* PowerPC 403 family */
/* PowerPC 403 microcontrolers */
POWERPC_DEF("403GA", CPU_POWERPC_403GA, 403,
"PowerPC 403 GA")
POWERPC_DEF("403GB", CPU_POWERPC_403GB, 403,
"PowerPC 403 GB")
POWERPC_DEF("403GC", CPU_POWERPC_403GC, 403,
"PowerPC 403 GC")
POWERPC_DEF("403GCX", CPU_POWERPC_403GCX, 403GCX,
"PowerPC 403 GCX")
#if defined(TODO)
POWERPC_DEF("403GP", CPU_POWERPC_403GP, 403,
"PowerPC 403 GP")
#endif
/* PowerPC 405 family */
/* PowerPC 405 cores */
#if defined(TODO)
POWERPC_DEF("405A3", CPU_POWERPC_405A3, 405,
"PowerPC 405 A3")
#endif
#if defined(TODO)
POWERPC_DEF("405A4", CPU_POWERPC_405A4, 405,
"PowerPC 405 A4")
#endif
#if defined(TODO)
POWERPC_DEF("405B3", CPU_POWERPC_405B3, 405,
"PowerPC 405 B3")
#endif
#if defined(TODO)
POWERPC_DEF("405B4", CPU_POWERPC_405B4, 405,
"PowerPC 405 B4")
#endif
#if defined(TODO)
POWERPC_DEF("405C3", CPU_POWERPC_405C3, 405,
"PowerPC 405 C3")
#endif
#if defined(TODO)
POWERPC_DEF("405C4", CPU_POWERPC_405C4, 405,
"PowerPC 405 C4")
#endif
POWERPC_DEF("405D2", CPU_POWERPC_405D2, 405,
"PowerPC 405 D2")
#if defined(TODO)
POWERPC_DEF("405D3", CPU_POWERPC_405D3, 405,
"PowerPC 405 D3")
#endif
POWERPC_DEF("405D4", CPU_POWERPC_405D4, 405,
"PowerPC 405 D4")
#if defined(TODO)
POWERPC_DEF("405D5", CPU_POWERPC_405D5, 405,
"PowerPC 405 D5")
#endif
#if defined(TODO)
POWERPC_DEF("405E4", CPU_POWERPC_405E4, 405,
"PowerPC 405 E4")
#endif
#if defined(TODO)
POWERPC_DEF("405F4", CPU_POWERPC_405F4, 405,
"PowerPC 405 F4")
#endif
#if defined(TODO)
POWERPC_DEF("405F5", CPU_POWERPC_405F5, 405,
"PowerPC 405 F5")
#endif
#if defined(TODO)
POWERPC_DEF("405F6", CPU_POWERPC_405F6, 405,
"PowerPC 405 F6")
#endif
/* PowerPC 405 microcontrolers */
POWERPC_DEF("405CRa", CPU_POWERPC_405CRa, 405,
"PowerPC 405 CRa")
POWERPC_DEF("405CRb", CPU_POWERPC_405CRb, 405,
"PowerPC 405 CRb")
POWERPC_DEF("405CRc", CPU_POWERPC_405CRc, 405,
"PowerPC 405 CRc")
POWERPC_DEF("405EP", CPU_POWERPC_405EP, 405,
"PowerPC 405 EP")
#if defined(TODO)
POWERPC_DEF("405EXr", CPU_POWERPC_405EXr, 405,
"PowerPC 405 EXr")
#endif
POWERPC_DEF("405EZ", CPU_POWERPC_405EZ, 405,
"PowerPC 405 EZ")
#if defined(TODO)
POWERPC_DEF("405FX", CPU_POWERPC_405FX, 405,
"PowerPC 405 FX")
#endif
POWERPC_DEF("405GPa", CPU_POWERPC_405GPa, 405,
"PowerPC 405 GPa")
POWERPC_DEF("405GPb", CPU_POWERPC_405GPb, 405,
"PowerPC 405 GPb")
POWERPC_DEF("405GPc", CPU_POWERPC_405GPc, 405,
"PowerPC 405 GPc")
POWERPC_DEF("405GPd", CPU_POWERPC_405GPd, 405,
"PowerPC 405 GPd")
POWERPC_DEF("405GPR", CPU_POWERPC_405GPR, 405,
"PowerPC 405 GPR")
#if defined(TODO)
POWERPC_DEF("405H", CPU_POWERPC_405H, 405,
"PowerPC 405 H")
#endif
#if defined(TODO)
POWERPC_DEF("405L", CPU_POWERPC_405L, 405,
"PowerPC 405 L")
#endif
POWERPC_DEF("405LP", CPU_POWERPC_405LP, 405,
"PowerPC 405 LP")
#if defined(TODO)
POWERPC_DEF("405PM", CPU_POWERPC_405PM, 405,
"PowerPC 405 PM")
#endif
#if defined(TODO)
POWERPC_DEF("405PS", CPU_POWERPC_405PS, 405,
"PowerPC 405 PS")
#endif
#if defined(TODO)
POWERPC_DEF("405S", CPU_POWERPC_405S, 405,
"PowerPC 405 S")
#endif
POWERPC_DEF("Npe405H", CPU_POWERPC_NPE405H, 405,
"Npe405 H")
POWERPC_DEF("Npe405H2", CPU_POWERPC_NPE405H2, 405,
"Npe405 H2")
POWERPC_DEF("Npe405L", CPU_POWERPC_NPE405L, 405,
"Npe405 L")
POWERPC_DEF("Npe4GS3", CPU_POWERPC_NPE4GS3, 405,
"Npe4GS3")
#if defined(TODO)
POWERPC_DEF("Npcxx1", CPU_POWERPC_NPCxx1, 405,
NULL)
#endif
#if defined(TODO)
POWERPC_DEF("Npr161", CPU_POWERPC_NPR161, 405,
NULL)
#endif
#if defined(TODO)
POWERPC_DEF("LC77700", CPU_POWERPC_LC77700, 405,
"PowerPC LC77700 (Sanyo)")
#endif
/* PowerPC 401/403/405 based set-top-box microcontrolers */
#if defined(TODO)
POWERPC_DEF("STB01000", CPU_POWERPC_STB01000, 401x2,
"STB010000")
#endif
#if defined(TODO)
POWERPC_DEF("STB01010", CPU_POWERPC_STB01010, 401x2,
"STB01010")
#endif
#if defined(TODO)
POWERPC_DEF("STB0210", CPU_POWERPC_STB0210, 401x3,
"STB0210")
#endif
POWERPC_DEF("STB03", CPU_POWERPC_STB03, 405,
"STB03xx")
#if defined(TODO)
POWERPC_DEF("STB043", CPU_POWERPC_STB043, 405,
"STB043x")
#endif
#if defined(TODO)
POWERPC_DEF("STB045", CPU_POWERPC_STB045, 405,
"STB045x")
#endif
POWERPC_DEF("STB04", CPU_POWERPC_STB04, 405,
"STB04xx")
POWERPC_DEF("STB25", CPU_POWERPC_STB25, 405,
"STB25xx")
#if defined(TODO)
POWERPC_DEF("STB130", CPU_POWERPC_STB130, 405,
"STB130")
#endif
/* Xilinx PowerPC 405 cores */
POWERPC_DEF("x2vp4", CPU_POWERPC_X2VP4, 405,
NULL)
POWERPC_DEF("x2vp20", CPU_POWERPC_X2VP20, 405,
NULL)
#if defined(TODO)
POWERPC_DEF("zl10310", CPU_POWERPC_ZL10310, 405,
"Zarlink ZL10310")
#endif
#if defined(TODO)
POWERPC_DEF("zl10311", CPU_POWERPC_ZL10311, 405,
"Zarlink ZL10311")
#endif
#if defined(TODO)
POWERPC_DEF("zl10320", CPU_POWERPC_ZL10320, 405,
"Zarlink ZL10320")
#endif
#if defined(TODO)
POWERPC_DEF("zl10321", CPU_POWERPC_ZL10321, 405,
"Zarlink ZL10321")
#endif
/* PowerPC 440 family */
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440", CPU_POWERPC_440, 440GP,
"Generic PowerPC 440")
#endif
/* PowerPC 440 cores */
#if defined(TODO)
POWERPC_DEF("440A4", CPU_POWERPC_440A4, 440x4,
"PowerPC 440 A4")
#endif
POWERPC_DEF("440-Xilinx", CPU_POWERPC_440_XILINX, 440x5,
"PowerPC 440 Xilinx 5")
#if defined(TODO)
POWERPC_DEF("440A5", CPU_POWERPC_440A5, 440x5,
"PowerPC 440 A5")
#endif
#if defined(TODO)
POWERPC_DEF("440B4", CPU_POWERPC_440B4, 440x4,
"PowerPC 440 B4")
#endif
#if defined(TODO)
POWERPC_DEF("440G4", CPU_POWERPC_440G4, 440x4,
"PowerPC 440 G4")
#endif
#if defined(TODO)
POWERPC_DEF("440F5", CPU_POWERPC_440F5, 440x5,
"PowerPC 440 F5")
#endif
#if defined(TODO)
POWERPC_DEF("440G5", CPU_POWERPC_440G5, 440x5,
"PowerPC 440 G5")
#endif
#if defined(TODO)
POWERPC_DEF("440H4", CPU_POWERPC_440H4, 440x4,
"PowerPC 440H4")
#endif
#if defined(TODO)
POWERPC_DEF("440H6", CPU_POWERPC_440H6, 440Gx5,
"PowerPC 440H6")
#endif
/* PowerPC 440 microcontrolers */
POWERPC_DEF("440EPa", CPU_POWERPC_440EPa, 440EP,
"PowerPC 440 EPa")
POWERPC_DEF("440EPb", CPU_POWERPC_440EPb, 440EP,
"PowerPC 440 EPb")
POWERPC_DEF("440EPX", CPU_POWERPC_440EPX, 440EP,
"PowerPC 440 EPX")
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440GPb", CPU_POWERPC_440GPb, 440GP,
"PowerPC 440 GPb")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440GPc", CPU_POWERPC_440GPc, 440GP,
"PowerPC 440 GPc")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440GRa", CPU_POWERPC_440GRa, 440x5,
"PowerPC 440 GRa")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440GRX", CPU_POWERPC_440GRX, 440x5,
"PowerPC 440 GRX")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440GXa", CPU_POWERPC_440GXa, 440EP,
"PowerPC 440 GXa")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440GXb", CPU_POWERPC_440GXb, 440EP,
"PowerPC 440 GXb")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440GXc", CPU_POWERPC_440GXc, 440EP,
"PowerPC 440 GXc")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440GXf", CPU_POWERPC_440GXf, 440EP,
"PowerPC 440 GXf")
#endif
#if defined(TODO)
POWERPC_DEF("440S", CPU_POWERPC_440S, 440,
"PowerPC 440 S")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440SP", CPU_POWERPC_440SP, 440EP,
"PowerPC 440 SP")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440SP2", CPU_POWERPC_440SP2, 440EP,
"PowerPC 440 SP2")
#endif
#if defined(TODO_USER_ONLY)
POWERPC_DEF("440SPE", CPU_POWERPC_440SPE, 440EP,
"PowerPC 440 SPE")
#endif
/* PowerPC 460 family */
#if defined(TODO)
POWERPC_DEF("464", CPU_POWERPC_464, 460,
"Generic PowerPC 464")
#endif
/* PowerPC 464 microcontrolers */
#if defined(TODO)
POWERPC_DEF("464H90", CPU_POWERPC_464H90, 460,
"PowerPC 464H90")
#endif
#if defined(TODO)
POWERPC_DEF("464H90F", CPU_POWERPC_464H90F, 460F,
"PowerPC 464H90F")
#endif
/* Freescale embedded PowerPC cores */
/* MPC5xx family (aka RCPU) */
#if defined(TODO_USER_ONLY)
POWERPC_DEF("MPC5xx", CPU_POWERPC_MPC5xx, MPC5xx,
"Generic MPC5xx core")
#endif
/* MPC8xx family (aka PowerQUICC) */
#if defined(TODO_USER_ONLY)
POWERPC_DEF("MPC8xx", CPU_POWERPC_MPC8xx, MPC8xx,
"Generic MPC8xx core")
#endif
/* MPC82xx family (aka PowerQUICC-II) */
POWERPC_DEF("G2", CPU_POWERPC_G2, G2,
"PowerPC G2 core")
POWERPC_DEF("G2H4", CPU_POWERPC_G2H4, G2,
"PowerPC G2 H4 core")
POWERPC_DEF("G2GP", CPU_POWERPC_G2gp, G2,
"PowerPC G2 GP core")
POWERPC_DEF("G2LS", CPU_POWERPC_G2ls, G2,
"PowerPC G2 LS core")
POWERPC_DEF("G2HiP3", CPU_POWERPC_G2_HIP3, G2,
"PowerPC G2 HiP3 core")
POWERPC_DEF("G2HiP4", CPU_POWERPC_G2_HIP4, G2,
"PowerPC G2 HiP4 core")
POWERPC_DEF("MPC603", CPU_POWERPC_MPC603, 603E,
"PowerPC MPC603 core")
POWERPC_DEF("G2le", CPU_POWERPC_G2LE, G2LE,
"PowerPC G2le core (same as G2 plus little-endian mode support)")
POWERPC_DEF("G2leGP", CPU_POWERPC_G2LEgp, G2LE,
"PowerPC G2LE GP core")
POWERPC_DEF("G2leLS", CPU_POWERPC_G2LEls, G2LE,
"PowerPC G2LE LS core")
POWERPC_DEF("G2leGP1", CPU_POWERPC_G2LEgp1, G2LE,
"PowerPC G2LE GP1 core")
POWERPC_DEF("G2leGP3", CPU_POWERPC_G2LEgp3, G2LE,
"PowerPC G2LE GP3 core")
/* PowerPC G2 microcontrollers */
#if defined(TODO)
POWERPC_DEF_SVR("MPC5121", "MPC5121",
CPU_POWERPC_MPC5121, POWERPC_SVR_5121, G2LE)
#endif
POWERPC_DEF_SVR("MPC5200_v10", "MPC5200 v1.0",
CPU_POWERPC_MPC5200_v10, POWERPC_SVR_5200_v10, G2LE)
POWERPC_DEF_SVR("MPC5200_v11", "MPC5200 v1.1",
CPU_POWERPC_MPC5200_v11, POWERPC_SVR_5200_v11, G2LE)
POWERPC_DEF_SVR("MPC5200_v12", "MPC5200 v1.2",
CPU_POWERPC_MPC5200_v12, POWERPC_SVR_5200_v12, G2LE)
POWERPC_DEF_SVR("MPC5200B_v20", "MPC5200B v2.0",
CPU_POWERPC_MPC5200B_v20, POWERPC_SVR_5200B_v20, G2LE)
POWERPC_DEF_SVR("MPC5200B_v21", "MPC5200B v2.1",
CPU_POWERPC_MPC5200B_v21, POWERPC_SVR_5200B_v21, G2LE)
/* e200 family */
#if defined(TODO)
POWERPC_DEF_SVR("MPC55xx", "Generic MPC55xx core",
CPU_POWERPC_MPC55xx, POWERPC_SVR_55xx, e200)
#endif
#if defined(TODO)
POWERPC_DEF("e200z0", CPU_POWERPC_e200z0, e200,
"PowerPC e200z0 core")
#endif
#if defined(TODO)
POWERPC_DEF("e200z1", CPU_POWERPC_e200z1, e200,
"PowerPC e200z1 core")
#endif
#if defined(TODO)
POWERPC_DEF("e200z3", CPU_POWERPC_e200z3, e200,
"PowerPC e200z3 core")
#endif
POWERPC_DEF("e200z5", CPU_POWERPC_e200z5, e200,
"PowerPC e200z5 core")
POWERPC_DEF("e200z6", CPU_POWERPC_e200z6, e200,
"PowerPC e200z6 core")
/* PowerPC e200 microcontrollers */
#if defined(TODO)
POWERPC_DEF_SVR("MPC5514E", "MPC5514E",
CPU_POWERPC_MPC5514E, POWERPC_SVR_5514E, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5514E_v0", "MPC5514E v0",
CPU_POWERPC_MPC5514E_v0, POWERPC_SVR_5514E_v0, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5514E_v1", "MPC5514E v1",
CPU_POWERPC_MPC5514E_v1, POWERPC_SVR_5514E_v1, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5514G", "MPC5514G",
CPU_POWERPC_MPC5514G, POWERPC_SVR_5514G, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5514G_v0", "MPC5514G v0",
CPU_POWERPC_MPC5514G_v0, POWERPC_SVR_5514G_v0, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5514G_v1", "MPC5514G v1",
CPU_POWERPC_MPC5514G_v1, POWERPC_SVR_5514G_v1, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5515S", "MPC5515S",
CPU_POWERPC_MPC5515S, POWERPC_SVR_5515S, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5516E", "MPC5516E",
CPU_POWERPC_MPC5516E, POWERPC_SVR_5516E, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5516E_v0", "MPC5516E v0",
CPU_POWERPC_MPC5516E_v0, POWERPC_SVR_5516E_v0, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5516E_v1", "MPC5516E v1",
CPU_POWERPC_MPC5516E_v1, POWERPC_SVR_5516E_v1, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5516G", "MPC5516G",
CPU_POWERPC_MPC5516G, POWERPC_SVR_5516G, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5516G_v0", "MPC5516G v0",
CPU_POWERPC_MPC5516G_v0, POWERPC_SVR_5516G_v0, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5516G_v1", "MPC5516G v1",
CPU_POWERPC_MPC5516G_v1, POWERPC_SVR_5516G_v1, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5516S", "MPC5516S",
CPU_POWERPC_MPC5516S, POWERPC_SVR_5516S, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5533", "MPC5533",
CPU_POWERPC_MPC5533, POWERPC_SVR_5533, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5534", "MPC5534",
CPU_POWERPC_MPC5534, POWERPC_SVR_5534, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5553", "MPC5553",
CPU_POWERPC_MPC5553, POWERPC_SVR_5553, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5554", "MPC5554",
CPU_POWERPC_MPC5554, POWERPC_SVR_5554, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5561", "MPC5561",
CPU_POWERPC_MPC5561, POWERPC_SVR_5561, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5565", "MPC5565",
CPU_POWERPC_MPC5565, POWERPC_SVR_5565, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5566", "MPC5566",
CPU_POWERPC_MPC5566, POWERPC_SVR_5566, e200)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC5567", "MPC5567",
CPU_POWERPC_MPC5567, POWERPC_SVR_5567, e200)
#endif
/* e300 family */
POWERPC_DEF("e300c1", CPU_POWERPC_e300c1, e300,
"PowerPC e300c1 core")
POWERPC_DEF("e300c2", CPU_POWERPC_e300c2, e300,
"PowerPC e300c2 core")
POWERPC_DEF("e300c3", CPU_POWERPC_e300c3, e300,
"PowerPC e300c3 core")
POWERPC_DEF("e300c4", CPU_POWERPC_e300c4, e300,
"PowerPC e300c4 core")
/* PowerPC e300 microcontrollers */
#if defined(TODO)
POWERPC_DEF_SVR("MPC8313", "MPC8313",
CPU_POWERPC_MPC831x, POWERPC_SVR_8313, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8313E", "MPC8313E",
CPU_POWERPC_MPC831x, POWERPC_SVR_8313E, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8314", "MPC8314",
CPU_POWERPC_MPC831x, POWERPC_SVR_8314, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8314E", "MPC8314E",
CPU_POWERPC_MPC831x, POWERPC_SVR_8314E, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8315", "MPC8315",
CPU_POWERPC_MPC831x, POWERPC_SVR_8315, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8315E", "MPC8315E",
CPU_POWERPC_MPC831x, POWERPC_SVR_8315E, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8321", "MPC8321",
CPU_POWERPC_MPC832x, POWERPC_SVR_8321, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8321E", "MPC8321E",
CPU_POWERPC_MPC832x, POWERPC_SVR_8321E, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8323", "MPC8323",
CPU_POWERPC_MPC832x, POWERPC_SVR_8323, e300)
#endif
#if defined(TODO)
POWERPC_DEF_SVR("MPC8323E", "MPC8323E",
CPU_POWERPC_MPC832x, POWERPC_SVR_8323E, e300)
#endif
POWERPC_DEF_SVR("MPC8343", "MPC8343",
CPU_POWERPC_MPC834x, POWERPC_SVR_8343, e300)
POWERPC_DEF_SVR("MPC8343A", "MPC8343A",
CPU_POWERPC_MPC834x, POWERPC_SVR_8343A, e300)