ia64/xen-unstable

changeset 7279:0ffa4369cbb3

Update ia64 to keep up with core changes
author djm@kirby.fc.hp.com
date Sat Oct 08 14:28:56 2005 -0600 (2005-10-08)
parents 4e0c94871be2
children 042714c06042
files linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre linux-2.6-xen-sparse/arch/ia64/xen/drivers/evtchn_ia64.c linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h xen/arch/ia64/xen/hypercall.c xen/arch/ia64/xen/xenmisc.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre	Sat Oct 08 14:28:24 2005 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre	Sat Oct 08 14:28:56 2005 -0600
     1.3 @@ -17,7 +17,7 @@ then
     1.4  	mv arch/xen arch/xen.xen-x86
     1.5  	mkdir arch/xen
     1.6  	mv arch/xen.xen-x86/configs arch/xen
     1.7 -	mv include/asm-generic include/asm-generic.xen-x86
     1.8 +#	mv include/asm-generic include/asm-generic.xen-x86
     1.9  	mv include/linux include/linux.xen-x86
    1.10  	mkdir include/linux
    1.11  fi
     2.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen/drivers/evtchn_ia64.c	Sat Oct 08 14:28:24 2005 -0600
     2.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/drivers/evtchn_ia64.c	Sat Oct 08 14:28:56 2005 -0600
     2.3 @@ -35,12 +35,18 @@ int bind_virq_to_irq(int virq)
     2.4  	while(1);
     2.5  }
     2.6  
     2.7 +void notify_remote_via_irq(int virq)
     2.8 +{
     2.9 +	printk("notify_remote_via_irq called... FIXME??\n");
    2.10 +	while(1);
    2.11 +}
    2.12 +
    2.13  void unbind_virq_from_evtchn(int virq)
    2.14  {
    2.15      evtchn_op_t op;
    2.16  
    2.17      op.cmd = EVTCHNOP_close;
    2.18 -    op.u.close.dom = DOMID_SELF;
    2.19 +//    op.u.close.dom = DOMID_SELF;
    2.20      op.u.close.port = virq_to_evtchn[virq];
    2.21      if ( HYPERVISOR_event_channel_op(&op) != 0 )
    2.22  	BUG();
     3.1 --- a/linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h	Sat Oct 08 14:28:24 2005 -0600
     3.2 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h	Sat Oct 08 14:28:56 2005 -0600
     3.3 @@ -48,6 +48,7 @@ void force_evtchn_callback(void);
     3.4  // for drivers/xen/privcmd/privcmd.c
     3.5  #define direct_remap_pfn_range(a,b,c,d,e,f) remap_pfn_range(a,b,c,d,e)
     3.6  #define	pfn_to_mfn(x)	(x)
     3.7 +#define	mfn_to_pfn(x)	(x)
     3.8  #define machine_to_phys_mapping 0
     3.9  
    3.10  #endif /* __HYPERVISOR_H__ */
     4.1 --- a/xen/arch/ia64/xen/hypercall.c	Sat Oct 08 14:28:24 2005 -0600
     4.2 +++ b/xen/arch/ia64/xen/hypercall.c	Sat Oct 08 14:28:56 2005 -0600
     4.3 @@ -15,6 +15,7 @@
     4.4  #include <asm/vcpu.h>
     4.5  #include <asm/dom_fw.h>
     4.6  #include <public/memory.h>
     4.7 +#include <public/sched.h>
     4.8  
     4.9  extern unsigned long translate_domain_mpaddr(unsigned long);
    4.10  extern struct ia64_pal_retval xen_pal_emulator(UINT64,UINT64,UINT64,UINT64);
     5.1 --- a/xen/arch/ia64/xen/xenmisc.c	Sat Oct 08 14:28:24 2005 -0600
     5.2 +++ b/xen/arch/ia64/xen/xenmisc.c	Sat Oct 08 14:28:56 2005 -0600
     5.3 @@ -16,6 +16,7 @@
     5.4  #include <xen/serial.h>
     5.5  #include <asm/io.h>
     5.6  #include <xen/softirq.h>
     5.7 +#include <public/sched.h>
     5.8  
     5.9  efi_memory_desc_t ia64_efi_io_md;
    5.10  EXPORT_SYMBOL(ia64_efi_io_md);