audk/OvmfPkg/XenBusDxe
Ard Biesheuvel d6970b9b41 Ovmf/Xen: fix pointer to int cast in XenBusDxe
On ARM, xen_pfn_t is 64 bits but the size of a pointer is only
32 bits, so casting between them needs to go via (UINTN). Also
move the xen_pfn_t cast outside the shift so that we can avoid
shifting 64-bit quantities on 32-bit architectures, which may
require runtime library support.

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16968 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-28 20:32:16 +00:00
..
Ia32 OvmfPkg XenBusDxe: Convert Ia32/TestAndClearBit.asm to NASM 2014-11-08 02:41:07 +00:00
X64 OvmfPkg/XenBusDxe: Fix a nasm warning about instruction not lockable. 2014-11-14 17:35:49 +00:00
ComponentName.c OvmfPkg: Add basic skeleton for the XenBus bus driver. 2014-10-29 06:48:50 +00:00
ComponentName.h OvmfPkg: Add basic skeleton for the XenBus bus driver. 2014-10-29 06:48:50 +00:00
DriverBinding.h OvmfPkg: Add basic skeleton for the XenBus bus driver. 2014-10-29 06:48:50 +00:00
EventChannel.c OvmfPkg/XenBusDxe: fix VS2010 build failures 2014-11-14 17:35:35 +00:00
EventChannel.h OvmfPkg/XenBusDxe: Add Event Channel into XenBus protocol. 2014-10-29 06:51:26 +00:00
GrantTable.c Ovmf/Xen: fix pointer to int cast in XenBusDxe 2015-02-28 20:32:16 +00:00
GrantTable.h OvmfPkg/XenBusDxe: Add Grant Table functions. 2014-10-29 06:50:14 +00:00
Helpers.c OvmfPkg/XenBusDxe: Add an helper AsciiStrDup. 2014-10-29 06:50:57 +00:00
InterlockedCompareExchange16.c OvmfPkg/XenBusDxe: Add InterlockedCompareExchange16. 2014-10-29 06:49:55 +00:00
InterlockedCompareExchange16.h OvmfPkg/XenBusDxe: Add InterlockedCompareExchange16. 2014-10-29 06:49:55 +00:00
XenBus.c OvmfPkg/XenBusDxe: fix VS2010 build failures 2014-11-14 17:35:35 +00:00
XenBus.h OvmfPkg/XenBusDxe: Introduce XenBus support itself. 2014-10-29 06:51:18 +00:00
XenBusDxe.c OvmfPkg/XenBusDxe: Introduce XenBus support itself. 2014-10-29 06:51:18 +00:00
XenBusDxe.h Ovmf/Xen: move Xen interface version to <xen.h> 2015-02-28 20:32:06 +00:00
XenBusDxe.inf OvmfPkg XenBusDxe: Convert X64/TestAndClearBit.asm to NASM 2014-11-08 02:41:35 +00:00
XenHypercall.c OvmfPkg/XenBusDxe: fix VS2010 build failures 2014-11-14 17:35:35 +00:00
XenHypercall.h OvmfPkg: Fix build failure with gcc44, gcc45 2014-11-19 18:21:37 +00:00
XenStore.c OvmfPkg/XenBusDxe: fix VS2010 build failures 2014-11-14 17:35:35 +00:00
XenStore.h OvmfPkg/Xen*: Pass struct XENSTORE_TRANSACTION argument as a pointer 2014-10-31 21:25:23 +00:00