diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-09-09 01:11:41 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-09-09 01:11:41 +0000 |
commit | c85704fbf795602eafb3a32fd001cbe03a1e338f (patch) | |
tree | 7f91affb8419bae2963f0c061160259b40332350 /sys/amd64 | |
parent | 6117d4bb0cb167a0613ba5b7bc54979441a193c5 (diff) | |
download | FreeBSD-src-c85704fbf795602eafb3a32fd001cbe03a1e338f.zip FreeBSD-src-c85704fbf795602eafb3a32fd001cbe03a1e338f.tar.gz |
Changed the pg("ptdi> %x") to a printf and then a panic, since we are
going to panic shortly after this anyway. Destroys less state, and
keeps the machine from waiting for someone to smash the return key
a few times before it panics!
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index be0ce82..8f6c5fa 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -43,7 +43,7 @@ * * 28 Nov 1991 Poul-Henning Kamp Speedup processing. */ -static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/i386/pmap.c,v 1.1.1.1 1993/06/12 14:58:06 rgrimes Exp $"; +static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/i386/pmap.c,v 1.2 1993/07/27 10:52:19 davidg Exp $"; /* * Derived from hp300 version by Mike Hibler, this version by William @@ -901,7 +901,8 @@ pmap_enter(pmap, va, pa, prot, wired) * Page Directory table entry not valid, we need a new PT page */ if (!pmap_pde_v(pmap_pde(pmap, va))) { - pg("ptdi %x", pmap->pm_pdir[PTDPTDI]); + printf("ptdi %x\n", pmap->pm_pdir[PTDPTDI]); + panic("Page Table Directory Invalid (ptdi)"); } pte = pmap_pte(pmap, va); |