From 4a9b8a9efb9e480a4a5d84fdf096e2484b379209 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 15 Dec 1995 01:55:30 +0000 Subject: [PATCH] from netbsd; enable interrupts --- sys/arch/sparc/stand/srt0.S | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc/stand/srt0.S b/sys/arch/sparc/stand/srt0.S index 6a8d538cb90..b31e322a86d 100644 --- a/sys/arch/sparc/stand/srt0.S +++ b/sys/arch/sparc/stand/srt0.S @@ -1,4 +1,4 @@ -/* $NetBSD: srt0.S,v 1.4 1995/09/16 23:20:37 pk Exp $ */ +/* $NetBSD: srt0.S,v 1.5 1995/12/13 23:35:18 pk Exp $ */ /* * Copyright (c) 1994 Paul Kranenburg @@ -102,6 +102,14 @@ start: call _bzero sub %o1, %o0, %o1 + /* + * Enable interrupts. + */ + rd %psr, %o0 + andn %o0, PSR_PIL, %o0 + wr %g0, %o0, %psr + nop; nop; nop + /* * Set CPU type that we are running on. */ -- 2.20.1