]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbMassStorageDxe / UsbMassStorageDxe.inf
index 347f65b740988a8518fbd7225c4a6471479576f9..54039389fb12b5db6ce44aedcb10281b8ef55436 100644 (file)
@@ -1,37 +1,45 @@
-#/** @file\r
-# Component name for module UsbMassStorage\r
+## @file\r
+# USB Mass Storage Driver that manages USB mass storage devices and produces Block I/O Protocol.\r
 #\r
-# Copyright (c) 2006, Intel Corporation. \r
+# The USB mass storage class is specified in two layers: the bottom layer\r
+# is the transportation protocol. The top layer is the command set.\r
+# The transportation layer provides the transportation of the command, data and result.\r
+# The command set defines the command, data and result.\r
+# The Bulk-Only-Transport and Control/Bulk/Interrupt transport are two transportation protocol.\r
+# USB mass storage class adopts various industrial standard as its command set.\r
+# This module refers to following specifications:\r
+# 1. USB Mass Storage Specification for Bootability, Revision 1.0\r
+# 2. USB Mass Storage Class Control/Bulk/Interrupt (CBI) Transport, Revision 1.1\r
+# 3. USB Mass Storage Class Bulk-Only Transport, Revision 1.0.\r
+# 4. UEFI Specification, v2.1\r
 #\r
-#  All rights reserved. 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
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\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
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = UsbMassStorageDxe\r
+  MODULE_UNI_FILE                = UsbMassStorageDxe.uni\r
   FILE_GUID                      = 9FB4B4A7-42C0-4bcd-8540-9BCC6711F83E\r
-  MODULE_TYPE                    = DXE_DRIVER\r
+  MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
   ENTRY_POINT                    = USBMassStorageEntryPoint\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC\r
+#\r
+#  DRIVER_BINDING                =  gUSBMassDriverBinding\r
+#  COMPONENT_NAME                =  gUsbMassStorageComponentName\r
+#  COMPONENT_NAME2               =  gUsbMassStorageComponentName2\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   UsbMassBoot.h\r
   UsbMassImpl.h\r
   UsbMassBot.h\r
   UsbMassCbi.h\r
   UsbMass.h\r
   UsbMassCbi.c\r
+  UsbMassDiskInfo.h\r
+  UsbMassDiskInfo.c\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 [LibraryClasses]\r
+  BaseLib\r
   MemoryAllocationLib\r
   UefiLib\r
   UefiBootServicesTableLib\r
   UefiDriverEntryPoint\r
   BaseMemoryLib\r
   DebugLib\r
+  DevicePathLib\r
 \r
 \r
 [Protocols]\r
-  gEfiUsbIoProtocolGuid                         # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiBlockIoProtocolGuid                       # PROTOCOL ALWAYS_PRODUCED\r
+  gEfiUsbIoProtocolGuid                         ## TO_START\r
+  gEfiDevicePathProtocolGuid                    ## TO_START\r
+  gEfiBlockIoProtocolGuid                       ## BY_START\r
+  gEfiDiskInfoProtocolGuid                      ## BY_START\r
+\r
+# [Event]\r
+# EVENT_TYPE_RELATIVE_TIMER        ## CONSUMES\r
+#\r
 \r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  UsbMassStorageDxeExtra.uni\r