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] tools/firmware/hvmloader/smbios.c::hvm_write_smbios_tabl

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] tools/firmware/hvmloader/smbios.c::hvm_write_smbios_tables()
From: "Jun Koi" <junkoi2004@xxxxxxxxx>
Date: Fri, 7 Dec 2007 17:47:50 +0900
Cc: "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 07 Dec 2007 00:48:28 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=EfFZvTgcJlRIcMtlJD9UrXwZvuiwv5pWq+lhNSNf0/I=; b=EVA32+W9X5JsuxeRkuXDwkc5XbRQ0eyD8MUXAXwRuW4VdlP0NmpR+HENNKCtJZoakw6xiZulaBk/LOHwSqYMO0CSKj4GOkH2r3vfyIYHROJ/HCsJTC14ayr+B57wzOddSN3S3UGJbAtBvWvEYFWKuY4Y80dCAB+DehZbQYHJCcg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rbIRmrOP3cNiy1OOsgXOBYkM5OqDFPM1qAgk5J7vihNT9dmaVAeKsrDJCG/rb4fHrnjf42hGytlwplN/r/Uv37bVkRq42m5HV1O3COMdFFjZbJSaA0L2f9Op7szNLeXCy1xwS3XC9O1JMt/vv9NgAICHRpMPAQ+aNZkmgjp2UJg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C37EBA34.10FA2%Keir.Fraser@xxxxxxxxxxxx>
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>
References: <fdaac4d50712070037l4c622000p2888b27a62954276@xxxxxxxxxxxxxx> <C37EBA34.10FA2%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 12/7/07, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> On 7/12/07 08:37, "Jun Koi" <junkoi2004@xxxxxxxxx> wrote:
>
> > Basically, these long code can be written in only 1 line, like this:
> >
> > snprintf(xen_version_str, sizeof(xen_version_str), "%u.%u%s",
> > xen_major_version, xen_minor_version, xen_extra_verison);
>
> There is no snprintf() in hvmloader currently.
>

Hmmm... can't we include stdio.h for it? It is userspace code anyway, no?

Thanks,
Jun

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