TianoCore EDK2 master
Loading...
Searching...
No Matches
GetPowerOfTwo32.c
Go to the documentation of this file.
1
9#include "BaseLibInternals.h"
10
24UINT32
25EFIAPI
27 IN UINT32 Operand
28 )
29{
30 if (0 == Operand) {
31 return 0;
32 }
33
34 return 1ul << HighBitSet32 (Operand);
35}
INTN EFIAPI HighBitSet32(IN UINT32 Operand)
Definition: HighBitSet32.c:27
UINT32 EFIAPI GetPowerOfTwo32(IN UINT32 Operand)
#define IN
Definition: Base.h:279