New type-codes: new precomputed trap constants.
authorStephen Adams <edu/mit/csail/zurich/adams>
Thu, 27 Jul 1995 00:23:31 +0000 (00:23 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Thu, 27 Jul 1995 00:23:31 +0000 (00:23 +0000)
v8/src/microcode/trap.h

index 45e47b64e94865468645571a16cc494f3befb534..01e3bd60071b88b811164c4bbde8b2543ea45b7e 100644 (file)
@@ -30,7 +30,7 @@ Technology nor of any adaptation thereof in any advertising,
 promotional, or sales literature without prior written consent from
 MIT in each case. */
 
-/* $Id: trap.h,v 9.43 1993/06/24 07:10:00 gjr Exp $ */
+/* $Id: trap.h,v 9.44 1995/07/27 00:23:31 adams Exp $ */
 \f
 /* Kinds of traps:
 
@@ -84,28 +84,28 @@ MIT in each case. */
 #ifdef b32                             /* 32 bit objects */
 
 #if (TYPE_CODE_LENGTH == 8)
-#define UNASSIGNED_OBJECT              0x32000000
-#define DANGEROUS_UNASSIGNED_OBJECT    0x32000001
-#define UNBOUND_OBJECT                 0x32000002
-#define DANGEROUS_UNBOUND_OBJECT       0x32000003
-#define ILLEGAL_OBJECT                 0x32000004
-#define DANGEROUS_ILLEGAL_OBJECT       0x32000005
-#define EXPENSIVE_OBJECT               0x32000006
-#define DANGEROUS_EXPENSIVE_OBJECT     0x32000007
+#define UNASSIGNED_OBJECT              0x1C000000
+#define DANGEROUS_UNASSIGNED_OBJECT    0x1C000001
+#define UNBOUND_OBJECT                 0x1C000002
+#define DANGEROUS_UNBOUND_OBJECT       0x1C000003
+#define ILLEGAL_OBJECT                 0x1C000004
+#define DANGEROUS_ILLEGAL_OBJECT       0x1C000005
+#define EXPENSIVE_OBJECT               0x1C000006
+#define DANGEROUS_EXPENSIVE_OBJECT     0x1C000007
 #endif /* (TYPE_CODE_LENGTH == 8) */
 
 #if (TYPE_CODE_LENGTH == 6)
-#define UNASSIGNED_OBJECT              0xc8000000
-#define DANGEROUS_UNASSIGNED_OBJECT    0xc8000001
-#define UNBOUND_OBJECT                 0xc8000002
-#define DANGEROUS_UNBOUND_OBJECT       0xc8000003
-#define ILLEGAL_OBJECT                 0xc8000004
-#define DANGEROUS_ILLEGAL_OBJECT       0xc8000005
-#define EXPENSIVE_OBJECT               0xc8000006
-#define DANGEROUS_EXPENSIVE_OBJECT     0xc8000007
+#define UNASSIGNED_OBJECT              0x70000000
+#define DANGEROUS_UNASSIGNED_OBJECT    0x70000001
+#define UNBOUND_OBJECT                 0x70000002
+#define DANGEROUS_UNBOUND_OBJECT       0x70000003
+#define ILLEGAL_OBJECT                 0x70000004
+#define DANGEROUS_ILLEGAL_OBJECT       0x70000005
+#define EXPENSIVE_OBJECT               0x70000006
+#define DANGEROUS_EXPENSIVE_OBJECT     0x70000007
 #endif /* (TYPE_CODE_LENGTH == 6) */
 
-#if (TC_REFERENCE_TRAP != 0x32)
+#if (TC_REFERENCE_TRAP != 0x1C)
 #include "error: trap.h and types.h are inconsistent"
 #endif