From: Chris Wright Subject: Re: evtchn_upcall_mask Date: Fri, 9 Jun 2006 16:04:58 -0700 Message-ID: <20060609230458.GP2724@moss.sous-sol.org> References: <1149887322.1393.23.camel@basalt.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1149887322.1393.23.camel@basalt.austin.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard Cc: xen-ia64-devel@lists.xensource.com, xen-devel@lists.xensource.com, xen-ppc-devel List-Id: xen-devel@lists.xenproject.org * Hollis Blanchard (hollisb@us.ibm.com) wrote: > So I'd like to abstract users of evtchn_upcall_mask in Xen (and Linux, > mini-os, etc) into set/get accessors. On PPC and IA64, the accessors > would deal directly with the register state, and the field itself > wouldn't even exist. Is local_irq_disable() not enough abstraction in Linux? Oh, I see, you mean for both sides of the fence. From your description that makes perfect sense to me. thanks, -chris