#include <Library/BaseLib.h>\r
\r
/**\r
- Copy Length bytes from Source to Destination.\r
+ Copies a source buffer to a destination buffer, and returns the destination buffer.\r
\r
- @param DestinationBuffer Target of copy\r
- @param SourceBuffer Place to copy from\r
- @param Length Number of bytes to copy\r
+ This function wraps the gPS->CopyMem ().\r
+ \r
+ @param DestinationBuffer Pointer to the destination buffer of the memory copy.\r
+ @param SourceBuffer Pointer to the source buffer of the memory copy.\r
+ @param Length Number of bytes to copy from SourceBuffer to DestinationBuffer.\r
\r
- @return Destination\r
+ @return DestinationBuffer.\r
\r
**/\r
VOID *\r
EFIAPI\r
InternalMemCopyMem (\r
- OUT VOID *DestinationBuffer,\r
- IN CONST VOID *SourceBuffer,\r
+ OUT VOID *Destination,\r
+ IN CONST VOID *Source,\r
IN UINTN Length\r
);\r
\r
/**\r
- Set Buffer to Value for Size bytes.\r
+ Fills a target buffer with a byte value, and returns the target buffer.\r
\r
- @param Buffer Memory to set.\r
- @param Length Number of bytes to set\r
- @param Value Value of the set operation.\r
+ This function wraps the gPS->SetMem ().\r
+ \r
+ @param Buffer Memory to set.\r
+ @param Size Number of bytes to set.\r
+ @param Value Value of the set operation.\r
\r
- @return Buffer\r
+ @return Buffer.\r
\r
**/\r
VOID *\r
EFIAPI\r
InternalMemSetMem (\r
OUT VOID *Buffer,\r
- IN UINTN Length,\r
+ IN UINTN Size,\r
IN UINT8 Value\r
);\r
\r