/* If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). */
VOID* EFIAPI SetMem(OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)
/* If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). */
VOID* EFIAPI SetMem(OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)
{
  if (Length == 0) {
    return Buffer;
  }
  ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)Buffer));
  return InternalMemSetMem (Buffer, Length, Value);
}