Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/riscv/riscv Enable interrupts at the end of cpu_con...



details:   https://anonhg.NetBSD.org/src/rev/bd5890f5ab64
branches:  trunk
changeset: 983058:bd5890f5ab64
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat May 01 07:11:12 2021 +0000

description:
Enable interrupts at the end of cpu_configure

diffstat:

 sys/arch/riscv/riscv/autoconf.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 4e7e0f0af213 -r bd5890f5ab64 sys/arch/riscv/riscv/autoconf.c
--- a/sys/arch/riscv/riscv/autoconf.c   Sat May 01 07:10:34 2021 +0000
+++ b/sys/arch/riscv/riscv/autoconf.c   Sat May 01 07:11:12 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.2 2020/11/04 07:09:46 skrll Exp $       */
+/*     $NetBSD: autoconf.c,v 1.3 2021/05/01 07:11:12 skrll Exp $       */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: autoconf.c,v 1.2 2020/11/04 07:09:46 skrll Exp $");
+__RCSID("$NetBSD: autoconf.c,v 1.3 2021/05/01 07:11:12 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -47,6 +47,8 @@
 
        if (config_rootfound("mainbus", NULL) == NULL)
                panic("no mainbus found");
+
+       spl0();
 }
 
 void



Home | Main Index | Thread Index | Old Index