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: Jun Koi <junkoi2004@xxxxxxxxx>
Subject: Re: [Xen-devel] tools/firmware/hvmloader/smbios.c::hvm_write_smbios_tables()
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 07 Dec 2007 08:55:06 +0000
Cc: "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 07 Dec 2007 00:49:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50712070047l42418f30m703e383a2f75f298@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acg4rtzNGz8R0KSiEdyEtQAWy6hiGQ==
Thread-topic: [Xen-devel] tools/firmware/hvmloader/smbios.c::hvm_write_smbios_tables()
User-agent: Microsoft-Entourage/11.3.6.070618
On 7/12/07 08:47, "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?

No, it's guest firmware.

 -- Keir



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

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