Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 619:0800a0137472
prev617:476a717a54f3
next638:d6dc39e935af
author nkeynes
date Wed Jan 30 09:38:24 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Deliver TMU interrupts precisely rather than only at end of time slice
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Tue Jan 29 10:39:56 2008 +0000
1.2 +++ b/src/sh4/sh4.c Wed Jan 30 09:38:24 2008 +0000
1.3 @@ -80,6 +80,7 @@
1.4 register_io_regions( mmio_list_sh4mmio );
1.5 sh4_main_ram = mem_get_region_by_name(MEM_REGION_MAIN);
1.6 MMU_init();
1.7 + TMU_init();
1.8 sh4_reset();
1.9 }
1.10
1.11 @@ -399,10 +400,6 @@
1.12 }
1.13 }
1.14 sh4r.slice_cycle = nanosecs;
1.15 - if( sleep_state != SH4_STATE_STANDBY ) {
1.16 - TMU_run_slice( nanosecs );
1.17 - SCIF_run_slice( nanosecs );
1.18 - }
1.19 return sh4r.slice_cycle;
1.20 }
1.21
.