diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-06-05 06:31:24 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-06-05 06:31:24 +0000 |
commit | 008a518953c22c06c639efcc83527436857e533c (patch) | |
tree | 75ae3c0c9f218505ccfa9e8bfffbafbaa7e6abaf /EdkCompatibilityPkg | |
parent | 137c54acda014f768fd18e7ff3bff232ce803884 (diff) | |
download | edk2-008a518953c22c06c639efcc83527436857e533c.zip edk2-008a518953c22c06c639efcc83527436857e533c.tar.gz edk2-008a518953c22c06c639efcc83527436857e533c.tar.bz2 |
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
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.c b/EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.c index 27eb64a..ca23c16 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;
}
|