From: Kees Jongenburger Date: Fri, 13 Sep 2013 07:44:26 +0000 (+0200) Subject: arm:caching mark memory as cacheable. X-Git-Tag: v3.3.0~780 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/syslog.conf.5.html?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F859%2F1;p=minix.git arm:caching mark memory as cacheable. kernel mappings that are not marked as VMMF_UNCACHED are now mapped as cacheable. --- diff --git a/servers/vm/arch/i386/pagetable.c b/servers/vm/arch/i386/pagetable.c index 6ee9dba47..49398f08c 100644 --- a/servers/vm/arch/i386/pagetable.c +++ b/servers/vm/arch/i386/pagetable.c @@ -1131,6 +1131,9 @@ void pt_init(void) kern_mappings[pindex].flags |= PTF_NOCACHE; #elif defined(__arm__) kern_mappings[pindex].flags |= ARM_VM_PTE_DEVICE; + else { + kern_mappings[pindex].flags |= ARM_VM_PTE_CACHED; + } #endif if(flags & VMMF_USER) kern_mappings[pindex].flags |= ARCH_VM_PTE_USER;