OvmfPkg/XenBusDxe: fix VS2010 build failures
This patch contain only type cast. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan <scott@notabs.org> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Build-tested-by: Scott Duplichan <scott@notabs.org> Acked-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16392 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -101,7 +101,7 @@ XenGrantTableGrantAccess (
|
||||
|
||||
ASSERT (GrantTable != NULL);
|
||||
Ref = XenGrantTableGetFreeEntry ();
|
||||
GrantTable[Ref].frame = Frame;
|
||||
GrantTable[Ref].frame = (UINT32)Frame;
|
||||
GrantTable[Ref].domid = DomainId;
|
||||
MemoryFence ();
|
||||
Flags = GTF_permit_access;
|
||||
@@ -152,7 +152,7 @@ XenGrantTableInit (
|
||||
#endif
|
||||
EfiInitializeLock (&mGrantListLock, TPL_NOTIFY);
|
||||
for (Index = NR_RESERVED_ENTRIES; Index < NR_GRANT_ENTRIES; Index++) {
|
||||
XenGrantTablePutFreeEntry (Index);
|
||||
XenGrantTablePutFreeEntry ((grant_ref_t)Index);
|
||||
}
|
||||
|
||||
GrantTable = (VOID*)(UINTN) MmioAddr;
|
||||
|
Reference in New Issue
Block a user