]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Network/IScsiDxe/IScsiIbft.h
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiIbft.h
CommitLineData
12618416 1/** @file\r
530e25f5 2 Some extra definitions for iBFT.\r
7a444476 3\r
e5eed7d3
HT
4Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>\r
5This program and the accompanying materials\r
7a444476 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
12618416 13**/\r
7a444476 14\r
15#ifndef _ISCSI_IBFT_H_\r
16#define _ISCSI_IBFT_H_\r
17\r
08778912 18#include <IndustryStandard/Acpi.h>\r
9cb8724d 19#include <IndustryStandard/IScsiBootFirmwareTable.h>\r
85b990a8 20#include <Protocol/AcpiTable.h>\r
9cb8724d 21#include <Protocol/PciIo.h>\r
7a444476 22\r
23#define IBFT_TABLE_VAR_NAME L"iBFT"\r
24#define IBFT_MAX_SIZE 4096\r
25#define IBFT_HEAP_OFFSET 2048\r
26\r
27#define IBFT_ROUNDUP(size) NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)\r
28\r
12618416 29/**\r
30 Publish and remove the iSCSI Boot Firmware Table according to the iSCSI\r
31 session status.\r
12618416 32**/\r
7a444476 33VOID\r
34IScsiPublishIbft (\r
55a64ae0 35 VOID\r
7a444476 36 );\r
37\r
38#endif\r