mirror of https://github.com/acidanthera/audk.git
OvmfPkg/XenBusDxe: Fix some types.
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
This commit is contained in:
parent
c47a842e41
commit
cec6ad0a40
|
@ -74,7 +74,7 @@ XenGrantTableGetFreeEntry (
|
|||
VOID
|
||||
)
|
||||
{
|
||||
UINTN Ref;
|
||||
grant_ref_t Ref;
|
||||
|
||||
EfiAcquireLock (&mGrantListLock);
|
||||
Ref = GrantList[0];
|
||||
|
@ -97,7 +97,7 @@ XenGrantTableGrantAccess (
|
|||
)
|
||||
{
|
||||
grant_ref_t Ref;
|
||||
UINT32 Flags;
|
||||
UINT16 Flags;
|
||||
|
||||
ASSERT (GrantTable != NULL);
|
||||
Ref = XenGrantTableGetFreeEntry ();
|
||||
|
|
|
@ -43,7 +43,7 @@ XenHyperpageInit (
|
|||
UINT64
|
||||
XenHypercallHvmGetParam (
|
||||
IN XENBUS_DEVICE *Dev,
|
||||
IN INTN Index
|
||||
IN UINT32 Index
|
||||
)
|
||||
{
|
||||
xen_hvm_param_t Parameter;
|
||||
|
|
|
@ -60,7 +60,7 @@ XenHyperpageInit (
|
|||
UINT64
|
||||
XenHypercallHvmGetParam (
|
||||
XENBUS_DEVICE *Dev,
|
||||
INTN Index
|
||||
UINT32 Index
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue