TianoCore EDK2
master
Loading...
Searching...
No Matches
SwapBytes32.c
Go to the documentation of this file.
1
9
#include "
BaseLibInternals.h
"
10
23
UINT32
24
EFIAPI
25
SwapBytes32
(
26
IN
UINT32 Value
27
)
28
{
29
UINT32 LowerBytes;
30
UINT32 HigherBytes;
31
32
LowerBytes = (UINT32)
SwapBytes16
((UINT16)Value);
33
HigherBytes = (UINT32)
SwapBytes16
((UINT16)(Value >> 16));
34
35
return
(LowerBytes << 16 | HigherBytes);
36
}
SwapBytes16
UINT16 EFIAPI SwapBytes16(IN UINT16 Value)
Definition:
SwapBytes16.c:25
BaseLibInternals.h
IN
#define IN
Definition:
Base.h:279
SwapBytes32
UINT32 EFIAPI SwapBytes32(IN UINT32 Value)
Definition:
SwapBytes32.c:25
MdePkg
Library
BaseLib
SwapBytes32.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6