/[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 35 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 36 by dpavlin, Mon Oct 8 16:21:34 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: machine_walnut.c,v 1.4 2007/01/21 21:02:57 debug Exp $   *  $Id: machine_walnut.c,v 1.5 2007/02/24 04:38:18 debug Exp $
29   *   *
30   *  TODO: Other evbppc machines?   *  Emulation of a Walnut evaluation board, for experimenting with
31     *  NetBSD/evbppc (http://www.netbsd.org/Ports/evbppc/).
32     *
33     *  NOTE/TODO: This is just a dummy skeleton, it doesn't emulate anything yet.
34     *
35     *  TODO: How about other evbppc machines?
36   */   */
37    
38  #include <stdio.h>  #include <stdio.h>
# Line 45  Line 50 
50    
51  MACHINE_SETUP(walnut)  MACHINE_SETUP(walnut)
52  {  {
         /*  
          *  NetBSD/evbppc (http://www.netbsd.org/Ports/evbppc/)  
          */  
53          machine->machine_name = "Walnut evaluation board";          machine->machine_name = "Walnut evaluation board";
54    
55            /*  TODO: ns16550 irq  */
56          machine->main_console_handle = (size_t)device_add(machine,          machine->main_console_handle = (size_t)device_add(machine,
57              "ns16550 irq=0 addr=0xef600300");              "ns16550 addr=0xef600300");
58    
59          /*  OpenBIOS board config data:  */          /*  OpenBIOS board config data:  */
60          dev_ram_init(machine, 0xfffe0b50, 64, DEV_RAM_RAM, 0);          dev_ram_init(machine, 0xfffe0b50, 64, DEV_RAM_RAM, 0);

Legend:
Removed from v.35  
changed lines
  Added in v.36

  ViewVC Help
Powered by ViewVC 1.1.26