/[dynamips]/upstream/dynamips-0.2.7-RC1/dev_c3725_iofpga.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 /upstream/dynamips-0.2.7-RC1/dev_c3725_iofpga.c

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

upstream/dynamips-0.2.6-RC3/dev_c3725_iofpga.c revision 4 by dpavlin, Sat Oct 6 16:06:49 2007 UTC upstream/dynamips-0.2.6-RC4/dev_c3725_iofpga.c revision 5 by dpavlin, Sat Oct 6 16:08:03 2007 UTC
# Line 110  dev_c3725_iofpga_access(cpu_mips_t *cpu, Line 110  dev_c3725_iofpga_access(cpu_mips_t *cpu,
110     switch(offset) {     switch(offset) {
111        /*        /*
112         * Platform type ?         * Platform type ?
113         * (other values than 0 cause crashes or lot of errors).         * 0x04 and 0x05 seem to work.
114         */         */
115        case 0x36:        case 0x36:
116            if (op_type == MTS_READ)            if (op_type == MTS_READ)
117               *data = 0x0000;               *data = 0x04 << 5;
118            break;            break;
119    
120        /* Mainboard EEPROM */        /* Mainboard EEPROM */

Legend:
Removed from v.4  
changed lines
  Added in v.5

  ViewVC Help
Powered by ViewVC 1.1.26