-#/** @file\r
-# USB Mass Storage Driver that manages USB mass storage devices and\r
-# produces Block I/O Protocol.\r
+## @file\r
+# USB Mass Storage Driver that manages USB mass storage devices and produces Block I/O Protocol.\r
#\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 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
-# Copyright (c) 2006 - 2008, Intel Corporation. \r
+# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
#\r
-# All rights reserved. This program and the accompanying materials\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
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\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 = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
-\r
ENTRY_POINT = USBMassStorageEntryPoint\r
\r
#\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
\r
\r
[Protocols]\r
- gEfiUsbIoProtocolGuid # PROTOCOL TO_START\r
- gEfiDevicePathProtocolGuid # PROTOCOL TO_START\r
- gEfiBlockIoProtocolGuid # PROTOCOL BY_START\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