28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $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 $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include "misc.h" |
#include "misc.h" |
65 |
#define PPC_603 4 |
#define PPC_603 4 |
66 |
#define PPC_NO_DEC 8 /* No DEC (decrementer) SPR */ |
#define PPC_NO_DEC 8 /* No DEC (decrementer) SPR */ |
67 |
|
|
68 |
/* TODO: Most of these just bogus */ |
/* |
69 |
|
* TODO: Most of these just bogus |
70 |
|
* |
71 |
|
* NOTE: PPC603e has the PPC_NO_DEC flag because that makes NetBSD/bebox |
72 |
|
* work :) but I am not sure that it is correct. |
73 |
|
*/ |
74 |
|
|
75 |
#define PPC_CPU_TYPE_DEFS { \ |
#define PPC_CPU_TYPE_DEFS { \ |
76 |
{ "PPC405GP", 0x40110000, 32, PPC_NOFP|PPC_NO_DEC, \ |
{ "PPC405GP", 0x40110000, 32, PPC_NOFP|PPC_NO_DEC, \ |
77 |
13,5,2, 13,5,2, 0,5,1, 0 }, \ |
13,5,2, 13,5,2, 0,5,1, 0 }, \ |
78 |
{ "PPC601", 0, 32, PPC_601, 14,5,4, 14,5,4, 0,0,0, 0 },\ |
{ "PPC601", 0, 32, PPC_601, 14,5,4, 14,5,4, 0,0,0, 0 },\ |
79 |
{ "PPC603", 0x00030302, 32, PPC_603, 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 },\ |
80 |
{ "PPC603e", 0x00060104, 32, PPC_603, 14,5,4, 14,5,4, 0,0,0, 0 },\ |
{ "PPC603e", 0x00060104, 32, PPC_603|PPC_NO_DEC, \ |
81 |
|
14,5,4, 14,5,4, 0,0,0, 0 }, \ |
82 |
{ "PPC604", 0x00040304, 32, 0, 15,5,4, 15,5,4, 0,0,0, 0 }, \ |
{ "PPC604", 0x00040304, 32, 0, 15,5,4, 15,5,4, 0,0,0, 0 }, \ |
83 |
{ "PPC620", 0x00140000, 64, 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 }, \ |
84 |
{ "MPC7400", 0x000c0000, 32, 0, 15,5,2, 15,5,2, 19,5,1, 1 }, \ |
{ "MPC7400", 0x000c0000, 32, 0, 15,5,2, 15,5,2, 19,5,1, 1 }, \ |