]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.c
MdeModulePkg: Add match2 opcode support in SetupBrowserDxe and sample code in DriverS...
[mirror_edk2.git] / OvmfPkg / BlockMmioToBlockIoDxe / BlockIo.c
index cf68ceaae9ec875fd93d691d57354a02c6890afe..af9e85ed4e01829b637169a1848e3076a945b85f 100644 (file)
@@ -2,8 +2,8 @@
   The driver wrappers BlockMmio protocol instances to produce\r
   Block I/O Protocol instances.\r
 \r
-  Copyright (c) 2007 - 2010, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2007 - 2012, 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
@@ -287,7 +287,7 @@ BlockIoInit (
   BLOCK_MMIO_TO_BLOCK_IO_DEVICE  *Private;\r
   BLOCK_MMIO_PROTOCOL            *BlockMmio;\r
 \r
-  Private = (BLOCK_MMIO_TO_BLOCK_IO_DEVICE*) AllocateZeroPool (sizeof (Private));\r
+  Private = (BLOCK_MMIO_TO_BLOCK_IO_DEVICE*) AllocateZeroPool (sizeof (*Private));\r
   ASSERT (Private != NULL);\r
 \r
   Status = gBS->LocateProtocol (\r