PERFORCE change 94864 for review

Olivier Houchard cognet at FreeBSD.org
Sun Apr 9 20:02:51 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=94864

Change 94864 by cognet at cognet on 2006/04/09 20:01:58

	Don't write-back the PTEs, if they are mapped write-through for arm9.
	This was apparently needed only because skyeye has bugs in its cache
	emulation.

Affected files ...

.. //depot/projects/arm/src/sys/arm/include/pmap.h#6 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/include/pmap.h#6 (text+ko) ====

@@ -336,13 +336,8 @@
 #define	PMAP_NEEDS_PTE_SYNC	1
 #define	PMAP_INCLUDE_PTE_SYNC
 #elif (ARM_MMU_SA1 == 0)
-#if defined(CPU_ARM9) && !defined(ARM9_CACHE_WRITE_THROUGH)
-#define PMAP_NEEDS_PTE_SYNC	1
-#define PMAP_INCLUDE_PTE_SYNC
-#else
 #define	PMAP_NEEDS_PTE_SYNC	0
 #endif
-#endif
 
 /*
  * These macros return various bits based on kernel/user and protection.


More information about the p4-projects mailing list