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/906baf121302
branches: trunk
changeset: 378957:906baf121302
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 d21b6c099d26 -r 906baf121302 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 @@ cpu_configure(void)
if (config_rootfound("mainbus", NULL) == NULL)
panic("no mainbus found");
+
+ spl0();
}
void
Home |
Main Index |
Thread Index |
Old Index