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-ia64-devel

RE: [Xen-ia64-devel] Shall we put open source firmware source in XEN/IA6

To: <tgingold@xxxxxxx>
Subject: RE: [Xen-ia64-devel] Shall we put open source firmware source in XEN/IA64 tree
From: "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>
Date: Mon, 17 Sep 2007 19:27:38 +0800
Cc: Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 17 Sep 2007 04:28:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1189688329.46e93409af340@xxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <823A93EED437D048963A3697DB0E35DEB586DC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1189688329.46e93409af340@xxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf1/Xj1P96F0OeOT/umjH3Ja3kQjQDH4mbw
Thread-topic: [Xen-ia64-devel] Shall we put open source firmware source in XEN/IA64 tree
This is a patch per your comments. I am 
not sure I am right(Actually I didn't careful read
code in xencommon before). Pls correct me if I wrong.
Below are the changes I did:

+
+#define XENCOMM_INLINE_FLAG 0x8000000000000000UL
+
+static inline int
+xencomm_arch_hypercall_xen_version(int cmd, void *arg)
+{
+    return _hypercall2(int, xen_version, cmd, (unsigned long)arg | 
XENCOMM_INLINE_FLAG);
+}
+

I think told HV the arg is physical address is enough.

Good good study,day day up ! ^_^
-Wing(zhang xin)

OTC,Intel Corporation

>-----Original Message-----
>From: tgingold@xxxxxxx [mailto:tgingold@xxxxxxx]
>Sent: 2007?9?13? 20:59
>To: Zhang, Xing Z
>Cc: Alex Williamson; xen-ia64-devel
>Subject: Re: [Xen-ia64-devel] Shall we put open source firmware
>source in XEN/IA64 tree
>
>Quoting "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>:
>
>> Hi Alex:
>>      The open source firmware works fine now. Shall we put it
>in
>> XEN/IA64 tree? So when people do clone, they also get firmware
>source. Then
>> we can add a script in Makefile to build binary
>> for people when they building source of XEN/IA64. This can
>make
>> XEN/IA64 pure open source and convenient to user.
>>
>> Any advice?
>I fear the sources are too big (almost the same size as Xen).
>But we may put the binary in the tree.
>
>BTW, did you get my comment to your last patch ?
>
>Tristan.

Attachment: hypercall_for_smbios2.patch
Description: hypercall_for_smbios2.patch

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