WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Remaining ia64 differences in xen driver code -- privcmd

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-devel] Remaining ia64 differences in xen driver code -- privcmd
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Fri, 4 Nov 2005 14:23:52 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 04 Nov 2005 20:24:53 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD57E7CCB@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <516F50407E01324991DD6D07B0531AD57E7CCB@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
On Friday 04 November 2005 13:51, Magenheimer, Dan (HP Labs Fort Collins) 
wrote:
> > I have also had to hack up privcmd.c for PowerPC. (It's not
> > at all "done", but if you're curious you can see
> > http://xenbits.xensource.com/ext/linux-ppc-2.6.hg?cmd=file;fil
> > enode=2d94a3add83d64fa65e574dffbcb9a7cebea5c4b;file=drivers/xe
> > n/privcmd/privcmd.c .)
> >
> > It would be cleaner to have privcmd_ioctl just call out to
> > arch_privcmd_ioctl.
>
> That makes sense, but currently there is no directory structure
> to support the archdep/arch-neutral boundaries for xen drivers
> (so no place to put arch_privcmd_ioctl) other than in header files.

What do you mean "directory structure"? Just add a prototype to 
include/asm-xen/linux-public/privcmd.h and implement it somewhere in 
architecture code. You can add your own files or directories if you like: 
it's your architecture...

-- 
Hollis Blanchard
IBM Linux Technology Center

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>