From eae1d26ab6ed1a704d33f1990080e096294dc6e5 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sat, 23 Sep 2000 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2000-09-23 --- bitsy/mmu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bitsy/mmu.c b/bitsy/mmu.c index d9873c481e9c7df7466174a5e09ada716093e3a6..0a8e97c9810ca0702f94ca0b9e7d267ffacd4f16 100644 --- a/bitsy/mmu.c +++ b/bitsy/mmu.c @@ -91,9 +91,11 @@ mmuinit(void) } /* - * map special space, assume that the space isn't already mapped + * map special space uncached, assume that the space isn't already mapped */ ulong* +mapspecmeg(ulong physaddr, int len) +ulong* mapspecial(ulong physaddr, int len) { ulong *t; @@ -131,7 +133,7 @@ mapspecial(ulong physaddr, int len) candidate = virtaddr+i; } else { /* look for contiunued range */ - if((entry & L2PageBaseMask) != base + off) + if((entry & L2PageBaseMask) != base + off){ candidate = 0; continue; }