>>> @@ -121,6 +121,8 @@ void iommu_dt_domain_destroy(struct domain *d);
struct page_info;
+typedef int iommu_grdm_t(xen_pfn_t start, xen_ulong_t nr, u32 id, void *ctxt);
This needs a comment describing what the return values are.
Will do.
I'm not sure if yourself determine providing this. So here I just
initial one draft,
/*
* Get rdm info handling.
*
* return 0: Don't hit rdm. This means either there's no any rdm
existent,
* or there's no any rdm matching requirements.
* < 0: Failed.
* > 0: Handle to special case.
* 1: Hit one rdm entry.
* others: Currently this is never happened.
*/
But if you already have one just please ignore this and tell me
Thanks
Tiejun
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel