patch-2.1.29 linux/arch/sparc64/kernel/ttable.S

Next file: linux/arch/sparc64/lib/blockops.S
Previous file: linux/arch/sparc64/kernel/sparc64_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/arch/sparc64/kernel/ttable.S linux/arch/sparc64/kernel/ttable.S
@@ -1,13 +1,11 @@
-/* $Id: ttable.S,v 1.4 1997/01/16 13:43:24 jj Exp $
+/* $Id: ttable.S,v 1.5 1997/02/25 12:40:09 jj Exp $
  * ttable.S: Sparc V9 Trap Table(s) with SpitFire extensions.
  *
  * Copyright (C) 1996 David S. Miller ([email protected])
  */
 
-	.globl	start, _start
 	.globl	sparc64_ttable_tl0, sparc64_ttable_tl1
-_start:
-start:
+
 sparc64_ttable_tl0:
 tl0_resv000:	BOOT_KERNEL BTRAP(0x1) BTRAP(0x2) BTRAP(0x3)
 tl0_resv004:	BTRAP(0x4)  BTRAP(0x5) BTRAP(0x6) BTRAP(0x7)
@@ -127,6 +125,15 @@
 tl0_resv173:	BTRAP(0x173) BTRAP(0x174) BTRAP(0x175) BTRAP(0x176) BTRAP(0x177)
 tl0_resv178:	BTRAP(0x178) BTRAP(0x179) BTRAP(0x17a) BTRAP(0x17b) BTRAP(0x17c)
 tl0_resv17d:	BTRAP(0x17d) BTRAP(0x17e) BTRAP(0x17f)
+#define BTRAPS(x) BTRAP(x) BTRAP(x+1) BTRAP(x+2) BTRAP(x+3) BTRAP(x+4) BTRAP(x+5) BTRAP(x+6) BTRAP(x+7)
+tl0_resv180:	BTRAPS(0x180)
+tl0_resv190:	BTRAPS(0x190)
+tl0_resv1a0:	BTRAPS(0x1a0)
+tl0_resv1b0:	BTRAPS(0x1b0)
+tl0_resv1c0:	BTRAPS(0x1c0)
+tl0_resv1d0:	BTRAPS(0x1d0)
+tl0_resv1e0:	BTRAPS(0x1e0)
+tl0_resv1f0:	BTRAPS(0x1f0)
 
 sparc64_ttable_tl1:
 tl1_resv000:	BOOT_KERNEL    BTRAPTL1(0x1) BTRAPTL1(0x2) BTRAPTL1(0x3)
@@ -136,7 +143,7 @@
 tl1_iae:	TRAP(do_iae_tl1)
 tl1_resv00b:	BTRAPTL1(0xb) BTRAPTL1(0xc) BTRAPTL1(0xd) BTRAPTL1(0xe) BTRAPTL1(0xf)
 tl1_ill:	TRAP(do_ill_tl1)
-tl1_privop:	BAD_TRAP(0x11)
+tl1_privop:	BTRAPTL1(0x11)
 tl1_resv012:	BTRAPTL1(0x12) BTRAPTL1(0x13) BTRAPTL1(0x14) BTRAPTL1(0x15)
 tl1_resv016:	BTRAPTL1(0x16) BTRAPTL1(0x17) BTRAPTL1(0x18) BTRAPTL1(0x19)
 tl1_resv01a:	BTRAPTL1(0x1a) BTRAPTL1(0x1b) BTRAPTL1(0x1c) BTRAPTL1(0x1d)
@@ -184,38 +191,38 @@
 tl1_resv074:	BTRAPTL1(0x74) BTRAPTL1(0x75) BTRAPTL1(0x76) BTRAPTL1(0x77)
 tl1_resv078:	BTRAPTL1(0x78) BTRAPTL1(0x79) BTRAPTL1(0x7a) BTRAPTL1(0x7b)
 tl1_resv07c:	BTRAPTL1(0x7c) BTRAPTL1(0x7d) BTRAPTL1(0x7e) BTRAPTL1(0x7f)
-tl1_s0n:	SPILL_0_NORMAL_TL1
-tl1_s1n:	SPILL_1_NORMAL_TL1
-tl1_s2n:	SPILL_2_NORMAL_TL1
-tl1_s3n:	SPILL_3_NORMAL_TL1
-tl1_s4n:	SPILL_4_NORMAL_TL1
-tl1_s5n:	SPILL_5_NORMAL_TL1
-tl1_s6n:	SPILL_6_NORMAL_TL1
-tl1_s7n:	SPILL_7_NORMAL_TL1
-tl1_s0o:	SPILL_0_OTHER_TL1
-tl1_s1o:	SPILL_1_OTHER_TL1
-tl1_s2o:	SPILL_2_OTHER_TL1
-tl1_s3o:	SPILL_3_OTHER_TL1
-tl1_s4o:	SPILL_4_OTHER_TL1
-tl1_s5o:	SPILL_5_OTHER_TL1
-tl1_s6o:	SPILL_6_OTHER_TL1
-tl1_s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HER
+tl1_f3o:	FILL_3_OTHER
+tl1_f4o:	FILL_4_OTHER
+tl1_f5o:	FILL_5_OTHER
+tl1_f6o:	FILL_6_OTHER
+tl1_f7o:	FILL_7_OTHER
 
 #if 0
 /* Unless we are going to have software trap insns in the kernel code, we

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]