/[dynamips]/upstream/dynamips-0.2.6-RC5/dev_c2691_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.6-RC5/dev_c2691_iofpga.c

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.26