Re: [XenPPC] Re: [Xen-devel] [PATCH 6 of 6] [XEN][LINUX] Add 32-bit privcmd ioctlconversion for 64-b

2007-07-09 Thread Jan Beulich
Which structures do you think need further conversion? We've already fixed all the shared structures (e.g. sysctl) to use explicitly-sized types, so the PowerPC port has always had proper interfaces. For example, look at the definition of xen_ulong_t on the different architectures. The x86

[XenPPC] Re: [Xen-devel] [PATCH 2 of 6] [XEN][LINUX] Create Xen-specificinterface for xlate_dev_mem_*

2007-07-06 Thread Jan Beulich
--- a/include/asm-i386/mach-xen/asm/io.h Thu Jul 05 16:58:26 2007 -0500 +++ b/include/asm-i386/mach-xen/asm/io.h Thu Jul 05 16:58:26 2007 -0500 @@ -53,8 +53,8 @@ * Convert a physical pointer to a virtual kernel pointer for /dev/mem * access */ -#define xlate_dev_mem_ptr(p, sz)

[XenPPC] Re: [Xen-devel] [PATCH 5 of 6] [XEN][LINUX] Refactor grant tableallocation into arch-specific code

2007-07-06 Thread Jan Beulich
--- a/drivers/xen/core/gnttab.cThu Jul 05 16:58:26 2007 -0500 +++ b/drivers/xen/core/gnttab.cThu Jul 05 17:25:47 2007 -0500 @@ -430,7 +430,7 @@ static inline unsigned int max_nr_grant_ #ifdef CONFIG_XEN -#ifndef __ia64__ +#ifdef __x86__ static int map_pte_fn(pte_t *pte,

Re: [XenPPC] Re: [Xen-devel] [PATCH 6 of 6] [XEN][LINUX] Add 32-bit privcmd ioctlconversion for 64-b

2007-07-06 Thread Jan Beulich
Hollis Blanchard [EMAIL PROTECTED] 06.07.07 17:44 Where does the hypercall argument translation happen? It happens inside privcmd_hypercall(). See http://xenbits.xensource.com/ext/linux-ppc-2.6.hg?file/04f6ad5d9232/arch/powerpc/platforms/xen/hcall.c (In that tree, the function is named

[XenPPC] [Xen-devel] Re: [patch] make ELF functions static

2006-08-30 Thread Jan Beulich
Ian Campbell [EMAIL PROTECTED] 30.08.06 09:03 On Tue, 2006-08-29 at 16:15 -0500, Hollis Blanchard wrote: Hi Ian, these functions should be static. It would only be a style issue except PowerPC actually #includes elf.c twice, to support both 32- and 64-bit ELF binaries. Please apply.