The back pointer will be usefult later to get the domain when we only
have the p2m in hand.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Tested-by: Tamas K Lengyel <tamas@tklengyel.com>
if ( rc != 0 )
return rc;
+ p2m->domain = d;
p2m->max_mapped_gfn = _gfn(0);
p2m->lowest_mapped_gfn = _gfn(ULONG_MAX);
* enough available bits to store this information.
*/
struct radix_tree_root mem_access_settings;
+
+ /* back pointer to domain */
+ struct domain *domain;
};
/*