]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
Add DiskIo2 protocol definition to MdePkg.
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / PartitionDxe / PartitionDxe.inf
index 596e1e96d4f10b5ae6972ae5969c9a42a92713f5..089918f5a98c4158558c972eb69d517d929a5dd5 100644 (file)
@@ -1,4 +1,4 @@
-#/** @file\r
+## @file\r
 #  Modules that produces the logic Block I/O protocol for every partition\r
 #  it discovers via the physical Block I/O.\r
 #\r
@@ -6,9 +6,14 @@
 #  the bytes from Start to End of the Parent Block I/O device.\r
 #  The partition of physical BlockIo device supported is one of legacy MBR, GPT,\r
 #  and "El Torito" partitions.\r
-#  \r
-#  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-#  All rights reserved. This program and the accompanying materials\r
+#\r
+#  Caution: This module requires additional review when modified.\r
+#  This driver will have external input - disk partition.\r
+#  This external input must be validated carefully to avoid security issue like\r
+#  buffer overflow, integer overflow.\r
+#\r
+#  Copyright (c) 2006 - 2013, 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
@@ -16,7 +21,7 @@
 #  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
 #  \r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
@@ -36,7 +41,7 @@
 #  COMPONENT_NAME2               = gPartitionComponentName2\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   ComponentName.c\r
   Mbr.c\r
   Gpt.c\r
@@ -69,6 +74,9 @@
   gEfiBlockIoProtocolGuid                       ## BY_START\r
   gEfiDevicePathProtocolGuid                    ## BY_START\r
   gEfiDiskIoProtocolGuid                        ## BY_START\r
+  gEfiDiskIo2ProtocolGuid                       ## BY_START\r
   gEfiBlockIoProtocolGuid                       ## TO_START\r
+  gEfiBlockIo2ProtocolGuid                      ## TO_START\r
   gEfiDevicePathProtocolGuid                    ## TO_START\r
   gEfiDiskIoProtocolGuid                        ## TO_START\r
+  gEfiDiskIo2ProtocolGuid                       ## TO_START\r