This patch replace some types in GrantTable and the argument Index of
XenHypercallHvmGetParam to what the types should be.
This avoid to have type cast in code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Build-tested-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16391
6f19259b-4bc3-4df7-8a09-
765794883524
VOID\r
)\r
{\r
- UINTN Ref;\r
+ grant_ref_t Ref;\r
\r
EfiAcquireLock (&mGrantListLock);\r
Ref = GrantList[0];\r
)\r
{\r
grant_ref_t Ref;\r
- UINT32 Flags;\r
+ UINT16 Flags;\r
\r
ASSERT (GrantTable != NULL);\r
Ref = XenGrantTableGetFreeEntry ();\r
UINT64\r
XenHypercallHvmGetParam (\r
IN XENBUS_DEVICE *Dev,\r
- IN INTN Index\r
+ IN UINT32 Index\r
)\r
{\r
xen_hvm_param_t Parameter;\r
UINT64\r
XenHypercallHvmGetParam (\r
XENBUS_DEVICE *Dev,\r
- INTN Index\r
+ UINT32 Index\r
);\r
\r
/**\r