Do not truncate the kernel pmap physical address to an `int' before

sticking it in the context lookup table.  Fixes a booting issue on
Netra T1125s.
This commit is contained in:
eeh 2002-06-11 21:10:03 +00:00
parent fa53d749ff
commit 715641d6a1
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.121 2002/06/02 14:44:41 drochner Exp $ */
/* $NetBSD: pmap.c,v 1.122 2002/06/11 21:10:03 eeh Exp $ */
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
#define HWREF
/*
@ -1281,7 +1281,7 @@ remap_data:
pmap_kernel()->pm_segs=(paddr_t *)(u_long)newp;
pmap_kernel()->pm_physaddr = newp;
/* mark kernel context as busy */
((paddr_t*)ctxbusy)[0] = (int)pmap_kernel()->pm_physaddr;
ctxbusy[0] = pmap_kernel()->pm_physaddr;
}
/*
* finish filling out kernel pmap.