1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

Force pmap to write-back the pte cacheline after each pte modification,

even if the pte is supposed to be cached in write through mode (might be a
skyeye bug, I'll have to check).
This commit is contained in:
Olivier Houchard 2005-11-21 19:10:44 +00:00
parent f9126cfb8f
commit 94d8cf9916
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152654

View File

@ -335,8 +335,13 @@ extern int pmap_needs_pte_sync;
#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.