|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [rfc] [patch] 32/64-bit hypercall interface revisited
Hollis Blanchard wrote: [Fri Apr 14 2006, 05:15:25PM EDT]
> For reference, the PPC changes look something like this:
> - typedef struct { type *p; } __guest_handle_ ## name
> + typedef union { uint64_t u; type *p; } __guest_handle_ ## name
>
> +#define SET_HANDLE(hnd, val) do { \
> + (void)((hnd).p == (val)); \
> + (hnd).u = (uint64_t)(unsigned long)(void *)(val); \
> + } while (0)
> +
> +#define GET_HANDLE(val, hnd) do { \
> + (val) = (hnd).p; \
> + } while (0)
Is your final version of this code for PPC, in context, available for
reference? I don't see it on the mailing lists or at
http://xenbits.xensource.com/ext/xenppc-unstable.hg
Thanks,
Aron
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
Re: [Xen-devel] [rfc] [patch] 32/64-bit hypercall interface revisited,
Aron Griffis <=
|
|
|
|
|