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

Function WriteUnaligned64

MdePkg/Library/BaseLib/Unaligned.c:206–216  ·  view source on GitHub ↗

Writes a 64-bit value to memory that may be unaligned. This function writes the 64-bit value specified by Value to Buffer. Value is returned. The function guarantees that the write 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. @param Value The 64-bit value to write t

Source from the content-addressed store, hash-verified

204
205**/
206UINT64
207EFIAPI
208WriteUnaligned64 (
209 OUT UINT64 *Buffer,
210 IN UINT64 Value
211 )
212{
213 ASSERT (Buffer != NULL);
214
215 return *Buffer = Value;
216}

Callers 15

PatchInstructionX86Function · 0.70
MemLibGuid.cFile · 0.50
MemLibGuid.cFile · 0.50
UefiScsiLib.cFile · 0.50
MemLibGuid.cFile · 0.50
MemLibGuid.cFile · 0.50
MemLibGuid.cFile · 0.50
MemLibGuid.cFile · 0.50
MemLibGuid.cFile · 0.50
MemLibGuid.cFile · 0.50
DevPathFromTextBmcFunction · 0.50
DevPathFromTextSasExFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected