Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/bebox/bebox Not allow interrupt hear.



details:   https://anonhg.NetBSD.org/src/rev/ce1a888a9bfc
branches:  trunk
changeset: 768072:ce1a888a9bfc
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sun Aug 07 15:16:35 2011 +0000

description:
Not allow interrupt hear.

diffstat:

 sys/arch/bebox/bebox/machdep.c |  15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)

diffs (36 lines):

diff -r 663a820d696f -r ce1a888a9bfc sys/arch/bebox/bebox/machdep.c
--- a/sys/arch/bebox/bebox/machdep.c    Sun Aug 07 15:04:45 2011 +0000
+++ b/sys/arch/bebox/bebox/machdep.c    Sun Aug 07 15:16:35 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.102 2011/08/07 15:04:46 kiyohara Exp $   */
+/*     $NetBSD: machdep.c,v 1.103 2011/08/07 15:16:35 kiyohara Exp $   */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.102 2011/08/07 15:04:46 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.103 2011/08/07 15:16:35 kiyohara Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -188,17 +188,6 @@
         * Now that we have VM, malloc's are OK in bus_space.
         */
        bus_space_mallocok();
-
-       /*
-        * Now allow hardware interrupts.
-        */
-       {
-               int msr;
-
-               splraise(-1);
-               __asm volatile ("mfmsr %0; ori %0,%0,%1; mtmsr %0"
-                   : "=r"(msr) : "K"(PSL_EE));
-       }
 }
 
 /*



Home | Main Index | Thread Index | Old Index