projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
missing a cylinder group in brute force search
[unix-history]
/
usr
/
src
/
sys
/
kern
/
subr_prf.c
diff --git
a/usr/src/sys/kern/subr_prf.c
b/usr/src/sys/kern/subr_prf.c
index
a55b300
..
303db76
100644
(file)
--- a/
usr/src/sys/kern/subr_prf.c
+++ b/
usr/src/sys/kern/subr_prf.c
@@
-1,4
+1,4
@@
-/* subr_prf.c 4.2
3 82/10/31
*/
+/* subr_prf.c 4.2
5 82/12/17
*/
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-10,6
+10,7
@@
#include "../h/msgbuf.h"
#include "../h/dir.h"
#include "../h/user.h"
#include "../h/msgbuf.h"
#include "../h/dir.h"
#include "../h/user.h"
+#include "../h/proc.h"
#include "../h/tty.h"
/*
#include "../h/tty.h"
/*
@@
-169,20
+170,21
@@
printn(n, b, touser)
panic(s)
char *s;
{
panic(s)
char *s;
{
-#if sun
+#if
def
sun
register int *a5;
#endif
int bootopt = RB_AUTOBOOT;
if (panicstr)
bootopt |= RB_NOSYNC;
register int *a5;
#endif
int bootopt = RB_AUTOBOOT;
if (panicstr)
bootopt |= RB_NOSYNC;
-#if sun
else {
else {
+ panicstr = s;
+#ifdef sun
asm("movl a6, a5");
traceback(a5, a5);
asm("movl a6, a5");
traceback(a5, a5);
- }
+ resume(pcbb(u.u_procp)); /* for adb traceback */
#endif
#endif
- panicstr = s;
+ }
printf("panic: %s\n", s);
boot(RB_PANIC, bootopt);
}
printf("panic: %s\n", s);
boot(RB_PANIC, bootopt);
}
@@
-233,11
+235,11
@@
putchar(c, touser)
}
return;
}
}
return;
}
-#if vax
+#if
def
vax
#include "../vax/mtpr.h" /* XXX */
#endif
if (c != '\0' && c != '\r' && c != 0177
#include "../vax/mtpr.h" /* XXX */
#endif
if (c != '\0' && c != '\r' && c != 0177
-#if vax
+#if
def
vax
&& mfpr(MAPEN)
#endif
) {
&& mfpr(MAPEN)
#endif
) {