svn commit: r230817 - projects/armv6/sys/arm/arm
Grzegorz Bernacki
gber at FreeBSD.org
Tue Jan 31 15:41:32 UTC 2012
Author: gber
Date: Tue Jan 31 15:41:31 2012
New Revision: 230817
URL: http://svn.freebsd.org/changeset/base/230817
Log:
Add flag shared to page table
Page table may be used by more than one processor,so flag shared must be set.
Submitted by: Lukasz Plachno
Obtained from: Marvell, Semihalf
Modified:
projects/armv6/sys/arm/arm/locore.S
Modified: projects/armv6/sys/arm/arm/locore.S
==============================================================================
--- projects/armv6/sys/arm/arm/locore.S Tue Jan 31 15:40:18 2012 (r230816)
+++ projects/armv6/sys/arm/arm/locore.S Tue Jan 31 15:41:31 2012 (r230817)
@@ -237,9 +237,9 @@ mmu_init_table:
/* map VA 0xc0000000..0xc3ffffff to PA */
MMU_INIT(KERNBASE, PHYSADDR, 64, L1_TYPE_S|L1_S_C|L1_S_AP(AP_KRW))
#else
- MMU_INIT(PHYSADDR, PHYSADDR , 64, L1_TYPE_S|L1_SHARED|L1_S_AP(AP_KRW))
+ MMU_INIT(PHYSADDR, PHYSADDR , 64, L1_TYPE_S|L1_SHARED|L1_S_C|L1_S_AP(AP_KRW))
/* map VA 0xc0000000..0xc3ffffff to PA */
- MMU_INIT(KERNBASE, PHYSADDR, 64, L1_TYPE_S|L1_SHARED|L1_S_AP(AP_KRW))
+ MMU_INIT(KERNBASE, PHYSADDR, 64, L1_TYPE_S|L1_SHARED|L1_S_C|L1_S_AP(AP_KRW))
#endif
.word 0 /* end of table */
#endif
More information about the svn-src-projects
mailing list