/[dynamips]/trunk/device.h
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/device.h

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

upstream/dynamips-0.2.7-RC1/device.h revision 7 by dpavlin, Sat Oct 6 16:23:47 2007 UTC trunk/device.h revision 12 by dpavlin, Sat Oct 6 16:45:40 2007 UTC
# Line 57  void *dev_access_fast(cpu_gen_t *cpu,u_i Line 57  void *dev_access_fast(cpu_gen_t *cpu,u_i
57        return NULL;        return NULL;
58     }     }
59    
60    #if DEBUG_DEV_PERF_CNT
61       cpu->dev_access_counter++;
62    #endif
63    
64     return(dev->handler(cpu,dev,offset,op_size,op_type,data));     return(dev->handler(cpu,dev,offset,op_size,op_type,data));
65  }  }
66    
# Line 149  int dev_nvram_init(vm_instance_t *vm,cha Line 153  int dev_nvram_init(vm_instance_t *vm,cha
153                     u_int *conf_reg);                     u_int *conf_reg);
154    
155  /* Create a 8 Mb bootflash */  /* Create a 8 Mb bootflash */
156  int dev_bootflash_init(vm_instance_t *vm,char *name,  int dev_bootflash_init(vm_instance_t *vm,char *name,char *model,
157                         m_uint64_t paddr,m_uint32_t len);                         m_uint64_t paddr);
158    
159  /* Create a Flash device */  /* Create a Flash device */
160  vm_obj_t *dev_flash_init(vm_instance_t *vm,char *name,  vm_obj_t *dev_flash_init(vm_instance_t *vm,char *name,

Legend:
Removed from v.7  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26