]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/IScsiImpl.h
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiImpl.h
index 22d823af7b857fbe67b9a311a8ef5f9bcf9431af..b1e804fcdb8fae6df8d2c97690ad78c988b23986 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
-  The header file of IScsiImpl.c\r
+  The header file of IScsiImpl.c.\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2004 - 2008, 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
@@ -10,13 +10,6 @@ http://opensource.org/licenses/bsd-license.php
 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
-Module Name:\r
-\r
-  IScsiImpl.h\r
-\r
-Abstract:\r
-  The header file of IScsiImpl.c\r
-\r
 **/\r
 \r
 #ifndef _ISCSI_IMPL_H_\r
@@ -24,23 +17,31 @@ Abstract:
 \r
 #include <Uefi.h>\r
 \r
+#include <Library/BaseMemoryLib.h>\r
+#include <Library/MemoryAllocationLib.h>\r
 #include <Library/NetLib.h>\r
 #include <Library/PrintLib.h>\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
+\r
+#include <Guid/EventGroup.h>\r
+#include <Guid/Acpi.h>\r
+\r
 #include "IScsiCommon.h"\r
 #include "IScsiDriver.h"\r
+#include "IScsiInitiatorName.h"\r
+#include "ComponentName.h"\r
 #include "IScsiConfigNVDataStruc.h"\r
 #include "IScsiExtScsiPassThru.h"\r
 #include "IScsiProto.h"\r
+#include "IScsiMisc.h"\r
 #include "IScsiCHAP.h"\r
+#include "IScsiConfig.h"\r
 #include "IScsiDhcp.h"\r
 #include "IScsiTcp4Io.h"\r
 #include "IScsiIbft.h"\r
-#include "IScsiMisc.h"\r
-#include "IScsiConfig.h"\r
-#include "IScsiInitiatorName.h"\r
 \r
-#define ISCSI_SESSION_SIGNATURE EFI_SIGNATURE_32 ('I', 'S', 'S', 'N')\r
+\r
+#define ISCSI_SESSION_SIGNATURE SIGNATURE_32 ('I', 'S', 'S', 'N')\r
 \r
 struct _ISCSI_SESSION {\r
   UINT32                    Signature;\r
@@ -52,15 +53,15 @@ struct _ISCSI_SESSION {
   UINTN                     InitiatorNameLength;\r
   UINT8                     State;\r
 \r
-  UINT8                     ISID[6];\r
-  UINT16                    TSIH;\r
+  UINT8                     Isid[6];\r
+  UINT16                    Tsih;\r
 \r
   UINT32                    CmdSN;\r
   UINT32                    ExpCmdSN;\r
   UINT32                    MaxCmdSN;\r
 \r
   UINT32                    InitiatorTaskTag;\r
-  UINT16                    NextCID;\r
+  UINT16                    NextCid;\r
 \r
   LIST_ENTRY                Conns;\r
   UINT32                    NumConns;\r
@@ -84,7 +85,7 @@ struct _ISCSI_SESSION {
   UINT8                     ErrorRecoveryLevel;\r
 };\r
 \r
-#define ISCSI_CONNECTION_SIGNATURE  EFI_SIGNATURE_32 ('I', 'S', 'C', 'N')\r
+#define ISCSI_CONNECTION_SIGNATURE  SIGNATURE_32 ('I', 'S', 'C', 'N')\r
 \r
 struct _ISCSI_CONNECTION {\r
   UINT32            Signature;\r
@@ -105,7 +106,7 @@ struct _ISCSI_CONNECTION {
 \r
   BOOLEAN           TransitInitiated;\r
 \r
-  UINT16            CID;\r
+  UINT16            Cid;\r
   UINT32            ExpStatSN;\r
 \r
   //\r
@@ -123,7 +124,7 @@ struct _ISCSI_CONNECTION {
   ISCSI_DIGEST_TYPE DataDigest;\r
 };\r
 \r
-#define ISCSI_DRIVER_DATA_SIGNATURE EFI_SIGNATURE_32 ('I', 'S', 'D', 'A')\r
+#define ISCSI_DRIVER_DATA_SIGNATURE SIGNATURE_32 ('I', 'S', 'D', 'A')\r
 \r
 #define ISCSI_DRIVER_DATA_FROM_EXT_SCSI_PASS_THRU(PassThru) \\r
   CR ( \\r