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] [Patch] gcc3.4 build patch

To: <takebe_akio@xxxxxxxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [Patch] gcc3.4 build patch
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 15 Nov 2005 09:16:07 +0800
Delivery-date: Tue, 15 Nov 2005 01:16:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXpe/YNRx4pNjUJTwu6p0fSdYXesgABcF1A
Thread-topic: [Xen-ia64-devel] [Patch] gcc3.4 build patch
Hi, Akio,
        Instead of moving trunk back and forth, could you just add a prototype 
declaration in vmx_vioapic.h to see whether working for you?

Thanks,
Kevin

>-----Original Message-----
>From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>takebe_akio@xxxxxxxxxxxxxx
>Sent: 2005年11月15日 8:30
>To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [Xen-ia64-devel] [Patch] gcc3.4 build patch
>
>Hi,
>
>I tried to build xen-ia64-unstable.hg, but I couldn't complie it.
>So, I made a gcc3.4 build patch again.
>
>This patch look like for x86, but it is for ia64 as below.
># ls -l xen/arch/ia64/vmx/vmx_vioapic.c
>lrwxrwxrwx  1 root root 34 11月 14 22:33 xen/arch/ia64/vmx/vmx_vioapic.c
>-> ../../../arch/x86/dm/vmx_vioapic.c
>
>Signed-off-by Akio Takabe <takebe_akio@xxxxxxxxxxxxxx>
>
>Best Regards,
>
>Akio Takebe
>
>---------------------
>diff -r bd234c9603ce xen/arch/x86/dm/vmx_vioapic.c
>--- a/xen/arch/x86/dm/vmx_vioapic.c     Fri Nov 11 19:23:04 2005
>+++ b/xen/arch/x86/dm/vmx_vioapic.c     Mon Nov 14 22:52:35 2005
>@@ -209,6 +209,23 @@
>     } /* switch */
> }
>
>+void ioapic_update_EOI(struct domain *d, int vector)
>+{
>+    vmx_vioapic_t *s = &(d->arch.vmx_platform.vmx_vioapic);
>+    int redir_num;
>+
>+    if ((redir_num = get_redir_num(s, vector)) == -1) {
>+        printk("Can't find redir item for %d EOI \n", vector);
>+        return;
>+    }
>+
>+    if (!test_and_clear_bit(redir_num, &s->isr)) {
>+        printk("redir %d not set for %d  EOI\n", redir_num, vector);
>+        return;
>+    }
>+}
>+
>+
> static void vmx_vioapic_write(struct vcpu *v,
>                              unsigned long addr,
>                              unsigned long length,
>@@ -557,22 +574,6 @@
>     return -1;
> }
>
>-void ioapic_update_EOI(struct domain *d, int vector)
>-{
>-    vmx_vioapic_t *s = &(d->arch.vmx_platform.vmx_vioapic);
>-    int redir_num;
>-
>-    if ((redir_num = get_redir_num(s, vector)) == -1) {
>-        printk("Can't find redir item for %d EOI \n", vector);
>-        return;
>-    }
>-
>-    if (!test_and_clear_bit(redir_num, &s->isr)) {
>-        printk("redir %d not set for %d  EOI\n", redir_num, vector);
>-        return;
>-    }
>-}
>-
> int vmx_vioapic_add_lapic(struct vlapic *vlapic, struct vcpu *v)
> {
>     vmx_vioapic_t *s = &(v->domain->arch.vmx_platform.vmx_vioapic);
>
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel

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

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