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

[Xen-devel] FW: [Xen-ia64-devel] [Patch] gcc3.4 build patch

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] FW: [Xen-ia64-devel] [Patch] gcc3.4 build patch
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Mon, 14 Nov 2005 17:09:32 -0800
Cc: takebe_akio@xxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Nov 2005 01:09:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcXpe+e5+DanXFIoRfKJ6kiOPUKcOAABOk2w
Thread-topic: [Xen-ia64-devel] [Patch] gcc3.4 build patch
This patch is actually to a file in the x86 tree that ia64
links to.  Please apply.

HOWEVER... does it make sense to move this file to
xen/common/ (or xen/common/vmx) rather than have
an ugly cross-arch link?

Thanks,
Dan

> -----Original Message-----
> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf 
> Of takebe_akio@xxxxxxxxxxxxxx
> Sent: Monday, November 14, 2005 5:30 PM
> 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>