]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Network/IScsiDxe/IScsiIbft.h
update file header
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiIbft.h
CommitLineData
12618416 1/** @file\r
2 Some extra definitions for iBFT\r
7a444476 3\r
9cb8724d 4Copyright (c) 2004 - 2008, Intel Corporation\r
7a444476 5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13Module Name:\r
14\r
15 IScsiIbft.h\r
16\r
17Abstract:\r
18\r
19 Some extra definitions for iBFT.\r
20\r
12618416 21**/\r
7a444476 22\r
23#ifndef _ISCSI_IBFT_H_\r
24#define _ISCSI_IBFT_H_\r
25\r
9cb8724d 26#include <IndustryStandard/IScsiBootFirmwareTable.h>\r
27#include <Protocol/AcpiSupport.h>\r
28#include <Protocol/PciIo.h>\r
7a444476 29\r
30#define IBFT_TABLE_VAR_NAME L"iBFT"\r
31#define IBFT_MAX_SIZE 4096\r
32#define IBFT_HEAP_OFFSET 2048\r
33\r
34#define IBFT_ROUNDUP(size) NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)\r
35\r
12618416 36/**\r
37 Publish and remove the iSCSI Boot Firmware Table according to the iSCSI\r
38 session status.\r
39\r
40 @param None.\r
41\r
42 @retval None.\r
43\r
44**/\r
7a444476 45VOID\r
46IScsiPublishIbft (\r
47 IN VOID\r
48 );\r
49\r
50#endif\r