MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / ReadUnaligned64

Function ReadUnaligned64

MdePkg/Library/BaseLib/Unaligned.c:180–189  ·  view source on GitHub ↗

Reads a 64-bit value from memory that may be unaligned. This function returns the 64-bit value pointed to by Buffer. The function guarantees that the read operation does not produce an alignment fault. If the Buffer is NULL, then ASSERT(). @param Buffer A pointer to a 64-bit value that may be unaligned. @return The 64-bit value read from Buffer. **/

Source from the content-addressed store, hash-verified

178
179**/
180UINT64
181EFIAPI
182ReadUnaligned64 (
183 IN CONST UINT64 *Buffer
184 )
185{
186 ASSERT (Buffer != NULL);
187
188 return *Buffer;
189}
190
191/**
192 Writes a 64-bit value to memory that may be unaligned.

Callers 15

MemLibGuid.cFile · 0.50
CompareGuidFunction · 0.50
IsZeroGuidFunction · 0.50
MemLibGuid.cFile · 0.50
CompareGuidFunction · 0.50
IsZeroGuidFunction · 0.50
MemLibGuid.cFile · 0.50
CompareGuidFunction · 0.50
IsZeroGuidFunction · 0.50
MemLibGuid.cFile · 0.50
CompareGuidFunction · 0.50
IsZeroGuidFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected