mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Fix XCODE Link Issue in DxeCore
In XCODE tool chain, the 64-bit bit wise and operation is causing the compiler to emit an __umoddi3. This patch uses BaseLib API to replace 64-bit bit operation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gao, Liming <liming.gao@intel.com> Reviewed-by: Andrew Fish <afish@apple.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16065 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
cc72674b58
commit
769e45317c
|
@ -32,7 +32,7 @@ CoreInternalWaitForTick (
|
|||
IN UINT64 Counter
|
||||
)
|
||||
{
|
||||
while ((Counter & 0xffffffff00000000ULL) != 0) {
|
||||
while (RShiftU64 (Counter, 32) > 0) {
|
||||
gMetronome->WaitForTick (gMetronome, 0xffffffff);
|
||||
Counter -= 0xffffffff;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue