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. |
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 |
|
|
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 |
|
|