2011-08-17 04:38:08 +02:00
|
|
|
/** @file
|
|
|
|
Some extra definitions for iBFT.
|
|
|
|
|
2018-06-27 15:12:32 +02:00
|
|
|
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:13 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2011-08-17 04:38:08 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef _ISCSI_IBFT_H_
|
|
|
|
#define _ISCSI_IBFT_H_
|
|
|
|
|
|
|
|
#include <IndustryStandard/Acpi.h>
|
2018-06-27 15:12:32 +02:00
|
|
|
#include <IndustryStandard/IScsiBootFirmwareTable.h>
|
2011-08-17 04:38:08 +02:00
|
|
|
#include <Protocol/AcpiTable.h>
|
|
|
|
#include <Protocol/PciIo.h>
|
|
|
|
|
|
|
|
#define IBFT_TABLE_VAR_NAME L"iBFT"
|
|
|
|
#define IBFT_MAX_SIZE 4096
|
|
|
|
#define IBFT_HEAP_OFFSET 2048
|
|
|
|
|
|
|
|
#define IBFT_ROUNDUP(size) NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)
|
|
|
|
|
|
|
|
/**
|
|
|
|
Publish and remove the iSCSI Boot Firmware Table according to the iSCSI
|
|
|
|
session status.
|
|
|
|
|
|
|
|
**/
|
|
|
|
VOID
|
|
|
|
IScsiPublishIbft (
|
|
|
|
IN VOID
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|