From: Keir Fraser Subject: Re: [PATCH][VT] Clear the pending interrupt on shared page when PIC initialized Date: Mon, 12 Sep 2005 18:36:09 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Jiang, Yunhong" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12 Sep 2005, at 12:11, Jiang, Yunhong wrote: > This patch works for following scenerio: > 1) The BIOS set the irq base to 0x20, and then interrupt is injected > through shared page. > 2) The OS disable interurpt , and reset the PIC with ICW1~ICW4. In this > process, it changes the irq base for PIC from 0x20 to 0x30 through > ICW2. Okay, thanks for the clarification and I see why the PIT bart is needed now. But, in the PIC code, wouldn't hanging the reset off of cpu_reset_interrupt() make more sense? -- Keir