/* If Buffer is not aligned on a 16-bit boundary, then ASSERT(). */
UINT16* EFIAPI S3MmioWriteBuffer16(IN UINTN StartAddress, IN UINTN Length, IN CONST UINT16 *Buffer)
/* If Buffer is not aligned on a 16-bit boundary, then ASSERT(). */
UINT16* EFIAPI S3MmioWriteBuffer16(IN UINTN StartAddress, IN UINTN Length, IN CONST UINT16 *Buffer)
{
  UINT16         *ReturnBuffer;
  RETURN_STATUS  Status;
  ReturnBuffer = MmioWriteBuffer16 (StartAddress, Length, Buffer);
  Status = S3BootScriptSaveMemWrite (
             S3BootScriptWidthUint16,
             StartAddress,
             Length / sizeof (UINT16),
             ReturnBuffer
             );
  ASSERT (Status == RETURN_SUCCESS);
  return ReturnBuffer;
}