revision 1173:49207ef698e1
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1173:49207ef698e1 |
parent | 1172:43eef98ff265 |
child | 1174:252d50f93cf6 |
author | nkeynes |
date | Wed May 11 19:20:42 2011 +1000 (12 years ago) |
Unprotect TLB entries for all systems, not just 64-bit (seems to be needed
on some 32-bit machines)
on some 32-bit machines)
![]() | src/sh4/mmu.c | view | annotate | diff | log |
1.1 --- a/src/sh4/mmu.c Wed May 11 08:45:31 2011 +10001.2 +++ b/src/sh4/mmu.c Wed May 11 19:20:42 2011 +10001.3 @@ -147,13 +147,11 @@1.4 register_mem_page_remapped_hook( mmu_ext_page_remapped, NULL );1.5 mmu_utlb_1k_init();1.7 - /* Ensure the code regions are executable (64-bit only). Although it might1.8 + /* Ensure the code regions are executable. Although it might1.9 * be more portable to mmap these at runtime rather than using static decls1.10 */1.11 -#if SIZEOF_VOID_P == 81.12 mem_unprotect( mmu_utlb_pages, sizeof(mmu_utlb_pages) );1.13 mem_unprotect( mmu_utlb_1k_pages, sizeof(mmu_utlb_1k_pages) );1.14 -#endif1.15 }1.17 void MMU_reset()
.