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] size_t and printk and Xen

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] size_t and printk and Xen
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 12 Oct 2008 10:41:28 +0100
Cc:
Delivery-date: Sun, 12 Oct 2008 02:41:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5178073.1E12C%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcksTBSCUy+siZg/Ed22twAWy6hiGQAAp6Ph
Thread-topic: [Xen-devel] size_t and printk and Xen
User-agent: Microsoft-Entourage/11.4.0.080122
On 12/10/08 10:22, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:

>> 
>> Is the typedef historical and should be removed?  Or is it
>> necessary for some (older?) compilers?
> 
> Removing it would break the build, I think.

I'm no particular fan of size_t in hypervisor interfaces though. So, for
example, switching xmalloc() interfaces to use unsigned int instead would be
fine by me, and this would sidestep the issue perhaps?

 -- Keir



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