summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/stand/srt0.S10
1 files changed, 9 insertions, 1 deletions
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
@@ -103,6 +103,14 @@ start:
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.
*/
sethi %hi(_cputyp), %o0