From 84555989aecf9596fa64cd6419267e4cdb3cf200 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 10 Feb 2000 15:17:00 +0000 Subject: ack all ints along w/ masking 'em outi; on very early sys init --- sys/arch/hppa/hppa/locore.S | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'sys') 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 */ -- cgit v1.2.3