|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH 8/9] tmem: invocations of tmem codefromexisting x
>>> Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> 06.02.09 15:25 >>>
>I have to admit I am baffled by all aspects of XEN_GUEST_HANDLE
>and just hacked on it until the code worked. I would be grateful
>for either an explanation of xen/include/xlat.lst or a pointer
>to an explanation... or, even better, hints on how to fix
>my code to properly use XEN_GUEST_HANDLE_64.
The easiest thing is certainly to simply replace XEN_GUEST_HANDLE by
XEN_GUEST_HANDLE_64.
As to xlat.lst, just add ? entry there - the ? says the type needs to be
checked, and it is followed by the type's name and the header it is
found in. This will generate a CHECK_<typename> macro in
xen/include/compat/xlat.h, which you then ought to use somewhere in
the source code. Just pick one of the existing entries to see how this
works.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|