filename | src/sh4/sh4.c |
changeset | 1112:4cac5e474d4c |
prev | 1091:186558374345 |
next | 1125:9dd5dee45db9 |
author | nkeynes |
date | Fri Sep 10 08:50:55 2010 +1000 (13 years ago) |
permissions | -rw-r--r-- |
last change | Add missing sh4_translate_breakpoint_hit to the symbol table Change asm() to __asm__() as it's more likely to work |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4.c Tue Dec 15 08:46:37 2009 +10001.2 +++ b/src/sh4/sh4.c Fri Sep 10 08:50:55 2010 +10001.3 @@ -153,6 +153,13 @@1.4 static gboolean sh4_running = FALSE;1.5 struct sh4_icache_struct sh4_icache = { NULL, -1, -1, 0 };1.7 +/* At the moment this is a dummy event to mark the end of the1.8 + * timeslice1.9 + */1.10 +void sh4_dummy_event(int eventid)1.11 +{1.12 +}1.13 +1.14 void sh4_translate_set_enabled( gboolean use )1.15 {1.16 // No-op if the translator was not built1.17 @@ -172,6 +179,7 @@1.18 void sh4_init(void)1.19 {1.20 register_io_regions( mmio_list_sh4mmio );1.21 + register_event_callback( EVENT_ENDTIMESLICE, sh4_dummy_event );1.22 MMU_init();1.23 TMU_init();1.24 xlat_cache_init();
.