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:
Scott Duplichan
2014-11-14 17:35:35 +00:00
committed by lersek
parent cec6ad0a40
commit 017a48664a
5 changed files with 22 additions and 22 deletions

View File

@@ -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;