]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Win/Host/WinBlockIo.c
EmulatorPkg/Win: Fix various typos
[mirror_edk2.git] / EmulatorPkg / Win / Host / WinBlockIo.c
index d5944c42275c1268b50bdbe794c32d759a2d39d9..715d0c26cdbce3c43fc4013f281dcf6ddcec1adb 100644 (file)
@@ -1,13 +1,7 @@
 /**@file\r
 \r
 Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -24,7 +18,7 @@ typedef struct {
   BOOLEAN                     Readonly;\r
 \r
   HANDLE                      NtHandle;\r
-  UINT                      BlockSize;\r
+  UINT32                      BlockSize;\r
 \r
   EFI_BLOCK_IO_MEDIA          *Media;\r
   EMU_BLOCK_IO_PROTOCOL       EmuBlockIo;\r
@@ -352,7 +346,7 @@ WinNtBlockIoReadBlocks (
                                 the Event is NULL.\r
   @retval EFI_WRITE_PROTECTED   The device can not be written to.\r
   @retval EFI_NO_MEDIA          There is no media in the device.\r
-  @retval EFI_MEDIA_CHNAGED     The MediaId does not matched the current device.\r
+  @retval EFI_MEDIA_CHANGED     The MediaId does not match the current device.\r
   @retval EFI_DEVICE_ERROR      The device reported an error while performing the write.\r
   @retval EFI_BAD_BUFFER_SIZE   The Buffer was not a multiple of the block size of the device.\r
   @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not valid,\r
@@ -417,7 +411,7 @@ WinNtBlockIoWriteBlocks (
   @retval EFI_SUCCESS          The flush request was queued if Event is not NULL.\r
                                All outstanding data was written correctly to the\r
                                device if the Event is NULL.\r
-  @retval EFI_DEVICE_ERROR     The device reported an error while writting back\r
+  @retval EFI_DEVICE_ERROR     The device reported an error while writing back\r
                                the data.\r
   @retval EFI_WRITE_PROTECTED  The device cannot be written to.\r
   @retval EFI_NO_MEDIA         There is no media in the device.\r