Fills a specified area with a pattern.
#include <esm.h> int ESMFill ( uint32_t pattern, addr64_t destination, size64_t length);
(IN) Specifies the 32-bit pattern to write to the destination area.
(IN) Specifies the address in which to write the pattern.
(IN) Specifies the number of bytes to fill.
If successful, returns 0. Otherwise, returns a nonzero error code.
Decimal |
Name |
Description |
---|---|---|
5 |
ERR_INVAL_ADDRESS |
The specified address is out of the range of the memory allocated. |
7 |
INVALID_DEST_ADDRESS |
The destination address is not valid. |
For other possible values, see Section 30.3, Return Values for ESM Functions.