>>> On 15.03.18 at 16:03, wrote:
> Hi Jan,
>
> On 15/03/18 08:06, Jan Beulich wrote:
> On 14.03.18 at 19:20, wrote:
>>> @@ -95,11 +101,17 @@ static unsigned int max_order(const struct domain *d)
>>> return min(order, MAX_ORDER + 0U);
>>> }
Hi Jan,
On 15/03/18 08:06, Jan Beulich wrote:
On 14.03.18 at 19:20, wrote:
@@ -95,11 +101,17 @@ static unsigned int max_order(const struct domain *d)
return min(order, MAX_ORDER + 0U);
}
+/* Helper to copy a typesafe MFN to guest */
+#define
>>> On 14.03.18 at 19:20, wrote:
> @@ -95,11 +101,17 @@ static unsigned int max_order(const struct domain *d)
> return min(order, MAX_ORDER + 0U);
> }
>
> +/* Helper to copy a typesafe MFN to guest */
> +#define copy_mfn_to_guest(hnd, off, mfn)\
> +({
From: Julien Grall
A new helper copy_mfn_to_guest is introduced to easily to copy a MFN to
the guest memory.
Not functional change intended
Signed-off-by: Julien Grall
---
Cc: Andrew Cooper
Cc: George Dunlap