diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-02-10 15:17:00 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-02-10 15:17:00 +0000 |
commit | 84555989aecf9596fa64cd6419267e4cdb3cf200 (patch) | |
tree | 80af0bf6fd3afd6737231a837e96951c1bc64873 /sys | |
parent | 002643df41a6f58812e2b1bfb5da49084cefca98 (diff) |
ack all ints along w/ masking 'em outi; on very early sys init
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/hppa/locore.S | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S index e293e8b0b5a..b2332d4edd3 100644 --- a/sys/arch/hppa/hppa/locore.S +++ b/sys/arch/hppa/hppa/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.27 2000/01/25 22:11:38 mickey Exp $ */ +/* $OpenBSD: locore.S,v 1.28 2000/02/10 15:16:59 mickey Exp $ */ /* * Copyright (c) 1998-2000 Michael Shalayeff @@ -147,10 +147,11 @@ ENTRY($start) /* * to keep the spl() routines consistent we need to put the correct - * spl level into eiem + * spl level into eiem, and reset any pending interrupts */ - ldi IPL_NONE, r1 - mtctl r1, eiem + ldi -1, r1 + mtctl r0, eiem /* IPL_NONE */ + mtctl r1, eirr /* * set up the dp pointer so that we can do quick references off of it @@ -205,13 +206,6 @@ $start_zero_tf nop $qisnowon - - /* - * Initialize the external interrupt request register - */ - /* ldi -1,r1 */ - mtctl r0,eirr - /* * load address of interrupt vector table */ |