/[gxemul]/trunk/src/devices/dev_eagle.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/devices/dev_eagle.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 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_eagle.c,v 1.9 2006/01/16 00:51:14 debug Exp $   *  $Id: dev_eagle.c,v 1.10 2006/02/27 05:32:26 debug Exp $
29   *     *  
30   *  Motorola MPC105 "Eagle" host bridge.   *  Motorola MPC105 "Eagle" host bridge.
31   */   */
# Line 101  struct pci_data *dev_eagle_init(struct m Line 101  struct pci_data *dev_eagle_init(struct m
101          memset(d, 0, sizeof(struct eagle_data));          memset(d, 0, sizeof(struct eagle_data));
102          d->pciirq = pciirq;          d->pciirq = pciirq;
103    
104            /*
105             *  According to http://www.beatjapan.org/mirror/www.be.com/
106             *  aboutbe/benewsletter/Issue27.html#Cookbook :
107             *
108             *  "HARDWARE MEMORY MAP
109             *   The MPC105 defines the physical memory map of the system as
110             *   follows:
111             *
112             *   Start        Size         Description
113             *
114             *   0x00000000   0x40000000   Physical RAM
115             *   0x40000000   0x40000000   Other system memory
116             *                             (motherboard glue regs)
117             *   0x80000000   0x00800000   ISA I/O
118             *   0x81000000   0x3E800000   PCI I/O
119             *   0xBFFFFFF0   0x00000010   PCI/ISA interrupt acknowledge
120             *   0xC0000000   0x3F000000   PCI memory
121             *   0xFF000000   0x01000000   ROM/flash
122             */
123    
124            /*  TODO: Make these work like the BE web page stated...  */
125          pci_io_offset  = 0x80000000ULL;          pci_io_offset  = 0x80000000ULL;
126          pci_mem_offset = 0xc0000000ULL;          pci_mem_offset = 0xc0000000ULL;
127          pci_portbase   = 0x00000000ULL;          pci_portbase   = 0x00000000ULL;

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

  ViewVC Help
Powered by ViewVC 1.1.26