1 | /** @file
|
---|
2 | Some extra definitions for iBFT.
|
---|
3 |
|
---|
4 | Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef _ISCSI_IBFT_H_
|
---|
10 | #define _ISCSI_IBFT_H_
|
---|
11 |
|
---|
12 | #include <IndustryStandard/Acpi.h>
|
---|
13 | #include <IndustryStandard/IScsiBootFirmwareTable.h>
|
---|
14 | #include <Protocol/AcpiTable.h>
|
---|
15 | #include <Protocol/PciIo.h>
|
---|
16 |
|
---|
17 | #define IBFT_TABLE_VAR_NAME L"iBFT"
|
---|
18 | #define IBFT_MAX_SIZE 4096
|
---|
19 | #define IBFT_HEAP_OFFSET 2048
|
---|
20 |
|
---|
21 | #define IBFT_ROUNDUP(size) NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)
|
---|
22 |
|
---|
23 | /**
|
---|
24 | Publish and remove the iSCSI Boot Firmware Table according to the iSCSI
|
---|
25 | session status.
|
---|
26 |
|
---|
27 | **/
|
---|
28 | VOID
|
---|
29 | IScsiPublishIbft (
|
---|
30 | IN VOID
|
---|
31 | );
|
---|
32 |
|
---|
33 | #endif
|
---|