Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 939:6f2302afeb89
prev937:81b0c79d9788
next941:c67574ed4355
author nkeynes
date Sat Jan 03 03:30:26 2009 +0000 (13 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change MMU work-in-progress
* Move SDRAM out into separate sdram.c
* Move all page-table management into mmu.c
* Convert UTLB management to use the new page-tables
* Rip out all calls to mmu_vma_to_phys_* and replace with direct access
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Sat Dec 27 03:14:59 2008 +0000
1.2 +++ b/src/sh4/sh4.c Sat Jan 03 03:30:26 2009 +0000
1.3 @@ -78,9 +78,9 @@
1.4 void sh4_init(void)
1.5 {
1.6 register_io_regions( mmio_list_sh4mmio );
1.7 + MMU_init();
1.8 TMU_init();
1.9 xlat_cache_init();
1.10 - sh4_mem_init();
1.11 sh4_reset();
1.12 #ifdef ENABLE_SH4STATS
1.13 sh4_stats_reset();
1.14 @@ -167,9 +167,7 @@
1.15 sh4_sleep_run_slice(nanosecs);
1.16 break;
1.17 case CORE_EXIT_FLUSH_ICACHE:
1.18 -#ifdef SH4_TRANSLATOR
1.19 xlat_flush_cache();
1.20 -#endif
1.21 break;
1.22 }
1.23
.