Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/alpha Delete a block of code that was intende...



details:   https://anonhg.NetBSD.org/src/rev/a9046a4dac54
branches:  trunk
changeset: 499439:a9046a4dac54
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Nov 20 03:15:15 2000 +0000

description:
Delete a block of code that was intended to get the second
CPU to handle interrupts, but prevents a whole slew of things
from working properly on the second CPU.  It is no longer
necessary now that several other bugs have been fixed.

diffstat:

 sys/arch/alpha/alpha/locore.s |  18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diffs (39 lines):

diff -r 6cd6b7fde127 -r a9046a4dac54 sys/arch/alpha/alpha/locore.s
--- a/sys/arch/alpha/alpha/locore.s     Mon Nov 20 02:44:45 2000 +0000
+++ b/sys/arch/alpha/alpha/locore.s     Mon Nov 20 03:15:15 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.83 2000/11/20 02:44:45 thorpej Exp $ */
+/* $NetBSD: locore.s,v 1.84 2000/11/20 03:15:15 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
 
 #include <machine/asm.h>
 
-__KERNEL_RCSID(0, "$NetBSD: locore.s,v 1.83 2000/11/20 02:44:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.s,v 1.84 2000/11/20 03:15:15 thorpej Exp $");
 
 #include "assym.h"
 
@@ -346,20 +346,6 @@
        br      pv, 1f
 1:     LDGP(pv)
 
-#if defined(MULTIPROCESSOR)
-       /* XXX XXX XXX */
-       /*
-        * Check the current processor ID.  If we're not the primary
-        * CPU, then just restore registers and bail out.
-        */
-       call_pal PAL_OSF1_whami
-       lda     t0, hwrpb
-       ldq     t0, 0(t0)
-       ldq     t1, RPB_PRIMARY_CPU_ID(t0)
-       cmpeq   t1, v0, t0
-       beq     t0, 4f                          /* == 0: bail out now */
-#endif
-
        ldq     s1, (FRAME_PS * 8)(sp)          /* get the saved PS */
        and     s1, ALPHA_PSL_IPL_MASK, t0      /* look at the saved IPL */
        bne     t0, 4f                          /* != 0: can't do AST or SIR */



Home | Main Index | Thread Index | Old Index