From: Hollis Blanchard Subject: Re: arch-specific xc.c code? Date: Thu, 31 Aug 2006 14:08:01 -0500 Message-ID: <1157051281.9307.17.camel@basalt.austin.ibm.com> References: <1156970448.9513.80.camel@basalt.austin.ibm.com> <20060831184429.GA4921@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060831184429.GA4921@leeni.uk.xensource.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: Ewan Mellor Cc: Alistair Tse , xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, 2006-08-31 at 19:44 +0100, Ewan Mellor wrote: > On Wed, Aug 30, 2006 at 03:40:47PM -0500, Hollis Blanchard wrote: > > > Hi Ewan/Alistair, I have a patch that looks like this: > > > > xc_alloc_real_mode_area() is a PowerPC-specific libxc function. How > > would you like this handled in xc.c? Just an ifdef? > > I'd like the xc object to be a direct reflection of what's in libxenguest and > libxenctrl, so if you've got an arch-specific #ifdef that puts this function > into libxc, then yes, just using that would be fine. (I don't see that > function in my tree, so I can't see for myself which library it ends up in). Yeah, I'm adding that function to libxc but wasn't sure how to modify xc.c to expose it. In libxc, whole files are conditionally built (so technically no ifdef is used), but I will add an ifdef to xc.c. Thanks. -- Hollis Blanchard IBM Linux Technology Center