Subject: Re: CVS commit: src/sys/arch/x86/x86
To: Andrew Doran <ad@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: source-changes
Date: 12/06/2007 17:41:25
On Thu, Dec 06, 2007 at 01:58:38PM +0000, Andrew Doran wrote:
> 
> Module Name:	src
> Committed By:	ad
> Date:		Thu Dec  6 13:58:38 UTC 2007
> 
> Modified Files:
> 	src/sys/arch/x86/x86: intr.c x86_machdep.c
> 
> Log Message:
> Share cpu_intr_p() with xen. Why xen has its own intr.c is a mystery.

Because interrupts in Xen don't work the same way as on the real hardware.
For example we have 1024 "interrupt" sources on Xen ...
Some functions in intr.c could be shared, but most of them can't.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--