--- trunk/src/include/cpu_ppc.h 2007/10/08 16:20:32 29 +++ trunk/src/include/cpu_ppc.h 2007/10/08 16:20:40 30 @@ -28,7 +28,7 @@ * SUCH DAMAGE. * * - * $Id: cpu_ppc.h,v 1.66 2006/07/16 13:32:28 debug Exp $ + * $Id: cpu_ppc.h,v 1.67 2006/07/24 21:14:52 debug Exp $ */ #include "misc.h" @@ -65,14 +65,20 @@ #define PPC_603 4 #define PPC_NO_DEC 8 /* No DEC (decrementer) SPR */ -/* TODO: Most of these just bogus */ +/* + * TODO: Most of these just bogus + * + * NOTE: PPC603e has the PPC_NO_DEC flag because that makes NetBSD/bebox + * work :) but I am not sure that it is correct. + */ #define PPC_CPU_TYPE_DEFS { \ { "PPC405GP", 0x40110000, 32, PPC_NOFP|PPC_NO_DEC, \ 13,5,2, 13,5,2, 0,5,1, 0 }, \ { "PPC601", 0, 32, PPC_601, 14,5,4, 14,5,4, 0,0,0, 0 },\ { "PPC603", 0x00030302, 32, PPC_603, 14,5,4, 14,5,4, 0,0,0, 0 },\ - { "PPC603e", 0x00060104, 32, PPC_603, 14,5,4, 14,5,4, 0,0,0, 0 },\ + { "PPC603e", 0x00060104, 32, PPC_603|PPC_NO_DEC, \ + 14,5,4, 14,5,4, 0,0,0, 0 }, \ { "PPC604", 0x00040304, 32, 0, 15,5,4, 15,5,4, 0,0,0, 0 }, \ { "PPC620", 0x00140000, 64, 0, 15,5,4, 15,5,4, 0,0,0, 0 }, \ { "MPC7400", 0x000c0000, 32, 0, 15,5,2, 15,5,2, 19,5,1, 1 }, \