/[gxemul]/trunk/src/machines/machine_walnut.c
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/machines/machine_walnut.c

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

revision 22 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 34 by dpavlin, Mon Oct 8 16:21:17 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *  Copyright (C) 2005-2006  Anders Gavare.  All rights reserved.   *  Copyright (C) 2005-2007  Anders Gavare.  All rights reserved.
3   *   *
4   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
5   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: machine_walnut.c,v 1.1 2006/01/06 13:03:57 debug Exp $   *  $Id: machine_walnut.c,v 1.4 2007/01/21 21:02:57 debug Exp $
29     *
30     *  TODO: Other evbppc machines?
31   */   */
32    
33  #include <stdio.h>  #include <stdio.h>
# Line 37  Line 39 
39  #include "device.h"  #include "device.h"
40  #include "devices.h"  #include "devices.h"
41  #include "machine.h"  #include "machine.h"
 #include "machine_interrupts.h"  
42  #include "memory.h"  #include "memory.h"
43  #include "misc.h"  #include "misc.h"
44    
# Line 82  MACHINE_DEFAULT_CPU(walnut) Line 83  MACHINE_DEFAULT_CPU(walnut)
83    
84  MACHINE_REGISTER(walnut)  MACHINE_REGISTER(walnut)
85  {  {
86          MR_DEFAULT(walnut, "Walnut evaluation board", ARCH_PPC,          MR_DEFAULT(walnut, "Walnut evaluation board", ARCH_PPC, MACHINE_WALNUT);
87              MACHINE_WALNUT, 2, 0);  
88          me->aliases[0] = "evbppc";          machine_entry_add_alias(me, "evbppc");
89          me->aliases[1] = "walnut";          machine_entry_add_alias(me, "walnut");
         machine_entry_add(me, ARCH_PPC);  
90  }  }
91    

Legend:
Removed from v.22  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26