]>
Commit | Line | Data |
---|---|---|
12618416 | 1 | /** @file\r |
530e25f5 | 2 | Some extra definitions for iBFT.\r |
7a444476 | 3 | \r |
530e25f5 | 4 | Copyright (c) 2004 - 2008, Intel Corporation.<BR>\r |
7a444476 | 5 | All rights reserved. This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT 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 | |
9cb8724d | 18 | #include <IndustryStandard/IScsiBootFirmwareTable.h>\r |
19 | #include <Protocol/AcpiSupport.h>\r | |
20 | #include <Protocol/PciIo.h>\r | |
7a444476 | 21 | \r |
22 | #define IBFT_TABLE_VAR_NAME L"iBFT"\r | |
23 | #define IBFT_MAX_SIZE 4096\r | |
24 | #define IBFT_HEAP_OFFSET 2048\r | |
25 | \r | |
26 | #define IBFT_ROUNDUP(size) NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)\r | |
27 | \r | |
12618416 | 28 | /**\r |
29 | Publish and remove the iSCSI Boot Firmware Table according to the iSCSI\r | |
30 | session status.\r | |
31 | \r | |
32 | @param None.\r | |
33 | \r | |
34 | @retval None.\r | |
35 | \r | |
36 | **/\r | |
7a444476 | 37 | VOID\r |
38 | IScsiPublishIbft (\r | |
530e25f5 | 39 | VOID\r |
7a444476 | 40 | );\r |
41 | \r | |
42 | #endif\r |