From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 17 16:46:26 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A95116A420 for ; Sun, 17 Feb 2008 16:46:26 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from smtpgate2.pacific.net.sg (smtpgate2.pacific.net.sg [203.120.90.32]) by mx1.freebsd.org (Postfix) with SMTP id 3893013C465 for ; Sun, 17 Feb 2008 16:46:24 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: (qmail 19680 invoked from network); 17 Feb 2008 16:19:43 -0000 Received: from adsl246.dyn234.pacific.net.sg (HELO P2120.somewherefaraway.com) (oceanare@210.24.234.246) by smtpgate2.pacific.net.sg with ESMTPA; 17 Feb 2008 16:19:42 -0000 Message-ID: <47B85E92.9010206@pacific.net.sg> Date: Mon, 18 Feb 2008 00:19:30 +0800 From: Erich Dollansky User-Agent: Thunderbird 2.0.0.6 (X11/20070826) MIME-Version: 1.0 To: Andriy Gapon References: <47B855C0.4010703@icyb.net.ua> In-Reply-To: <47B855C0.4010703@icyb.net.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: multiple interrupts between cli and sti X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2008 16:46:26 -0000 Hi, Andriy Gapon wrote: I cannot tell you if this is still the same for modern designs. > ... -> iret -> interrupted again This was the behaviour earlier. > > Is this a deterministic behavior ? Or some timings are at play? The PIC should never release the Interrupt signal to the CPU as long as a single interrupt is not serviced. But the 8259 can be programmed to trigger via level or slope. So, this behaviour is only seen when level triggering is used. As I said at the bginning, I do not know how current designs handle it. Erich