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
--- 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)
--- 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,
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
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.