Hi Bertrand,

On 04/07/2023 15:35, Bertrand Marquis wrote:
On 29 Jun 2023, at 23:01, Julien Grall <[email protected]> wrote:

From: Julien Grall <[email protected]>

Both the stub and the x86 prototypes for replace_grant_host_mapping()
and create_grant_host_mapping() will define the first parameter (and
third for the former) as uint64_t. Yet Arm will define it as
'unsigned long'.

While there are no differences for 64-bit, for 32-bit it means
that the address should be truncated as 32-bit guest could support
up to 40-bit addresses.

So replace 'unsigned long' with 'uint64_t' for the first parameter
(and third parameter for replace_grant_host_mapping()).

Signed-off-by: Julien Grall <[email protected]>

Reviewed-by: Bertrand Marquis <[email protected]>

Thanks. It is now committed.

Cheers,

--
Julien Grall

Reply via email to