From 008a518953c22c06c639efcc83527436857e533c Mon Sep 17 00:00:00 2001 From: qwang12 Date: Thu, 5 Jun 2008 06:31:24 +0000 Subject: [PATCH] change >> to RShiftU64 function call to avoid compiler to insert __aullshr intrinsic. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5332 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.c b/EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.c index 27eb64aa0d..ca23c1634d 100644 --- a/EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.c +++ b/EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.c @@ -375,7 +375,7 @@ FvGetVolumeAttributes ( Attributes ); if (!EFI_ERROR (Status)) { - *Attributes = (*Attributes & 0x1ff) | ((UINTN)EFI_FV_ALIGNMENT_2 << ((*Attributes & EFI_FV2_ALIGNMENT) >> 16)); + *Attributes = (*Attributes & 0x1ff) | ((UINTN)EFI_FV_ALIGNMENT_2 << RShiftU64((*Attributes & EFI_FV2_ALIGNMENT), 16)); } return Status; } -- 2.39.5