diff options
Diffstat (limited to 'MdeModulePkg/Universal/iScsi/IScsiIbft.h')
-rw-r--r-- | MdeModulePkg/Universal/iScsi/IScsiIbft.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/iScsi/IScsiIbft.h b/MdeModulePkg/Universal/iScsi/IScsiIbft.h new file mode 100644 index 0000000000..b925b14782 --- /dev/null +++ b/MdeModulePkg/Universal/iScsi/IScsiIbft.h @@ -0,0 +1,40 @@ +/*++
+
+Copyright (c) 2007 Intel Corporation. All rights reserved
+This software and associated documentation (if any) is furnished
+under a license and may only be used or copied in accordance
+with the terms of the license. Except as permitted by such
+license, no part of this software or documentation may be
+reproduced, stored in a retrieval system, or transmitted in any
+form or by any means without the express written consent of
+Intel Corporation.
+
+Module Name:
+
+ IScsiIbft.h
+
+Abstract:
+
+ Some extra definitions for iBFT.
+
+--*/
+
+#ifndef _ISCSI_IBFT_H_
+#define _ISCSI_IBFT_H_
+
+#include <industrystandard/IScsiBootFirmwareTable.h>
+#include <protocol/AcpiSupport.h>
+#include <protocol/PciIo.h>
+
+#define IBFT_TABLE_VAR_NAME L"iBFT"
+#define IBFT_MAX_SIZE 4096
+#define IBFT_HEAP_OFFSET 2048
+
+#define IBFT_ROUNDUP(size) NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)
+
+VOID
+IScsiPublishIbft (
+ IN VOID
+ );
+
+#endif
|