]> git.proxmox.com Git - mirror_edk2.git/blame - NetworkPkg/IScsiDxe/IScsiIbft.h
Update for NetworkPkg.
[mirror_edk2.git] / NetworkPkg / IScsiDxe / IScsiIbft.h
CommitLineData
4c5a5e0c 1/** @file\r
2 Some extra definitions for iBFT.\r
3\r
4Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
5This 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
13**/\r
14\r
15#ifndef _ISCSI_IBFT_H_\r
16#define _ISCSI_IBFT_H_\r
17\r
18#include <IndustryStandard/Acpi.h>\r
19#include <IndustryStandard/IScsiBootFirmwareTable.h> \r
20#include <Protocol/AcpiTable.h>\r
21#include <Protocol/PciIo.h>\r
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
29/**\r
30 Publish and remove the iSCSI Boot Firmware Table according to the iSCSI\r
31 session status.\r
32\r
33**/\r
34VOID\r
35IScsiPublishIbft (\r
36 IN VOID\r
37 );\r
38\r
39#endif\r