]> Zhao Yanbai Git Server - minix.git/commitdiff
arm:caching access the l1 pages over cacheable memory. 49/849/2
authorKees Jongenburger <kees.jongenburger@gmail.com>
Wed, 25 Sep 2013 08:30:18 +0000 (10:30 +0200)
committerKees Jongenburger <kees.jongenburger@gmail.com>
Thu, 26 Sep 2013 09:57:44 +0000 (11:57 +0200)
When we start using a new pagetable (for a new process)
the last part is to ensure the pagetable itself can be
accessed by VM. This is done in pt_bind by updating
the "pagetable of pagetables" and we want this mapping
to match other mappings to the l1 pagetable.

Change-Id: I7b506fd75553917fdc1abd25b55e4b2f25ccbf8d

servers/vm/arch/i386/pagetable.c

index 49398f08ccff196bc1af2224003ca65f475f97a1..57963f5cac155f2f402e9c8d2f64d13c3040751f 100644 (file)
@@ -1324,6 +1324,7 @@ int pt_bind(pt_t *pt, struct vmproc *who)
                        (phys+i*VM_PAGE_SIZE)
                        | ARCH_VM_PTE_PRESENT
                        | ARCH_VM_PTE_RW
+                       | ARM_VM_PTE_CACHED
                        | ARCH_VM_PTE_USER; //LSC FIXME
        }
 }