|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
Re: [XenPPC] Re: [Xen-devel] [PATCH 6 of 6] [XEN][LINUX] Add 32-bit priv
>>> Hollis Blanchard <hollisb@xxxxxxxxxx> 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 "arch_privcmd_hypercall".) IA64 and
>PPC both implement this function now; only x86 is left with #ifdefs in
>drivers/xen/privcmd/privcmd.c .
>
>COMPATIBLE_IOCTL is just about the ioctl itself, not the sub-structures.
Hmm, I can't really see any structures being translated there, all I see is
guest handles getting dereferenced. So I'm still unclear where you do the
32-bit layout to 64-bit layout conversion, but obviously I must be missing
something.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH 5 of 6] [XEN][LINUX] Refactor grant tableallocation into arch-specific code, (continued)
|
|
|
|
|