-/*++\r
+/** @file\r
+ The header file of IScsiImpl.c.\r
\r
-Copyright (c) 2004 - 2007, Intel Corporation\r
+Copyright (c) 2004 - 2008, Intel Corporation\r
All rights reserved. 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
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
-\r
---*/\r
+**/\r
\r
#ifndef _ISCSI_IMPL_H_\r
#define _ISCSI_IMPL_H_\r
\r
+#include <Uefi.h>\r
+\r
#include <Library/NetLib.h>\r
#include <Library/PrintLib.h>\r
#include <Library/UefiRuntimeServicesTableLib.h>\r
+\r
+#include <Guid/EventGroup.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
\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
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
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
\r
BOOLEAN TransitInitiated;\r
\r
- UINT16 CID;\r
+ UINT16 Cid;\r
UINT32 ExpStatSN;\r
\r
//\r
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