Xen/ia64 added files
RFC 1/4 Xen/ia64 added files
Looks like this set of changes probably got stuck for being too big.
I'm not sure who moderates this list and how often they check on it, so I'll split it up a bit more. This first set is the new arch/ia64/xen c files and Makefile. The second is all the new header files. The last two sets will be all the new assembly files with the final being just the xenivt.S. Sorry for any duplicates should the previous massive patch show up. Thanks,
Alex
Makefile | 8 hypervisor.c | 722 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ util.c | 115 +++++++++ xenhpski.c | 19 + 4 files changed, 864 insertions(+)
Signature · 1 line
Alex Williamson HP Open Source & Linux Org.
arch/ia64/xen/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# +# Makefile for Xen components +# + +obj-y := hypercall.o xenivt.o xenentry.o xensetup.o xenpal.o xenhpski.o + +obj-$(CONFIG_XEN_IA64_DOM0_VP) += hypervisor.o pci-dma-xen.o util.o +pci-dma-xen-$(CONFIG_XEN_IA64_DOM0_VP) := ../../i386/kernel/pci-dma-xen.o
arch/ia64/xen/hypervisor.c new file +722 -0
722 lines not on this page · raw message
arch/ia64/xen/util.c new file +115 -0
115 lines not on this page · raw message
arch/ia64/xen/xenhpski.c new file +19 -0
@@ -0,0 +1,19 @@ + +extern unsigned long xen_get_cpuid (int ); + +int +running_on_sim (void ) +{ +int i; +long cpuid[6 ]; + +for (i =0 ; i <5 ; ++i) + cpuid[i] =xen_get_cpuid (i); +if ((cpuid[0 ] &0xff ) !='H' )return 0 ; +if ((cpuid[3 ] &0xff ) !=0x4 )return 0 ; +if (((cpuid[3 ] >>8 ) &0xff ) !=0x0 )return 0 ; +if (((cpuid[3 ] >>16 ) &0xff ) !=0x0 )return 0 ; +if (((cpuid[3 ] >>24 ) &0x7 ) !=0x7 )return 0 ; +return 1 ; +} +