-/*++\r
+/**@file\r
\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
+Copyright (c) 2006, 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
* Other names and brands may be claimed as the property of others.\r
\r
---*/\r
+**/\r
\r
#ifndef _WIN_NT_BLOCK_IO_H_\r
#define _WIN_NT_BLOCK_IO_H_\r
EifWinNtMaxTypeDisks\r
} WIN_NT_RAW_DISK_DEVICE_TYPE;\r
\r
-#define WIN_NT_BLOCK_IO_PRIVATE_SIGNATURE EFI_SIGNATURE_32 ('N', 'T', 'b', 'k')\r
+#define WIN_NT_BLOCK_IO_PRIVATE_SIGNATURE SIGNATURE_32 ('N', 'T', 'b', 'k')\r
typedef struct {\r
UINTN Signature;\r
\r
//\r
// Block I/O Global Variables\r
//\r
-extern EFI_DRIVER_BINDING_PROTOCOL gWinNtBlockIoDriverBinding;\r
-extern EFI_COMPONENT_NAME_PROTOCOL gWinNtBlockIoComponentName;\r
-extern EFI_DRIVER_CONFIGURATION_PROTOCOL gWinNtBlockIoDriverConfiguration;\r
-extern EFI_DRIVER_DIAGNOSTICS_PROTOCOL gWinNtBlockIoDriverDiagnostics;\r
+extern EFI_DRIVER_BINDING_PROTOCOL gWinNtBlockIoDriverBinding;\r
+extern EFI_COMPONENT_NAME_PROTOCOL gWinNtBlockIoComponentName;\r
+extern EFI_COMPONENT_NAME2_PROTOCOL gWinNtBlockIoComponentName2;\r
+extern EFI_DRIVER_CONFIGURATION_PROTOCOL gWinNtBlockIoDriverConfiguration;\r
+extern EFI_DRIVER_DIAGNOSTICS_PROTOCOL gWinNtBlockIoDriverDiagnostics;\r
+extern EFI_DRIVER_DIAGNOSTICS2_PROTOCOL gWinNtBlockIoDriverDiagnostics2;\r
\r
//\r
// EFI Driver Binding Functions\r
//\r
// Block IO protocol member functions\r
//\r
-STATIC\r
EFI_STATUS\r
EFIAPI\r
WinNtBlockIoReadBlocks (\r
--*/\r
;\r
\r
-STATIC\r
EFI_STATUS\r
EFIAPI\r
WinNtBlockIoWriteBlocks (\r
--*/\r
;\r
\r
-STATIC\r
EFI_STATUS\r
EFIAPI\r
WinNtBlockIoFlushBlocks (\r
--*/\r
;\r
\r
-STATIC\r
EFI_STATUS\r
EFIAPI\r
WinNtBlockIoResetBlock (\r
//\r
// Private Worker functions\r
//\r
-STATIC\r
EFI_STATUS\r
WinNtBlockIoCreateMapping (\r
IN EFI_WIN_NT_IO_PROTOCOL *WinNtIo,\r
--*/\r
;\r
\r
-STATIC\r
EFI_STATUS\r
WinNtBlockIoReadWriteCommon (\r
IN WIN_NT_BLOCK_IO_PRIVATE *Private,\r
--*/\r
;\r
\r
-STATIC\r
EFI_STATUS\r
WinNtBlockIoError (\r
IN WIN_NT_BLOCK_IO_PRIVATE *Private\r
--*/\r
;\r
\r
-STATIC\r
EFI_STATUS\r
WinNtBlockIoOpenDevice (\r
WIN_NT_BLOCK_IO_PRIVATE *Private\r
--*/\r
;\r
\r
-STATIC\r
CHAR16 *\r
GetNextElementPastTerminator (\r
IN CHAR16 *EnvironmentVariable,\r