/[gxemul]/trunk/src/devices/dev_i80321.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_i80321.c

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

revision 39 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 40 by dpavlin, Mon Oct 8 16:22:11 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: dev_i80321.c,v 1.20 2007/02/05 16:49:21 debug Exp $   *  $Id: dev_i80321.c,v 1.21 2007/04/28 09:19:52 debug Exp $
29   *   *
30   *  Intel i80321 (ARM) core functionality.   *  Intel i80321 (ARM) core functionality.
31   *   *
# Line 139  DEVICE_ACCESS(i80321) Line 139  DEVICE_ACCESS(i80321)
139          struct i80321_data *d = extra;          struct i80321_data *d = extra;
140          uint64_t idata = 0, odata = 0;          uint64_t idata = 0, odata = 0;
141          char *n = NULL;          char *n = NULL;
142          int i, bus, dev, func, reg;          int bus, dev, func, reg;
143    
144          if (writeflag == MEM_WRITE)          if (writeflag == MEM_WRITE)
145                  idata = memory_readmax64(cpu, data, len);                  idata = memory_readmax64(cpu, data, len);
# Line 227  DEVICE_ACCESS(i80321) Line 227  DEVICE_ACCESS(i80321)
227                          }                          }
228                  } else {                  } else {
229                          uint64_t tmp;                          uint64_t tmp;
230                            unsigned int i;
231                          int r = relative_addr - (VERDE_ATU_BASE + ATU_OCCDR);                          int r = relative_addr - (VERDE_ATU_BASE + ATU_OCCDR);
232                          bus_pci_data_access(cpu, d->pci_bus, &tmp,                          bus_pci_data_access(cpu, d->pci_bus, &tmp,
233                              sizeof(uint32_t), MEM_READ);                              sizeof(uint32_t), MEM_READ);

Legend:
Removed from v.39  
changed lines
  Added in v.40

  ViewVC Help
Powered by ViewVC 1.1.26