2008-04-17 10:28:51 +02:00
|
|
|
/** @file
|
2008-12-10 04:27:58 +01:00
|
|
|
Some extra definitions for iBFT.
|
2008-01-22 09:07:35 +01:00
|
|
|
|
2008-12-10 04:27:58 +01:00
|
|
|
Copyright (c) 2004 - 2008, Intel Corporation.<BR>
|
2008-01-22 09:07:35 +01:00
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
2008-04-17 10:28:51 +02:00
|
|
|
**/
|
2008-01-22 09:07:35 +01:00
|
|
|
|
|
|
|
#ifndef _ISCSI_IBFT_H_
|
|
|
|
#define _ISCSI_IBFT_H_
|
|
|
|
|
2008-03-11 20:38:08 +01:00
|
|
|
#include <IndustryStandard/IScsiBootFirmwareTable.h>
|
|
|
|
#include <Protocol/AcpiSupport.h>
|
|
|
|
#include <Protocol/PciIo.h>
|
2008-01-22 09:07:35 +01:00
|
|
|
|
|
|
|
#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)
|
|
|
|
|
2008-04-17 10:28:51 +02:00
|
|
|
/**
|
|
|
|
Publish and remove the iSCSI Boot Firmware Table according to the iSCSI
|
|
|
|
session status.
|
|
|
|
**/
|
2008-01-22 09:07:35 +01:00
|
|
|
VOID
|
|
|
|
IScsiPublishIbft (
|
2008-12-10 04:27:58 +01:00
|
|
|
VOID
|
2008-01-22 09:07:35 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|