add definition for ability to produce a backtrace
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 18 May 1995 12:34:12 +0000 (04:34 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 18 May 1995 12:34:12 +0000 (04:34 -0800)
SCCS-vsn: sys/hp300/include/cpu.h 8.5
SCCS-vsn: sys/i386/include/cpu.h 8.5
SCCS-vsn: sys/luna68k/include/cpu.h 8.6
SCCS-vsn: sys/news3400/include/cpu.h 8.3
SCCS-vsn: sys/pmax/include/cpu.h 8.5
SCCS-vsn: sys/sparc/include/cpu.h 8.5

usr/src/sys/hp300/include/cpu.h
usr/src/sys/i386/include/cpu.h
usr/src/sys/luna68k/include/cpu.h
usr/src/sys/news3400/include/cpu.h
usr/src/sys/pmax/include/cpu.h
usr/src/sys/sparc/include/cpu.h

index df20128..83ca4bd 100644 (file)
@@ -11,7 +11,7 @@
  *
  * from: Utah $Hdr: cpu.h 1.16 91/03/25$
  *
  *
  * from: Utah $Hdr: cpu.h 1.16 91/03/25$
  *
- *     @(#)cpu.h       8.4 (Berkeley) %G%
+ *     @(#)cpu.h       8.5 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -29,6 +29,7 @@
 #define        cpu_wait(p)                     /* nothing */
 #define cpu_setstack(p, ap)            (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp)      (p)->p_md.md_regs = fp
 #define        cpu_wait(p)                     /* nothing */
 #define cpu_setstack(p, ap)            (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp)      (p)->p_md.md_regs = fp
+#define BACKTRACE(p)                   backtrace(p)
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
index b95f9e3..7640cdf 100644 (file)
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)cpu.h       8.4 (Berkeley) %G%
+ *     @(#)cpu.h       8.5 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -26,6 +26,7 @@
 #define        cpu_swapin(p)                   /* nothing */
 #define cpu_setstack(p, ap)            (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp)      (p)->p_md.md_regs = fp
 #define        cpu_swapin(p)                   /* nothing */
 #define cpu_setstack(p, ap)            (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp)      (p)->p_md.md_regs = fp
+#define        BACKTRACE(p)                    /* not implemented */
 
 /*
  * Arguments to hardclock, softclock and gatherstats
 
 /*
  * Arguments to hardclock, softclock and gatherstats
index e161b17..da8a238 100644 (file)
@@ -13,7 +13,7 @@
  * from: Utah $Hdr: cpu.h 1.16 91/03/25$
  * from: hp300/include/cpu.h   8.2 (Berkeley) 9/23/93
  *
  * from: Utah $Hdr: cpu.h 1.16 91/03/25$
  * from: hp300/include/cpu.h   8.2 (Berkeley) 9/23/93
  *
- *     @(#)cpu.h       8.5 (Berkeley) %G%
+ *     @(#)cpu.h       8.6 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -32,6 +32,7 @@
 #define        cpu_wait(p)                     /* nothing */
 #define cpu_setstack(p, ap)            (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp)      (p)->p_md.md_regs = fp
 #define        cpu_wait(p)                     /* nothing */
 #define cpu_setstack(p, ap)            (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp)      (p)->p_md.md_regs = fp
+#define        BACKTRACE(p)                    /* not implemented */
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
index f3743ab..1214568 100644 (file)
@@ -8,7 +8,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)cpu.h       8.2 (Berkeley) %G%
+ *     @(#)cpu.h       8.3 (Berkeley) %G%
  */
 
 #ifndef _CPU_H_
  */
 
 #ifndef _CPU_H_
@@ -31,6 +31,7 @@
 #define        cpu_wait(p)             /* nothing */
 #define cpu_setstack(p, ap)    (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp) (p)->p_md.md_regs = fp
 #define        cpu_wait(p)             /* nothing */
 #define cpu_setstack(p, ap)    (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp) (p)->p_md.md_regs = fp
+#define        BACKTRACE(p)            /* not implemented */
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
index 9f5fd50..58eee76 100644 (file)
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)cpu.h       8.4 (Berkeley) %G%
+ *     @(#)cpu.h       8.5 (Berkeley) %G%
  */
 
 #ifndef _CPU_H_
  */
 
 #ifndef _CPU_H_
@@ -29,6 +29,7 @@
 #define        cpu_wait(p)             /* nothing */
 #define cpu_setstack(p, ap)    (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp) /* nothing */
 #define        cpu_wait(p)             /* nothing */
 #define cpu_setstack(p, ap)    (p)->p_md.md_regs[SP] = ap
 #define cpu_set_init_frame(p, fp) /* nothing */
+#define        BACKTRACE(p)            /* not implemented */
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
index 8e4a966..5c716c9 100644 (file)
@@ -13,7 +13,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)cpu.h       8.4 (Berkeley) %G%
+ *     @(#)cpu.h       8.5 (Berkeley) %G%
  *
  * from: $Header: cpu.h,v 1.12 93/05/25 10:36:34 torek Exp $ (LBL)
  */
  *
  * from: $Header: cpu.h,v 1.12 93/05/25 10:36:34 torek Exp $ (LBL)
  */
@@ -48,6 +48,7 @@
 #define        cpu_swapin(p)           /* nothing */
 #define        cpu_wait(p)             /* nothing */
 #define        cpu_setstack(p, ap)     ((p)->p_md.md_tf->tf_out[6] = (ap) - 64)
 #define        cpu_swapin(p)           /* nothing */
 #define        cpu_wait(p)             /* nothing */
 #define        cpu_setstack(p, ap)     ((p)->p_md.md_tf->tf_out[6] = (ap) - 64)
+#define        BACKTRACE(p)            /* not implemented */
 
 /*
  * See syscall() for an explanation of the following.  Note that the
 
 /*
  * See syscall() for an explanation of the following.  Note that the