Extensible Firmware Interface Specification
5-90 12/01/02 Version 1.10
SetMem()
Summary
The SetMem() function fills a buffer with a specified value.
Prototype
VOID
SetMem (
IN VOID *Buffer,
IN UINTN Size,
IN UINT8 Value
);
Parameters
Buffer Pointer to the buffer to fill.
Size Number of bytes in Buffer to fill.
Value Value to fill Buffer with.
Description
This function fills Size bytes of Buffer with Value. The implementation of SetMem() must
be reentrant. If Buffer crosses the top of the processor’s address space, the result of the
SetMem() operation is unpredictable.
Status Codes Returned
None.