reverse packet encaps; no trailers for pup
[unix-history] / usr / src / sys / vax / include / trap.h
index dca2e82..885bca0 100644 (file)
@@ -1,20 +1,19 @@
-/*     trap.h  3.2     %G%     */
+/*     trap.h  4.6     81/03/03        */
 
 /*
  * Trap type values
 
 /*
  * Trap type values
- *
- * NB: OFFSETS HERE ARE ALSO DEFINED IN trap.m
  */
 
  */
 
+/* The first three constant values are known to the real world <signal.h> */
 #define        RESADFLT        0               /* reserved addressing fault */
 #define        PRIVINFLT       1               /* privileged instruction fault */
 #define        RESADFLT        0               /* reserved addressing fault */
 #define        PRIVINFLT       1               /* privileged instruction fault */
-#define        BPTFLT          2               /* bpt instruction fault */
-#define        XFCFLT          3               /* xfc instruction fault */
-#define        RESOPFLT        4               /* reserved operand fault */
+#define        RESOPFLT        2               /* reserved operand fault */
+/* End of known constants */
+#define        BPTFLT          3               /* bpt instruction fault */
+#define        XFCFLT          4               /* xfc instruction fault */
 #define        SYSCALL         5               /* chmk instruction (syscall trap) */
 #define        ARITHTRAP       6               /* arithmetic trap */
 #define        SYSCALL         5               /* chmk instruction (syscall trap) */
 #define        ARITHTRAP       6               /* arithmetic trap */
-#define        RESCHED         7               /* software level 1 trap
-                                          (reschedule trap) */
+#define        ASTFLT          7               /* software level 2 trap (ast deliv) */
 #define        SEGFLT          8               /* segmentation fault */
 #define        PROTFLT         9               /* protection fault */
 #define        TRCTRAP         10              /* trace trap */
 #define        SEGFLT          8               /* segmentation fault */
 #define        PROTFLT         9               /* protection fault */
 #define        TRCTRAP         10              /* trace trap */