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

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

revision 29 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_cons.c,v 1.36 2006/05/06 08:42:49 debug Exp $   *  $Id: dev_cons.c,v 1.37 2006/07/23 14:37:34 debug Exp $
29   *     *  
30   *  A simple console device, useful for simple tests.   *  A simple console device, useful for simple tests.
31   *   *
# Line 53  Line 53 
53  #define CONS_TICK_SHIFT         14  #define CONS_TICK_SHIFT         14
54    
55    
56  /*  DEVICE_TICK(cons)
  *  dev_cons_tick():  
  */  
 void dev_cons_tick(struct cpu *cpu, void *extra)  
57  {  {
58          struct cpu *c = cpu->machine->cpus[0];          struct cpu *c = cpu->machine->cpus[0];
59          struct cons_data *d = extra;          struct cons_data *d = extra;
# Line 68  void dev_cons_tick(struct cpu *cpu, void Line 65  void dev_cons_tick(struct cpu *cpu, void
65  }  }
66    
67    
 /*  
  *  dev_cons_access():  
  */  
68  DEVICE_ACCESS(cons)  DEVICE_ACCESS(cons)
69  {  {
70          struct cons_data *d = extra;          struct cons_data *d = extra;

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26