diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-15 01:55:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-15 01:55:31 +0000 |
commit | 7089bdf86ea475890a6b27b1360981fa92fbcfbc (patch) | |
tree | 8c382bf1499841a18c5ddbc017cba0d3e94125af /sys | |
parent | 30f41ea193140d27fce85bcef2994fc4dfe06758 (diff) |
from netbsd; enable interrupts
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/stand/srt0.S | 10 |
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 |