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

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

revision 23 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_sgi_gbe.c,v 1.32 2006/01/01 13:17:17 debug Exp $   *  $Id: dev_sgi_gbe.c,v 1.34 2006/03/04 12:38:48 debug Exp $
29   *   *
30   *  SGI "gbe", graphics controller. Framebuffer.   *  SGI "gbe", graphics controller. Framebuffer.
31   *  Loosely inspired by Linux code.   *  Loosely inspired by Linux code.
# Line 96  void dev_sgi_gbe_tick(struct cpu *cpu, v Line 96  void dev_sgi_gbe_tick(struct cpu *cpu, v
96          int tweaked = 1;          int tweaked = 1;
97    
98  #ifdef MTE_TEST  #ifdef MTE_TEST
99    /*  Actually just a return, but this fools the Compaq compiler...  */
100    if (cpu != NULL)
101  return;  return;
102  #endif  #endif
103    
# Line 441  void dev_sgi_gbe_init(struct machine *ma Line 443  void dev_sgi_gbe_init(struct machine *ma
443    
444          memory_device_register(mem, "sgi_gbe", baseaddr, DEV_SGI_GBE_LENGTH,          memory_device_register(mem, "sgi_gbe", baseaddr, DEV_SGI_GBE_LENGTH,
445              dev_sgi_gbe_access, d, DM_DEFAULT, NULL);              dev_sgi_gbe_access, d, DM_DEFAULT, NULL);
446          machine_add_tickfunction(machine, dev_sgi_gbe_tick, d, 18);          machine_add_tickfunction(machine, dev_sgi_gbe_tick, d, 18, 0.0);
447  }  }
448    

Legend:
Removed from v.23  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26