From owner-freebsd-hackers Sat Apr 5 08:00:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA13946 for hackers-outgoing; Sat, 5 Apr 1997 08:00:19 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA13938; Sat, 5 Apr 1997 08:00:10 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id IAA17284; Sat, 5 Apr 1997 08:00:52 -0800 (PST) Message-Id: <199704051600.IAA17284@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: Thomas David Rivers cc: bde@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: "dup alloc"/interrupts and Xresume11() - splbio() not working???? In-reply-to: Your message of "Sat, 05 Apr 1997 06:34:14 EST." <199704051134.GAA17448@lakes.water.net> From: David Greenman Reply-To: dg@root.com Date: Sat, 05 Apr 1997 08:00:52 -0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> >> > Anyway; I'm seeing things like this, and want to make sure >> >I understand everything that's going on: >> > >> > 1) Xresume11() is the vector that is taken when interrupt >> > 11 is triggered - right? >> >> Wrong - _Xintr11 is the vector. >> >> Bruce >> > > Well - umm; Ok - sure... > > But then, why does _Xresume11 call ahaintr()? Which eventually >gets me down to scsi_done() with _cpl set to splbio? (Or, have >I misunderstood something else and this isn't necessarily a "bad" >thing to happen?) Bruce has probably already responded to this, but I'll jump in... The cpl is set to the mask that is associated with the interrupt (splbio for int 11 in this case) very early in the interrupt processing code, before the "Xresume11" in the traceback. See the code in i386/isa/vector.s - the non- fast interrupt case. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project