M carrera/main.c => carrera/main.c +1 -1
@@ 248,7 248,7 @@ iomapinit(void)
/* Set the translation table */
IO(ulong, Ttbr) = PADDR(t);
- IO(ulong, Tlrb) = (Ntranslation-1)*sizeof(Tte);
+ IO(ulong, Tlrb) = Ntranslation*sizeof(Tte);
/* Invalidate the old entries */
IO(ulong, Tir) = 0;
M carrera/trap.c => carrera/trap.c +0 -1
@@ 329,7 329,6 @@ intr(Ureg *ur)
iprint("i386ACK #%lux\n", devint);
cause &= ~INTR4;
}
-
if(cause & INTR7) {
clock(ur);
cause &= ~INTR7;
M port/chan.c => port/chan.c +1 -0
@@ 287,6 287,7 @@ unmount(Chan *mnt, Chan *mounted)
p = &m->mount;
for(f = *p; f; f = f->next) {
+ /* BUG: Needs to be 2 pass */
if(eqchan(f->to, mounted, 1) || eqchan(f->to->mchan, mounted, 1)) {
*p = f->next;
f->next = 0;