/[gxemul]/trunk/src/include/cpu_ppc.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/cpu_ppc.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by dpavlin, Mon Oct 8 16:20:26 2007 UTC revision 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC
# Line 28  Line 28 
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"
# Line 65  struct ppc_cpu_type_def { Line 65  struct ppc_cpu_type_def {
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 }, \

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26